summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/scripts/xrepo/envs/depot_tools.lua1
-rw-r--r--xmake/scripts/xrepo/envs/devel.lua7
2 files changed, 8 insertions, 0 deletions
diff --git a/xmake/scripts/xrepo/envs/depot_tools.lua b/xmake/scripts/xrepo/envs/depot_tools.lua
new file mode 100644
index 000000000..af61596f3
--- /dev/null
+++ b/xmake/scripts/xrepo/envs/depot_tools.lua
@@ -0,0 +1 @@
+add_requires("depot_tools")
diff --git a/xmake/scripts/xrepo/envs/devel.lua b/xmake/scripts/xrepo/envs/devel.lua
new file mode 100644
index 000000000..6fe3daedf
--- /dev/null
+++ b/xmake/scripts/xrepo/envs/devel.lua
@@ -0,0 +1,7 @@
+add_requires("cmake")
+add_requires("python")
+if is_host("linux", "bsd", "macosx") then
+ add_requires("pkg-config", "autoconf", "automake", "libtool")
+elseif is_host("windows") then
+ set_toolchains("msvc")
+end