summaryrefslogtreecommitdiff
path: root/tests/projects/objc/framework/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/objc/framework/xmake.lua')
-rw-r--r--tests/projects/objc/framework/xmake.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/projects/objc/framework/xmake.lua b/tests/projects/objc/framework/xmake.lua
new file mode 100644
index 000000000..2e1de864c
--- /dev/null
+++ b/tests/projects/objc/framework/xmake.lua
@@ -0,0 +1,15 @@
+add_rules("mode.debug", "mode.release")
+add_frameworks("Foundation", "CoreFoundation")
+
+if is_os("macosx", "ios") then
+ add_mxflags("-fobjc-arc")
+end
+
+target("test")
+ set_kind("shared")
+ add_files("src/test.m")
+
+target("demo")
+ set_kind("binary")
+ add_deps("test")
+ add_files("src/main.m")