We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
compile_commands.json
1 parent 762deea commit 561559aCopy full SHA for 561559a
configure.py
@@ -2116,6 +2116,8 @@ def make_bin_override():
2116
2117
if options.compile_commands_json:
2118
gyp_args += ['-f', 'compile_commands_json']
2119
+ os.path.islink('./compile_commands.json') and os.unlink('./compile_commands.json')
2120
+ os.symlink('./out/' + config['BUILDTYPE'] + '/compile_commands.json', './compile_commands.json')
2121
2122
# override the variable `python` defined in common.gypi
2123
if bin_override is not None:
0 commit comments