summaryrefslogtreecommitdiffstats
path: root/Source/cmDefinitions.h
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Improve dynamic variable scope implementationBrad King2009-07-221-0/+88
Previously each new variable scope (subdirectory or function call) in the CMake language created a complete copy of the key->value definition map. This avoids the copy using transitive lookups up the scope stack. Results of queries answered by parents are stored locally to maintain locality of reference. The class cmDefinitions replaces cmMakefile::DefinitionsMap, and is aware of its enclosing scope. Each scope stores only the definitions set (or unset!) inside it relative to the enclosing scope.