diff options
author | Ken Martin <ken.martin@kitware.com> | 2007-12-03 18:35:41 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2007-12-03 18:35:41 (GMT) |
commit | f4b1c3880be819ea1c996e2754cc231285c4a40e (patch) | |
tree | c5c880392b4c16e669a9df6814a0919226a5ab06 /Source/cmMakefile.h | |
parent | 257b775f70b98e2242f01a252e08a55cdac91993 (diff) | |
download | CMake-f4b1c3880be819ea1c996e2754cc231285c4a40e.zip CMake-f4b1c3880be819ea1c996e2754cc231285c4a40e.tar.gz CMake-f4b1c3880be819ea1c996e2754cc231285c4a40e.tar.bz2 |
ENH: add functions and raise scope
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 7915f08..2d4e61f 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -737,6 +737,11 @@ public: // Define the properties static void DefineProperties(cmake *cm); + // push and pop variable scopes + void PushScope(); + void PopScope(); + void RaiseScope(const char *var); + protected: // add link libraries and directories to the target void AddGlobalLinkInformation(const char* name, cmTarget& target); @@ -787,7 +792,7 @@ protected: std::vector<cmSourceGroup> SourceGroups; #endif - DefinitionMap Definitions; + std::vector<DefinitionMap> DefinitionStack; std::vector<cmCommand*> UsedCommands; cmLocalGenerator* LocalGenerator; bool IsFunctionBlocked(const cmListFileFunction& lff); |