diff options
author | Brad King <brad.king@kitware.com> | 2013-01-15 19:34:24 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-01-15 19:34:24 (GMT) |
commit | 0dce5bc2f263b717582fd622104a5c26db9b8bef (patch) | |
tree | 4b766af9713dc41cc9302ba11f1dc4da0aaa6c75 /Source/cmake.cxx | |
parent | d870867570f84702f789100a43762e4536721b1a (diff) | |
parent | 7171fd0a903e71486e1d1cebc36aeaa2d2c71e8c (diff) | |
download | CMake-0dce5bc2f263b717582fd622104a5c26db9b8bef.zip CMake-0dce5bc2f263b717582fd622104a5c26db9b8bef.tar.gz CMake-0dce5bc2f263b717582fd622104a5c26db9b8bef.tar.bz2 |
Merge topic 'compatible-INTERFACE-user-properties'
7171fd0 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 0acd2fc..2eecfba 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -3558,6 +3558,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) |