summaryrefslogtreecommitdiffstats
path: root/Source/cmEndForEachCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmEndForEachCommand.h')
-rw-r--r--Source/cmEndForEachCommand.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/cmEndForEachCommand.h b/Source/cmEndForEachCommand.h
index 101dcb3..e250177 100644
--- a/Source/cmEndForEachCommand.h
+++ b/Source/cmEndForEachCommand.h
@@ -37,10 +37,16 @@ public:
}
/**
+ * Override cmCommand::InvokeInitialPass to get arguments before
+ * expansion.
+ */
+ virtual bool InvokeInitialPass(std::vector<cmListFileArgument> const&);
+
+ /**
* 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&) {}
/**
* This determines if the command gets propagated down