diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-09-12 08:06:03 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-09-12 16:16:17 (GMT) |
commit | f717e1fccf2968ffeba36dc84e428abd4f8db5c0 (patch) | |
tree | f5cc998f263f96dd045f3b72ee031dc6845ace20 /Source/cmCreateTestSourceList.h | |
parent | f0ecb123981c6b383a55f7d75e023cf4310f2074 (diff) | |
download | CMake-f717e1fccf2968ffeba36dc84e428abd4f8db5c0.zip CMake-f717e1fccf2968ffeba36dc84e428abd4f8db5c0.tar.gz CMake-f717e1fccf2968ffeba36dc84e428abd4f8db5c0.tar.bz2 |
cmCreateTestSourceList: Port away from cmCommand
Ref: #19499
Diffstat (limited to 'Source/cmCreateTestSourceList.h')
-rw-r--r-- | Source/cmCreateTestSourceList.h | 29 |
1 files changed, 2 insertions, 27 deletions
diff --git a/Source/cmCreateTestSourceList.h b/Source/cmCreateTestSourceList.h index 5aa6af4..19503f4 100644 --- a/Source/cmCreateTestSourceList.h +++ b/Source/cmCreateTestSourceList.h @@ -8,34 +8,9 @@ #include <string> #include <vector> -#include "cm_memory.hxx" - -#include "cmCommand.h" - class cmExecutionStatus; -/** \class cmCreateTestSourceList - * \brief Test driver generation command - * - */ - -class cmCreateTestSourceList : public cmCommand -{ -public: - /** - * This is a virtual constructor for the command. - */ - std::unique_ptr<cmCommand> Clone() override - { - return cm::make_unique<cmCreateTestSourceList>(); - } - - /** - * 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 cmCreateTestSourceList(std::vector<std::string> const& args, + cmExecutionStatus& status); #endif |