[cmake-commits] hoffman committed cmEnableLanguageCommand.h 1.3 1.4

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Apr 24 14:03:27 EDT 2007


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

Modified Files:
	cmEnableLanguageCommand.h 
Log Message:
ENH: fix docs 


Index: cmEnableLanguageCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmEnableLanguageCommand.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- cmEnableLanguageCommand.h	16 Nov 2005 15:33:49 -0000	1.3
+++ cmEnableLanguageCommand.h	24 Apr 2007 18:03:25 -0000	1.4
@@ -54,7 +54,7 @@
    */
   virtual const char* GetTerseDocumentation() 
     {
-    return "Set a name for the entire project.";
+    return "Enable a language (CXX/C/Fortran/etc)";
     }
   
   /**
@@ -64,7 +64,10 @@
     {
     return
       "  ENABLE_LANGUAGE(languageName)\n"
-      "This command enables support for the named language in CMake.";
+      "This command enables support for the named language in CMake. "
+      "This is the same as the project command but does not create "
+      "any of the extra varaibles that are created by the project command. "
+      "Example languages are CXX, C, Fortran.";
     }
   
   cmTypeMacro(cmEnableLanguageCommand, cmCommand);



More information about the Cmake-commits mailing list