diff options
author | Ken Martin <ken.martin@kitware.com> | 2001-05-04 12:46:05 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2001-05-04 12:46:05 (GMT) |
commit | faaadc4a08e8103e25346a437fc203e05b43566c (patch) | |
tree | 8e2639af9190a312a15259bdf54e1d07e20343da /Source/cmMakefile.cxx | |
parent | dd2876adb0b9de0b8ffc31c13736055a6eccdb2b (diff) | |
download | CMake-faaadc4a08e8103e25346a437fc203e05b43566c.zip CMake-faaadc4a08e8103e25346a437fc203e05b43566c.tar.gz CMake-faaadc4a08e8103e25346a437fc203e05b43566c.tar.bz2 |
better If checks
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 72dd9a6..9be764f 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -290,6 +290,19 @@ bool cmMakefile::ReadListFile(const char* filename, const char* external) } } } + + // send scope ended to and funciton blockers + if (filename) + { + // loop over all function blockers to see if any block this command + std::set<cmFunctionBlocker *>::const_iterator pos; + for (pos = m_FunctionBlockers.begin(); + pos != m_FunctionBlockers.end(); ++pos) + { + (*pos)->ScopeEnded(*this); + } + } + return true; } |