[CMake] Default selected build configuration when opening Visual Studio project

Clifford Yapp cliffyapp at gmail.com
Fri Nov 21 11:27:31 EST 2014


We have a large project defined in CMake that we generate Visual
Studio solution files for, and we've noticed that even if the default
build type is set to Release in CMake, the Visual Studio project still
opens in Debug mode by default.  Is there some setting we can enable
that would make Visual Studio open up the project by default with the
same configuration specified as default by CMake?

Cheers,
CY


More information about the CMake mailing list