From 08acbfa0837ce1e9cd45d8d626ffbda996073007 Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 4 Apr 2020 19:19:59 +0800 Subject: improve to inherit links --- xmake/rules/objc++/xmake.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xmake/rules/objc++/xmake.lua') diff --git a/xmake/rules/objc++/xmake.lua b/xmake/rules/objc++/xmake.lua index 61cb590bc..e54aa869c 100644 --- a/xmake/rules/objc++/xmake.lua +++ b/xmake/rules/objc++/xmake.lua @@ -56,6 +56,9 @@ rule("objc++") -- add build rules add_deps("objc++.build", "objc.build") + -- inherit links and linkdirs of all dependent targets by default + add_deps("utils.inherit.links") + -- support `add_files("src/*.o")` and `add_files("src/*.a")` to merge object and archive files to target add_deps("utils.merge.object", "utils.merge.archive") -- cgit v1.3.1