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/cmTargetPropCommandBase.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/cmTargetPropCommandBase.h')
-rw-r--r-- | Source/cmTargetPropCommandBase.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/Source/cmTargetPropCommandBase.h b/Source/cmTargetPropCommandBase.h index b244417..601ad01 100644 --- a/Source/cmTargetPropCommandBase.h +++ b/Source/cmTargetPropCommandBase.h @@ -8,13 +8,18 @@ #include <string> #include <vector> -#include "cmCommand.h" - +class cmExecutionStatus; +class cmMakefile; class cmTarget; -class cmTargetPropCommandBase : public cmCommand +class cmTargetPropCommandBase { public: + cmTargetPropCommandBase(cmExecutionStatus& status); + virtual ~cmTargetPropCommandBase() = default; + + void SetError(std::string const& e); + enum ArgumentFlags { NO_FLAGS = 0x0, @@ -30,6 +35,7 @@ public: protected: std::string Property; cmTarget* Target = nullptr; + cmMakefile* Makefile; virtual void HandleInterfaceContent(cmTarget* tgt, const std::vector<std::string>& content, @@ -49,6 +55,8 @@ private: bool PopulateTargetProperies(const std::string& scope, const std::vector<std::string>& content, bool prepend, bool system); + + cmExecutionStatus& Status; }; #endif |