[CMake] Making cmake automatically pick up changes to directory contents.
Bill Hoffman
bill.hoffman at kitware.com
Tue Dec 3 11:21:17 EST 2013
On 12/3/2013 8:58 AM, billw at billw.mail1.co.uk wrote:
> reasonable to expect them to manage enormous (1800+) file lists when we
>>already have a directory structure in place the designates project file
>>lists. Hence the GLOBing (my various Googlings for the issue shows that
>>I'm definitely not the only one trying to work like this).
Why not write a script that does the GLOB once and creates
CMakeLists.txt files that have the explicit lists. It is not like the
developers will be adding/removing 1000s of files at a time. It will be
one or two files at a time, and you won't have to do any crazy stuff to
get CMake to work with glob. Once you have the cmake files with the
explicit list it is done, and that part can be done with
python/bat/cmake/ any scripting language.
-Bill
More information about the CMake
mailing list