From 6a67eb4ca0b1b8f375b0aa190fb85bca8477b595 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 5 Apr 2020 22:42:54 +0800 Subject: update macapp tests --- xmake/rules/xcode/application/xmake.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'xmake/rules/xcode/application/xmake.lua') 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) -- cgit v1.3.1