From c0e9c494d9dd441627047d462a2c22e8c2beeb9f Mon Sep 17 00:00:00 2001 From: William Deegan Date: Tue, 21 Apr 2020 11:17:06 -0700 Subject: [ci skip] Update docs --- src/engine/SCons/Tool/msvc.xml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/src/engine/SCons/Tool/msvc.xml b/src/engine/SCons/Tool/msvc.xml index 48ce13f..bdde91b 100644 --- a/src/engine/SCons/Tool/msvc.xml +++ b/src/engine/SCons/Tool/msvc.xml @@ -482,7 +482,7 @@ Specify the location of vswhere.exe. -Propose: The vswhere command is distributed with Microsoft Visual Studio and Build + The vswhere command is distributed with Microsoft Visual Studio and Build Tools since the 2017 edition, but is also available standalone. It fully detects 2017 and later editions, but with the argument, can detect installations of the 2010 through 2015 editions with limited data returned. @@ -501,9 +501,19 @@ located. Note that &cv-VSWHERE; must be set at the same time or prior to the msvc tool being initialized. So either set it as follows -Environment(VSWHERE='c:/my/path/to/vswhere') or -if your Environment() is created specifying no tools tools=[] or with a list of tools not including msvs or msvc or mslink - such as Environment(Tools=[]) + + +env = Environment(VSWHERE='c:/my/path/to/vswhere') + + +or if your Environment() is created specifying no tools +tools=[] +or with a list of tools not including msvs or msvc or mslink such as + + env = Environment(Tools=[]) + env['VSWHERE'] = r'c:/my/vswhere/install/location/vswhere.exe' + env.Tool() + -- cgit v0.12