Fix some minor issues in build.py
This commit is contained in:
1
build.py
1
build.py
@@ -337,6 +337,7 @@ def build_intellisense_database_for_clangd():
|
||||
rsp = cpp_to_rsp[cpp]
|
||||
args = [clang, "@"+rsp]
|
||||
ccjson.append({ "file" : cpp, "arguments":args, "directory":ccdir })
|
||||
Path(f"{INTEGRATION}/.vscode").mkdir(exist_ok=True)
|
||||
Path(f"{INTEGRATION}/.vscode/compile_commands.json").write_text(json.dumps(ccjson, indent=2))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user