diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-08-06 10:25:12 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-08-06 10:25:12 (GMT) |
commit | 2b785875fbc9815b1fc528a90cf008a2b13f0084 (patch) | |
tree | 8b709ff6484f57740f996888614ea9ea89e69a6a /Source/cmFileCommand.h | |
parent | 9703c65718689e56bfa100f1965b6a83af87e090 (diff) | |
download | CMake-2b785875fbc9815b1fc528a90cf008a2b13f0084.zip CMake-2b785875fbc9815b1fc528a90cf008a2b13f0084.tar.gz CMake-2b785875fbc9815b1fc528a90cf008a2b13f0084.tar.bz2 |
cmFileCommand: turn into free function
Diffstat (limited to 'Source/cmFileCommand.h')
-rw-r--r-- | Source/cmFileCommand.h | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/Source/cmFileCommand.h b/Source/cmFileCommand.h index b564540..8c9b219 100644 --- a/Source/cmFileCommand.h +++ b/Source/cmFileCommand.h @@ -8,33 +8,9 @@ #include <string> #include <vector> -#include "cm_memory.hxx" - -#include "cmCommand.h" - class cmExecutionStatus; -/** \class cmFileCommand - * \brief Command for manipulation of files - * - */ -class cmFileCommand : public cmCommand -{ -public: - /** - * This is a virtual constructor for the command. - */ - std::unique_ptr<cmCommand> Clone() override - { - return cm::make_unique<cmFileCommand>(); - } - - /** - * This is called when the command is first encountered in - * the CMakeLists.txt file. - */ - bool InitialPass(std::vector<std::string> const& args, - cmExecutionStatus& status) override; -}; +bool cmFileCommand(std::vector<std::string> const& args, + cmExecutionStatus& status); #endif |