summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-03-23 14:23:34 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-03-23 20:15:32 (GMT)
commit46075091d55334d04a2f11207cfedee10149b1d3 (patch)
treea08cf6e9d905ab4ed8e496bbf8e9e6026bacac20 /Source/cmTarget.h
parent2cd41046007de479f660a7794292105908276345 (diff)
downloadCMake-46075091d55334d04a2f11207cfedee10149b1d3.zip
CMake-46075091d55334d04a2f11207cfedee10149b1d3.tar.gz
CMake-46075091d55334d04a2f11207cfedee10149b1d3.tar.bz2
cmTarget: Move member `Properties` to impl class
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 58ab255..a1245a8 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -16,13 +16,13 @@
#include "cmCustomCommand.h"
#include "cmListFileCache.h"
#include "cmPolicies.h"
-#include "cmPropertyMap.h"
#include "cmStateTypes.h"
#include "cmTargetLinkLibraryType.h"
class cmGlobalGenerator;
class cmMakefile;
class cmMessenger;
+class cmPropertyMap;
class cmSourceFile;
class cmTargetInternals;
@@ -208,6 +208,8 @@ public:
const char* GetComputedProperty(const std::string& prop,
cmMessenger* messenger,
cmListFileBacktrace const& context) const;
+ ///! Get all properties
+ cmPropertyMap const& GetProperties() const;
bool IsImported() const { return this->IsImportedTarget; }
bool IsImportedGloballyVisible() const
@@ -215,9 +217,6 @@ public:
return this->ImportedGloballyVisible;
}
- // Get the properties
- cmPropertyMap const& GetProperties() const { return this->Properties; }
-
bool GetMappedConfig(std::string const& desired_config, const char** loc,
const char** imp, std::string& suffix) const;
@@ -305,7 +304,6 @@ private:
private:
bool IsGeneratorProvided;
- cmPropertyMap Properties;
std::set<std::string> SystemIncludeDirectories;
std::set<BT<std::string>> Utilities;
cmPolicies::PolicyMap PolicyMap;