On Tue, Sep 22, 2009 at 08:34:36PM +0200, Jeroen Dierckx wrote: > What we do in our build system is using file(GLOB to get all .cmake > files in a "targets" directory, and including those. That way, to add > additional targets, all the developers have to do is add a .cmake file > to that directory.
This is not a recommended practice. If you do it this way, CMake can't notice if new lists files have been created (or removed) and thus cannot trigger a rebuild of the CMake binary tree when it should. tyler _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
