diff options
| author | ruki <[email protected]> | 2026-02-28 21:55:13 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-02-28 21:55:13 +0800 |
| commit | 5280c9480cb0d7d3ab55d516e296152ec273e14a (patch) | |
| tree | af041546121010fdad5639c231ad2b2a4900aa12 /xmake/templates/c++/module.binary/project/modules | |
| parent | 71e10b70334401d46c47f574c8f46fcd20ccf818 (diff) | |
rewrite templates
Diffstat (limited to 'xmake/templates/c++/module.binary/project/modules')
4 files changed, 0 insertions, 36 deletions
diff --git a/xmake/templates/c++/module.binary/project/modules/binary/bar/.gitignore b/xmake/templates/c++/module.binary/project/modules/binary/bar/.gitignore deleted file mode 100644 index 152105761..000000000 --- a/xmake/templates/c++/module.binary/project/modules/binary/bar/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -# Xmake cache -.xmake/ -build/ - -# MacOS Cache -.DS_Store - - diff --git a/xmake/templates/c++/module.binary/project/modules/binary/bar/src/add.cpp b/xmake/templates/c++/module.binary/project/modules/binary/bar/src/add.cpp deleted file mode 100644 index 93fdf0ad8..000000000 --- a/xmake/templates/c++/module.binary/project/modules/binary/bar/src/add.cpp +++ /dev/null @@ -1,9 +0,0 @@ -#include <stdio.h> -#include <stdlib.h> - -int main(int argc, char **argv) { - int a = atoi(argv[1]); - int b = atoi(argv[2]); - printf("%d", a + b); - return 0; -} diff --git a/xmake/templates/c++/module.binary/project/modules/binary/bar/src/sub.cpp b/xmake/templates/c++/module.binary/project/modules/binary/bar/src/sub.cpp deleted file mode 100644 index ae7b6d1f2..000000000 --- a/xmake/templates/c++/module.binary/project/modules/binary/bar/src/sub.cpp +++ /dev/null @@ -1,9 +0,0 @@ -#include <stdio.h> -#include <stdlib.h> - -int main(int argc, char **argv) { - int a = atoi(argv[1]); - int b = atoi(argv[2]); - printf("%d", a - b); - return 0; -} diff --git a/xmake/templates/c++/module.binary/project/modules/binary/bar/xmake.lua b/xmake/templates/c++/module.binary/project/modules/binary/bar/xmake.lua deleted file mode 100644 index add3c6e97..000000000 --- a/xmake/templates/c++/module.binary/project/modules/binary/bar/xmake.lua +++ /dev/null @@ -1,10 +0,0 @@ -add_rules("mode.debug", "mode.release") - -target("add") - add_rules("module.binary") - add_files("src/add.cpp") - -target("sub") - add_rules("module.binary") - add_files("src/sub.cpp") - |
