File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11image :
2- - Visual Studio 2017
2+ - Visual Studio 2019
33
44version : " {build}"
55
Original file line number Diff line number Diff line change @@ -27,6 +27,6 @@ Currently only 64-bit (x64) is targeted.
2727 git clone --recursive https://github.com/XhmikosR/jpegoptim-windows.git
2828 ```
2929
30- 2 . Download and install [ Visual Studio 2017 ] ( https://visualstudio.microsoft.com/downloads/ ) (any edition)
30+ 2 . Download and install [ Visual Studio 2019 ] ( https://visualstudio.microsoft.com/downloads/ ) (any edition)
31313 . Download [ nasm] ( https://www.nasm.us/ ) and place ` nasm.exe ` somewhere into your ` PATH `
32324 . Open ` jpegoptim.sln ` and build
Original file line number Diff line number Diff line change 44cd /d %~dp0
55
66rem add MSVC in PATH
7- call " %ProgramFiles(x86)% \Microsoft Visual Studio\2017 \Community\Common7\Tools\VsMSBuildCmd.bat"
7+ call " %ProgramFiles(x86)% \Microsoft Visual Studio\2019 \Community\Common7\Tools\VsMSBuildCmd.bat"
88
99set " MSBUILD_SWITCHES = /nologo /consoleloggerparameters:Verbosity=minimal /maxcpucount /nodeReuse:true"
1010
Original file line number Diff line number Diff line change 1515 <Keyword >Win32Proj</Keyword >
1616 <Platform >x64</Platform >
1717 <ProjectName >jpegoptim</ProjectName >
18- <WindowsTargetPlatformVersion >10.0.17763.0 </WindowsTargetPlatformVersion >
18+ <WindowsTargetPlatformVersion >10.0</WindowsTargetPlatformVersion >
1919 </PropertyGroup >
2020 <Import Project =" $(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2121 <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|x64'" Label =" Configuration" >
2222 <CharacterSet >Unicode</CharacterSet >
2323 <ConfigurationType >Application</ConfigurationType >
24- <PlatformToolset >v141 </PlatformToolset >
24+ <PlatformToolset >v142 </PlatformToolset >
2525 <UseOfMfc >false</UseOfMfc >
2626 </PropertyGroup >
2727 <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|x64'" Label =" Configuration" >
2828 <CharacterSet >Unicode</CharacterSet >
2929 <ConfigurationType >Application</ConfigurationType >
30- <PlatformToolset >v141 </PlatformToolset >
30+ <PlatformToolset >v142 </PlatformToolset >
3131 <UseOfMfc >false</UseOfMfc >
3232 <WholeProgramOptimization >true</WholeProgramOptimization >
3333 </PropertyGroup >
Original file line number Diff line number Diff line change 1515 <Keyword >Win32Proj</Keyword >
1616 <Platform >x64</Platform >
1717 <ProjectName >mozjpeg</ProjectName >
18- <WindowsTargetPlatformVersion >10.0.17763.0 </WindowsTargetPlatformVersion >
18+ <WindowsTargetPlatformVersion >10.0</WindowsTargetPlatformVersion >
1919 </PropertyGroup >
2020 <Import Project =" $(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2121 <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|x64'" Label =" Configuration" >
2222 <CharacterSet >Unicode</CharacterSet >
2323 <ConfigurationType >StaticLibrary</ConfigurationType >
24- <PlatformToolset >v141 </PlatformToolset >
24+ <PlatformToolset >v142 </PlatformToolset >
2525 <UseOfMfc >false</UseOfMfc >
2626 </PropertyGroup >
2727 <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|x64'" Label =" Configuration" >
2828 <CharacterSet >Unicode</CharacterSet >
2929 <ConfigurationType >StaticLibrary</ConfigurationType >
30- <PlatformToolset >v141 </PlatformToolset >
30+ <PlatformToolset >v142 </PlatformToolset >
3131 <UseOfMfc >false</UseOfMfc >
3232 <WholeProgramOptimization >true</WholeProgramOptimization >
3333 </PropertyGroup >
You can’t perform that action at this time.
0 commit comments