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 --
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
-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
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
#