xmake.lua 262 B

12345678
  1. add_rules("mode.debug", "mode.release")
  2. target("qt_widgetapp")
  3. add_rules("qt.widgetapp")
  4. add_headerfiles("src/*.h")
  5. add_files("src/*.cpp")
  6. add_files("src/mainwindow.ui")
  7. add_files("src/mainwindow.h") -- add meta header files with Q_OBJECT