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
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to