Hi, >Isn't build_type = Release sufficient?
Not for the way I'm mistreating cmake ;) set (CMAKE_BUILD_TYPE RELEASE FORCE) SET (CMAKE_EXE_LINKER_FLAGS_INIT "" FORCE) set (CMAKE_C_FLAGS_RELEASE_INIT "") set (CMAKE_CXX_FLAGS_RELEASE_INIT "") set (CMAKE_Fortran_FLAGS_RELEASE_INIT "") Also I have to add -nodefaultlib:msvcrt.lib (I want libcmt) and if I add a list of libs to exclude (-nodefaultlib:xxx.lib -nodefaultlib:yyy.lib -nodefaultlib:zzz) the last one can't have the .lib extension because I get it twice. (zzz.lib.lib if you don't omit the extension yourself. Perhaps a bug, but I don't have time to investigate right-now. Arjen _______________________________________________ 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
