summaryrefslogtreecommitdiff
path: root/third_party/packages/n/nuklear_glfw_gl3/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/packages/n/nuklear_glfw_gl3/xmake.lua')
-rw-r--r--third_party/packages/n/nuklear_glfw_gl3/xmake.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/third_party/packages/n/nuklear_glfw_gl3/xmake.lua b/third_party/packages/n/nuklear_glfw_gl3/xmake.lua
new file mode 100644
index 0000000..8789dbb
--- /dev/null
+++ b/third_party/packages/n/nuklear_glfw_gl3/xmake.lua
@@ -0,0 +1,14 @@
+package("nuklear_glfw_gl3")
+
+set_homepage("https://github.com/Immediate-Mode-UI/Nuklear")
+set_description("A single-header ANSI C immediate mode cross-platform GUI library (GLFW OpenGL 3 Binding)")
+set_license("MIT")
+
+add_urls("https://github.com/Immediate-Mode-UI/Nuklear/archive/refs/tags/$(version).tar.gz",
+ "https://github.com/Immediate-Mode-UI/Nuklear.git")
+
+add_versions("4.10.5", "6c80cbd0612447421fa02ad92f4207da2cd019a14d94885dfccac1aadc57926a")
+
+on_install(function(package)
+ os.cp("demo/glfw_opengl3/nuklear_glfw_gl3.h", package:installdir("include"))
+end)