diff options
Diffstat (limited to 'Source/cmAddTestCommand.h')
-rw-r--r-- | Source/cmAddTestCommand.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/Source/cmAddTestCommand.h b/Source/cmAddTestCommand.h index 624288f..295fb78 100644 --- a/Source/cmAddTestCommand.h +++ b/Source/cmAddTestCommand.h @@ -25,27 +25,24 @@ public: /** * This is a virtual constructor for the command. */ - virtual cmCommand* Clone() - { - return new cmAddTestCommand; - } + virtual cmCommand* Clone() { return new cmAddTestCommand; } /** * This is called when the command is first encountered in * the CMakeLists.txt file. */ virtual bool InitialPass(std::vector<std::string> const& args, - cmExecutionStatus &status); + cmExecutionStatus& status); /** * The name of the command as specified in CMakeList.txt. */ - virtual std::string GetName() const { return "add_test";} + virtual std::string GetName() const { return "add_test"; } cmTypeMacro(cmAddTestCommand, cmCommand); + private: bool HandleNameMode(std::vector<std::string> const& args); }; - #endif |