diff options
author | Gaurav Khanna (CLR) <gaurav.khanna@microsoft.com> | 2016-02-03 15:26:04 -0800 |
---|---|---|
committer | Gaurav Khanna (CLR) <gaurav.khanna@microsoft.com> | 2016-02-03 15:29:17 -0800 |
commit | 10b1866801537e6bd51fb08feb4b786a54c48254 (patch) | |
tree | 6423aa6988e80e702cde24ec224423711338f876 /build.cmd | |
parent | 178775c78e877ce128cd6bef62a716141424ac32 (diff) | |
download | coreclr-10b1866801537e6bd51fb08feb4b786a54c48254.tar.gz coreclr-10b1866801537e6bd51fb08feb4b786a54c48254.tar.bz2 coreclr-10b1866801537e6bd51fb08feb4b786a54c48254.zip |
Initial support for CFG. This makes VS 2015 as the minimum required build toolset, on Windows, for the repo.
Diffstat (limited to 'build.cmd')
-rw-r--r-- | build.cmd | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -29,7 +29,6 @@ set __BuildOS=Windows_NT :: Default to highest Visual Studio version available set __VSVersion=vs2015 -if defined VS120COMNTOOLS set __VSVersion=vs2013 if defined VS140COMNTOOLS set __VSVersion=vs2015 :: Define a prefix for most output progress messages that come from this script. That makes @@ -218,7 +217,6 @@ for /f "delims=" %%a in ('powershell -NoProfile -ExecutionPolicy RemoteSigned "& :CheckVS set __VSProductVersion= -if /i "%__VSVersion%" == "vs2013" set __VSProductVersion=120 if /i "%__VSVersion%" == "vs2015" set __VSProductVersion=140 :: Check presence of VS @@ -232,11 +230,6 @@ if not exist "%__VSToolsRoot%\..\IDE\devenv.exe" goto NoVS if not exist "%__VSToolsRoot%\..\..\VC\vcvarsall.bat" goto NoVS if not exist "%__VSToolsRoot%\VsDevCmd.bat" goto NoVS -if /i "%__VSVersion%" =="vs2015" goto MSBuild14 -set _msbuildexe="%ProgramFiles(x86)%\MSBuild\12.0\Bin\MSBuild.exe" -if not exist %_msbuildexe% set _msbuildexe="%ProgramFiles%\MSBuild\12.0\Bin\MSBuild.exe" -if not exist %_msbuildexe% set _msbuildexe="%ProgramFiles(x86)%\MSBuild\14.0\Bin\MSBuild.exe" -goto :CheckMSBuild14 :MSBuild14 set _msbuildexe="%ProgramFiles(x86)%\MSBuild\14.0\Bin\MSBuild.exe" set UseRoslynCompiler=true @@ -608,8 +601,7 @@ echo. echo./? -? /h -h /help -help: view this message. echo Build architecture: one of x64, x86, arm, arm64 ^(default: x64^). echo Build type: one of Debug, Checked, Release ^(default: Debug^). -echo Visual Studio version: one of VS2013 or VS2015 to force using a particular -echo Visual Studio version ^(default: VS2015^). +echo Visual Studio version: ^(default: VS2015^). echo clean: force a clean build ^(default is to perform an incremental build^). echo docrossgen: do a crossgen build of mscorlib. echo msbuildargs ... : all arguments following this tag will be passed directly to msbuild. @@ -641,7 +633,7 @@ echo -- builds x64 and x86 architectures, Checked and Release build types exit /b 1 :NoVS -echo Visual Studio 2013+ ^(Community is free^) is a prerequisite to build this repository. +echo Visual Studio 2015+ ^(Community is free^) is a prerequisite to build this repository. echo See: https://github.com/dotnet/coreclr/blob/master/Documentation/project-docs/developer-guide.md#prerequisites exit /b 1 |