Re: [CMake] Getting Makefiles sensitive tonew/deleted files/directories?

2008-03-21 Thread Ken Martin
Can you do the glob, configure the result out to a file, then INCLUDE that file. I believe that will solve the problem. Something like file(GLOB SRC *.cpp) configure_file(somefile.in somefile) include(somefile) where somefile.in looks like # list of files as a comment --

Re: [CMake] Getting Makefiles sensitive tonew/deleted files/directories?

2008-03-20 Thread Ken Martin
Of Bill Hoffman Sent: Wednesday, March 19, 2008 10:13 AM To: Convey Christian J NPRI Cc: cmake@cmake.org Subject: Re: [CMake] Getting Makefiles sensitive tonew/deleted files/directories? Convey Christian J NPRI wrote: Many of my CMakeLists.txt files has code like this: FILE(GLOB

Re: [CMake] Getting Makefiles sensitive tonew/deleted files/directories?

2008-03-19 Thread Ken Martin
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Hoffman Sent: Wednesday, March 19, 2008 10:13 AM To: Convey Christian J NPRI Cc: cmake@cmake.org Subject: Re: [CMake] Getting Makefiles sensitive tonew/deleted files/directories? Convey Christian

Re: [CMake] Getting Makefiles sensitive tonew/deleted files/directories?

2008-03-19 Thread blinkeye
On 03/19/2008 09:50 PM, Ken Martin wrote: Can you do the glob, configure the result out to a file, then INCLUDE that file. I believe that will solve the problem. Something like file(GLOB SRC *.cpp) configure_file(somefile.in somefile) include(somefile) where somefile.in looks like #