Explorar el Código

ENH: fix docs

Bill Hoffman hace 18 años
padre
commit
31e3e829dd
Se han modificado 1 ficheros con 5 adiciones y 2 borrados
  1. 5 2
      Source/cmEnableLanguageCommand.h

+ 5 - 2
Source/cmEnableLanguageCommand.h

@@ -54,7 +54,7 @@ public:
    */
   virtual const char* GetTerseDocumentation() 
     {
-    return "Set a name for the entire project.";
+    return "Enable a language (CXX/C/Fortran/etc)";
     }
   
   /**
@@ -64,7 +64,10 @@ public:
     {
     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);