summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorruki <[email protected]>2023-10-12 22:08:59 -0500
committerGitHub <[email protected]>2023-10-12 22:08:59 -0500
commit97ffd7a145521e930a237e8977e73fdf3d41dbf4 (patch)
treefe24a7a54b5ab2f3396b46cda800cb6fc49ae752 /tests
parent654050350b33b0f2dc6d472404b14ddd9795592c (diff)
parenta21b15db6a5a6228c756c7e6b7acb3283aebfacb (diff)
Merge pull request #4283 from xmake-io/includes
Improve builtin includes
Diffstat (limited to 'tests')
-rw-r--r--tests/apis/check_xxx/xmake.lua9
-rw-r--r--tests/projects/qt/quickapp_static/xmake.lua2
-rw-r--r--tests/projects/qt/widgetapp_static/xmake.lua2
3 files changed, 3 insertions, 10 deletions
diff --git a/tests/apis/check_xxx/xmake.lua b/tests/apis/check_xxx/xmake.lua
index a5c748414..c68f71b48 100644
--- a/tests/apis/check_xxx/xmake.lua
+++ b/tests/apis/check_xxx/xmake.lua
@@ -1,11 +1,4 @@
-includes("check_links.lua")
-includes("check_ctypes.lua")
-includes("check_cflags.lua")
-includes("check_cfuncs.lua")
-includes("check_macros.lua")
-includes("check_features.lua")
-includes("check_csnippets.lua")
-includes("check_cincludes.lua")
+includes("@builtin/check")
target("foo")
set_kind("static")
diff --git a/tests/projects/qt/quickapp_static/xmake.lua b/tests/projects/qt/quickapp_static/xmake.lua
index 196749658..b6bc9a8cb 100644
--- a/tests/projects/qt/quickapp_static/xmake.lua
+++ b/tests/projects/qt/quickapp_static/xmake.lua
@@ -1,6 +1,6 @@
add_rules("mode.debug", "mode.release")
-includes("qt_add_static_plugins.lua")
+includes("@builtin/qt")
target("demo")
add_rules("qt.quickapp_static")
diff --git a/tests/projects/qt/widgetapp_static/xmake.lua b/tests/projects/qt/widgetapp_static/xmake.lua
index 8ae0094bf..5ca10c888 100644
--- a/tests/projects/qt/widgetapp_static/xmake.lua
+++ b/tests/projects/qt/widgetapp_static/xmake.lua
@@ -1,6 +1,6 @@
add_rules("mode.debug", "mode.release")
-includes("qt_add_static_plugins.lua")
+includes("@builtin/qt")
target("demo")
add_rules("qt.widgetapp_static")