diff options
author | Sebastian Leske <sebastian.leske@sleske.name> | 2013-07-23 22:20:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-07-24 14:30:34 (GMT) |
commit | 41bb95fc673d3c5a151dcca82638fc1d7cec15ee (patch) | |
tree | 53b504caffcabf26dedb4e4859810984d934012f /Source/cmDocumentVariables.cxx | |
parent | 52daa0ea34195fba893e61e72030df4840baa425 (diff) | |
download | CMake-41bb95fc673d3c5a151dcca82638fc1d7cec15ee.zip CMake-41bb95fc673d3c5a151dcca82638fc1d7cec15ee.tar.gz CMake-41bb95fc673d3c5a151dcca82638fc1d7cec15ee.tar.bz2 |
Document CMAKE_<LANG>_FLAGS variable (#14305)
We already document the variables CMAKE_<LANG>_FLAGS_{DEBUG, MINSIZEREL,
RELEASE, RELWITHDEBINFO}. However, CMAKE_<LANG>_FLAGS is not documented,
even though it's available (and useful).
Diffstat (limited to 'Source/cmDocumentVariables.cxx')
-rw-r--r-- | Source/cmDocumentVariables.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/cmDocumentVariables.cxx b/Source/cmDocumentVariables.cxx index fcaa169..cfd5e76 100644 --- a/Source/cmDocumentVariables.cxx +++ b/Source/cmDocumentVariables.cxx @@ -1622,6 +1622,12 @@ void cmDocumentVariables::DefineVariables(cmake* cm) "Variables for Languages"); cm->DefineProperty + ("CMAKE_<LANG>_FLAGS", cmProperty::VARIABLE, + "Flags for all build types.", + "<LANG> flags used regardless of the value of CMAKE_BUILD_TYPE.",false, + "Variables for Languages"); + + cm->DefineProperty ("CMAKE_<LANG>_FLAGS_DEBUG", cmProperty::VARIABLE, "Flags for Debug build type or configuration.", "<LANG> flags used when CMAKE_BUILD_TYPE is Debug.",false, @@ -1862,8 +1868,6 @@ void cmDocumentVariables::DefineVariables(cmake* cm) cmProperty::VARIABLE,0,0); cm->DefineProperty("CMAKE_<LANG>_CREATE_PREPROCESSED_SOURCE", cmProperty::VARIABLE,0,0); - cm->DefineProperty("CMAKE_<LANG>_FLAGS", - cmProperty::VARIABLE,0,0); cm->DefineProperty("CMAKE_<LANG>_FLAGS_DEBUG_INIT", cmProperty::VARIABLE,0,0); cm->DefineProperty("CMAKE_<LANG>_FLAGS_INIT", |