Hi everyone, My CMakeLists.txt uses the undocumented features: set(CMAKE_DISABLE_SOURCE_CHANGES ON) set(CMAKE_DISABLE_IN_SOURCE_BUILD ON)
The first one prevents in-source builds as expected (even in 2.6, which I wasn't expecting). I find this very useful. I'm not sure about the second one. However, regardless of version it seems like artifacts are left in the /src directory. If the user does the smart-but-not-expert thing and backs out to /build and tries ../src, cmake fails again thinking that the output directory is still /src. Is there a way to intercede earlier like Brad Kings "InSource.cmake" idea? Sorry if I missed any decisive documentation on this - it isn't that I see nothing on the subject, but rather a lot of stuff that doesn't look like it got implemented. Barring that, is there a good way to clean up after the fact? Thanks, Eli
-- 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
