Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve mwrap to allow out-of-tree builds #155

Merged
merged 3 commits into from
Mar 8, 2024
Merged

Conversation

mid-kid
Copy link
Member

@mid-kid mid-kid commented Mar 8, 2024

  • Use meson subcommands in build.sh and clean.sh
  • mwrap: Improve pathsep shenanigans
  • mwrap: Separate source and build directory

mid-kid added a commit to mid-kid/pokeplatinum that referenced this pull request Mar 8, 2024
This allows the build directory to be located outside of the source tree.
Arguably, this has no tangible benefit, but it's more "proper" in the
meson spirit.

Depends on the following PRs:
- pret#155
- ntrtwl/libvct#1
- ntrtwl/NitroDWC#2
- ntrtwl/NitroSDK#1
- ntrtwl/NitroWiFi#1
@mid-kid mid-kid mentioned this pull request Mar 8, 2024
mid-kid added a commit to mid-kid/pokeplatinum that referenced this pull request Mar 8, 2024
This allows the build directory to be located outside of the source tree.
Arguably, this has no tangible benefit, but it's more "proper" in the
meson spirit.

Depends on the following PRs:
- pret#155
- ntrtwl/libvct#1
- ntrtwl/NitroDWC#2
- ntrtwl/NitroSDK#1
- ntrtwl/NitroWiFi#1
build.sh Outdated
@@ -10,4 +11,4 @@ fi
export NINJA_STATUS="[%p %f/%t] "

# Build the project
ninja -C build "$target" "$@"
"${MESON:-meson}" compile -C build "$target" "$@"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be meson test?

mid-kid added a commit to mid-kid/pokeplatinum that referenced this pull request Mar 8, 2024
This allows the build directory to be located outside of the source tree.
Arguably, this has no tangible benefit, but it's more "proper" in the
meson spirit.

Depends on the following PRs:
- pret#155
- ntrtwl/libvct#1
- ntrtwl/NitroDWC#2
- ntrtwl/NitroSDK#1
- ntrtwl/NitroWiFi#1
@lhearachel lhearachel merged commit 67a550d into pret:main Mar 8, 2024
1 check passed
mid-kid added a commit to mid-kid/pokeplatinum that referenced this pull request Mar 8, 2024
This allows the build directory to be located outside of the source tree.
Arguably, this has no tangible benefit, but it's more "proper" in the
meson spirit.

Depends on the following PRs:
- pret#155
- ntrtwl/libvct#1
- ntrtwl/NitroDWC#2
- ntrtwl/NitroSDK#1
- ntrtwl/NitroWiFi#1
github-actions bot pushed a commit that referenced this pull request Mar 8, 2024
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