Hello, I want to decrease optimization level from /O2 to /O1 for specific files in my project, but I do not find any way to do that. COMPILE_DEFINITIONS_<CONFIG> does not work for me.
So, I've written a patch that adds support of configuration-specific version of COMPILE_FLAGS file property. Patch tested with the following generators: "Unix Makefiles", "Visual Studio 9 2008 [Win64]", "Visual Studio 10 [Win64]".
compile_flags_per_config.patch
Description: Binary data
_______________________________________________ cmake-developers mailing list [email protected] http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
