summaryrefslogtreecommitdiffstats
path: root/Source/cmParseArgumentsCommand.h
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-08-04 17:03:09 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-20 18:42:20 (GMT)
commitd780822da61afb5fd3014f7e15c68eb2eb0754c3 (patch)
treeab751627d24aaf9f280343a17840c452563bd0c1 /Source/cmParseArgumentsCommand.h
parent4fa9630b7ef645850da31a895ebaceb3bc583859 (diff)
downloadCMake-d780822da61afb5fd3014f7e15c68eb2eb0754c3.zip
CMake-d780822da61afb5fd3014f7e15c68eb2eb0754c3.tar.gz
CMake-d780822da61afb5fd3014f7e15c68eb2eb0754c3.tar.bz2
cmCommand refactor: cmParseArgumentsCommand
Diffstat (limited to 'Source/cmParseArgumentsCommand.h')
-rw-r--r--Source/cmParseArgumentsCommand.h27
1 files changed, 2 insertions, 25 deletions
diff --git a/Source/cmParseArgumentsCommand.h b/Source/cmParseArgumentsCommand.h
index 692ea64..b2e436d 100644
--- a/Source/cmParseArgumentsCommand.h
+++ b/Source/cmParseArgumentsCommand.h
@@ -8,32 +8,9 @@
#include <string>
#include <vector>
-#include "cm_memory.hxx"
-
-#include "cmCommand.h"
-
class cmExecutionStatus;
-/** \class cmParseArgumentsCommand
- *
- */
-class cmParseArgumentsCommand : public cmCommand
-{
-public:
- /**
- * This is a virtual constructor for the command.
- */
- std::unique_ptr<cmCommand> Clone() override
- {
- return cm::make_unique<cmParseArgumentsCommand>();
- }
-
- /**
- * 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 cmParseArgumentsCommand(std::vector<std::string> const& args,
+ cmExecutionStatus& status);
#endif