diff options
| author | ruki <[email protected]> | 2016-02-22 08:49:20 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-02-22 08:49:20 +0800 |
| commit | ec6fd4eeca3fa468cffb25b472eb349c1fed06aa (patch) | |
| tree | 3dbbb42e44310d8ae80ba2361a9f34bbbb90da13 /tests/objc_console/xmake.lua | |
| parent | 762f3cd87615acbed339931bfb56c2b75c44cfa0 (diff) | |
modify tests script
Diffstat (limited to 'tests/objc_console/xmake.lua')
| -rwxr-xr-x | tests/objc_console/xmake.lua | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/tests/objc_console/xmake.lua b/tests/objc_console/xmake.lua deleted file mode 100755 index ca5310578..000000000 --- a/tests/objc_console/xmake.lua +++ /dev/null @@ -1,43 +0,0 @@ --- 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 - --- for macosx or ios -if 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 - --- add target -target("objc_console") - - -- set kind - set_kind("binary") - - -- add files - add_files("src/*.m") - |
