build-cpp/cmkr

Unnecessary quotes wrapped around command strings

anthonyprintup opened this issue · 0 comments

When generating CMake files for tests, the command arguments shouldn't be wrapped in quotes. At the moment this behavior leads to weird bugs with cmkr where it may not properly parse (auto-generated) input from the command line (check examples).
A possible solution might be to manually generate the arguments list string before it's passed to the generator here: cmake_generator.cpp#L1352.

Examples:

Expected behavior (arguments passed to the command aren't wrapped):

image
image