Re: [CMake] Copying a data directory

2006-07-05 Thread Filipe Sousa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve Johns wrote: > Can someone suggest a good way to copy a data directory from the source tree > to the build tree? If you really need to copy a directory use ${CMAKE_COMMAND} -E copy_directory with ADD_CUSTOM_COMMAND() or EXECUTE_PROCESS() [EMAI

[CMake] Copying a data directory

2006-07-03 Thread Steve Johns
Can someone suggest a good way to copy a data directory from the source tree to the build tree? I want to be do this for both Unix and VC builds. The purpose is just to have some test input data available in the location where the newly built program is looking for it.