Browse Source

ERR: Fixed incorrect documentation for CMAKE_CXX_WARNING_LEVEL. Submitted by David Cole.

Brad King 21 năm trước cách đây
mục cha
commit
7fa9a5f5d6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Modules/Platform/Windows-cl.cmake

+ 1 - 1
Modules/Platform/Windows-cl.cmake

@@ -66,7 +66,7 @@ IF(CMAKE_GENERATOR MATCHES "Visual Studio 7")
   SET (CMAKE_CONFIGURATION_TYPES "Debug;Release;MinSizeRel;RelWithDebInfo" CACHE STRING 
      "Semicolon separated list of supported configuration types, only supports Debug, Release, MinSizeRel, and RelWithDebInfo, anything else will be ignored.")
   SET (CMAKE_CXX_WARNING_LEVEL "3" CACHE STRING
-       "Size of stack for programs.")
+       "Default compiler warning level for C++.")
   SET (CMAKE_CXX_STACK_SIZE "10000000" CACHE STRING
        "Size of stack for programs.")
   MARK_AS_ADVANCED(CMAKE_CONFIGURATION_TYPES CMAKE_CXX_STACK_SIZE CMAKE_CXX_WARNING_LEVEL)