build: refactor build to host-first CMake with nxdk child#151
Open
ReenigneArcher wants to merge 2 commits intomasterfrom
Open
build: refactor build to host-first CMake with nxdk child#151ReenigneArcher wants to merge 2 commits intomasterfrom
ReenigneArcher wants to merge 2 commits intomasterfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #151 +/- ##
=======================================
Coverage 61.40% 61.40%
=======================================
Files 2 2
Lines 57 57
Branches 13 13
=======================================
Hits 35 35
Misses 17 17
Partials 5 5
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report in Codecov by Sentry.
|
Restructure the build to perform a host-native configure/build while driving the Xbox target via an internal nxdk child configure. Added CMake helper modules (cmake/msys2.cmake, cmake/nxdk.cmake, cmake/host-mingw64-clang.cmake, run-child-build.cmake, sources.cmake) and a CLion run configuration (.run/moonlight_xbox.run.xml). Updated CMakeLists to detect/build host tests and optionally add the Xbox child build, and simplified CMakePresets.json for MinGW host builds. Tooling and scripts updated: add MSYS2 detection helpers (scripts/find-msys2.*), remove legacy nxdk wrapper BATs and other outdated helpers, and make build scripts default to cmake-build-release (build.sh, build-mingw64.*). CI workflow adjusted to use a configurable CMAKE_BUILD dir and to point artifact, test and coverage paths at that build output. README updated to reflect the new workflow and usage.
7f25c1b to
5ce0c16
Compare
45bce8a to
8ba4fb1
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Restructure the build to perform a host-native configure/build while driving the Xbox target via an internal nxdk child configure. Added CMake helper modules (cmake/msys2.cmake, cmake/nxdk.cmake, cmake/host-mingw64-clang.cmake, run-child-build.cmake, sources.cmake) and a CLion run configuration (.run/moonlight_xbox.run.xml). Updated CMakeLists to detect/build host tests and optionally add the Xbox child build, and simplified CMakePresets.json for MinGW host builds.
Tooling and scripts updated: add MSYS2 detection helpers (scripts/find-msys2.), remove nxdk wrapper BATs and other outdated helpers, and make build scripts default to cmake-build-release (build.sh, build-mingw64.). CI workflow adjusted to use a configurable CMAKE_BUILD dir and to point artifact, test and coverage paths at that build output. README updated to reflect the new workflow and usage.
Screenshot
Issues Fixed or Closed
Roadmap Issues
Type of Change
Checklist
AI Usage