What is the correct way (if any) to pass a variable containing a semi-colon ; as an argument to COMMAND for add_custom_command() ? I especially would like to pass a CMake List, which is usually represented as a semi-colon-separated string when, e.g., printing it out with message.
It always gets replaced by a space in my case, I tried VERBATIM but this just add quotes. COMMAND_EXPAND_LISTS does nothing in my case.