diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-09-10 19:41:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-09-26 17:27:55 (GMT) |
commit | 9d1a1bc495be41b035f61f9b707df8006da54160 (patch) | |
tree | a1b41bb5a94b7ca5c8fdae2a1258581c59a62eb6 /Source/cmTargetPrecompileHeadersCommand.h | |
parent | dcc117b9446cfc3d6c8bf191545aac8d1519abca (diff) | |
download | CMake-9d1a1bc495be41b035f61f9b707df8006da54160.zip CMake-9d1a1bc495be41b035f61f9b707df8006da54160.tar.gz CMake-9d1a1bc495be41b035f61f9b707df8006da54160.tar.bz2 |
cmTarget*: Port away from cmCommand
Diffstat (limited to 'Source/cmTargetPrecompileHeadersCommand.h')
-rw-r--r-- | Source/cmTargetPrecompileHeadersCommand.h | 38 |
1 files changed, 2 insertions, 36 deletions
diff --git a/Source/cmTargetPrecompileHeadersCommand.h b/Source/cmTargetPrecompileHeadersCommand.h index 00dc928..8b0ac97 100644 --- a/Source/cmTargetPrecompileHeadersCommand.h +++ b/Source/cmTargetPrecompileHeadersCommand.h @@ -8,43 +8,9 @@ #include <string> #include <vector> -#include <cm/memory> - -#include "cmCommand.h" - -#include "cmTargetPropCommandBase.h" - class cmExecutionStatus; -class cmTarget; - -class cmTargetPrecompileHeadersCommand : public cmTargetPropCommandBase -{ -public: - std::unique_ptr<cmCommand> Clone() override - { - return cm::make_unique<cmTargetPrecompileHeadersCommand>(); - } - - bool InitialPass(std::vector<std::string> const& args, - cmExecutionStatus& status) override; - -protected: - void HandleInterfaceContent(cmTarget* tgt, - const std::vector<std::string>& content, - bool prepend, bool system) override; - -private: - void HandleMissingTarget(const std::string& name) override; - - bool HandleDirectContent(cmTarget* tgt, - const std::vector<std::string>& content, - bool prepend, bool system) override; - - std::string Join(const std::vector<std::string>& content) override; - std::vector<std::string> ConvertToAbsoluteContent( - cmTarget* tgt, const std::vector<std::string>& content, - bool isInterfaceContent); -}; +bool cmTargetPrecompileHeadersCommand(std::vector<std::string> const& args, + cmExecutionStatus& status); #endif |