diff options
| author | ruki <waruqi@gmail.com> | 2019-08-27 00:37:08 +0800 |
|---|---|---|
| committer | ruki <waruqi@gmail.com> | 2019-08-26 21:42:49 +0800 |
| commit | 08d6af8a0f9400b3a0de119728112a45a2ae6a48 (patch) | |
| tree | 268cc187804c0d9adacb164831d409ca9a1ce571 | |
| parent | 9ae103261e4e4f962a4c54f8c23a9294094ebebd (diff) | |
| download | xmake-docs-08d6af8a0f9400b3a0de119728112a45a2ae6a48.tar.gz xmake-docs-08d6af8a0f9400b3a0de119728112a45a2ae6a48.zip | |
update vsxmake docs
| -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" ```  |
