-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathxmake.lua
More file actions
30 lines (25 loc) · 786 Bytes
/
xmake.lua
File metadata and controls
30 lines (25 loc) · 786 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
--
-- @Author: Amélie Heinrich
-- @Create Time: 2024-02-18 01:31:39
--
add_rules("mode.debug", "mode.release")
includes("vendor")
target("Game")
set_languages("c++17")
set_rundir(".")
add_deps("JSON", "spdlog", "GLFW", "stb", "imgui", "imguizmo", "Jolt", "miniaudio")
add_files("src/**.cpp")
add_includedirs("vendor", "src")
add_syslinks("d3d11", "dxgi", "d3dcompiler", "comdlg32")
add_linkdirs("vendor/assimp/bin")
if is_mode("debug") then
set_symbols("debug")
set_optimize("none")
add_links("assimp-vc143-mtd.lib")
end
if is_mode("release") then
set_symbols("hidden")
set_optimize("fastest")
set_strip("all")
add_links("assimp-vc143-mt.lib")
end