snipplets.dev/projects/Qt/example/xmake.lua

22 lines
432 B
Lua
Raw Normal View History

2024-08-11 02:33:53 +03:00
set_project("example")
add_rules("mode.debug", "mode.release")
if is_mode("debug") then
set_symbols("debug")
set_optimize("none")
end
add_includedirs(
"include" -- APPLICATION
)
add_linkdirs(
)
target("example")
-- set_kind("binary")
add_rules("qt.widgetapp")
add_headerfiles("include/*.hpp")
add_files("src/*.cpp")
-- add files with Q_OBJECT meta (only for qt.moc)
add_files("include/*.hpp")