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 _______________________________________________ cmake-developers mailing list [email protected] http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
