VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/BaseTools/get_vsvars.bat@ 58529

最後變更 在這個檔案從58529是 58464,由 vboxsync 提交於 9 年 前

EFI/Firmware: Export new files and directories.

  • 屬性 svn:eol-style 設為 CRLF
檔案大小: 1.8 KB
 
1@REM @file
2@REM Windows batch file to find the Visual Studio set up script
3@REM
4@REM Copyright (c) 2013-2014, ARM Limited. All rights reserved.
5
6@REM This program and the accompanying materials
7@REM are licensed and made available under the terms and conditions of the BSD License
8@REM which accompanies this distribution. The full text of the license may be found at
9@REM http://opensource.org/licenses/bsd-license.php
10@REM
11@REM THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12@REM WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13@REM
14
15
16@echo off
17goto :main
18
19:read_vsvars
20@rem Do nothing if already found, otherwise call vsvars32.bat if there
21if defined VCINSTALLDIR goto :EOF
22 set GET_VSVARS_BAT_CHECK_DIR=%*
23 set GET_VSVARS_BAT_CHECK_DIR=%GET_VSVARS_BAT_CHECK_DIR:"=%
24 if exist "%GET_VSVARS_BAT_CHECK_DIR%\vsvars32.bat" call "%GET_VSVARS_BAT_CHECK_DIR%\vsvars32.bat"
25:vsvars_done
26goto :EOF
27
28
29REM NOTE: This file will find the most recent Visual Studio installation
30REM apparent from the environment.
31REM To use an older version, modify your environment set up.
32REM (Or invoke the relevant vsvars32 file beforehand).
33
34:main
35if defined VCINSTALLDIR goto :done
36 if defined VS140COMNTOOLS call :read_vsvars "%VS140COMNTOOLS%"
37 if defined VS130COMNTOOLS call :read_vsvars "%VS130COMNTOOLS%"
38 if defined VS120COMNTOOLS call :read_vsvars "%VS120COMNTOOLS%"
39 if defined VS110COMNTOOLS call :read_vsvars "%VS110COMNTOOLS%"
40 if defined VS100COMNTOOLS call :read_vsvars "%VS100COMNTOOLS%"
41 if defined VS90COMNTOOLS call :read_vsvars "%VS90COMNTOOLS%"
42 if defined VS80COMNTOOLS call :read_vsvars "%VS80COMNTOOLS%"
43 if defined VS71COMNTOOLS call :read_vsvars "%VS71COMNTOOLS%"
44
45:done
46set GET_VSVARS_BAT_CHECK_DIR=
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette