[CMake] Bug? "NMake Makefiles" generators defines different default values for certain variable

Gabriel Petrovay gabipetrovay at gmail.com
Mon Mar 7 02:20:29 EST 2011


Hi,

Can the problem described in the other thread ("CMake command line
arguments") be a bug as suggested there?

CMake defines already the value of some variables
(CMAKE_BUILD_TYPE=Debug, CMAKE_INSTALL_PREFIX=C:\Program
Files\${CMAKE_PROJECT_NAME}). These are different from the defaults
defined by the CMake "Unix Makefiles" generators
(CMAKE_BUILD_TYPE=Release).

Because of this, when using "NMake Makefiles" generator one cannot
find out from CMake if the user wanted a default CMake build or he
explicitly started a Debug build.


Thanks!
Gabriel

-- 
MSc Gabriel Petrovay
Mobile: +41(0)787978034
www.28msec.com


More information about the CMake mailing list