diff options
| author | ruki <[email protected]> | 2020-04-05 22:42:54 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-04-05 22:42:54 +0800 |
| commit | 6a67eb4ca0b1b8f375b0aa190fb85bca8477b595 (patch) | |
| tree | 61f75d988896f12096490e6c79d5146c27dfa5be /xmake/rules/xcode/application | |
| parent | 52086e64f363bfefc91688efa09ad20f485bcbea (diff) | |
update macapp tests
Diffstat (limited to 'xmake/rules/xcode/application')
| -rw-r--r-- | xmake/rules/xcode/application/xmake.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xmake/rules/xcode/application/xmake.lua b/xmake/rules/xcode/application/xmake.lua index 724018da2..781ece19f 100644 --- a/xmake/rules/xcode/application/xmake.lua +++ b/xmake/rules/xcode/application/xmake.lua @@ -38,6 +38,13 @@ rule("xcode.application") target:set("targetdir", appdir) end + -- add frameworks + if is_plat("macosx") then + target:add("frameworks", "AppKit") + else + target:add("frameworks", "UIKit") + end + -- register clean files for `xmake clean` target:add("cleanfiles", appdir) end) |
