summaryrefslogtreecommitdiff
path: root/Source/cmMacroCommand.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2008-01-23 10:28:26 -0500
committerKen Martin <ken.martin@kitware.com>2008-01-23 10:28:26 -0500
commit0e69d38004787f1d55eb7188cde4cf45e0a3957d (patch)
tree6cde7d0b5ef4b0b9b6d4fc90db463418e073776b /Source/cmMacroCommand.h
parent72a301f88008c3d98c4ae1f263084763dc662b31 (diff)
downloadcmake-0e69d38004787f1d55eb7188cde4cf45e0a3957d.tar.gz
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/cmMacroCommand.h')
-rw-r--r--Source/cmMacroCommand.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/cmMacroCommand.h b/Source/cmMacroCommand.h
index 01396c3193..4fcd597a7e 100644
--- a/Source/cmMacroCommand.h
+++ b/Source/cmMacroCommand.h
@@ -30,7 +30,9 @@ class cmMacroFunctionBlocker : public cmFunctionBlocker
public:
cmMacroFunctionBlocker() {this->Depth=0;}
virtual ~cmMacroFunctionBlocker() {}
- virtual bool IsFunctionBlocked(const cmListFileFunction&, cmMakefile &mf);
+ virtual bool IsFunctionBlocked(const cmListFileFunction&,
+ cmMakefile &mf,
+ cmExecutionStatus &);
virtual bool ShouldRemove(const cmListFileFunction&, cmMakefile &mf);
virtual void ScopeEnded(cmMakefile &mf);
@@ -59,7 +61,8 @@ public:
* This is called when the command is first encountered in
* the CMakeLists.txt file.
*/
- virtual bool InitialPass(std::vector<std::string> const& args);
+ virtual bool InitialPass(std::vector<std::string> const& args,
+ cmExecutionStatus &status);
/**
* This determines if the command is invoked when in script mode.