2016-08-17 21:22:52 +03:00
|
|
|
@echo off
|
2016-08-23 00:52:15 +03:00
|
|
|
|
|
|
|
SET VS_VCVARS=%VS140COMNTOOLS%..\..\VC\vcvarsall.bat
|
|
|
|
IF EXIST "%VS_VCVARS%" (
|
2017-02-03 20:59:11 +03:00
|
|
|
IF NOT DEFINED Platform (
|
2016-08-23 00:52:15 +03:00
|
|
|
IF EXIST "%ProgramFiles(x86)%" (
|
|
|
|
call "%VS_VCVARS%" x64
|
|
|
|
) ELSE (
|
|
|
|
ECHO 32-bit Windows is currently unsupported.
|
|
|
|
EXIT /B
|
|
|
|
)
|
|
|
|
)
|
|
|
|
) ELSE (
|
|
|
|
ECHO Visual Studio 2015 is not installed.
|
|
|
|
ECHO Download and install Visual Studio 2015 from https://www.visualstudio.com/
|
|
|
|
EXIT /B
|
|
|
|
)
|
|
|
|
|
2016-08-17 21:22:52 +03:00
|
|
|
python mach %*
|