servo/mach.bat
author Daosheng Mu <daoshengmu@gmail.com>
Wed, 22 Feb 2017 12:13:30 +0800
changeset 390772 004930dad76110abb1fe9536ea9d0c840f5c39b2
parent 388045 2eb307670a4fcc2cb6d003fcb7dd762b1e1e7fcd
child 400595 de39420cc624efdc9bfd620626211569d912ce2d
permissions -rw-r--r--
Bug 1341516 - Fix Oculus Touch ID and poseState; r=kip MozReview-Commit-ID: 9FoLcQmgxjg

@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 %*