Re: [CMake] How to make a list of files that reside in an external directory.

2008-08-06 Thread Andrew Maclean
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 fil

Re: [CMake] How to make a list of files that reside in an external directory.

2008-08-06 Thread Brad King
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

[CMake] How to make a list of files that reside in an external directory.

2008-08-03 Thread Andrew Maclean
Say I have a project and when I build an installer, it needs a list of dlls that reside in a directory that is not in the source or build tree. What I want to generate is a list of these dlls ready to copy to the bin directory of my build. E.g If I have a directory in "C:/Some Dir/Special DLLs" wi