mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-01 09:24:55 +02:00
When not defined, default VS150COMNTOOLS to C:\Program Files (#1787)
(x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\ See https://developercommunity.visualstudio.com/content/problem/13223/no-environmental-variable-vscomntools150.html
This commit is contained in:
parent
128c5c57eb
commit
62af826c88
@ -40,6 +40,9 @@ rem VS_VERSION {90 | 100 | 110 | 120 | 140 | 150}
|
||||
if "%1"=="" goto usage
|
||||
set VS_VERSION=vs%1
|
||||
if %VS_VERSION%==vs150 (
|
||||
if "%VS150COMNTOOLS%"=="" (
|
||||
set VS150COMNTOOLS=C:\Program Files ^(x86^)\Microsoft Visual Studio\2017\Community\Common7\Tools\
|
||||
)
|
||||
set VS_VARSALL=..\..\VC\Auxiliary\Build\vcvarsall.bat
|
||||
) else (
|
||||
set VS_VARSALL=..\..\VC\vcvarsall.bat
|
||||
|
Loading…
x
Reference in New Issue
Block a user