nickdiego / compiledb

Tool for generating Clang's JSON Compilation Database files for make-based build systems.
GNU General Public License v3.0
1.38k stars 123 forks source link

Double pair of backslash and quote #40

Closed lyonlh closed 6 years ago

lyonlh commented 6 years ago

Tested on project xfce4-hardware-monitor-plugin by running both make -nkw | compiledb and compiledb make.

Issue: In compile_commands.json, there are some lines like "-DHARDWARE_MONITOR_GLADEDIR=\"\"/usr/local/share/xfce4-hardware-monitor-plugin/glade/\"\"", which has \"\" at right side.

Expected: "-DHARDWARE_MONITOR_GLADEDIR=\"/usr/local/share/xfce4-hardware-monitor-plugin/glade/\"",