On Wednesday 23 September 2009 10:25:37 am th....@gmx.de wrote: > hm, right - this would solve my problem, but sadly writing everything in > one CMakeLists.txt file was not a clever idea, as the projects should be > build independently. > > Another solution I had (someone posted that) is creating a subdirectory for > every project and place the specific CMakeLists.txt file there. However, > this would change the CMAKE_SOURCE_DIR to the projects subdirectory; what > is kind of nasty. > > Any ideas to change the root back?
A subdirectory per project sounds good, but why is CMAKE_SOURCE_DIR a problem then? Its just a variable pointing to some directory. Clint _______________________________________________ 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