diff options
| author | th-2021 <90853655+th-2021@users.noreply.github.com> | 2022-08-05 07:59:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-05 07:59:19 +0200 |
| commit | 1ebca42f46712293a38a571ab46285a23e9fc2e6 (patch) | |
| tree | 2ab9388eec98c6c4e1dbcc9f51ce47d62597b8ce /scripts/switch | |
| parent | 93d0d7443a3443905a31556a28f060d885ee22dd (diff) | |
Move to cmake across all platforms (#363)
Diffstat (limited to 'scripts/switch')
| -rwxr-xr-x | scripts/switch/build.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/switch/build.sh b/scripts/switch/build.sh index e5d65d99d..b5b137652 100755 --- a/scripts/switch/build.sh +++ b/scripts/switch/build.sh @@ -1,4 +1,7 @@ #!/bin/bash -make setup -C soh -j$(nproc) OPTFLAGS=-O2 DEBUG=0 -make -f Makefile.switch -j$(nproc) +cmake --no-warn-unused-cli -H. -Bbuild-linux -GNinja +cmake --build build-linux --target ExtractAssets + +cmake -H. -Bbuild-switch -GNinja -DCMAKE_TOOLCHAIN_FILE=/opt/devkitpro/cmake/Switch.cmake +cmake --build build-switch --target soh_nro |
