summaryrefslogtreecommitdiffstats
path: root/Source/cmEnableLanguageCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-09-17 17:23:40 (GMT)
committerBrad King <brad.king@kitware.com>2013-10-16 13:22:36 (GMT)
commite33d8d2d7799271e94b4f1215c77d6a685f82b88 (patch)
tree03726a7dacd9c06731de417d3f8c82f7bbb5e8f1 /Source/cmEnableLanguageCommand.h
parent399e9c46d88c12507f1a762e69225c5ab9f4ac08 (diff)
downloadCMake-e33d8d2d7799271e94b4f1215c77d6a685f82b88.zip
CMake-e33d8d2d7799271e94b4f1215c77d6a685f82b88.tar.gz
CMake-e33d8d2d7799271e94b4f1215c77d6a685f82b88.tar.bz2
Drop builtin command documentation
Drop all GetTerseDocumentation and GetFullDocumentation methods from commands. The command documentation is now in Help/command/*.rst files.
Diffstat (limited to 'Source/cmEnableLanguageCommand.h')
-rw-r--r--Source/cmEnableLanguageCommand.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/Source/cmEnableLanguageCommand.h b/Source/cmEnableLanguageCommand.h
index 747448b..a248042 100644
--- a/Source/cmEnableLanguageCommand.h
+++ b/Source/cmEnableLanguageCommand.h
@@ -45,37 +45,6 @@ public:
*/
virtual const char* GetName() const {return "enable_language";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Enable a language (CXX/C/Fortran/etc)";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " enable_language(<lang> [OPTIONAL] )\n"
- "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 variables that are created by the project command. "
- "Example languages are CXX, C, Fortran. "
- "\n"
- "This command must be called in file scope, not in a function call. "
- "Furthermore, it must be called in the highest directory common to "
- "all targets using the named language directly for compiling sources "
- "or indirectly through link dependencies. "
- "It is simplest to enable all needed languages in the top-level "
- "directory of a project."
- "\n"
- "The OPTIONAL keyword is a placeholder for future implementation "
- "and does not currently work.";
- }
-
cmTypeMacro(cmEnableLanguageCommand, cmCommand);
};