summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index bbf2c31..da20fef 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -320,11 +320,16 @@ class cmake
bool IsPropertyDefined(const char *name, cmProperty::ScopeType scope);
bool IsPropertyChained(const char *name, cmProperty::ScopeType scope);
+ // record accesses of properties and variables
+ void RecordPropertyAccess(const char *name, cmProperty::ScopeType scope);
+ void ReportUndefinedPropertyAccesses(const char *filename);
+
// Define the properties
static void DefineProperties(cmake *cm);
protected:
cmPropertyMap Properties;
+ std::set<std::pair<cmStdString,cmProperty::ScopeType> > AccessedProperties;
std::map<cmProperty::ScopeType, cmPropertyDefinitionMap>
PropertyDefinitions;