diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-12-05 13:59:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-01-15 19:33:45 (GMT) |
commit | 7171fd0a903e71486e1d1cebc36aeaa2d2c71e8c (patch) | |
tree | 2bc4f1beea7bc741aeae7bccc4ca07991684c2b2 /Source/cmake.cxx | |
parent | c0c8ef85fc8d65a47abfd293031bcde91e7ee930 (diff) | |
download | CMake-7171fd0a903e71486e1d1cebc36aeaa2d2c71e8c.zip CMake-7171fd0a903e71486e1d1cebc36aeaa2d2c71e8c.tar.gz CMake-7171fd0a903e71486e1d1cebc36aeaa2d2c71e8c.tar.bz2 |
Add a way to check INTERFACE user property compatibility.
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index a44c825..bbc7f1f 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -3552,6 +3552,13 @@ void cmake::DefineProperty(const char *name, cmProperty::ScopeType scope, chained); } +bool cmake::GetIsPropertyDefined(const char *name, + cmProperty::ScopeType scope) +{ + return this->PropertyDefinitions[scope].find(name) != + this->PropertyDefinitions[scope].end(); +} + cmPropertyDefinition *cmake ::GetPropertyDefinition(const char *name, cmProperty::ScopeType scope) |