aboutsummaryrefslogtreecommitdiffstats
path: root/mach.bat
blob: 5c582605013d2025adefae77bc33d1238e95e76c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@echo off

SET VS_VCVARS=%VS140COMNTOOLS%..\..\VC\vcvarsall.bat
IF EXIST "%VS_VCVARS%" (
  IF NOT DEFINED Platform (
    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
)

python mach %*