summaryrefslogtreecommitdiff
path: root/xmake/templates/objc/framework/project/src/test.m
diff options
context:
space:
mode:
authorruki <[email protected]>2020-04-05 14:46:14 +0800
committerruki <[email protected]>2020-04-05 14:46:14 +0800
commitd3c6cfe5fbaa95c72e4579ca884e3ddedd83e1fd (patch)
tree323782c80ff4782ce28315e585a01c33a411b942 /xmake/templates/objc/framework/project/src/test.m
parent79ff6aed24ebfda2ecd4628b2237b75a003e347a (diff)
add objc/framework template
Diffstat (limited to 'xmake/templates/objc/framework/project/src/test.m')
-rw-r--r--xmake/templates/objc/framework/project/src/test.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake/templates/objc/framework/project/src/test.m b/xmake/templates/objc/framework/project/src/test.m
new file mode 100644
index 000000000..84422f6a7
--- /dev/null
+++ b/xmake/templates/objc/framework/project/src/test.m
@@ -0,0 +1,6 @@
+#include "test.h"
+
+int add(int a, int b)
+{
+ return a + b;
+}