add xmake.lua

Signed-off-by: Zengtudor <zengtudor@outlook.com>
This commit is contained in:
Zengtudor 2024-08-31 14:15:02 +00:00
commit bf31b0877d

11
xmake.lua Normal file
View File

@ -0,0 +1,11 @@
add_rules("mode.debug","mode.release")
add_requires("fltk")
if is_mode("release") then
add_ldflags("-mwindows")
end
target("fltk")
add_files("src/*.cpp")
add_packages("fltk")