[CMake] VS2012 builds using v3.1.0 are a lot slower than v2.8.12

Brad King brad.king at kitware.com
Thu Jan 15 12:59:24 EST 2015


On 01/15/2015 11:47 AM, Yves Frederix wrote:
> I recently made the upgrade from v2.8.12 to v3.1.0. Unfortunately, I
> am now experiencing a serious decrease in build speed for the VS2012
> Win64 builds.
[snip]
> gives the impression that the difference might be due to a change in
> default compilation settings generated by cmake for the Visual Studio
> generators since 2.8.12.

Are you building the same configuration in both cases?
Use

 cmake --build . --config Debug

or

 cmake --build . --config Release

to specify the configuration.  You could also compare the .vcxproj
files that are generated.

Thanks,
-Brad



More information about the CMake mailing list