ruki пре 4 година
родитељ
комит
44d0652c9d
2 измењених фајлова са 12 додато и 0 уклоњено
  1. 6 0
      README.md
  2. 6 0
      zh-cn/README.md

+ 6 - 0
README.md

@@ -238,6 +238,12 @@ $ xrepo env shell
 > luajit --version
 ```
 
+We can also configure and load the corresponding toolchain environment in xmake.lua, for example, load the VS compilation environment.
+
+```lua
+set_toolchains("msvc")
+```
+
 ### Show the given package information
 
 ```console

+ 6 - 0
zh-cn/README.md

@@ -239,6 +239,12 @@ $ xrepo env shell
 > luajit --version
 ```
 
+我们也可以在 xmake.lua 配置加载对应的工具链环境,比如加载 vs 的编译环境。
+
+```lua
+set_toolchains("msvc")
+```
+
 ### 查看包信息
 
 ```console