Skip to content

Avoid redundant whitespace in compile commands

Currently, there's multiple whitespace characters between options in the compile_commands.json file produced by CMake. This MR merges consecutive whitespace characters into a single space before writing the command line to the compile_commands.json file.

Edited by Brad King

Merge request reports