summaryrefslogtreecommitdiff
path: root/tests/objc_console
diff options
context:
space:
mode:
authorruki <[email protected]>2016-02-22 08:49:20 +0800
committerruki <[email protected]>2016-02-22 08:49:20 +0800
commitec6fd4eeca3fa468cffb25b472eb349c1fed06aa (patch)
tree3dbbb42e44310d8ae80ba2361a9f34bbbb90da13 /tests/objc_console
parent762f3cd87615acbed339931bfb56c2b75c44cfa0 (diff)
modify tests script
Diffstat (limited to 'tests/objc_console')
-rwxr-xr-xtests/objc_console/src/main.m10
-rwxr-xr-xtests/objc_console/xmake.lua43
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")
-