diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-01-06 12:49:05 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-01-08 19:38:16 (GMT) |
commit | 042ecf0471be84ce6c3e6c32dae526fdbd9a3a14 (patch) | |
tree | cd6aedc7d87e7bf0f55f194b43b85a2658e9674f /Source/cmTarget.h | |
parent | bf5ece51c3827dc05018128fefe8270da88cfefb (diff) | |
download | CMake-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.h | 3 |
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. |