summaryrefslogtreecommitdiffstats
path: root/Source/cmIfCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-10-02 21:22:56 (GMT)
committerBrad King <brad.king@kitware.com>2002-10-02 21:22:56 (GMT)
commit6c2944b6fe8ae264bcb107cb11512ed36d90a586 (patch)
treeb74531db3c5f3847b42cc5c32055a0d9e7ffe241 /Source/cmIfCommand.h
parentf549a2bac88e000fc7ef4bfc45477449255c9d9d (diff)
downloadCMake-6c2944b6fe8ae264bcb107cb11512ed36d90a586.zip
CMake-6c2944b6fe8ae264bcb107cb11512ed36d90a586.tar.gz
CMake-6c2944b6fe8ae264bcb107cb11512ed36d90a586.tar.bz2
BUG: STRLESS and STRGREATER need to treat non-existent definitions as strings.
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 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);
};