diff options
Diffstat (limited to 'tests/objc_console')
| -rwxr-xr-x | tests/objc_console/src/main.m | 10 | ||||
| -rwxr-xr-x | tests/objc_console/xmake.lua | 43 |
2 files changed, 0 insertions, 53 deletions
diff --git a/tests/objc_console/src/main.m b/tests/objc_console/src/main.m deleted file mode 100755 index 61a3f5875..000000000 --- a/tests/objc_console/src/main.m +++ /dev/null @@ -1,10 +0,0 @@ -#import <Foundation/Foundation.h> - -int main(int argc, char** argv) -{ - @autoreleasepool - { - NSLog(@"hello world!"); - } - return 0; -} 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") - |
