summaryrefslogtreecommitdiff
path: root/xmake/templates/objc/xcode/macapp_with_framework/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/templates/objc/xcode/macapp_with_framework/xmake.lua')
-rw-r--r--xmake/templates/objc/xcode/macapp_with_framework/xmake.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/xmake/templates/objc/xcode/macapp_with_framework/xmake.lua b/xmake/templates/objc/xcode/macapp_with_framework/xmake.lua
new file mode 100644
index 000000000..e1383b8b2
--- /dev/null
+++ b/xmake/templates/objc/xcode/macapp_with_framework/xmake.lua
@@ -0,0 +1,13 @@
+add_rules("mode.debug", "mode.release")
+
+target("test")
+ add_rules("xcode.framework")
+ add_files("src/framework/test.m")
+ add_files("src/framework/Info.plist")
+ add_headerfiles("src/framework/test.h")
+
+target("${TARGET_NAME}")
+ add_rules("xcode.application")
+ add_deps("test")
+ add_files("src/app/*.m", "src/app/**.storyboard", "src/app/*.xcassets")
+ add_files("src/app/Info.plist")