diff options
| author | ruki <[email protected]> | 2020-04-04 19:19:59 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-04-04 19:19:59 +0800 |
| commit | 08acbfa0837ce1e9cd45d8d626ffbda996073007 (patch) | |
| tree | fe5f4c9e5b3637b4c92b53faeb3bc85ea4f80f0d /xmake/rules/objc++/xmake.lua | |
| parent | 292ac7314365149af63264f6dc6a3e16cc25b8b0 (diff) | |
improve to inherit links
Diffstat (limited to 'xmake/rules/objc++/xmake.lua')
| -rw-r--r-- | xmake/rules/objc++/xmake.lua | 3 |
1 files changed, 3 insertions, 0 deletions
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") |
