summaryrefslogtreecommitdiff
path: root/xmake/templates/c++/static/src/foo.cpp
diff options
context:
space:
mode:
authorruki <[email protected]>2026-08-09 18:06:16 +0800
committerruki <[email protected]>2026-08-09 18:06:16 +0800
commit5f5daf64c504e1103a355f45bf925a5149b03e24 (patch)
treeaf4d584b3c7badc1df56038cdb29099b4f3e99fd /xmake/templates/c++/static/src/foo.cpp
parent6ac4ea833193a4319a1eb6e5f588d1877fd48064 (diff)
move templates dir
Diffstat (limited to 'xmake/templates/c++/static/src/foo.cpp')
-rw-r--r--xmake/templates/c++/static/src/foo.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/templates/c++/static/src/foo.cpp b/xmake/templates/c++/static/src/foo.cpp
new file mode 100644
index 000000000..1a1fb3425
--- /dev/null
+++ b/xmake/templates/c++/static/src/foo.cpp
@@ -0,0 +1,5 @@
+#include "foo.h"
+
+int add(int a, int b) {
+ return a + b;
+}