diff options
Diffstat (limited to 'tests/projects/console_objc++')
| -rw-r--r-- | tests/projects/console_objc++/src/main.mm | 10 | ||||
| -rw-r--r-- | tests/projects/console_objc++/test.lua | 11 | ||||
| -rw-r--r-- | tests/projects/console_objc++/xmake.lua | 42 |
3 files changed, 0 insertions, 63 deletions
diff --git a/tests/projects/console_objc++/src/main.mm b/tests/projects/console_objc++/src/main.mm deleted file mode 100644 index 61a3f5875..000000000 --- a/tests/projects/console_objc++/src/main.mm +++ /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/projects/console_objc++/test.lua b/tests/projects/console_objc++/test.lua deleted file mode 100644 index be0449702..000000000 --- a/tests/projects/console_objc++/test.lua +++ /dev/null @@ -1,11 +0,0 @@ --- imports -import("..build") - --- main entry -function main() - - -- build project - if os.host() == "macosx" then - build({iphoneos = true}) - end -end diff --git a/tests/projects/console_objc++/xmake.lua b/tests/projects/console_objc++/xmake.lua deleted file mode 100644 index a9229c7f3..000000000 --- a/tests/projects/console_objc++/xmake.lua +++ /dev/null @@ -1,42 +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 - --- add frameworks -add_frameworks("Foundation", "CoreFoundation") - --- for macosx or ios -if is_os("macosx", "ios") then - - -- enable arc? - add_mxflags("-fobjc-arc") -end - --- add target -target("console_objc++") - - -- set kind - set_kind("binary") - - -- add files - add_files("src/*.mm") - |
