From 3e793c4de711bf7870ad12b6fefb1603d0047e57 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 27 Jun 2025 22:58:05 +0800 Subject: improve object only test --- tests/projects/other/object_only/xmake.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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") -- cgit v1.3.1