qt5 example
This commit is contained in:
21
projects/Qt/example/xmake.lua
Normal file
21
projects/Qt/example/xmake.lua
Normal file
@@ -0,0 +1,21 @@
|
||||
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")
|
||||
Reference in New Issue
Block a user