summaryrefslogtreecommitdiff
path: root/xmake/templates/c++/module/shared/src/main.cpp
diff options
context:
space:
mode:
authorruki <[email protected]>2026-03-02 21:33:35 +0800
committerGitHub <[email protected]>2026-03-02 21:33:35 +0800
commit4662898e3eae02b84045bae6448c79758edbd5c9 (patch)
tree858e340fb0346cb7a62836ce3137c7ff05f1793f /xmake/templates/c++/module/shared/src/main.cpp
parent71e10b70334401d46c47f574c8f46fcd20ccf818 (diff)
parentadc44b2e92c94ff795071ac8ed0d08a0a29f36cf (diff)
Merge pull request #7360 from xmake-io/template
Supports custom templates
Diffstat (limited to 'xmake/templates/c++/module/shared/src/main.cpp')
-rw-r--r--xmake/templates/c++/module/shared/src/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake/templates/c++/module/shared/src/main.cpp b/xmake/templates/c++/module/shared/src/main.cpp
new file mode 100644
index 000000000..9b6abffea
--- /dev/null
+++ b/xmake/templates/c++/module/shared/src/main.cpp
@@ -0,0 +1,6 @@
+#include <iostream>
+
+int main(int argc, char **argv) {
+ std::cout << "hello world!" << std::endl;
+ return 0;
+}