>> STRING(REPLACE "INCREMENTAL:YES" "INCREMENTAL:NO" replacementFlags >> ${CMAKE_EXE_LINKER_FLAGS_DEBUG}) >> message (${replacementFlags}) >> SET(CMAKE_SHARED_LINKER_FLAGS_DEBUG ${replacementFlags}) >> >> >> STRING(REPLACE "INCREMENTAL:YES" "INCREMENTAL:NO" replacementFlags2 >> ${CMAKE_EXE_LINKER_FLAGS}) >> message (${replacementFlags2}) >> SET(CMAKE_EXE_LINKER_FLAGS ${replacementFlag2}) >> >> >> Is there a method using CMake 2.8 or CMake 2.8.1 that works? >>
I thought that the following worked in the past since I have this in my CMakeLists.txt: SET(CMAKE_EXE_LINKER_FLAGS "/INCREMENTAL:NO /MANIFEST /STACK:10000000 ") but it appears that this no longer works with cmake 2.8.0. I believe it worked previously. I do not have a solution for this yet. John _______________________________________________ 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