summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-08-25 23:27:19 +0800
committerruki <[email protected]>2022-08-25 23:27:19 +0800
commite16681a87ed9742ad2b9e04370be5b26d089f11c (patch)
treeed8e56695d679b2e0125cc152cd20965670920c1
parentcc7bc4a299aafdddd04eef549c884debc6bfc7f6 (diff)
add new gcc/clang toolchains
-rw-r--r--xmake/toolchains/clang-15/xmake.lua3
-rw-r--r--xmake/toolchains/gcc-12/xmake.lua3
-rw-r--r--xmake/toolchains/gcc-13/xmake.lua3
3 files changed, 9 insertions, 0 deletions
diff --git a/xmake/toolchains/clang-15/xmake.lua b/xmake/toolchains/clang-15/xmake.lua
new file mode 100644
index 000000000..b97fcc150
--- /dev/null
+++ b/xmake/toolchains/clang-15/xmake.lua
@@ -0,0 +1,3 @@
+includes(path.join(os.scriptdir(), "../clang/xmake.lua"))
+
+toolchain_clang("15")
diff --git a/xmake/toolchains/gcc-12/xmake.lua b/xmake/toolchains/gcc-12/xmake.lua
new file mode 100644
index 000000000..073a1d64a
--- /dev/null
+++ b/xmake/toolchains/gcc-12/xmake.lua
@@ -0,0 +1,3 @@
+includes(path.join(os.scriptdir(), "../gcc/xmake.lua"))
+
+toolchain_gcc("12")
diff --git a/xmake/toolchains/gcc-13/xmake.lua b/xmake/toolchains/gcc-13/xmake.lua
new file mode 100644
index 000000000..dd2fe8c0a
--- /dev/null
+++ b/xmake/toolchains/gcc-13/xmake.lua
@@ -0,0 +1,3 @@
+includes(path.join(os.scriptdir(), "../gcc/xmake.lua"))
+
+toolchain_gcc("13")