[Cmake-commits] [cmake-commits] king committed bootstrap 1.121 1.122
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Jul 22 14:22:48 EDT 2009
Update of /cvsroot/CMake/CMake
In directory public:/mounts/ram/cvs-serv12345
Modified Files:
bootstrap
Log Message:
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.
Index: bootstrap
===================================================================
RCS file: /cvsroot/CMake/CMake/bootstrap,v
retrieving revision 1.121
retrieving revision 1.122
diff -C 2 -d -r1.121 -r1.122
*** bootstrap 10 Jun 2009 17:39:40 -0000 1.121
--- bootstrap 22 Jul 2009 18:22:45 -0000 1.122
***************
*** 173,176 ****
--- 173,177 ----
cmCommandArgumentParser \
cmCommandArgumentParserHelper \
+ cmDefinitions \
cmDepends \
cmDependsC \
More information about the Cmake-commits
mailing list