f
This commit is contained in:
parent
539e946ef5
commit
6aaf1b01c6
1 changed files with 7 additions and 1 deletions
|
@ -17,4 +17,10 @@ task docs, "Generate API documents":
|
|||
exec "nim doc --index:on --project --out:docs --hints:off src/pixie.nim"
|
||||
|
||||
task bindings, "Generate bindings":
|
||||
exec "nim c -f -d:release --app:lib --gc:arc --tlsEmulation:off --out:pixie --outdir:bindings/generated bindings/bindings.nim"
|
||||
when defined(windows):
|
||||
const libName = "pixie.dll"
|
||||
elif defined(macosx):
|
||||
const libName = "libpixie.dylib"
|
||||
else:
|
||||
const libName = "libpixie.so"
|
||||
exec "nim c -f -d:release --app:lib --gc:arc --tlsEmulation:off --out:" & libName & " --outdir:bindings/generated bindings/bindings.nim"
|
||||
|
|
Loading…
Reference in a new issue