summaryrefslogtreecommitdiff
path: root/Source/cmEnableLanguageCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmEnableLanguageCommand.h')
-rw-r--r--Source/cmEnableLanguageCommand.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/cmEnableLanguageCommand.h b/Source/cmEnableLanguageCommand.h
index 3db8cb2d97..decb788b1b 100644
--- a/Source/cmEnableLanguageCommand.h
+++ b/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);