summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-01-15 19:34:24 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-01-15 19:34:24 (GMT)
commit0dce5bc2f263b717582fd622104a5c26db9b8bef (patch)
tree4b766af9713dc41cc9302ba11f1dc4da0aaa6c75 /Source/cmake.cxx
parentd870867570f84702f789100a43762e4536721b1a (diff)
parent7171fd0a903e71486e1d1cebc36aeaa2d2c71e8c (diff)
downloadCMake-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.cxx7
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)