]> granicus.if.org Git - libjpeg-turbo/commitdiff
Comment code
authorDRC <dcommander@users.sourceforge.net>
Mon, 4 Apr 2011 04:56:24 +0000 (04:56 +0000)
committerDRC <dcommander@users.sourceforge.net>
Mon, 4 Apr 2011 04:56:24 +0000 (04:56 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@569 632fc199-4ca6-4c93-a231-07263d6284db

CMakeLists.txt

index 712b7c31b28abfa511fcae364efed71901487dfc..dfba3204716885bf6e9e389f75c06f3be0f411a5 100644 (file)
@@ -18,6 +18,8 @@ else()
   message(FATAL_ERROR "Platform not supported by this build system.  Use autotools instead.")
 endif()
 
+# This does nothing except when using MinGW.  CMAKE_BUILD_TYPE has no meaning
+# in Visual Studio, and it always defaults to Debug when using NMake.
 if(NOT CMAKE_BUILD_TYPE)
   set(CMAKE_BUILD_TYPE Release)
 endif()
@@ -25,7 +27,7 @@ endif()
 message(STATUS "CMAKE_BUILD_TYPE = ${CMAKE_BUILD_TYPE}")
 
 # This only works if building from the command line.  There is currently no way
-# to set a variable's value based on the build type when using the MSVC IDE.
+# to set a variable's value based on the build type when using Visual Studio.
 if(CMAKE_BUILD_TYPE STREQUAL "Debug")
   set(BUILD "${BUILD}d")
 endif()