add_test: arguments with generator expressions lead to empty string instead of removing them
If I add a test like this:
add_test(NAME myTest
COMMAND cmd $<$<CONFIG:Debug>:my_param>)
The command generated for Debug
will be
cmd my_param
and for all other configurations
cmd ""
I would expect that the ""
are removed and there is not parameter at all passed for these configurations.