Files
CMake/Tests/RunCMake/CTestCommandExpandLists/multipleExpandOptions.cmake
Sergey Bobrenok e791ffac61 add_test: Add COMMAND_EXPAND_LISTS option
Add a `COMMAND_EXPAND_LISTS` option to the `add_test` command to cause
`;`-separated lists produced by generator expressions to be expanded
into multiple arguments.  The `add_custom_command` command already
has such an option.

Fixes: #17284
2019-06-07 13:14:29 -04:00

9 lines
123 B
CMake

include(CTest)
add_test(
NAME MultipleExpandOptions
COMMAND /bin/true
COMMAND_EXPAND_LISTS
COMMAND_EXPAND_LISTS
)