generated from Persson-dev/Godot-Xmake
Initial commit
This commit is contained in:
26
xmake/godot.lua
Normal file
26
xmake/godot.lua
Normal file
@@ -0,0 +1,26 @@
|
||||
------- project settings -------
|
||||
|
||||
-- project name
|
||||
set_project(PROJECT_NAME)
|
||||
|
||||
-- project version
|
||||
set_version(VERSION)
|
||||
|
||||
-- min version of xmake we need to run
|
||||
-- NOTE: this is the version i used to develop this template, may not 100% correct
|
||||
set_xmakever("2.9.0")
|
||||
|
||||
add_rules("mode.debug", "mode.release")
|
||||
|
||||
-- c++17 is required for godot 4.x, we use c++20 here
|
||||
set_languages("c++20")
|
||||
|
||||
-- use latest 4.x version by default
|
||||
add_requires("godotcpp4")
|
||||
|
||||
|
||||
includes("tasks.lua")
|
||||
|
||||
includes("target.lua")
|
||||
|
||||
includes("editor.lua")
|
||||
Reference in New Issue
Block a user