On Tue, Dec 03, 2013 at 11:21:17AM -0500, Bill Hoffman wrote:
> On 12/3/2013 8:58 AM, [email protected] 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: [email protected]   jabber: [email protected]
twitter: magthe               http://therning.org/magnus

If you can explain how you do something, then you're very very bad at
it.
     -- John Hopfield

Attachment: pgpD5YBUuhlNb.pgp
Description: PGP signature

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to