-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathimguin.nimble
More file actions
42 lines (37 loc) · 1.09 KB
/
imguin.nimble
File metadata and controls
42 lines (37 loc) · 1.09 KB
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.92.7.0"
author = "dinau"
description = "Imguin: ImGui / ImPlot / ImNodes wrapper using Futhark"
license = "MIT"
srcDir = "src"
skipDirs = @["src/img"
,"src/imguin/private/updater"
,"wasm"
]
#bin = @["imguin"]
# Dependencies
requires "nim >= 2.0.16"
requires "sdl3_nim >= 3.4.2.0"
requires "nimgl"
requires "sdl2_nim"
requires "stb_image"
requires "tinydialogs"
requires "glfw"
requires "https://github.com/DanielBelmes/VulkanNim"
requires "https://github.com/Anuken/staticglfw"
#requires "futhark == 0.15.0"
task test,"Run test app":
withDir "tests":
let cmd = "nim c -r -f -d:strip -d:ImSpinner tglfw_opengl3.nim"
echo cmd
exec(cmd)
task make,"Build test app":
withDir "tests":
let cmd = "nim c -f -d:strip -d:ImSpinner tglfw_opengl3.nim"
echo "\n",cmd
echo "##############################################"
echo "#"
echo "# tests/tglfw_opengl3.exe will be generated."
echo "#"
echo "##############################################\n"
exec(cmd)