summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-01-06 12:49:05 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-01-08 19:38:16 (GMT)
commit042ecf0471be84ce6c3e6c32dae526fdbd9a3a14 (patch)
treecd6aedc7d87e7bf0f55f194b43b85a2658e9674f /Source/cmTarget.h
parentbf5ece51c3827dc05018128fefe8270da88cfefb (diff)
downloadCMake-042ecf0471be84ce6c3e6c32dae526fdbd9a3a14.zip
CMake-042ecf0471be84ce6c3e6c32dae526fdbd9a3a14.tar.gz
CMake-042ecf0471be84ce6c3e6c32dae526fdbd9a3a14.tar.bz2
Add API to calculate link-interface-dependent bool properties or error.
This new method checks that the property FOO on a target is consistent with the INTERFACE_FOO properties of its dependees. If they are not the consistent, an error is reported. 'Consistent' means that iff the property is set, it must have the same boolean value as all other related properties.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 5ce7d53..1188a6a 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -494,6 +494,9 @@ public:
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.