[CMake] How to make a list of files that reside in an external directory.
Brad King
brad.king at kitware.com
Wed Aug 6 15:13:24 EDT 2008
Andrew Maclean wrote:
> Putting it succintly, I want to glob all files in some directory not
> part of the cmake source or binary directories and create a variable
> containing these files to be copied to the binary build location.
> file(GLOB ... ) only seems to work on the current directory.
The file(GLOB ...) command can accept full paths:
file(GLOB MY_DLL "C:/Some Dir/Special DLLs/*.dll")
-Brad
More information about the CMake
mailing list