[cmake-commits] alex committed cmGlobalGenerator.cxx 1.183 1.184

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Jun 11 15:47:37 EDT 2007


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

Modified Files:
	cmGlobalGenerator.cxx 
Log Message:

STYLE: add a comment about SetLanguageEnabled()
-add a Generic.cmake for target platforms without operating system

Alex


Index: cmGlobalGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalGenerator.cxx,v
retrieving revision 1.183
retrieving revision 1.184
diff -u -d -r1.183 -r1.184
--- cmGlobalGenerator.cxx	11 Jun 2007 19:31:42 -0000	1.183
+++ cmGlobalGenerator.cxx	11 Jun 2007 19:47:35 -0000	1.184
@@ -534,6 +534,13 @@
   return 0;
 }
 
+/* SetLanguageEnabled() is now split in two parts:
+at first the enabled-flag is set. This can then be used in EnabledLanguage()
+for checking whether the language is already enabled. After setting this
+flag still the values from the cmake variables have to be copied into the
+internal maps, this is done in SetLanguageEnabledMaps() which is called
+after the system- and compiler specific files have been loaded.
+*/
 void cmGlobalGenerator::SetLanguageEnabled(const char* l, cmMakefile* mf)
 {
   this->SetLanguageEnabledFlag(l, mf);



More information about the Cmake-commits mailing list