Hi all, I am using: - cmake-3.0.2 - Visual Studio 2013 (Update 4)
I get this log message in build logs when I build any target in my Visual Studio solution: "MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance" I read online on this and found this Microsoft link ( https://msdn.microsoft.com/en-us/library/xbf3tbeh.aspx) which suggests that I should set "Whole Program Optimization" under "General" properties to "Use Link Time Code Generation" (/LTCG). I am not able to figure out which cmake variables I should set this in? I tried setting this flag in following variables, but it did not work. CMAKE_EXE_LINKER_FLAGS CMAKE_MODULE_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS Thanks, Sachin
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake
