separate_arguments(VARIABLE)
Convert the value of VARIABLE to a semi-colon separated list. All spaces are replaced with ‘;’.
This helps with generating command lines.
I am not familiar with this code base yet, so I cannot propose a fix at the moment, but if nobody can take care of it, I'll have a look at implementing and submitting a fix in the coming weeks.
MRE:
Expected:
Actual:
According to the official CMake documentation, this syntax is valid since at least CMake 3.0: https://cmake.org/cmake/help/v3.0/command/separate_arguments.html:
I am not familiar with this code base yet, so I cannot propose a fix at the moment, but if nobody can take care of it, I'll have a look at implementing and submitting a fix in the coming weeks.
The function that needs to be fixed is here: https://github.com/cheshirekow/cmake_format/blob/904c42da298f7fda932d9ac774517c20e2667fb8/cmakelang/parse/funs/miscellaneous.py#L389