diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-09-12 08:13:17 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-09-12 16:16:17 (GMT) |
commit | 0b95c64e43e5f60ee9c60570f359a40e4e882096 (patch) | |
tree | 720d3f4c7c1f966bccffde8d23666bdfa2581a9c /Source/cmGetTargetPropertyCommand.h | |
parent | e4c67981aca4fd736fd7503d9d105a0a6fb43828 (diff) | |
download | CMake-0b95c64e43e5f60ee9c60570f359a40e4e882096.zip CMake-0b95c64e43e5f60ee9c60570f359a40e4e882096.tar.gz CMake-0b95c64e43e5f60ee9c60570f359a40e4e882096.tar.bz2 |
cmGetTargetPropertyCommand: Port away from cmCommand
Ref: #19499
Diffstat (limited to 'Source/cmGetTargetPropertyCommand.h')
-rw-r--r-- | Source/cmGetTargetPropertyCommand.h | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/Source/cmGetTargetPropertyCommand.h b/Source/cmGetTargetPropertyCommand.h index 1a53195..c13078f 100644 --- a/Source/cmGetTargetPropertyCommand.h +++ b/Source/cmGetTargetPropertyCommand.h @@ -8,26 +8,9 @@ #include <string> #include <vector> -#include "cm_memory.hxx" - -#include "cmCommand.h" - class cmExecutionStatus; -class cmGetTargetPropertyCommand : public cmCommand -{ -public: - std::unique_ptr<cmCommand> Clone() override - { - return cm::make_unique<cmGetTargetPropertyCommand>(); - } - - /** - * This is called when the command is first encountered in - * the input file. - */ - bool InitialPass(std::vector<std::string> const& args, - cmExecutionStatus& status) override; -}; +bool cmGetTargetPropertyCommand(std::vector<std::string> const& args, + cmExecutionStatus& status); #endif |