summaryrefslogtreecommitdiff
path: root/tests/projects/objc/bundle/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/objc/bundle/xmake.lua')
-rw-r--r--tests/projects/objc/bundle/xmake.lua24
1 files changed, 6 insertions, 18 deletions
diff --git a/tests/projects/objc/bundle/xmake.lua b/tests/projects/objc/bundle/xmake.lua
index 5073b3b0f..e8d0738ce 100644
--- a/tests/projects/objc/bundle/xmake.lua
+++ b/tests/projects/objc/bundle/xmake.lua
@@ -1,22 +1,10 @@
--- add rules
add_rules("mode.debug", "mode.release")
--- add frameworks
-add_frameworks("Foundation", "CoreFoundation")
+target("test")
+ add_rules("xcode.bundle")
+ add_files("src/test.m")
--- for macosx or ios
-if is_os("macosx", "ios") then
-
- -- enable arc?
- add_mxflags("-fobjc-arc")
-end
-
--- add target
-target("console_objc")
-
- -- set kind
+target("demo")
set_kind("binary")
-
- -- add files
- add_files("src/*.m")
-
+ add_deps("test")
+ add_files("src/main.m")