diff options
Diffstat (limited to 'Source/cmIfCommand.h')
-rw-r--r-- | Source/cmIfCommand.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmIfCommand.h b/Source/cmIfCommand.h index b5647c8..f14192a 100644 --- a/Source/cmIfCommand.h +++ b/Source/cmIfCommand.h @@ -105,6 +105,11 @@ public: static bool IsTrue(const std::vector<std::string> &args, bool &isValid, const cmMakefile *mf); + // Get a definition from the makefile. If it doesn't exist, + // return the original string. + static const char* GetVariableOrString(const char* str, + const cmMakefile* mf); + cmTypeMacro(cmIfCommand, cmCommand); }; |