diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-09-12 08:18:01 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-09-12 16:16:17 (GMT) |
commit | fb5affe0859ae1bc07d059fc11cee3daca4d8780 (patch) | |
tree | a59c827bc5525ff0867fd4dea5e9668994dc30ee /Source/cmInstallFilesCommand.h | |
parent | 242d876d7b919fe6efb3a347dfa35a66e3ef58df (diff) | |
download | CMake-fb5affe0859ae1bc07d059fc11cee3daca4d8780.zip CMake-fb5affe0859ae1bc07d059fc11cee3daca4d8780.tar.gz CMake-fb5affe0859ae1bc07d059fc11cee3daca4d8780.tar.bz2 |
cmInstallFilesCommand: Port away from cmCommand
Ref: #19499
Diffstat (limited to 'Source/cmInstallFilesCommand.h')
-rw-r--r-- | Source/cmInstallFilesCommand.h | 30 |
1 files changed, 2 insertions, 28 deletions
diff --git a/Source/cmInstallFilesCommand.h b/Source/cmInstallFilesCommand.h index f9b84fd..f4ebbde 100644 --- a/Source/cmInstallFilesCommand.h +++ b/Source/cmInstallFilesCommand.h @@ -8,35 +8,9 @@ #include <string> #include <vector> -#include "cm_memory.hxx" - -#include "cmCommand.h" - class cmExecutionStatus; -/** \class cmInstallFilesCommand - * \brief Specifies where to install some files - * - * cmInstallFilesCommand specifies the relative path where a list of - * files should be installed. - */ -class cmInstallFilesCommand : public cmCommand -{ -public: - /** - * This is a virtual constructor for the command. - */ - std::unique_ptr<cmCommand> Clone() override - { - return cm::make_unique<cmInstallFilesCommand>(); - } - - /** - * 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 cmInstallFilesCommand(std::vector<std::string> const& args, + cmExecutionStatus& status); #endif |