summaryrefslogtreecommitdiffstats
path: root/Source/cmFunctionBlocker.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/cmFunctionBlocker.h
parentdd2876adb0b9de0b8ffc31c13736055a6eccdb2b (diff)
downloadCMake-faaadc4a08e8103e25346a437fc203e05b43566c.zip
CMake-faaadc4a08e8103e25346a437fc203e05b43566c.tar.gz
CMake-faaadc4a08e8103e25346a437fc203e05b43566c.tar.bz2
better If checks
Diffstat (limited to 'Source/cmFunctionBlocker.h')
-rw-r--r--Source/cmFunctionBlocker.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/Source/cmFunctionBlocker.h b/Source/cmFunctionBlocker.h
index 46f6447..5c8c70d 100644
--- a/Source/cmFunctionBlocker.h
+++ b/Source/cmFunctionBlocker.h
@@ -59,11 +59,19 @@ public:
const cmMakefile &mf) const = 0;
/**
- * should this function blocker be removed, useful when one function adds a blocker
- * and another must remove it
+ * should this function blocker be removed, useful when one function adds a
+ * blocker and another must remove it
*/
- 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 {return false;}
+
+ /**
+ * When the end of a CMakeList file is reached this method is called. It
+ * is not called on the end of an INCLUDE cmake file, just at the end of a
+ * regular CMakeList file
+ */
+ virtual void ScopeEnded(const cmMakefile &mf) const {}
};
#endif