diff options
| author | ruki <[email protected]> | 2019-07-17 17:47:47 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-07-17 17:47:47 +0800 |
| commit | 9f84b5d75dc8966f61a25bebf11b2e1ed59ba24d (patch) | |
| tree | b32ecc997505dbee0975ba10e093113845f21574 /tests/projects/objc/console/xmake.lua | |
| parent | a4468e2a9a0685c3c3d53b976130e5acb0852828 (diff) | |
| parent | a6396622cdb3af334c1ec044d5a699affa0dccc2 (diff) | |
Merge pull request #495 from OpportunityLiu/pch
fix #494
Diffstat (limited to 'tests/projects/objc/console/xmake.lua')
| -rw-r--r-- | tests/projects/objc/console/xmake.lua | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/tests/projects/objc/console/xmake.lua b/tests/projects/objc/console/xmake.lua index 146262351..440ce0ffb 100644 --- a/tests/projects/objc/console/xmake.lua +++ b/tests/projects/objc/console/xmake.lua @@ -1,25 +1,5 @@ --- the debug mode -if is_mode("debug") then - - -- enable the debug symbols - set_symbols("debug") - - -- disable optimization - set_optimize("none") -end - --- the release mode -if is_mode("release") then - - -- set the symbols visibility: hidden - set_symbols("hidden") - - -- enable fastest optimization - set_optimize("fastest") - - -- strip all symbols - set_strip("all") -end +-- add rules +add_rules("mode.debug", "mode.release") -- add frameworks add_frameworks("Foundation", "CoreFoundation") |
