diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-03-23 14:45:44 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2019-03-23 20:45:09 (GMT) |
commit | 3c09bf0fa7139be0215224ef85a4c2d3c38227f0 (patch) | |
tree | 581c5ae319130348670b0bb79a0f9a81332c2264 /Source/cmTarget.h | |
parent | 856a271fb7023e5ee1a251a9ebe55c91072d9cf6 (diff) | |
download | CMake-3c09bf0fa7139be0215224ef85a4c2d3c38227f0.zip CMake-3c09bf0fa7139be0215224ef85a4c2d3c38227f0.tar.gz CMake-3c09bf0fa7139be0215224ef85a4c2d3c38227f0.tar.bz2 |
cmTarget: Move member `Utilities` to impl
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index dca3dd4..f552d23 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -184,16 +184,14 @@ public: bool GetIsGeneratorProvided() const { return this->IsGeneratorProvided; } void SetIsGeneratorProvided(bool igp) { this->IsGeneratorProvided = igp; } - /** Add a utility on which this project depends. A utility is an executable + /** + * Add a utility on which this project depends. A utility is an executable * name as would be specified to the ADD_EXECUTABLE or UTILITY_SOURCE * commands. It is not a full path nor does it have an extension. */ - void AddUtility(std::string const& u, cmMakefile* mf = nullptr); + void AddUtility(std::string const& name, cmMakefile* mf = nullptr); ///! Get the utilities used by this target - std::set<BT<std::string>> const& GetUtilities() const - { - return this->Utilities; - } + std::set<BT<std::string>> const& GetUtilities() const; ///! Set/Get a property of this target file void SetProperty(const std::string& prop, const char* value); @@ -301,7 +299,6 @@ private: private: bool IsGeneratorProvided; - std::set<BT<std::string>> Utilities; cmPolicies::PolicyMap PolicyMap; std::string Name; std::string InstallPath; |