Skip to content

Bulk Migrate tab: Update CMake buttons + git bulk-update-cmake - #2

Merged
TechnicallyComputers merged 1 commit into
mainfrom
claude/bulk-update-cmake
Oct 3, 2026
Merged

TechnicallyComputers merged 1 commit into
mainfrom
claude/bulk-update-cmake

Conversation

@TechnicallyComputers

Copy link
Copy Markdown
Member

What

Adds Update CMake and Dry run CMake buttons to the PSX Bulk Migrate tab, backed by a new git bulk-update-cmake command in the vendored toolkit.

For each ticked title it runs psxrecomp's tools/update_cmake.py (the sibling psxrecomp checkout's copy if present, else the title's pinned psxrecomp/ submodule) and commits CMakeLists.txt only. The Push checkbox is honoured; --dry-run only reports. As with bulk-migrate-bundled, no second copy of the logic lives here.

Depends on

RetroPortingToolKit/psxrecomp#487 (adds tools/update_cmake.py and the recomp-net-headers managed block). Without it the command reports "no psxrecomp tools/update_cmake.py" per title.

Why

psxrecomp's main.cpp includes recomp_net/host_relay.h unconditionally, so offline (PSX_NETPLAY=OFF) title builds fail without recomp-net's include dir on the path. This lets all titles pick up that CMake block in one go.

Testing

  • bulk_update_cmake against a scratch git repo with the sibling psxrecomp checkout: dry run, update + commit (only CMakeLists.txt), then "up to date".
  • cli.py/bulkops.py compile. The ImGui change (studio_main.cpp) mirrors the existing run_migrate lambda but was not built or run here (no display / dependencies).

🤖 Generated with Claude Code

https://claude.ai/code/session_01QjC6yeBQEDNWQSVqpKnRJh


Generated by Claude Code

…ate-cmake

Runs psxrecomp's tools/update_cmake.py (sibling checkout, else the title's
pinned submodule) on each ticked repo and commits CMakeLists.txt only.
Honours the Push checkbox.
@TechnicallyComputers
TechnicallyComputers merged commit 7cb3a23 into main Oct 3, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants