diff options
author | Ken Martin <ken.martin@kitware.com> | 2007-11-06 19:16:00 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2007-11-06 19:16:00 (GMT) |
commit | 433a9149108c88d4fb715331f97ee079fa16fe10 (patch) | |
tree | 752b46257e94a03c6d65bb5ac329e83729ff9871 /Source/cmake.h | |
parent | 8eae7fddf29dc9531c2c7ac87dcf2dbf4a4c8dec (diff) | |
download | CMake-433a9149108c88d4fb715331f97ee079fa16fe10.zip CMake-433a9149108c88d4fb715331f97ee079fa16fe10.tar.gz CMake-433a9149108c88d4fb715331f97ee079fa16fe10.tar.bz2 |
ENH: different way of testing properties
Diffstat (limited to 'Source/cmake.h')
-rw-r--r-- | Source/cmake.h | 5 |
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; |