summaryrefslogtreecommitdiff
path: root/tests/projects/qt/quickplugin/xmake.lua
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2022-06-09 23:58:46 +0200
committerArthur LAURENT <[email protected]>2022-06-09 23:58:46 +0200
commit7b9a4f0ce02fc059e76fa9cba90425fd75f0326e (patch)
treee74bf06063f2daaf5b7f6ebc5a98a257c0c8745a /tests/projects/qt/quickplugin/xmake.lua
parent50f55f6e0e7ce6a5474fb5dd784c90321371396c (diff)
Add qt.quickplugin test
Diffstat (limited to 'tests/projects/qt/quickplugin/xmake.lua')
-rw-r--r--tests/projects/qt/quickplugin/xmake.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/projects/qt/quickplugin/xmake.lua b/tests/projects/qt/quickplugin/xmake.lua
new file mode 100644
index 000000000..6544b6bb9
--- /dev/null
+++ b/tests/projects/qt/quickplugin/xmake.lua
@@ -0,0 +1,12 @@
+add_rules("mode.debug", "mode.release")
+
+target("demo")
+ add_rules("qt.quickplugin")
+ add_headerfiles("src/*.h")
+ add_files("src/*.cpp")
+
+ if is_plat("windows") then
+ add_cxxflags("/permissive-")
+ end
+
+ set_values("qml.plugin.importname", "My.Plugin") \ No newline at end of file