summaryrefslogtreecommitdiff
path: root/tests/projects
diff options
context:
space:
mode:
authorruki <[email protected]>2025-06-27 22:58:05 +0800
committerruki <[email protected]>2025-06-27 22:58:05 +0800
commit3e793c4de711bf7870ad12b6fefb1603d0047e57 (patch)
treef52b03e9e6f8c28f64b512f3f3bd9bce7de37cb2 /tests/projects
parent825b796f81a6c5f13fbfcd64490f715fab3c6f65 (diff)
improve object only test
Diffstat (limited to 'tests/projects')
-rw-r--r--tests/projects/other/object_only/xmake.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/projects/other/object_only/xmake.lua b/tests/projects/other/object_only/xmake.lua
index 5d6f52045..94f42407f 100644
--- a/tests/projects/other/object_only/xmake.lua
+++ b/tests/projects/other/object_only/xmake.lua
@@ -7,8 +7,9 @@ target("bar")
target("foo")
set_kind("static")
add_deps("bar")
+ add_rules("c++")
-target("object_only")
+target("test")
set_kind("binary")
add_deps("foo")
add_files("src/main.cpp")