summaryrefslogtreecommitdiff
path: root/xmake/templates/c++/module.shared/project/src/main.cpp
diff options
context:
space:
mode:
authorruki <[email protected]>2024-04-03 22:54:03 +0800
committerruki <[email protected]>2024-04-03 22:54:03 +0800
commitbefc1ba876323c2df0030b9828bcdfad93b4a092 (patch)
tree8f981b8539dd5c6712afd88569bf41724b8deeda /xmake/templates/c++/module.shared/project/src/main.cpp
parentdb4196b069499e6fcf0d66c66a97665414c0011d (diff)
add module.shared template
Diffstat (limited to 'xmake/templates/c++/module.shared/project/src/main.cpp')
-rw-r--r--xmake/templates/c++/module.shared/project/src/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake/templates/c++/module.shared/project/src/main.cpp b/xmake/templates/c++/module.shared/project/src/main.cpp
new file mode 100644
index 000000000..7c775d288
--- /dev/null
+++ b/xmake/templates/c++/module.shared/project/src/main.cpp
@@ -0,0 +1,6 @@
+#include <iostream>
+
+int main(int argc, char** argv) {
+ std::cout << "hello world!" << std::endl;
+ return 0;
+}