blob: 43240885a7ab44dcebe18dc851be156c343a2db0 [file] [log] [blame]
:: Copyright (c) 2011 The Native Client Authors. All rights reserved.
:: Use of this source code is governed by a BSD-style license that can be
:: found in the LICENSE file.
echo on
set GYP_MSVS_VERSION=2008
:: Adding in both the 32-bit on 64-bit program files install location for both
:: MSVS2008 and MSVS2005 including the team tools.
set MSVS8=c:\Program Files\Microsoft Visual Studio 8.0
set MSVS8_X86=c:\Program Files (x86)\Microsoft Visual Studio 8.0
set MSVS9=c:\Program Files\Microsoft Visual Studio 9.0
set MSVS9_X86=c:\Program Files (x86)\Microsoft Visual Studio 9.0
if [%1] equ [32] goto :Set32
set VS90COMNTOOLS=%MSVS9_X86%\Common7\Tools\
set VS80COMNTOOLS=%MSVS8_X86%\Common7\Tools\
goto :SetEnd
:Set32
set VS90COMNTOOLS=%MSVS9%\Common7\Tools\
set VS80COMNTOOLS=%MSVS8%\Common7\Tools\
:SetEnd
set SCONS_MSCOMMON_DEBUG=-
set PATH=%PATH%;%MSVS9%\VC
set PATH=%PATH%;%MSVS9_X86%\VC
set PATH=%PATH%;%MSVS9%\Common7\Tools
set PATH=%PATH%;%MSVS9_X86%\Common7\Tools
set PATH=%PATH%;%MSVS9%\Team Tools\Performance Tools
set PATH=%PATH%;%MSVS9_X86%\Team Tools\Performance Tools
set PATH=%PATH%;%MSVS8%\VC
set PATH=%PATH%;%MSVS8_X86%\VC
set PATH=%PATH%;%MSVS8%\Common7\Tools
set PATH=%PATH%;%MSVS8_X86%\Common7\Tools
set PATH=%PATH%;%MSVS8%\Team Tools\Performance Tools
set PATH=%PATH%;%MSVS8_X86%\Team Tools\Performance Tools