summaryrefslogtreecommitdiffstats
path: root/Tests/StringFileTest/CMakeLists.txt
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-07-21 19:29:29 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-07-21 19:29:29 (GMT)
commit2d513c2364fde09919526257929b794cfff6e08f (patch)
tree49f6c598ccb6325e8848dc76866ec742abd5ddfe /Tests/StringFileTest/CMakeLists.txt
parentd4042b46d1f6c41aeaf3ed88ef0e74f2b22b43ab (diff)
downloadCMake-2d513c2364fde09919526257929b794cfff6e08f.zip
CMake-2d513c2364fde09919526257929b794cfff6e08f.tar.gz
CMake-2d513c2364fde09919526257929b794cfff6e08f.tar.bz2
ENH: fix glob on windows and add glob recurse test
Diffstat (limited to 'Tests/StringFileTest/CMakeLists.txt')
-rw-r--r--Tests/StringFileTest/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/StringFileTest/CMakeLists.txt b/Tests/StringFileTest/CMakeLists.txt
index 2af415a..f581f0a 100644
--- a/Tests/StringFileTest/CMakeLists.txt
+++ b/Tests/StringFileTest/CMakeLists.txt
@@ -60,6 +60,8 @@ STRING(REGEX REPLACE "includefile" "${file}" outfile "${infile}")
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")
ADD_EXECUTABLE(StringFileTest ${src_files})