[CMake] Typo in documentation

David Solbach d at vidsolbach.de
Wed Apr 15 17:49:28 EDT 2009


Hi there,

a collegue pointed me to a small typo in the documentation at:

http://www.cmake.org/cmake/help/cmake2.6docs.html#variable:CMAKE_BUILD_TYPE

---
#  CMAKE_BUILD_TYPE: Specifies the build type for make based generators.

This specifies what build type will be built in this tree. Possible values are 
empty, Debug, Release, RelWithDebInfo and MinSizeRel. This variable is only 
supported for make based generators. If this variable is supported, then CMake 
will also provide initial values for the variables with the name 
CMAKE_C_FLAGS_[Debug|Release|RelWithDebInfo|MinSizeRel]. For example, if 
CMAKE_BUILD_TYPE is Debug, then CMAKE_C_FLAGS_DEBUG will be added to the 
CMAKE_C_FLAGS. 
---

CMAKE_C_FLAGS_DEBUG in the last sentence should read CMAKE_C_FLAGS_Debug.

Small typo, but if you just browse the docs, it can be a catch (and was, in 
the case of my collegue).

Cheers, and thanks for CMake!

David


More information about the CMake mailing list