diff options
| author | ruki <[email protected]> | 2025-04-09 22:09:38 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-04-09 22:09:38 +0800 |
| commit | 48275f817475b398b649f55054e2e60200dcd052 (patch) | |
| tree | 2e943d22fd4adceb8f0c6e53dbee610ce217f7c3 /xmake/rules/xcode | |
| parent | d9a5ab70746010c846b815c2b5e14447d268b96f (diff) | |
| parent | 699e40f3e45469b3597f5fa24ad6bb2c922b8a4b (diff) | |
Merge pull request #6209 from xmake-io/prepare
Add build jobgraph support
Diffstat (limited to 'xmake/rules/xcode')
| -rw-r--r-- | xmake/rules/xcode/application/xmake.lua | 13 | ||||
| -rw-r--r-- | xmake/rules/xcode/bundle/xmake.lua | 2 | ||||
| -rw-r--r-- | xmake/rules/xcode/framework/xmake.lua | 2 |
3 files changed, 2 insertions, 15 deletions
diff --git a/xmake/rules/xcode/application/xmake.lua b/xmake/rules/xcode/application/xmake.lua index b4969b3df..7d5edc668 100644 --- a/xmake/rules/xcode/application/xmake.lua +++ b/xmake/rules/xcode/application/xmake.lua @@ -27,19 +27,6 @@ rule("xcode.application") -- we must set kind before target.on_load(), may we will use target in on_load() on_load("load") - -- depend xcode.framework? we need to disable `build.across_targets_in_parallel` policy - after_load(function (target) - local across_targets_in_parallel - for _, dep in ipairs(target:orderdeps()) do - if dep:rule("xcode.framework") then - across_targets_in_parallel = false - end - end - if across_targets_in_parallel ~= nil then - target:set("policy", "build.across_targets_in_parallel", across_targets_in_parallel) - end - end) - -- build *.app after_build("build") diff --git a/xmake/rules/xcode/bundle/xmake.lua b/xmake/rules/xcode/bundle/xmake.lua index 31c0a8296..972d7d75e 100644 --- a/xmake/rules/xcode/bundle/xmake.lua +++ b/xmake/rules/xcode/bundle/xmake.lua @@ -62,7 +62,7 @@ rule("xcode.bundle") end end) - after_build(function (target, opt) + after_link(function (target, opt) -- imports import("core.base.option") diff --git a/xmake/rules/xcode/framework/xmake.lua b/xmake/rules/xcode/framework/xmake.lua index 10b2f337f..46850c019 100644 --- a/xmake/rules/xcode/framework/xmake.lua +++ b/xmake/rules/xcode/framework/xmake.lua @@ -78,7 +78,7 @@ rule("xcode.framework") end end) - after_build(function (target, opt) + after_link(function (target, opt) -- imports import("core.base.option") |
