pixie/pixie.nimble

27 lines
802 B
Plaintext
Raw Normal View History

2021-07-18 18:20:22 +00:00
version = "2.1.1"
2020-11-20 02:45:43 +00:00
author = "Andre von Houck and Ryan Oldenburg"
description = "Full-featured 2d graphics library for Nim."
license = "MIT"
srcDir = "src"
requires "nim >= 1.2.6"
2021-06-07 04:30:18 +00:00
requires "vmath >= 1.0.8"
2021-03-12 03:39:21 +00:00
requires "chroma >= 0.2.5"
requires "zippy >= 0.6.0"
requires "flatty >= 0.2.2"
2021-01-27 08:07:21 +00:00
requires "nimsimd >= 1.0.0"
2021-03-26 21:10:11 +00:00
requires "bumpy >= 1.0.3"
2021-02-27 21:41:00 +00:00
task docs, "Generate API documents":
exec "nim doc --index:on --project --out:docs --hints:off src/pixie.nim"
2021-08-24 03:40:38 +00:00
2021-08-24 22:31:35 +00:00
task bindings, "Generate bindings":
2021-08-27 03:33:27 +00:00
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"