summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-07-22 18:22:45 (GMT)
committerBrad King <brad.king@kitware.com>2009-07-22 18:22:45 (GMT)
commitfd10589995fe942ceecbc0e1d5f869a534abdbba (patch)
treeccf5fcb2f87b072108fb9f859d311e345720007a /bootstrap
parent267085f338c917f72950ca55f5cc09760cb4a894 (diff)
downloadCMake-fd10589995fe942ceecbc0e1d5f869a534abdbba.zip
CMake-fd10589995fe942ceecbc0e1d5f869a534abdbba.tar.gz
CMake-fd10589995fe942ceecbc0e1d5f869a534abdbba.tar.bz2
ENH: Improve dynamic variable scope implementation
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.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index 113cbb9..4710eca 100755
--- a/bootstrap
+++ b/bootstrap
@@ -172,6 +172,7 @@ CMAKE_CXX_SOURCES="\
cmCommandArgumentLexer \
cmCommandArgumentParser \
cmCommandArgumentParserHelper \
+ cmDefinitions \
cmDepends \
cmDependsC \
cmDocumentationFormatter \