summaryrefslogtreecommitdiff
path: root/Source/cmInstallTargetsCommand.h
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-09-12 10:20:35 +0200
committerRegina Pfeifer <regina@mailbox.org>2019-09-12 18:16:17 +0200
commitb85407ae76951649907e8e5675fe17d65dfd5457 (patch)
treea766e8d484a55b0594d055565188cc3d08689c2a /Source/cmInstallTargetsCommand.h
parentd55319c01d5482ff31166750717252e1b49f1e69 (diff)
downloadcmake-b85407ae76951649907e8e5675fe17d65dfd5457.tar.gz
cmInstallTargetsCommand: Port away from cmCommand
Ref: #19499
Diffstat (limited to 'Source/cmInstallTargetsCommand.h')
-rw-r--r--Source/cmInstallTargetsCommand.h31
1 files changed, 2 insertions, 29 deletions
diff --git a/Source/cmInstallTargetsCommand.h b/Source/cmInstallTargetsCommand.h
index 55e69ba230..0c5850c91f 100644
--- a/Source/cmInstallTargetsCommand.h
+++ b/Source/cmInstallTargetsCommand.h
@@ -8,36 +8,9 @@
#include <string>
#include <vector>
-#include "cm_memory.hxx"
-
-#include "cmCommand.h"
-
class cmExecutionStatus;
-/** \class cmInstallTargetsCommand
- * \brief Specifies where to install some targets
- *
- * cmInstallTargetsCommand specifies the relative path where a list of
- * targets should be installed. The targets can be executables or
- * libraries.
- */
-class cmInstallTargetsCommand : public cmCommand
-{
-public:
- /**
- * This is a virtual constructor for the command.
- */
- std::unique_ptr<cmCommand> Clone() override
- {
- return cm::make_unique<cmInstallTargetsCommand>();
- }
-
- /**
- * 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 cmInstallTargetsCommand(std::vector<std::string> const& args,
+ cmExecutionStatus& status);
#endif