diff options
author | Gabor Bencze <b.gabor98@gmail.com> | 2019-08-21 18:49:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-08-26 15:48:43 (GMT) |
commit | c2c222eba13476a95a362731528d85a3e76ed83a (patch) | |
tree | 7f895e66295b3b82ceab8c1d9a7547d356e5c2fc /Source/cmOutputRequiredFilesCommand.h | |
parent | 7533e47cccb8828885de518e40d58b629200d23d (diff) | |
download | CMake-c2c222eba13476a95a362731528d85a3e76ed83a.zip CMake-c2c222eba13476a95a362731528d85a3e76ed83a.tar.gz CMake-c2c222eba13476a95a362731528d85a3e76ed83a.tar.bz2 |
cmCommand refactor: cmOutputRequiredFilesCommand
Diffstat (limited to 'Source/cmOutputRequiredFilesCommand.h')
-rw-r--r-- | Source/cmOutputRequiredFilesCommand.h | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/Source/cmOutputRequiredFilesCommand.h b/Source/cmOutputRequiredFilesCommand.h index faffabd..4c11894 100644 --- a/Source/cmOutputRequiredFilesCommand.h +++ b/Source/cmOutputRequiredFilesCommand.h @@ -5,34 +5,12 @@ #include "cmConfigure.h" // IWYU pragma: keep -#include <set> -#include <stdio.h> #include <string> #include <vector> -#include "cm_memory.hxx" - -#include "cmCommand.h" - -class cmDependInformation; class cmExecutionStatus; -class cmOutputRequiredFilesCommand : public cmCommand -{ -public: - std::unique_ptr<cmCommand> Clone() override - { - return cm::make_unique<cmOutputRequiredFilesCommand>(); - } - bool InitialPass(std::vector<std::string> const& args, - cmExecutionStatus& status) override; - - void ListDependencies(cmDependInformation const* info, FILE* fout, - std::set<cmDependInformation const*>* visited); - -private: - std::string File; - std::string OutputFile; -}; +bool cmOutputRequiredFilesCommand(std::vector<std::string> const& args, + cmExecutionStatus& status); #endif |