Thanks for this information. Was this documented somewhere publicly? On Thu, Jun 25, 2009 at 5:52 AM, David Cole <[email protected]> wrote:
> When using makefile based CMake generators, set CMAKE_BUILD_TYPE to "Debug" > or "Release" or "MinSizeRel" or "RelWithDebInfo"... > > Add it as a STRING cache entry in the cmake-gui or pass it with -D on the > cmake command line: > cmake -DCMAKE_BUILD_TYPE:STRING=Debug -G "NMake Makefiles" ../source_dir > nmake > > > On Wed, Jun 24, 2009 at 8:43 PM, Robert Dailey <[email protected]> wrote: > >> When I generate using "NMake Makefiles" generator, I build like this (I >> run this command from inside the build directory): >> nmake /f Makefile >> >> Everything builds just fine, but is this a debug or release build? When >> you build with NMake, do you have a choice of which configuration you want >> to use? I'm using the CMake 2.7 nightly build. >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the CMake FAQ at: >> http://www.cmake.org/Wiki/CMake_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://www.cmake.org/mailman/listinfo/cmake >> > >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
