[CMake] Can't generate Release build in Visual Studio 9

John Drescher drescherjm at gmail.com
Fri Feb 24 13:39:33 EST 2012


> 2. Do batch building. I do this option. Look at the cmake --build command
>

Here is an example of this for one of my current projects (not exactly
what I do but close enough):

rem configure
pushd .
cd X:\64Bit\VC.100\Qt\StudyManager
cmake X:/CMakeBased/Qt/StudyManager
popd

rem build the nsis package.
cmake --build X:/64Bit/VC.100/Qt/StudyManager --config Release --target PACKAGE

X:/64Bit/VC.100/Qt/StudyManager is the build folder containing the
.sln CMakeCache.txt ...


John


More information about the CMake mailing list