diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-09-12 08:08:01 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-09-12 16:16:17 (GMT) |
commit | 41b0d60f48c3d8d882ec25b56d638b392121fcc8 (patch) | |
tree | 631c2522b4959b54b7a4fbbcc35413ae0fbc7d8d /Source/cmDefinePropertyCommand.h | |
parent | f717e1fccf2968ffeba36dc84e428abd4f8db5c0 (diff) | |
download | CMake-41b0d60f48c3d8d882ec25b56d638b392121fcc8.zip CMake-41b0d60f48c3d8d882ec25b56d638b392121fcc8.tar.gz CMake-41b0d60f48c3d8d882ec25b56d638b392121fcc8.tar.bz2 |
cmDefinePropertyCommand: Port away from cmCommand
Ref: #19499
Diffstat (limited to 'Source/cmDefinePropertyCommand.h')
-rw-r--r-- | Source/cmDefinePropertyCommand.h | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/Source/cmDefinePropertyCommand.h b/Source/cmDefinePropertyCommand.h index 36f97df..60dd76a 100644 --- a/Source/cmDefinePropertyCommand.h +++ b/Source/cmDefinePropertyCommand.h @@ -8,31 +8,9 @@ #include <string> #include <vector> -#include "cm_memory.hxx" - -#include "cmCommand.h" - class cmExecutionStatus; -class cmDefinePropertyCommand : public cmCommand -{ -public: - std::unique_ptr<cmCommand> Clone() override - { - return cm::make_unique<cmDefinePropertyCommand>(); - } - - /** - * This is called when the command is first encountered in - * the input file. - */ - bool InitialPass(std::vector<std::string> const& args, - cmExecutionStatus& status) override; - -private: - std::string PropertyName; - std::string BriefDocs; - std::string FullDocs; -}; +bool cmDefinePropertyCommand(std::vector<std::string> const& args, + cmExecutionStatus& status); #endif |