In compile_commands.json, some macro definitions may contain quotes. They seem to be escaped when starting a process, but not in the compile_commands file.
Example (exported with CMake):
-DESTL_HARD_ASSERT_HEADER=\"ecu_assert.h\"
Same code exported with Bake:
-DESTL_HARD_ASSERT_HEADER="ecu_assert.h"
The following command may be used to test contents of compile_commands.json:
In compile_commands.json, some macro definitions may contain quotes. They seem to be escaped when starting a process, but not in the compile_commands file.
Example (exported with CMake):
Same code exported with Bake:
The following command may be used to test contents of compile_commands.json: