summaryrefslogtreecommitdiff
path: root/Source/cmInstallProgramsCommand.h
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-09-12 10:19:23 +0200
committerRegina Pfeifer <regina@mailbox.org>2019-09-12 18:16:17 +0200
commitd55319c01d5482ff31166750717252e1b49f1e69 (patch)
tree7d74c9f8f9effa2cad3511a7e4f77ff58e117d94 /Source/cmInstallProgramsCommand.h
parentfb5affe0859ae1bc07d059fc11cee3daca4d8780 (diff)
downloadcmake-d55319c01d5482ff31166750717252e1b49f1e69.tar.gz
cmInstallProgramsCommand: Port away from cmCommand
Ref: #19499
Diffstat (limited to 'Source/cmInstallProgramsCommand.h')
-rw-r--r--Source/cmInstallProgramsCommand.h30
1 files changed, 2 insertions, 28 deletions
diff --git a/Source/cmInstallProgramsCommand.h b/Source/cmInstallProgramsCommand.h
index ccd621df61..c567f3bac8 100644
--- a/Source/cmInstallProgramsCommand.h
+++ b/Source/cmInstallProgramsCommand.h
@@ -8,35 +8,9 @@
#include <string>
#include <vector>
-#include "cm_memory.hxx"
-
-#include "cmCommand.h"
-
class cmExecutionStatus;
-/** \class cmInstallProgramsCommand
- * \brief Specifies where to install some programs
- *
- * cmInstallProgramsCommand specifies the relative path where a list of
- * programs should be installed.
- */
-class cmInstallProgramsCommand : public cmCommand
-{
-public:
- /**
- * This is a virtual constructor for the command.
- */
- std::unique_ptr<cmCommand> Clone() override
- {
- return cm::make_unique<cmInstallProgramsCommand>();
- }
-
- /**
- * 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 cmInstallProgramsCommand(std::vector<std::string> const& args,
+ cmExecutionStatus& status);
#endif