summaryrefslogtreecommitdiffstats
path: root/Source/cmIncludeExternalMSProjectCommand.h
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-09-12 08:15:29 (GMT)
committerRegina Pfeifer <regina@mailbox.org>2019-09-12 16:16:17 (GMT)
commit06a2e764f0f088a212e20b85e364b5621ef639fe (patch)
tree9ad643d2af13c967973b1e66ecc5393c60fbd918 /Source/cmIncludeExternalMSProjectCommand.h
parentb46970cfe9e0c96a9794acb49fc580565bcd6e91 (diff)
downloadCMake-06a2e764f0f088a212e20b85e364b5621ef639fe.zip
CMake-06a2e764f0f088a212e20b85e364b5621ef639fe.tar.gz
CMake-06a2e764f0f088a212e20b85e364b5621ef639fe.tar.bz2
cmIncludeExternalMSProjectCommand: Port away from cmCommand
Ref: #19499
Diffstat (limited to 'Source/cmIncludeExternalMSProjectCommand.h')
-rw-r--r--Source/cmIncludeExternalMSProjectCommand.h31
1 files changed, 2 insertions, 29 deletions
diff --git a/Source/cmIncludeExternalMSProjectCommand.h b/Source/cmIncludeExternalMSProjectCommand.h
index 9f76576..1013c44 100644
--- a/Source/cmIncludeExternalMSProjectCommand.h
+++ b/Source/cmIncludeExternalMSProjectCommand.h
@@ -8,36 +8,9 @@
#include <string>
#include <vector>
-#include "cm_memory.hxx"
-
-#include "cmCommand.h"
-
class cmExecutionStatus;
-/** \class cmIncludeExternalMSProjectCommand
- * \brief Specify an external MS project file for inclusion in the workspace.
- *
- * cmIncludeExternalMSProjectCommand is used to specify an externally
- * generated Microsoft project file for inclusion in the default workspace
- * generated by CMake.
- */
-class cmIncludeExternalMSProjectCommand : public cmCommand
-{
-public:
- /**
- * This is a virtual constructor for the command.
- */
- std::unique_ptr<cmCommand> Clone() override
- {
- return cm::make_unique<cmIncludeExternalMSProjectCommand>();
- }
-
- /**
- * 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 cmIncludeExternalMSProjectCommand(std::vector<std::string> const& args,
+ cmExecutionStatus& status);
#endif