[CMake] Visual Studio 2013 No CXX flags applied

Bill Hoffman bill.hoffman at kitware.com
Thu Jan 22 09:20:08 EST 2015


On 1/22/2015 6:00 AM, Daniel Kollmann wrote:
> As you can see none of the flags are listed. Strangely enough the
> combination of the first few flags can also not be found anywhere in the
> cache file so I guess it is some project defaults VS put in place.
>
my guess is the project is clobbering the cache values with something 
like this:

set(CMAKE_CXX_FLAGS ....)

It would override the cache values.  It should should up in your --trace 
output.

-Bill


More information about the CMake mailing list