Still trying to get intellisense to work
This commit is contained in:
15
build.py
15
build.py
@@ -275,11 +275,11 @@ def build_intellisense_database_for_clangd(force):
|
||||
error = e
|
||||
else:
|
||||
error = None
|
||||
finally:
|
||||
tarfile.open(f"{INTEGRATION}/rsp_files.tgz").extractall(path=f"{INTEGRATION}/Intermediate")
|
||||
tarfile.open(f"{UNREALENGINE}/rsp_files.tgz").extractall(path=f"{UNREALENGINE}/Engine")
|
||||
Path(f"{INTEGRATION}/rsp_files.tgz").unlink()
|
||||
Path(f"{UNREALENGINE}/rsp_files.tgz").unlink()
|
||||
# finally:
|
||||
# tarfile.open(f"{INTEGRATION}/rsp_files.tgz").extractall(path=f"{INTEGRATION}/Intermediate")
|
||||
# tarfile.open(f"{UNREALENGINE}/rsp_files.tgz").extractall(path=f"{UNREALENGINE}/Engine")
|
||||
# Path(f"{INTEGRATION}/rsp_files.tgz").unlink()
|
||||
# Path(f"{UNREALENGINE}/rsp_files.tgz").unlink()
|
||||
if error: raise error
|
||||
hash_file.write_text(new_hash)
|
||||
|
||||
@@ -319,6 +319,9 @@ CONFIG = autodetect_system_config()
|
||||
store_system_config_in_globals(CONFIG)
|
||||
os.chdir(f"{INTEGRATION}/EnginePatches")
|
||||
|
||||
if MODE == "experiment":
|
||||
build_intellisense_database_for_clangd(True)
|
||||
|
||||
if MODE == "all":
|
||||
checkout_correct_unreal_engine_branch_and_apply_patch()
|
||||
generate_buildconfiguration_xml()
|
||||
@@ -330,7 +333,7 @@ if MODE == "all":
|
||||
|
||||
if MODE in ["all", "c++"]:
|
||||
build_luprex_and_integration()
|
||||
build_intellisense_database_for_clangd(MODE == "all")
|
||||
# build_intellisense_database_for_clangd(MODE == "all")
|
||||
|
||||
if MODE == "clean":
|
||||
build_clean()
|
||||
|
||||
Reference in New Issue
Block a user