diff options
| author | ruki <[email protected]> | 2017-02-09 09:22:25 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-02-09 09:22:25 +0800 |
| commit | fd16730ec4846ea1acf8cb03d91f0a059d98fddf (patch) | |
| tree | 2e4b09d80a62b0edb2dd4ff0f1a035dd6e591503 /tests/console_objc++ | |
| parent | 7bb2d3b070b62c5fce22276c92f342f2647b0a39 (diff) | |
add add_frameworks api
Diffstat (limited to 'tests/console_objc++')
| -rwxr-xr-x | tests/console_objc++/xmake.lua | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/console_objc++/xmake.lua b/tests/console_objc++/xmake.lua index 00884ee70..a9229c7f3 100755 --- a/tests/console_objc++/xmake.lua +++ b/tests/console_objc++/xmake.lua @@ -21,13 +21,12 @@ if is_mode("release") then set_strip("all") end +-- add frameworks +add_frameworks("Foundation", "CoreFoundation") + -- for macosx or ios if is_os("macosx", "ios") then - -- add framework - add_mxflags("-framework Foundation", "-framework CoreFoundation") - add_ldflags("-framework Foundation", "-framework CoreFoundation") - -- enable arc? add_mxflags("-fobjc-arc") end |
