summaryrefslogtreecommitdiff
path: root/xmake/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2022-02-20 21:46:16 +0800
committerruki <[email protected]>2022-02-20 21:46:16 +0800
commit9a9ce54e83ad8cb966cc368a38d178de4d791cac (patch)
treec3b8f7b2410b3106b2c278b68ccfcd1b70142ea6 /xmake/scripts
parent17f7193778201914d1778d39ea5d7dbb3eebe967 (diff)
add devel env
Diffstat (limited to 'xmake/scripts')
-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