summaryrefslogtreecommitdiffstats
path: root/Source/cmMacroCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-10-24 14:16:43 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-10-24 14:16:43 (GMT)
commitc1b96fddf835d5faf27698d5a1637bd1507274e0 (patch)
tree63dc641f20a74e86f69c4b154adb20bc914efe34 /Source/cmMacroCommand.cxx
parentb899c0a92f6833c4996276d86d9e0fb3d42df77c (diff)
parent2214011f7b3b13fe7ae0f68f0f9d49af11e12edd (diff)
downloadCMake-c1b96fddf835d5faf27698d5a1637bd1507274e0.zip
CMake-c1b96fddf835d5faf27698d5a1637bd1507274e0.tar.gz
CMake-c1b96fddf835d5faf27698d5a1637bd1507274e0.tar.bz2
Merge topic 'remove-cmobject-uses'
2214011f Make cmCPackGenerator not inherit from cmObject 7f9a8d53 Make cmCPackGeneratorFactory not inherit from cmObject fb0b087c Make cmCTestGenericHandler not inherit from cmObject 2169b0fa Make cmCPackLog not inherit from cmObject 9855ebf1 Make cmCommand not inherit from cmObject
Diffstat (limited to 'Source/cmMacroCommand.cxx')
-rw-r--r--Source/cmMacroCommand.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/Source/cmMacroCommand.cxx b/Source/cmMacroCommand.cxx
index cb8bd58..9bfc70b 100644
--- a/Source/cmMacroCommand.cxx
+++ b/Source/cmMacroCommand.cxx
@@ -17,12 +17,9 @@ public:
~cmMacroHelperCommand() CM_OVERRIDE {}
/**
- * This is used to avoid including this command
- * in documentation. This is mainly used by
- * cmMacroHelperCommand and cmFunctionHelperCommand
- * which cannot provide appropriate documentation.
+ * This determines if the command is defined in a cmake script.
*/
- bool ShouldAppearInDocumentation() const CM_OVERRIDE { return false; }
+ bool IsUserDefined() const CM_OVERRIDE { return true; }
/**
* This is a virtual constructor for the command.
@@ -61,8 +58,6 @@ public:
*/
std::string GetName() const CM_OVERRIDE { return this->Args[0]; }
- cmTypeMacro(cmMacroHelperCommand, cmCommand);
-
std::vector<std::string> Args;
std::vector<cmListFileFunction> Functions;
cmPolicies::PolicyMap Policies;