[CMake] What is the best way to change default settings

Frank Hilliger Frank.Hilliger at swissrisk.com
Tue Aug 7 07:03:47 EDT 2007


Hi,

I want to remove the /GZ flag which is set for Windows Visual C++ compilers
in CMAKE_CXX_FLAGS_DEBUG_INIT. Furthermore I want to remove some .lib files
defined in CMAKE_C_STANDARD_LIBRARIES_INIT. 
How I can achieve this without touching
CMake\Modules\Platform\Windows-cl.cmake  ?
I tried remove_definitions(), but without success.

Thank you in advance.
Best regards,
Frank



More information about the CMake mailing list