summaryrefslogtreecommitdiff
path: root/xmake/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2022-02-20 21:30:26 +0800
committerruki <[email protected]>2022-02-20 21:30:26 +0800
commitfb0bc7afac5aec7f3f42c0ad72abbe6b7cc6ac6f (patch)
treeb5902db1e7e9c3240c79090fe21f56370c39d8e3 /xmake/scripts
parent1adac6da5c51607e020c8ea26c96e77cca88a909 (diff)
add builtin xrepo/envs
Diffstat (limited to 'xmake/scripts')
-rw-r--r--xmake/scripts/xrepo/envs/llvm-mingw.lua1
-rw-r--r--xmake/scripts/xrepo/envs/llvm.lua1
-rw-r--r--xmake/scripts/xrepo/envs/mingw-w64.lua1
-rw-r--r--xmake/scripts/xrepo/envs/msvc.lua3
-rw-r--r--xmake/scripts/xrepo/envs/python2.lua1
-rw-r--r--xmake/scripts/xrepo/envs/python3.lua1
6 files changed, 8 insertions, 0 deletions
diff --git a/xmake/scripts/xrepo/envs/llvm-mingw.lua b/xmake/scripts/xrepo/envs/llvm-mingw.lua
new file mode 100644
index 000000000..6ee80a382
--- /dev/null
+++ b/xmake/scripts/xrepo/envs/llvm-mingw.lua
@@ -0,0 +1 @@
+add_requires("llvm-mingw")
diff --git a/xmake/scripts/xrepo/envs/llvm.lua b/xmake/scripts/xrepo/envs/llvm.lua
new file mode 100644
index 000000000..73201e4d9
--- /dev/null
+++ b/xmake/scripts/xrepo/envs/llvm.lua
@@ -0,0 +1 @@
+add_requires("llvm")
diff --git a/xmake/scripts/xrepo/envs/mingw-w64.lua b/xmake/scripts/xrepo/envs/mingw-w64.lua
new file mode 100644
index 000000000..6ee80a382
--- /dev/null
+++ b/xmake/scripts/xrepo/envs/mingw-w64.lua
@@ -0,0 +1 @@
+add_requires("llvm-mingw")
diff --git a/xmake/scripts/xrepo/envs/msvc.lua b/xmake/scripts/xrepo/envs/msvc.lua
new file mode 100644
index 000000000..f3f893841
--- /dev/null
+++ b/xmake/scripts/xrepo/envs/msvc.lua
@@ -0,0 +1,3 @@
+if is_host("windows") then
+ set_toolchains("msvc")
+end
diff --git a/xmake/scripts/xrepo/envs/python2.lua b/xmake/scripts/xrepo/envs/python2.lua
new file mode 100644
index 000000000..d338ef356
--- /dev/null
+++ b/xmake/scripts/xrepo/envs/python2.lua
@@ -0,0 +1 @@
+add_requires("python 2.x")
diff --git a/xmake/scripts/xrepo/envs/python3.lua b/xmake/scripts/xrepo/envs/python3.lua
new file mode 100644
index 000000000..63cc2e643
--- /dev/null
+++ b/xmake/scripts/xrepo/envs/python3.lua
@@ -0,0 +1 @@
+add_requires("python 3.x")