Support new switch build version
This commit is contained in:
parent
41ccfa39df
commit
13eba9d972
7 changed files with 3 additions and 14 deletions
|
|
@ -1,4 +0,0 @@
|
|||
switch("passC", "-I" & thisDir() & "/../../src/libnx/wrapper/nx/include")
|
||||
switch("passL", "-specs=" & thisDir() & "/../../src/libnx/wrapper/nx/switch.specs -L" & thisDir() & "/../../src/libnx/wrapper/nx/lib -lnx")
|
||||
#switch("passC", "-I$DEVKITPRO/libnx/include")
|
||||
#switch("passL", "-specs=$DEVKITPRO/libnx/switch.specs -L$DEVKITPRO/libnx/lib -lnx")
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
switch("passC", "-I" & thisDir() & "/../../src/libnx/wrapper/nx/include")
|
||||
switch("passL", "-specs=" & thisDir() & "/../../src/libnx/wrapper/nx/switch.specs -L" & thisDir() & "/../../src/libnx/wrapper/nx/lib -lnx")
|
||||
#switch("passC", "-I$DEVKITPRO/libnx/include")
|
||||
#switch("passL", "-specs=$DEVKITPRO/libnx/switch.specs -L$DEVKITPRO/libnx/lib -lnx")
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
--path="../../src"
|
||||
--os="nintendoswitch"
|
||||
1
examples/helloworld/nim.cfg
Normal file
1
examples/helloworld/nim.cfg
Normal file
|
|
@ -0,0 +1 @@
|
|||
--path="../../src"
|
||||
|
|
@ -16,8 +16,8 @@ task setup, "Download and generate bindings":
|
|||
exec "nimgen libnxGen.cfg"
|
||||
|
||||
task buildExamples, "Build switch examples":
|
||||
exec "switch_build --author='jyapayne' --version='1.0.0' examples/helloworld/helloworld.nim"
|
||||
exec "switch_build --author='jyapayne' --version='1.0.0' examples/accounts/account_ex.nim"
|
||||
exec "switch_build --libnxPath='" & thisDir() & "/src/libnx/wrapper/nx/' --author='jyapayne' --version='1.0.0' examples/helloworld/helloworld.nim"
|
||||
exec "switch_build --libnxPath='" & thisDir() & "/src/libnx/wrapper/nx/' --author='jyapayne' --version='1.0.0' examples/accounts/account_ex.nim"
|
||||
|
||||
before install:
|
||||
setupTask()
|
||||
|
|
|
|||
|
|
@ -30,8 +30,6 @@ rename = "$replace(console=con)"
|
|||
git = "https://github.com/switchbrew/libnx"
|
||||
execute = """
|
||||
cd ${output}
|
||||
# for listing users
|
||||
curl https://patch-diff.githubusercontent.com/raw/switchbrew/libnx/pull/103.patch | git am
|
||||
make
|
||||
"""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue