mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-03 12:19:41 -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
133 B
CMake
7 lines
133 B
CMake
include(CTest)
|
|
include(ExternalData)
|
|
ExternalData_Add_Test(Data
|
|
NAME Test
|
|
COMMAND ${CMAKE_COMMAND} -E echo DATA{Directory5/}
|
|
)
|