diff options
Diffstat (limited to 'Source/cmMathCommand.h')
-rw-r--r-- | Source/cmMathCommand.h | 24 |
1 files changed, 3 insertions, 21 deletions
diff --git a/Source/cmMathCommand.h b/Source/cmMathCommand.h index 67dbdda37..ac1957c24 100644 --- a/Source/cmMathCommand.h +++ b/Source/cmMathCommand.h @@ -3,33 +3,15 @@ #ifndef cmMathCommand_h #define cmMathCommand_h -#include "cmConfigure.h" +#include "cmConfigure.h" // IWYU pragma: keep #include <string> #include <vector> -#include "cmCommand.h" - class cmExecutionStatus; /// Mathematical expressions: math(EXPR ...) command. -class cmMathCommand : public cmCommand -{ -public: - /** - * This is a virtual constructor for the command. - */ - cmCommand* Clone() CM_OVERRIDE { return new cmMathCommand; } - - /** - * This is called when the command is first encountered in - * the CMakeLists.txt file. - */ - bool InitialPass(std::vector<std::string> const& args, - cmExecutionStatus& status) CM_OVERRIDE; - -protected: - bool HandleExprCommand(std::vector<std::string> const& args); -}; +bool cmMathCommand(std::vector<std::string> const& args, + cmExecutionStatus& status); #endif |