diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-09-12 08:12:09 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-09-12 16:16:17 (GMT) |
commit | e4c67981aca4fd736fd7503d9d105a0a6fb43828 (patch) | |
tree | b15fbda6ad2c6497a4409ae78542d302ea6c22e3 /Source/cmGetSourceFilePropertyCommand.h | |
parent | 36b939db682a9405790bee76f95673eeaeb445b8 (diff) | |
download | CMake-e4c67981aca4fd736fd7503d9d105a0a6fb43828.zip CMake-e4c67981aca4fd736fd7503d9d105a0a6fb43828.tar.gz CMake-e4c67981aca4fd736fd7503d9d105a0a6fb43828.tar.bz2 |
cmGetSourceFilePropertyCommand: Port away from cmCommand
Ref: #19499
Diffstat (limited to 'Source/cmGetSourceFilePropertyCommand.h')
-rw-r--r-- | Source/cmGetSourceFilePropertyCommand.h | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/Source/cmGetSourceFilePropertyCommand.h b/Source/cmGetSourceFilePropertyCommand.h index 387a7f4..f0c319b 100644 --- a/Source/cmGetSourceFilePropertyCommand.h +++ b/Source/cmGetSourceFilePropertyCommand.h @@ -8,26 +8,9 @@ #include <string> #include <vector> -#include "cm_memory.hxx" - -#include "cmCommand.h" - class cmExecutionStatus; -class cmGetSourceFilePropertyCommand : public cmCommand -{ -public: - std::unique_ptr<cmCommand> Clone() override - { - return cm::make_unique<cmGetSourceFilePropertyCommand>(); - } - - /** - * 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 cmGetSourceFilePropertyCommand(std::vector<std::string> const& args, + cmExecutionStatus& status); #endif |