mirror of
https://github.com/facebook/zstd.git
synced 2025-07-30 22:23:13 +03:00
Visual Studio 2017 build scripts
This commit is contained in:
@ -128,8 +128,8 @@ A Meson project is provided within `contrib/meson`.
|
|||||||
|
|
||||||
Going into `build` directory, you will find additional possibilities:
|
Going into `build` directory, you will find additional possibilities:
|
||||||
- Projects for Visual Studio 2005, 2008 and 2010.
|
- Projects for Visual Studio 2005, 2008 and 2010.
|
||||||
+ VS2010 project is compatible with VS2012, VS2013 and VS2015.
|
+ VS2010 project is compatible with VS2012, VS2013, VS2015 and VS2017.
|
||||||
- Automated build scripts for Visual compiler by @KrzysFR , in `build/VS_scripts`,
|
- Automated build scripts for Visual compiler by [@KrzysFR](https://github.com/KrzysFR) and [@HaydnTrigg](https://github.com/HaydnTrigg) , in `build/VS_scripts`,
|
||||||
which will build `zstd` cli and `libzstd` library without any need to open Visual Studio solution.
|
which will build `zstd` cli and `libzstd` library without any need to open Visual Studio solution.
|
||||||
|
|
||||||
|
|
||||||
|
7
build/VS_scripts/build.VS2017Community.cmd
Normal file
7
build/VS_scripts/build.VS2017Community.cmd
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
@echo off
|
||||||
|
|
||||||
|
rem build 32-bit
|
||||||
|
call "%~p0%build.generic.cmd" VS2017Community Win32 Release v141
|
||||||
|
|
||||||
|
rem build 64-bit
|
||||||
|
call "%~p0%build.generic.cmd" VS2017Community x64 Release v141
|
7
build/VS_scripts/build.VS2017Enterprise.cmd
Normal file
7
build/VS_scripts/build.VS2017Enterprise.cmd
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
@echo off
|
||||||
|
|
||||||
|
rem build 32-bit
|
||||||
|
call "%~p0%build.generic.cmd" VS2017Enterprise Win32 Release v141
|
||||||
|
|
||||||
|
rem build 64-bit
|
||||||
|
call "%~p0%build.generic.cmd" VS2017Enterprise x64 Release v141
|
7
build/VS_scripts/build.VS2017Professional.cmd
Normal file
7
build/VS_scripts/build.VS2017Professional.cmd
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
@echo off
|
||||||
|
|
||||||
|
rem build 32-bit
|
||||||
|
call "%~p0%build.generic.cmd" VS2017Professional Win32 Release v141
|
||||||
|
|
||||||
|
rem build 64-bit
|
||||||
|
call "%~p0%build.generic.cmd" VS2017Professional x64 Release v141
|
@ -31,7 +31,9 @@ EXIT /B 1
|
|||||||
SET msbuild="%windir%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
|
SET msbuild="%windir%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
|
||||||
IF %msbuild_version% == VS2013 SET msbuild="%programfiles(x86)%\MSBuild\12.0\Bin\MSBuild.exe"
|
IF %msbuild_version% == VS2013 SET msbuild="%programfiles(x86)%\MSBuild\12.0\Bin\MSBuild.exe"
|
||||||
IF %msbuild_version% == VS2015 SET msbuild="%programfiles(x86)%\MSBuild\14.0\Bin\MSBuild.exe"
|
IF %msbuild_version% == VS2015 SET msbuild="%programfiles(x86)%\MSBuild\14.0\Bin\MSBuild.exe"
|
||||||
rem TODO: Visual Studio "15" (vNext) will use MSBuild 15.0 ?
|
IF %msbuild_version% == VS2017Community SET msbuild="%programfiles(x86)%\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe"
|
||||||
|
IF %msbuild_version% == VS2017Professional SET msbuild="%programfiles(x86)%\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\MSBuild.exe"
|
||||||
|
IF %msbuild_version% == VS2017Enterprise SET msbuild="%programfiles(x86)%\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\MSBuild.exe"
|
||||||
|
|
||||||
SET project="%~p0\..\VS2010\zstd.sln"
|
SET project="%~p0\..\VS2010\zstd.sln"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user