summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-07-23 13:10:39 (GMT)
committerBrad King <brad.king@kitware.com>2003-07-23 13:10:39 (GMT)
commitd4289ee2a98e616a6f4d50e21f05bedd9d83da63 (patch)
treed425d7f8d5bbc2a4fbb701863a8edc51a03c48eb /Tests
parent0662fefca069d5e8bdaf26dfc50329cf0499d119 (diff)
downloadCMake-d4289ee2a98e616a6f4d50e21f05bedd9d83da63.zip
CMake-d4289ee2a98e616a6f4d50e21f05bedd9d83da63.tar.gz
CMake-d4289ee2a98e616a6f4d50e21f05bedd9d83da63.tar.bz2
ENH: Added more verbose output of what globbing results.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/StringFileTest/CMakeLists.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/Tests/StringFileTest/CMakeLists.txt b/Tests/StringFileTest/CMakeLists.txt
index 03b00c5..298e298 100644
--- a/Tests/StringFileTest/CMakeLists.txt
+++ b/Tests/StringFileTest/CMakeLists.txt
@@ -23,9 +23,9 @@ STRING(TOLOWER "CMake" tlvar)
# Escaping test
SET(var "\\ \" \ \t \n \r \# \( \) \0")
-MESSAGE(STATUS "Output: [${var}]")
+MESSAGE("Output: [${var}]")
SET(var \\ \" \ \t \n \r \# \( \) \0)
-MESSAGE(STATUS "Output: [${var}]")
+MESSAGE("Output: [${var}]")
# Make directories test
FILE(MAKE_DIRECTORY
@@ -67,7 +67,10 @@ FILE(WRITE "${CMAKE_CURRENT_BINARY_DIR}/OutputFile.h" "${outfile}")
# Test file glob
FILE(GLOB_RECURSE src_files "${CMAKE_CURRENT_SOURCE_DIR}/*")
-MESSAGE(STATUS "Files in ${CMAKE_CURRENT_SOURCE_DIR} are ${src_files}")
-FILE(GLOB src_files "${CMAKE_CURRENT_SOURCE_DIR}/[sS][!a-su-zA-Z0-9][^a-qs-zA-Z0-9]ing?ile*.cxx")
+MESSAGE("Files in ${CMAKE_CURRENT_SOURCE_DIR} are ${src_files}")
+SET(expr "${CMAKE_CURRENT_SOURCE_DIR}/[sS][!a-su-zA-Z0-9][^a-qs-zA-Z0-9]ing?ile*.cxx")
+MESSAGE("Glob expression is [${expr}].")
+FILE(GLOB src_files "${expr}")
+MESSAGE("Globbed files [${src_files}].")
ADD_EXECUTABLE(StringFileTest ${src_files})