diff options
| author | ruki <[email protected]> | 2020-08-22 23:46:44 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-08-22 23:46:44 +0800 |
| commit | 6da64856c6ed01eb567a977dae3e117babaaa287 (patch) | |
| tree | 7c5fe395a9c34aa4a7d5946a6217e40e3de67ae7 /tests/projects/qt | |
| parent | 55eb2fa3baaa571a616250ee8a89e98b4d82d49c (diff) | |
remove some comments
Diffstat (limited to 'tests/projects/qt')
| -rw-r--r-- | tests/projects/qt/console/xmake.lua | 9 | ||||
| -rw-r--r-- | tests/projects/qt/console_static/xmake.lua | 9 | ||||
| -rw-r--r-- | tests/projects/qt/quickapp/xmake.lua | 11 | ||||
| -rw-r--r-- | tests/projects/qt/quickapp_static/xmake.lua | 12 | ||||
| -rw-r--r-- | tests/projects/qt/shared_library/xmake.lua | 15 | ||||
| -rw-r--r-- | tests/projects/qt/static_library/xmake.lua | 11 | ||||
| -rw-r--r-- | tests/projects/qt/widgetapp/xmake.lua | 13 | ||||
| -rw-r--r-- | tests/projects/qt/widgetapp_static/xmake.lua | 14 | ||||
| -rw-r--r-- | tests/projects/qt/with_private/xmake.lua | 13 |
9 files changed, 6 insertions, 101 deletions
diff --git a/tests/projects/qt/console/xmake.lua b/tests/projects/qt/console/xmake.lua index 71b7ae892..d86e60d55 100644 --- a/tests/projects/qt/console/xmake.lua +++ b/tests/projects/qt/console/xmake.lua @@ -1,13 +1,6 @@ - --- add modes: debug and release add_rules("mode.debug", "mode.release") --- add target -target("qt_console") - - -- add rules +target("demo") add_rules("qt.console") - - -- add files add_files("src/*.cpp") diff --git a/tests/projects/qt/console_static/xmake.lua b/tests/projects/qt/console_static/xmake.lua index 71b7ae892..d86e60d55 100644 --- a/tests/projects/qt/console_static/xmake.lua +++ b/tests/projects/qt/console_static/xmake.lua @@ -1,13 +1,6 @@ - --- add modes: debug and release add_rules("mode.debug", "mode.release") --- add target -target("qt_console") - - -- add rules +target("demo") add_rules("qt.console") - - -- add files add_files("src/*.cpp") diff --git a/tests/projects/qt/quickapp/xmake.lua b/tests/projects/qt/quickapp/xmake.lua index 747f1a1dc..5b9166c67 100644 --- a/tests/projects/qt/quickapp/xmake.lua +++ b/tests/projects/qt/quickapp/xmake.lua @@ -1,17 +1,8 @@ - --- add modes: debug and release add_rules("mode.debug", "mode.release") --- add target -target("qt_demo") - - -- add rules +target("demo") add_rules("qt.quickapp") - - -- add headers add_headerfiles("src/*.h") - - -- add files add_files("src/*.cpp") add_files("src/qml.qrc") diff --git a/tests/projects/qt/quickapp_static/xmake.lua b/tests/projects/qt/quickapp_static/xmake.lua index 05fd78e84..075a8d46c 100644 --- a/tests/projects/qt/quickapp_static/xmake.lua +++ b/tests/projects/qt/quickapp_static/xmake.lua @@ -1,24 +1,12 @@ - --- add modes: debug and release add_rules("mode.debug", "mode.release") --- includes includes("qt_add_static_plugins.lua") --- add target target("qt_demo") - - -- add rules add_rules("qt.quickapp_static") - - -- add headers add_headerfiles("src/*.h") - - -- add files add_files("src/*.cpp") add_files("src/qml.qrc") - - -- add plugin: qml.QtQuick qt_add_static_plugins("QtQuick2Plugin", {linkdirs = "qml/QtQuick.2", links = "qtquick2plugin"}) qt_add_static_plugins("QtQuick2WindowPlugin", {linkdirs = "qml/QtQuick/Window.2", links = "windowplugin"}) diff --git a/tests/projects/qt/shared_library/xmake.lua b/tests/projects/qt/shared_library/xmake.lua index 3e855ddad..d4c0bbb33 100644 --- a/tests/projects/qt/shared_library/xmake.lua +++ b/tests/projects/qt/shared_library/xmake.lua @@ -1,21 +1,8 @@ - --- add modes: debug and release add_rules("mode.debug", "mode.release") --- add target -target("qt_demo") - - -- add rules +target("demo") add_rules("qt.shared") - - -- add headers add_headerfiles("src/*.h") - - -- add files add_files("src/*.cpp") - - -- add defines add_defines("QT_DEMO_LIBRARY") - - -- add frameworks add_frameworks("QtGui") diff --git a/tests/projects/qt/static_library/xmake.lua b/tests/projects/qt/static_library/xmake.lua index 480c55f48..c2d14ece7 100644 --- a/tests/projects/qt/static_library/xmake.lua +++ b/tests/projects/qt/static_library/xmake.lua @@ -1,18 +1,7 @@ - --- add modes: debug and release add_rules("mode.debug", "mode.release") --- add target target("qt_demo") - - -- add rules add_rules("qt.static") - - -- add headers add_headerfiles("src/*.h") - - -- add files add_files("src/*.cpp") - - -- add frameworks add_frameworks("QtGui") diff --git a/tests/projects/qt/widgetapp/xmake.lua b/tests/projects/qt/widgetapp/xmake.lua index 2554e52d8..ded87d527 100644 --- a/tests/projects/qt/widgetapp/xmake.lua +++ b/tests/projects/qt/widgetapp/xmake.lua @@ -1,21 +1,10 @@ - --- add modes: debug and release add_rules("mode.debug", "mode.release") --- add target -target("qt_demo") - - -- add rules +target("demo") add_rules("qt.widgetapp") - - -- add headers add_headerfiles("src/*.h") - - -- add files add_files("src/*.cpp") add_files("src/mainwindow.ui") - - -- add files with Q_OBJECT meta (only for qt.moc) add_files("src/mainwindow.h") diff --git a/tests/projects/qt/widgetapp_static/xmake.lua b/tests/projects/qt/widgetapp_static/xmake.lua index 9adeae04c..09ddc36f7 100644 --- a/tests/projects/qt/widgetapp_static/xmake.lua +++ b/tests/projects/qt/widgetapp_static/xmake.lua @@ -1,25 +1,11 @@ - --- add modes: debug and release add_rules("mode.debug", "mode.release") --- includes includes("qt_add_static_plugins.lua") --- add target target("qt_demo") - - -- add rules add_rules("qt.widgetapp_static") - - -- add headers add_headerfiles("src/*.h") - - -- add files add_files("src/*.cpp") add_files("src/mainwindow.ui") - - -- add files with Q_OBJECT meta (only for qt.moc) add_files("src/mainwindow.h") - - -- add plugin: QSvgPlugin (optional) qt_add_static_plugins("QSvgPlugin", {linkdirs = "plugins/imageformats", links = {"qsvg", "Qt5Svg"}}) diff --git a/tests/projects/qt/with_private/xmake.lua b/tests/projects/qt/with_private/xmake.lua index 6cc6378e7..9a0d45e31 100644 --- a/tests/projects/qt/with_private/xmake.lua +++ b/tests/projects/qt/with_private/xmake.lua @@ -1,22 +1,11 @@ - --- add modes: debug and release add_rules("mode.debug", "mode.release") --- add target -target("qt_demo") - - -- add rules +target("demo") add_rules("qt.widgetapp") add_frameworks("QtCore", "QtGui", "QtWidgets", "QtQuick", "QtQuickPrivate", "QtQml", "QtQmlPrivate", "QtCorePrivate", "QtGuiPrivate") - - -- add headers add_headerfiles("src/*.h") - - -- add files add_files("src/*.cpp") add_files("src/mainwindow.ui") - - -- add files with Q_OBJECT meta (only for qt.moc) add_files("src/mainwindow.h") |
