-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathimguin.nimble
42 lines (35 loc) · 1.06 KB
/
imguin.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Package
version = "1.91.6.12"
author = "dinau"
description = "Imguin: ImGui / ImPlot / ImNodes wrapper using Futhark"
license = "MIT"
srcDir = "src"
skipDirs = @["src/img"
,"src/imguin/private/updater"
,"src/imguin/private/cimgui_knobs/example"
]
#bin = @["imguin"]
# Dependencies
requires "nim >= 2.0.14"
requires "https://github.com/dinau/sdl3_nim == 0.6"
requires "nimgl == 1.3.2"
requires "sdl2_nim == 2.0.14.3"
requires "stb_image == 2.5"
requires "tinydialogs == 1.1.0"
requires "glfw == 3.4.0.4"
#requires "futhark == 0.13.6"
task test,"Run test app":
withDir "tests":
let cmd = "nim c -r -d:strip tglfw_opengl3.nim"
echo cmd
exec(cmd)
task make,"Build test app":
withDir "tests":
let cmd = "nim c -d:strip tglfw_opengl3.nim"
echo "\n",cmd
echo "##############################################"
echo "#"
echo "# tests/tglfw_opengl3.exe will be generated."
echo "#"
echo "##############################################\n"
exec(cmd)