File: vsenv64.bat

package info (click to toggle)
c-munipack 2.1.39-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 55,888 kB
  • sloc: ansic: 200,762; cpp: 106,129; lex: 9,035; yacc: 4,916; sh: 4,074; fortran: 2,613; xml: 2,105; python: 1,182; makefile: 546; perl: 104
file content (20 lines) | stat: -rwxr-xr-x 847 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@echo off
REM --------------------------------------------------------------------------------------------------
REM	This script finds the Visual Studio and runs the `VsDevCmd.bat` batch to set up 
REM build environment for building the 64-bit code.
REM --------------------------------------------------------------------------------------------------

rem
rem Uncomment setting VSCMD_DEBUG to enable debugging to output
rem
rem set VSCMD_DEBUG=3

rem
rem   Determine path to VsDevCmd.bat
rem
for /f "usebackq delims=#" %%a in (`"%programfiles(x86)%\Microsoft Visual Studio\Installer\vswhere" -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do set VsDevCmd_Path=%%a\Common7\Tools\VsDevCmd.bat

"%VsDevCmd_Path%" -arch=amd64

rem set VSCMD_DEBUG=
set VsDevCmd_Path=