File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Currently only 64-bit (x64) is targeted.
88## Notes
99
1010* Multithreaded; no need for the MSVC Runtime to be installed separately
11- * Built with [ LTCG] ( https://docs.microsoft.com/en-us/cpp/build/reference/ltcg-link-time-code-generation?view=vs-2019 )
11+ * Built with [ LTCG] ( https://docs.microsoft.com/en-us/cpp/build/reference/ltcg-link-time-code-generation?view=msvc-170 )
1212* Runs on Windows Vista and newer
1313
1414## Build Instructions
@@ -26,7 +26,7 @@ Currently only 64-bit (x64) is targeted.
2626 git submodule update --recursive
2727 ```
2828
29- 2 . Download and install [ Visual Studio 2019 ] ( https://visualstudio.microsoft.com/downloads/ ) (any edition)
29+ 2 . Download and install [ Visual Studio 2022 ] ( https://visualstudio.microsoft.com/downloads/ ) (any edition)
30303 . Download [ nasm] ( https://www.nasm.us/ ) and place ` nasm.exe ` somewhere into your ` PATH `
31314 . Open ` jpegoptim.sln ` and build, or run ` build.bat `
3232
Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ cd /d %~dp0
55
66rem add MSVC in PATH
77call :SubVSPath
8- if not exist " %VS_PATH% " echo ERROR: Visual Studio 2019 NOT FOUND! & goto end
8+ if not exist " %VS_PATH% " echo ERROR: Visual Studio NOT FOUND! & goto end
99
10- call " %VS_PATH% \Common7\Tools\vsdevcmd " -arch=amd64
10+ call " %VS_PATH% \Common7\Tools\VsDevCmd.bat " -arch=amd64
1111
1212set " MSBUILD_SWITCHES = /nologo /consoleloggerparameters:Verbosity=minimal /maxcpucount /nodeReuse:true"
1313
Original file line number Diff line number Diff line change 2121 <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|x64'" Label =" Configuration" >
2222 <CharacterSet >Unicode</CharacterSet >
2323 <ConfigurationType >Application</ConfigurationType >
24- <PlatformToolset >v142 </PlatformToolset >
24+ <PlatformToolset >v143 </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 >v142 </PlatformToolset >
30+ <PlatformToolset >v143 </PlatformToolset >
3131 <UseOfMfc >false</UseOfMfc >
3232 <WholeProgramOptimization >true</WholeProgramOptimization >
3333 </PropertyGroup >
Original file line number Diff line number Diff line change 2121 <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|x64'" Label =" Configuration" >
2222 <CharacterSet >Unicode</CharacterSet >
2323 <ConfigurationType >StaticLibrary</ConfigurationType >
24- <PlatformToolset >v142 </PlatformToolset >
24+ <PlatformToolset >v143 </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 >v142 </PlatformToolset >
30+ <PlatformToolset >v143 </PlatformToolset >
3131 <UseOfMfc >false</UseOfMfc >
3232 <WholeProgramOptimization >true</WholeProgramOptimization >
3333 </PropertyGroup >
You can’t perform that action at this time.
0 commit comments