summaryrefslogtreecommitdiffstats
path: root/Source/cmIfCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmIfCommand.h')
-rw-r--r--Source/cmIfCommand.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmIfCommand.h b/Source/cmIfCommand.h
index 2453c3c..b9a4fbb 100644
--- a/Source/cmIfCommand.h
+++ b/Source/cmIfCommand.h
@@ -98,6 +98,11 @@ public:
"and STRGREATER. LESS and GREATER do numeric comparison while "
"STRLESS and STRGREATER do string comparisons.";
}
+
+ // this is a shared function for both If and Else to determine if
+ // the arguments were valid, and if so, was the response true
+ static bool IsTrue(const std::vector<std::string> &args,
+ bool &isValid, const cmMakefile *mf);
cmTypeMacro(cmIfCommand, cmCommand);
};