summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-01-10 15:22:52 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-01-10 15:22:52 (GMT)
commit378899ce8744c2e2b43d0859234eea714dcef368 (patch)
tree9419bbdbfa1ca672a06219f61cfe232c25b73b77 /Source/cmTarget.h
parent325e92fa22cb20a3d4bccbf1f663c28b34f8b04c (diff)
parent3581b96caa1d7bd6c02e85baf72ce28b5128e5e7 (diff)
downloadCMake-378899ce8744c2e2b43d0859234eea714dcef368.zip
CMake-378899ce8744c2e2b43d0859234eea714dcef368.tar.gz
CMake-378899ce8744c2e2b43d0859234eea714dcef368.tar.bz2
Merge topic 'INTERFACE_POSITION_INDEPENDENT_CODE'
3581b96 Process the INTERFACE_PIC property from linked dependencies 042ecf0 Add API to calculate link-interface-dependent bool properties or error. bf5ece5 Keep track of properties used to determine linker libraries.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index d4069fa..1188a6a 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -487,6 +487,16 @@ public:
std::vector<std::string> GetIncludeDirectories(const char *config);
void InsertInclude(const cmMakefileIncludeDirectoriesEntry &entry,
bool before = false);
+
+ void GetLinkDependentTargetsForProperty(const std::string &p,
+ std::set<std::string> &targets);
+ bool IsNullImpliedByLinkLibraries(const std::string &p);
+
+ void AddLinkDependentTargetsForProperties(
+ const std::map<cmStdString, cmStdString> &map);
+
+ bool GetLinkInterfaceDependentBoolProperty(const std::string &p,
+ const char *config);
private:
/**
* A list of direct dependencies. Use in conjunction with DependencyMap.
@@ -596,6 +606,9 @@ private:
bool DLLPlatform;
bool IsApple;
bool IsImportedTarget;
+ mutable std::map<cmStdString, std::set<std::string> >
+ LinkDependentProperties;
+ mutable std::set<std::string> LinkImplicitNullProperties;
// Cache target output paths for each configuration.
struct OutputInfo;