On 1/31/2012 10:55 AM, Nicolas Desprès wrote:
Brad, All these considerations are important but maybe we could just do first the easy path which is: add a -f option which change the default name every where, for all sub-directories, try_compile, etc...
Changing for try_compile is going to be a nightmare of sorts... There are modules like this:
CheckFortran.cmake: file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/CheckFortran/CMakeLists.txt"
FindSDL_sound.cmake: FILE(WRITE ${PROJECT_BINARY_DIR}/CMakeTmp/CMakeLists.txt
Basically, the concern is this will be hard to test and likely to break complex projects, and will end up being a half implemented feature.
-Bill -- 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