diff options
author | Joshua Rowe <17525998+omnisci3nce@users.noreply.github.com> | 2024-04-04 19:50:49 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-04 19:50:49 +1100 |
commit | b7d8ca95d38942eb3d3c308392c73fda1858efd1 (patch) | |
tree | 55b06b524424ff77af00c907180928b5cf74718c /xmake.lua | |
parent | 0ba447ee95c31e132b4ca91671dfe10ad29bca32 (diff) | |
parent | 0063d8b927dd55f34906bdcd356aff99c2a96a86 (diff) |
Merge pull request #8 from omnisci3nce/cel-56-load-gltf-files
Cel 56 load gltf files
Diffstat (limited to 'xmake.lua')
-rw-r--r-- | xmake.lua | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -68,6 +68,7 @@ target("core_config") set_kind("static") -- kind is required but you can ignore it since it's just for common settings add_syslinks("dl") add_packages("local_glfw") + add_includedirs("deps/cgltf", {public = true}) add_includedirs("deps/glfw-3.3.8/include/GLFW", {public = true}) add_includedirs("deps/glad/include", {public = true}) add_includedirs("deps/stb_image", {public = true}) @@ -118,6 +119,13 @@ target("obj") add_files("examples/obj_loading/ex_obj_loading.c") set_rundir("$(projectdir)") +target("gltf") + set_kind("binary") + set_group("examples") + add_deps("core_static") + add_files("examples/gltf_loading/ex_gltf_loading.c") + set_rundir("$(projectdir)") + target("demo") set_kind("binary") set_group("examples") |