summaryrefslogtreecommitdiffstats
path: root/Source/cmFunctionBlocker.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2008-01-23 15:28:26 (GMT)
committerKen Martin <ken.martin@kitware.com>2008-01-23 15:28:26 (GMT)
commit0e69d38004787f1d55eb7188cde4cf45e0a3957d (patch)
tree6cde7d0b5ef4b0b9b6d4fc90db463418e073776b /Source/cmFunctionBlocker.h
parent72a301f88008c3d98c4ae1f263084763dc662b31 (diff)
downloadCMake-0e69d38004787f1d55eb7188cde4cf45e0a3957d.zip
CMake-0e69d38004787f1d55eb7188cde4cf45e0a3957d.tar.gz
CMake-0e69d38004787f1d55eb7188cde4cf45e0a3957d.tar.bz2
ENH: add return and break support to cmake, also change basic command invocation signature to be able to return extra informaiton via the cmExecutionStatus class
Diffstat (limited to 'Source/cmFunctionBlocker.h')
-rw-r--r--Source/cmFunctionBlocker.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmFunctionBlocker.h b/Source/cmFunctionBlocker.h
index c9ba96d..a169cc1 100644
--- a/Source/cmFunctionBlocker.h
+++ b/Source/cmFunctionBlocker.h
@@ -18,6 +18,7 @@
#define cmFunctionBlocker_h
#include "cmStandardIncludes.h"
+#include "cmExecutionStatus.h"
class cmMakefile;
/** \class cmFunctionBlocker
@@ -32,7 +33,8 @@ public:
* should a function be blocked
*/
virtual bool IsFunctionBlocked(const cmListFileFunction& lff,
- cmMakefile&mf) = 0;
+ cmMakefile&mf,
+ cmExecutionStatus &status) = 0;
/**
* should this function blocker be removed, useful when one function adds a