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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to