Make work with n.sourcefile
This commit is contained in:
parent
9b773ae4f3
commit
f748e4dcdc
2 changed files with 5 additions and 96 deletions
|
|
@ -23,4 +23,6 @@ before install:
|
||||||
setupTask()
|
setupTask()
|
||||||
|
|
||||||
task test, "Run tests":
|
task test, "Run tests":
|
||||||
exec "nim c -r tests/test.nim"
|
discard
|
||||||
|
# no tests because code needs to run on the Switch :(
|
||||||
|
# exec "nim c -r tests/test.nim"
|
||||||
|
|
|
||||||
97
libnxGen.cfg
97
libnxGen.cfg
|
|
@ -66,8 +66,6 @@ replace.lock = "LOCK"
|
||||||
search.cdecl = "stdcall"
|
search.cdecl = "stdcall"
|
||||||
replace.cdecl = "cdecl"
|
replace.cdecl = "cdecl"
|
||||||
|
|
||||||
[console.h]
|
|
||||||
|
|
||||||
[n.prepare]
|
[n.prepare]
|
||||||
git = "https://github.com/switchbrew/libnx"
|
git = "https://github.com/switchbrew/libnx"
|
||||||
execute = """
|
execute = """
|
||||||
|
|
@ -311,7 +309,6 @@ import libnx/ext/integer128
|
||||||
"""
|
"""
|
||||||
|
|
||||||
[acc.nim]
|
[acc.nim]
|
||||||
search.o = "import libnx"
|
|
||||||
prepend.o = """
|
prepend.o = """
|
||||||
import libnx/ext/integer128
|
import libnx/ext/integer128
|
||||||
"""
|
"""
|
||||||
|
|
@ -348,105 +345,15 @@ template CONSOLE_CROSSED_OUT*: int = BIT(8).int
|
||||||
search.threedmoo = "debugDevice_3DMOO"
|
search.threedmoo = "debugDevice_3DMOO"
|
||||||
replace.threedmoo = "debugDevice_3DMOO*"
|
replace.threedmoo = "debugDevice_3DMOO*"
|
||||||
|
|
||||||
|
|
||||||
[apm.nim]
|
|
||||||
key = blank
|
|
||||||
[applet.nim]
|
|
||||||
key = blank
|
|
||||||
[audio.nim]
|
|
||||||
key = blank
|
|
||||||
[binder.nim]
|
|
||||||
key = blank
|
|
||||||
[cache.nim]
|
|
||||||
key = blank
|
|
||||||
[condvar.nim]
|
|
||||||
key = blank
|
|
||||||
[csrng.nim]
|
|
||||||
key = blank
|
|
||||||
[detect.nim]
|
|
||||||
key = blank
|
|
||||||
|
|
||||||
[env.nim]
|
|
||||||
key = blank
|
|
||||||
|
|
||||||
[fatal.nim]
|
|
||||||
key = blank
|
|
||||||
[fsldr.nim]
|
|
||||||
key = blank
|
|
||||||
[fspr.nim]
|
|
||||||
key = blank
|
|
||||||
|
|
||||||
[gfx.nim]
|
[gfx.nim]
|
||||||
search.timport = "../types"
|
search.timport = "../types"
|
||||||
replace.timport = "libnx/wrapper/types"
|
replace.timport = "libnx/wrapper/types"
|
||||||
|
|
||||||
|
|
||||||
[ioctl.nim]
|
|
||||||
key = blank
|
|
||||||
[irs.nim]
|
|
||||||
key = blank
|
|
||||||
[jit.nim]
|
|
||||||
key = blank
|
|
||||||
[ldr.nim]
|
|
||||||
key = blank
|
|
||||||
[lr.nim]
|
|
||||||
key = blank
|
|
||||||
[mutex.nim]
|
|
||||||
key = blank
|
|
||||||
[nro.nim]
|
|
||||||
key = blank
|
|
||||||
[ns.nim]
|
|
||||||
key = blank
|
|
||||||
[nv.nim]
|
|
||||||
key = blank
|
|
||||||
[nvgfx.nim]
|
|
||||||
key = blank
|
|
||||||
[nvioctl.nim]
|
|
||||||
key = blank
|
|
||||||
[pl.nim]
|
|
||||||
key = blank
|
|
||||||
[pm.nim]
|
|
||||||
key = blank
|
|
||||||
[random.nim]
|
|
||||||
key = blank
|
|
||||||
[result.nim]
|
|
||||||
key = blank
|
|
||||||
|
|
||||||
[romfs_dev.nim]
|
[romfs_dev.nim]
|
||||||
search.timport = "../types"
|
search.timport = "../types"
|
||||||
replace.timport = "libnx/wrapper/types"
|
replace.timport = "libnx/wrapper/types"
|
||||||
search.servimport = "../services/"
|
search.servimport = "../services/"
|
||||||
replace.servimport = "libnx/wrapper/"
|
replace.servimport = "libnx/wrapper/"
|
||||||
|
|
||||||
[rwlock.nim]
|
[n.sourcefile]
|
||||||
key = blank
|
"${output}/*.nim"
|
||||||
[semaphore.nim]
|
|
||||||
key = blank
|
|
||||||
[sm.nim]
|
|
||||||
key = blank
|
|
||||||
[smm.nim]
|
|
||||||
key = blank
|
|
||||||
[socket.nim]
|
|
||||||
key = blank
|
|
||||||
[spl.nim]
|
|
||||||
key = blank
|
|
||||||
[switch.nim]
|
|
||||||
key = blank
|
|
||||||
[thread.nim]
|
|
||||||
key = blank
|
|
||||||
[time.nim]
|
|
||||||
key = blank
|
|
||||||
[tls.nim]
|
|
||||||
key = blank
|
|
||||||
[tmem.nim]
|
|
||||||
key = blank
|
|
||||||
[usb.nim]
|
|
||||||
key = blank
|
|
||||||
[usb_comms.nim]
|
|
||||||
key = blank
|
|
||||||
[utf.nim]
|
|
||||||
key = blank
|
|
||||||
[vi.nim]
|
|
||||||
key = blank
|
|
||||||
[virtmem.nim]
|
|
||||||
key = blank
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue