[Cmake-commits] [cmake-commits] king committed cmDocumentVariables.cxx 1.39 1.40

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Aug 20 16:21:50 EDT 2009


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv27553/Source

Modified Files:
	cmDocumentVariables.cxx 
Log Message:
Document CMAKE_<LANG>_COMPILER_LOADED variable


Index: cmDocumentVariables.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmDocumentVariables.cxx,v
retrieving revision 1.39
retrieving revision 1.40
diff -C 2 -d -r1.39 -r1.40
*** cmDocumentVariables.cxx	30 Jul 2009 14:59:37 -0000	1.39
--- cmDocumentVariables.cxx	20 Aug 2009 20:21:48 -0000	1.40
***************
*** 1242,1245 ****
--- 1242,1252 ----
       "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);  
***************
*** 1260,1265 ****
    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);
--- 1267,1270 ----



More information about the Cmake-commits mailing list