A few little fixes

This commit is contained in:
2026-03-06 05:16:44 -05:00
parent 6762434b43
commit 66617a940f
2 changed files with 3 additions and 2 deletions

View File

@@ -324,9 +324,10 @@ def build_compile_commands_from_integration():
clang = str(clangs[0])
# Build the table of source files and RSP files.
mods1 = Path(f"{INTEGRATION}/Intermediate/Build/{OS}").rglob(f"UnrealEditor/{DEBUG}/**/Module.*.o.rsp")
mods1p = Path(f"{INTEGRATION}/Plugins").rglob(f"Intermediate/Build/{OS}/x64/UnrealEditor/{DEBUG}/**/Module.*.o.rsp")
mods2 = Path(f"{UNREALENGINE}/Engine/Intermediate/Build/{OS}").rglob("UnrealEditor/Development/**/Module.*.o.rsp")
cpp_to_rsp = {}
for mod in itertools.chain(mods1, mods2):
for mod in itertools.chain(mods1, mods1p, mods2):
rsp = str(mod)
cpp = os.path.abspath(rsp.removesuffix(".o.rsp"))
cpp_to_rsp[cpp] = rsp