Re: [CMake] Question about CMake and NMake generation

2009-06-25 Thread Alexander Neundorf
On Thursday 25 June 2009, Robert Dailey wrote: > On Thu, Jun 25, 2009 at 10:48 AM, Bill Hoffman wrote: > > Robert Dailey wrote: > >> Thanks for this information. Was this documented somewhere publicly? > > > > http://www.cmake.org/cmake/help/cmake2.6docs.html#variable:CMAKE_BUILD_TY > >PE > > Than

Re: [CMake] Question about CMake and NMake generation

2009-06-25 Thread Robert Dailey
On Thu, Jun 25, 2009 at 10:48 AM, Bill Hoffman wrote: > Robert Dailey wrote: > >> Thanks for this information. Was this documented somewhere publicly? >> >> > > http://www.cmake.org/cmake/help/cmake2.6docs.html#variable:CMAKE_BUILD_TYPE Thanks. I actually was not specific enough in my question f

Re: [CMake] Question about CMake and NMake generation

2009-06-25 Thread Bill Hoffman
Robert Dailey wrote: Thanks for this information. Was this documented somewhere publicly? http://www.cmake.org/cmake/help/cmake2.6docs.html#variable:CMAKE_BUILD_TYPE -Bill ___ Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [CMake] Question about CMake and NMake generation

2009-06-25 Thread Robert Dailey
Thanks for this information. Was this documented somewhere publicly? On Thu, Jun 25, 2009 at 5:52 AM, David Cole 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 cm

Re: [CMake] Question about CMake and NMake generation

2009-06-25 Thread David Cole
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

[CMake] Question about CMake and NMake generation

2009-06-24 Thread Robert Dailey
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'