aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2018-08-27 16:50:18 -0700
committerRobert Schumacher <roschuma@microsoft.com>2018-08-27 16:50:18 -0700
commit6b049c9d5acdcb33b734a0cde7c67262550463e9 (patch)
treeff3af93ed76baa415de00db305cf00680525a809 /docs
parent04ba5aa07bddb72056a5a04ed705f54bc515923f (diff)
downloadvcpkg-6b049c9d5acdcb33b734a0cde7c67262550463e9.tar.gz
vcpkg-6b049c9d5acdcb33b734a0cde7c67262550463e9.zip
[docs] Add documentation for VCPKG_VISUAL_STUDIO_PATH
Diffstat (limited to 'docs')
-rw-r--r--docs/users/triplets.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/users/triplets.md b/docs/users/triplets.md
index 70580df46..d547725ea 100644
--- a/docs/users/triplets.md
+++ b/docs/users/triplets.md
@@ -41,6 +41,16 @@ This can be set to `v141`, `v140`, or left blank. If left blank, we select the l
Visual Studio 2015 platform toolset is `v140`
Visual Studio 2017 platform toolset is `v141`
+### VCPKG_VISUAL_STUDIO_PATH
+Specifies the Visual Studio installation to use.
+
+When unspecified, a Visual Studio instance is selected automatically, preferring Stable 2017, then Preview 2017, then 2015.
+
+The path should be absolute, formatted with backslashes, and have no trailing slash:
+```cmake
+set(VCPKG_VISUAL_STUDIO_PATH "C:\\Program Files (x86)\\Microsoft Visual Studio\\Preview\\Community")
+```
+
### VCPKG_CHAINLOAD_TOOLCHAIN_FILE
Specifies an alternate CMake Toolchain file to use.