diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-07-21 19:29:29 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-07-21 19:29:29 (GMT) |
commit | 2d513c2364fde09919526257929b794cfff6e08f (patch) | |
tree | 49f6c598ccb6325e8848dc76866ec742abd5ddfe /Tests | |
parent | d4042b46d1f6c41aeaf3ed88ef0e74f2b22b43ab (diff) | |
download | CMake-2d513c2364fde09919526257929b794cfff6e08f.zip CMake-2d513c2364fde09919526257929b794cfff6e08f.tar.gz CMake-2d513c2364fde09919526257929b794cfff6e08f.tar.bz2 |
ENH: fix glob on windows and add glob recurse test
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/StringFileTest/CMakeLists.txt | 2 |
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}) |