summaryrefslogtreecommitdiffstats
path: root/Source/cmIfCommand.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-05-04 12:46:05 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-05-04 12:46:05 (GMT)
commitfaaadc4a08e8103e25346a437fc203e05b43566c (patch)
tree8e2639af9190a312a15259bdf54e1d07e20343da /Source/cmIfCommand.h
parentdd2876adb0b9de0b8ffc31c13736055a6eccdb2b (diff)
downloadCMake-faaadc4a08e8103e25346a437fc203e05b43566c.zip
CMake-faaadc4a08e8103e25346a437fc203e05b43566c.tar.gz
CMake-faaadc4a08e8103e25346a437fc203e05b43566c.tar.bz2
better If checks
Diffstat (limited to 'Source/cmIfCommand.h')
-rw-r--r--Source/cmIfCommand.h8
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;
};