diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-03-23 16:21:01 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2019-03-23 21:22:34 (GMT) |
commit | 72b0eeeb21807132e110011add7a243a01653f83 (patch) | |
tree | e3798cd4781865ca03a91f1128570bc201f2753d /Source/cmTarget.h | |
parent | db182eb160f2e61bebeb1bb5f289a6d899da18da (diff) | |
download | CMake-72b0eeeb21807132e110011add7a243a01653f83.zip CMake-72b0eeeb21807132e110011add7a243a01653f83.tar.gz CMake-72b0eeeb21807132e110011add7a243a01653f83.tar.bz2 |
cmTarget: Move member booleans to impl
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 297f501..7937969 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -151,14 +151,14 @@ public: /** * Get/Set whether there is an install rule for this target. */ - bool GetHaveInstallRule() const { return this->HaveInstallRule; } - void SetHaveInstallRule(bool h) { this->HaveInstallRule = h; } + bool GetHaveInstallRule() const; + void SetHaveInstallRule(bool hir); /** * Get/Set whether this target was auto-created by a generator. */ - bool GetIsGeneratorProvided() const { return this->IsGeneratorProvided; } - void SetIsGeneratorProvided(bool igp) { this->IsGeneratorProvided = igp; } + bool GetIsGeneratorProvided() const; + void SetIsGeneratorProvided(bool igp); /** * Add a utility on which this project depends. A utility is an executable @@ -185,11 +185,8 @@ public: ///! Get all properties cmPropertyMap const& GetProperties() const; - bool IsImported() const { return this->IsImportedTarget; } - bool IsImportedGloballyVisible() const - { - return this->ImportedGloballyVisible; - } + bool IsImported() const; + bool IsImportedGloballyVisible() const; bool GetMappedConfig(std::string const& desired_config, const char** loc, const char** imp, std::string& suffix) const; @@ -274,14 +271,7 @@ private: std::string const& value) const; private: - bool IsGeneratorProvided; cmTargetInternalPointer impl; - bool HaveInstallRule; - bool DLLPlatform; - bool IsAndroid; - bool IsImportedTarget; - bool ImportedGloballyVisible; - bool BuildInterfaceIncludesAppended; std::string ProcessSourceItemCMP0049(const std::string& s); |