diff options
Diffstat (limited to 'xmake.lua')
-rw-r--r-- | xmake.lua | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -89,6 +89,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}) @@ -144,6 +145,20 @@ 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("animation") + set_kind("binary") + set_group("examples") + add_deps("core_shared") + add_files("examples/property_animation/ex_property_animation.c") + set_rundir("$(projectdir)") + target("input") set_kind("binary") set_group("examples") |