cmake/Tests/RunCMake/CTestCommandExpandLists/expandEmptyCommand.cmake
2020-02-01 23:06:01 +01:00

11 lines
152 B
CMake

include(CTest)
set(argv /bin/true)
list(POP_BACK argv)
add_test(
NAME CommandExpandEmptyList
COMMAND "$<JOIN:${argv},;>"
COMMAND_EXPAND_LISTS
)