Thankyou very much for this. Andrew
On Thu, Aug 7, 2008 at 5:13 AM, Brad King <[EMAIL PROTECTED]> wrote: > 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 > -- ___________________________________________ Andrew J. P. Maclean Centre for Autonomous Systems The Rose Street Building J04 The University of Sydney 2006 NSW AUSTRALIA Ph: +61 2 9351 3283 Fax: +61 2 9351 7474 URL: http://www.acfr.usyd.edu.au/ ___________________________________________ _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
