summaryrefslogtreecommitdiffstats
path: root/Source/cmSubdirCommand.h
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-09-12 14:29:52 (GMT)
committerRegina Pfeifer <regina@mailbox.org>2019-09-12 16:16:17 (GMT)
commita81e9a0ced25490d1384316834dff36a55d4e864 (patch)
tree4d121684847329f84c47831773ff61c0981b6cdf /Source/cmSubdirCommand.h
parent573cd4e4b43d8d3b75f6e7c420b5f833cdd2120e (diff)
downloadCMake-a81e9a0ced25490d1384316834dff36a55d4e864.zip
CMake-a81e9a0ced25490d1384316834dff36a55d4e864.tar.gz
CMake-a81e9a0ced25490d1384316834dff36a55d4e864.tar.bz2
cmSubdirCommand: Port away from cmCommand
Ref: #19499
Diffstat (limited to 'Source/cmSubdirCommand.h')
-rw-r--r--Source/cmSubdirCommand.h31
1 files changed, 2 insertions, 29 deletions
diff --git a/Source/cmSubdirCommand.h b/Source/cmSubdirCommand.h
index 3499c46..3254e84 100644
--- a/Source/cmSubdirCommand.h
+++ b/Source/cmSubdirCommand.h
@@ -8,36 +8,9 @@
#include <string>
#include <vector>
-#include "cm_memory.hxx"
-
-#include "cmCommand.h"
-
class cmExecutionStatus;
-/** \class cmSubdirCommand
- * \brief Specify a list of subdirectories to build.
- *
- * cmSubdirCommand specifies a list of subdirectories to process
- * by CMake. For each subdirectory listed, CMake will descend
- * into that subdirectory and process any CMakeLists.txt found.
- */
-class cmSubdirCommand : public cmCommand
-{
-public:
- /**
- * This is a virtual constructor for the command.
- */
- std::unique_ptr<cmCommand> Clone() override
- {
- return cm::make_unique<cmSubdirCommand>();
- }
-
- /**
- * 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 cmSubdirCommand(std::vector<std::string> const& args,
+ cmExecutionStatus& status);
#endif