summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-10-24 18:43:10 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-10-24 18:43:10 (GMT)
commitf72d666a7bd7a1b58db5f08b5ee9124f6768fa2a (patch)
tree60e30ec34afc9bf475546d35689b4e18144956bd /Source/cmake.h
parentc2f0aac146f6b990940240891b959dc1f394e80c (diff)
downloadCMake-f72d666a7bd7a1b58db5f08b5ee9124f6768fa2a.zip
CMake-f72d666a7bd7a1b58db5f08b5ee9124f6768fa2a.tar.gz
CMake-f72d666a7bd7a1b58db5f08b5ee9124f6768fa2a.tar.bz2
ENH: add ability to get documentaiton of a property from a script
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index c0a29b6..bbf2c31 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -312,6 +312,10 @@ class cmake
bool chain = false,
const char *variableGroup = 0);
+ // get property definition
+ cmPropertyDefinition *GetPropertyDefinition
+ (const char *name, cmProperty::ScopeType scope);
+
// Is a property defined?
bool IsPropertyDefined(const char *name, cmProperty::ScopeType scope);
bool IsPropertyChained(const char *name, cmProperty::ScopeType scope);