[CMake] Making cmake automatically pick up changes to directory contents.
Magnus Therning
magnus at therning.org
Tue Dec 3 15:39:42 EST 2013
On Tue, Dec 03, 2013 at 11:21:17AM -0500, Bill Hoffman wrote:
> 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.
With a proper editor you can even do while writing the CMakeLists.txt
file.
/M
--
Magnus Therning OpenPGP: 0xAB4DFBA4
email: magnus at therning.org jabber: magnus at therning.org
twitter: magthe http://therning.org/magnus
If you can explain how you do something, then you're very very bad at
it.
-- John Hopfield
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20131203/ae24a981/attachment.pgp>
More information about the CMake
mailing list