diff options
Diffstat (limited to 'Tests/StringFileTest/CMakeLists.txt')
-rw-r--r-- | Tests/StringFileTest/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/StringFileTest/CMakeLists.txt b/Tests/StringFileTest/CMakeLists.txt index 298f694..373e811 100644 --- a/Tests/StringFileTest/CMakeLists.txt +++ b/Tests/StringFileTest/CMakeLists.txt @@ -20,6 +20,9 @@ STRING(COMPARE GREATER "max" "min" ncgvar) STRING(ASCII 67 109 97 107 101 savar) STRING(TOUPPER "CMake" tuvar) STRING(TOLOWER "CMake" tlvar) +STRING(REPLACE "Autoconf" "CMake" repvar "People should use Autoconf") + +FILE(RELATIVE_PATH relpath "/usr/local/bin" "/usr/X11R6/bin/xnest") # Escaping test SET(var "\\ \" \ \t \n \r \# \( \) \0") @@ -49,6 +52,8 @@ FOREACH(var rmvar rmallvar rrepvar + repvar + relpath nceqvar ceqvar cneqvar |