Skip to content

Commit e486a10

Browse files
committed
Update to VS 2022
1 parent b726848 commit e486a10

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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)
3030
3. Download [nasm](https://www.nasm.us/) and place `nasm.exe` somewhere into your `PATH`
3131
4. Open `jpegoptim.sln` and build, or run `build.bat`
3232

build.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ cd /d %~dp0
55

66
rem add MSVC in PATH
77
call :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

1212
set "MSBUILD_SWITCHES=/nologo /consoleloggerparameters:Verbosity=minimal /maxcpucount /nodeReuse:true"
1313

jpegoptim.vcxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
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>

mozjpeg.vcxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
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>

0 commit comments

Comments
 (0)