mirror of
https://github.com/ProgramSnail/snake_2024.git
synced 2025-12-27 16:48:44 +00:00
initial template changes, xmake integration
This commit is contained in:
parent
a1430a42aa
commit
b4a4ffc08a
7 changed files with 27 additions and 17 deletions
14
xmake.lua
Normal file
14
xmake.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
add_requires("libx11")
|
||||
|
||||
add_rules("mode.debug", "mode.release")
|
||||
|
||||
set_languages("c++20")
|
||||
|
||||
target("game")
|
||||
set_kind("binary")
|
||||
add_includedirs("include")
|
||||
-- add_includedirs(os.dirs(path.join(os.scriptdir(), "include/**")))
|
||||
add_files("src/**.cpp")
|
||||
add_packages("libx11")
|
||||
set_warnings("allextra")
|
||||
set_rundir("$(projectdir)")
|
||||
Loading…
Add table
Add a link
Reference in a new issue