diff options
author | Brad King <brad.king@kitware.com> | 2002-10-02 21:22:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2002-10-02 21:22:56 (GMT) |
commit | 6c2944b6fe8ae264bcb107cb11512ed36d90a586 (patch) | |
tree | b74531db3c5f3847b42cc5c32055a0d9e7ffe241 /Source/cmIfCommand.h | |
parent | f549a2bac88e000fc7ef4bfc45477449255c9d9d (diff) | |
download | CMake-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.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); }; |