[cmake-developers] The configuration-specific version COMPILE_FLAGS
Brad King
brad.king at kitware.com
Mon Mar 21 13:02:41 EDT 2011
On 3/20/2011 2:37 PM, Alexey Ozeritsky wrote:
> 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]".
Please see here:
http://www.cmake.org/Bug/view.php?id=6493
http://www.cmake.org/Bug/view.php?id=6493#c13821
http://www.cmake.org/Bug/view.php?id=6493#c21590
-Brad
More information about the cmake-developers
mailing list