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.
1 parent 7675f7b commit 1179f97Copy full SHA for 1179f97
configure.py
@@ -2274,7 +2274,7 @@ def make_bin_override():
2274
2275
print_verbose("running: \n " + " ".join(['python', 'tools/gyp_node.py'] + gyp_args))
2276
run_gyp(gyp_args)
2277
-if sys.platform == 'win32':
+if options.compile_commands_json and sys.platform == 'win32':
2278
os.path.isfile('./compile_commands.json') and os.unlink('./compile_commands.json')
2279
shutil.copy2('./out/' + config['BUILDTYPE'] + '/compile_commands.json', './compile_commands.json')
2280
info('configure completed successfully')
0 commit comments