-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathxmake.lua
More file actions
35 lines (27 loc) · 825 Bytes
/
Copy pathxmake.lua
File metadata and controls
35 lines (27 loc) · 825 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
34
35
set_project("minecraft_clone") -- Or maybe test_game, I'm still not sure what I want to build
set_version("1.0.1")
set_xmakever("3.0.9")
set_toolchains("clang")
add_rules("mode.debug", "mode.release")
add_rules("plugin.compile_commands.autoupdate")
add_requires("git::https://github.com/MAKMART/engine.git", {
configs = {
-- Add configs that you want
}
})
-- Maybe add tests later
-- add_requires("gtest 1.17.0")
if is_mode("debug") then
set_symbols("debug")
set_optimize("none")
elseif is_mode("release") then
set_symbols("hidden")
set_optimize("fastest")
end
-- add_cxxflags("-freflection", "-fexpansion-statements", "-freflection-latest")
-- target("game")
-- set_kind("binary")
-- set_languages("c++26")
-- add_deps("engine")
-- add_files("game/**.cpp")
-- add_files("game/**.cppm")