mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 12:49:36 -06:00
Use a trailing slash to reference a directory. Require that a list
of associated files be specified to select from within the directory.
One may simply use DATA{Dir/,REGEX:.*} to reference all files but
get a directory passed on the command line.
7 lines
135 B
CMake
7 lines
135 B
CMake
include(CTest)
|
|
include(ExternalData)
|
|
ExternalData_Add_Test(Data
|
|
NAME Test
|
|
COMMAND ${CMAKE_COMMAND} -E echo DATA{Directory4/,:}
|
|
)
|