22 lines
432 B
Lua
22 lines
432 B
Lua
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")
|