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).
This commit is contained in:
Sebastian Leske 2013-07-23 18:20:00 -04:00 committed by Brad King
parent 52daa0ea34
commit 41bb95fc67
1 changed files with 6 additions and 2 deletions

View File

@ -1621,6 +1621,12 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
false, false,
"Variables for Languages"); "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 cm->DefineProperty
("CMAKE_<LANG>_FLAGS_DEBUG", cmProperty::VARIABLE, ("CMAKE_<LANG>_FLAGS_DEBUG", cmProperty::VARIABLE,
"Flags for Debug build type or configuration.", "Flags for Debug build type or configuration.",
@ -1862,8 +1868,6 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
cmProperty::VARIABLE,0,0); cmProperty::VARIABLE,0,0);
cm->DefineProperty("CMAKE_<LANG>_CREATE_PREPROCESSED_SOURCE", cm->DefineProperty("CMAKE_<LANG>_CREATE_PREPROCESSED_SOURCE",
cmProperty::VARIABLE,0,0); cmProperty::VARIABLE,0,0);
cm->DefineProperty("CMAKE_<LANG>_FLAGS",
cmProperty::VARIABLE,0,0);
cm->DefineProperty("CMAKE_<LANG>_FLAGS_DEBUG_INIT", cm->DefineProperty("CMAKE_<LANG>_FLAGS_DEBUG_INIT",
cmProperty::VARIABLE,0,0); cmProperty::VARIABLE,0,0);
cm->DefineProperty("CMAKE_<LANG>_FLAGS_INIT", cm->DefineProperty("CMAKE_<LANG>_FLAGS_INIT",