diff options
author | Brad King <brad.king@kitware.com> | 2009-08-20 20:21:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-08-20 20:21:48 (GMT) |
commit | 5a4797ad80d9f89f57270adf9eb8573211856471 (patch) | |
tree | 8b9cfe94e493aa74e683cac0833d374f75cc55d5 /Source/cmDocumentVariables.cxx | |
parent | 8c6aa445a253d618273d32f6a601714e78c734c6 (diff) | |
download | CMake-5a4797ad80d9f89f57270adf9eb8573211856471.zip CMake-5a4797ad80d9f89f57270adf9eb8573211856471.tar.gz CMake-5a4797ad80d9f89f57270adf9eb8573211856471.tar.bz2 |
Document CMAKE_<LANG>_COMPILER_LOADED variable
Diffstat (limited to 'Source/cmDocumentVariables.cxx')
-rw-r--r-- | Source/cmDocumentVariables.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Source/cmDocumentVariables.cxx b/Source/cmDocumentVariables.cxx index d13a9d3..4932237 100644 --- a/Source/cmDocumentVariables.cxx +++ b/Source/cmDocumentVariables.cxx @@ -1241,6 +1241,13 @@ void cmDocumentVariables::DefineVariables(cmake* cm) "This is the list of extensions for a " "given languages source files.",false,"Variables for Languages"); + cm->DefineProperty( + "CMAKE_<LANG>_COMPILER_LOADED", cmProperty::VARIABLE, + "Defined to true if the language is enabled.", + "When language <LANG> is enabled by project() or enable_language() " + "this variable is defined to 1.", + false,"Variables for Languages"); + // variables that are used by cmake but not to be documented cm->DefineProperty("CMAKE_MATCH_0", cmProperty::VARIABLE,0,0); cm->DefineProperty("CMAKE_MATCH_1", cmProperty::VARIABLE,0,0); @@ -1259,8 +1266,6 @@ void cmDocumentVariables::DefineVariables(cmake* cm) cmProperty::VARIABLE,0,0); cm->DefineProperty("CMAKE_<LANG>_COMPILER_ID_RUN", cmProperty::VARIABLE,0,0); - cm->DefineProperty("CMAKE_<LANG>_COMPILER_LOADED", - cmProperty::VARIABLE,0,0); cm->DefineProperty("CMAKE_<LANG>_CREATE_ASSEMBLY_SOURCE", cmProperty::VARIABLE,0,0); cm->DefineProperty("CMAKE_<LANG>_CREATE_PREPROCESSED_SOURCE", |