-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathxmake.lua
More file actions
33 lines (28 loc) · 804 Bytes
/
xmake.lua
File metadata and controls
33 lines (28 loc) · 804 Bytes
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
add_rules("mode.debug", "mode.release")
add_requires("opengl", "libsdl2", "assimp", "sol2", "catch2")
set_languages("cxx23")
target("imgui")
set_kind("static")
add_files("extern/imgui/*.cpp")
add_includedirs("extern/imgui/")
target("common")
set_kind("static")
add_files("common/*/*.cpp")
add_includedirs("common/")
target("vector_test")
set_kind("binary")
add_files("tests/correction/vector_test.cpp")
add_includedirs("common")
add_packages("catch2")
add_deps("common")
target("engine")
set_kind("binary")
add_files("src/*.cpp")
add_files("src/*/*.cpp")
add_files("src/glad/src/gl.c")
add_includedirs("extern")
add_includedirs("src")
add_includedirs("common/")
add_includedirs("src/glad/include")
add_packages("opengl", "libsdl2", "assimp", "sol2")
add_deps("imgui", "common")