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/cmIfCommand.h | |
parent | dd2876adb0b9de0b8ffc31c13736055a6eccdb2b (diff) | |
download | CMake-faaadc4a08e8103e25346a437fc203e05b43566c.zip CMake-faaadc4a08e8103e25346a437fc203e05b43566c.tar.gz CMake-faaadc4a08e8103e25346a437fc203e05b43566c.tar.bz2 |
better If checks
Diffstat (limited to 'Source/cmIfCommand.h')
-rw-r--r-- | Source/cmIfCommand.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/cmIfCommand.h b/Source/cmIfCommand.h index 6bb3102..612f57b 100644 --- a/Source/cmIfCommand.h +++ b/Source/cmIfCommand.h @@ -55,10 +55,14 @@ class cmIfFunctionBlocker : public cmFunctionBlocker public: cmIfFunctionBlocker() {m_Not = false;} virtual ~cmIfFunctionBlocker() {} - virtual bool IsFunctionBlocked(const char *name, const std::vector<std::string> &args, + virtual bool IsFunctionBlocked(const char *name, + const std::vector<std::string> &args, const cmMakefile &mf) const; - virtual bool ShouldRemove(const char *name, const std::vector<std::string> &args, + virtual bool ShouldRemove(const char *name, + const std::vector<std::string> &args, const cmMakefile &mf) const; + virtual void ScopeEnded(const cmMakefile &mf) const; + std::string m_Define; bool m_Not; }; |