startup-tools: a build target and preset that build only what a title run needs #2826
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows#2826
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@tedin7 on GitHub · 2026-11-26 12:11 UTC · original
Part of #870
Problem. To run a title,
tools/startup/run.ps1copies eight stand-in DLLs from the build (xmem,d3d12_xs,AcpHal,XCRDAPI,chad,xapu,xg_xs,GameInput). The documented build is the whole tree (cmake --build --preset release), which also builds every test executable and fixture, several hundred targets. Someone who only wants to run a title waits for all of them, and every pull repeats much of that.Proposal.
startup_runtimethat depends on exactly what a run needs: the eight stand-in DLL targets plus the build revision stamp.runtimeso the command iscmake --build --preset runtime.docs/startup-runtime.mdnames it as the way to prepare a run.Tests. A CTest that builds
startup_runtimein its own build directory and checks that the eight DLLs exist, that their names match the listrun.ps1copies, and that no test executable was built.@tedin7 on GitHub · 2026-11-26 12:11 UTC · original
Taking this one; a Draft PR will follow.