cmake/Tests/RunCMake/CTestCommandExpandLists/expandEmptyCommand.cmake

11 lines
152 B
CMake
Raw Normal View History

2020-02-01 23:06:01 +01:00
include(CTest)
set(argv /bin/true)
list(POP_BACK argv)
add_test(
NAME CommandExpandEmptyList
COMMAND "$<JOIN:${argv},;>"
COMMAND_EXPAND_LISTS
)