-
Notifications
You must be signed in to change notification settings - Fork 8
/
glfw.nimble
28 lines (23 loc) · 888 Bytes
/
glfw.nimble
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#[ Package ]#
version = "3.4.0.5"
author = "Erik Johansson Andersson, John Novak"
description = "GLFW 3 wrapper for Nim"
license = "MIT"
skipDirs = @["examples"]
requires "nim >= 2.0.8"
task examples, "Compiles the examples with dynamic linking":
exec "nim c examples/boing"
exec "nim c examples/events"
exec "nim c examples/gears"
exec "nim c examples/minimal"
exec "nim c examples/splitview"
exec "nim c examples/triangle"
exec "nim c examples/wave"
task examplesStatic, "Compiles the examples with static linking":
exec "nim c -d:glfwStaticLib examples/boing"
exec "nim c -d:glfwStaticLib examples/events"
exec "nim c -d:glfwStaticLib examples/gears"
exec "nim c -d:glfwStaticLib examples/minimal"
exec "nim c -d:glfwStaticLib examples/splitview"
exec "nim c -d:glfwStaticLib examples/triangle"
exec "nim c -d:glfwStaticLib examples/wave"