diff options
| -rw-r--r-- | plugin/builtin_plugins.md | 8 | ||||
| -rw-r--r-- | zh-cn/plugin/builtin_plugins.md | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/plugin/builtin_plugins.md b/plugin/builtin_plugins.md index 93357330..9b842025 100644 --- a/plugin/builtin_plugins.md +++ b/plugin/builtin_plugins.md @@ -55,7 +55,13 @@ Therefore, in order to solve this problem, the new version of the vs. build plug The specific use is similar to the old version: ```console -$ xmake project -k [vsxmake2010|vsxmake2013|vsxmake2015|..] -m "debug,release" +$ xmake project -k [vsxmake2010|vsxmake2013|vsxmake2015|..] -m "debug;release" +``` + +If no version is specified, xmake will automatically detect the current version of vs to generate: + +```bash +$ xmake project -k vsxmake -m "debug;release" ```  diff --git a/zh-cn/plugin/builtin_plugins.md b/zh-cn/plugin/builtin_plugins.md index ee7a4fa3..412144c7 100644 --- a/zh-cn/plugin/builtin_plugins.md +++ b/zh-cn/plugin/builtin_plugins.md @@ -64,7 +64,13 @@ v2.2.8以上版本,提供了新版本的vs工程生成插件扩展,跟之前 具体使用方式跟老版本类似: ```console -$ xmake project -k [vsxmake2010|vsxmake2013|vsxmake2015|..] -m "debug,release" +$ xmake project -k [vsxmake2010|vsxmake2013|vsxmake2015|..] -m "debug;release" +``` + +如果没指明版本,那么xmake会自动探测当前已有的vs版本来生成: + +```bash +$ xmake project -k vsxmake -m "debug;release" ```  |
