Skip to content

Commit

Permalink
Update for VS2022
Browse files Browse the repository at this point in the history
  • Loading branch information
cannam committed Oct 25, 2024
1 parent 7d32166 commit 4febe52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions otherbuilds/deploy/win.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set STARTPWD=%CD%
set ORIGINALPATH=%PATH%
set PATH=C:\Program Files (x86)\Windows Kits\10\bin\x64;%PATH%

set vcvarsall="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat"
set vcvarsall="C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat"

if not exist %vcvarsall% (
@ echo "Could not find MSVC vars batch file"
Expand All @@ -26,7 +26,7 @@ if errorlevel 1 exit /b %errorlevel%

del /q /s build

meson build --buildtype release "-Dextra_include_dirs=C:\Program Files\libsndfile\include" "-Dextra_lib_dirs=C:\Program Files\libsndfile\lib" "-Db_vscrt=mt"
meson setup build --buildtype release "-Dextra_include_dirs=C:\Program Files\libsndfile\include" "-Dextra_lib_dirs=C:\Program Files\libsndfile\lib" "-Db_vscrt=mt"
if errorlevel 1 exit /b %errorlevel%

ninja -C build
Expand Down

0 comments on commit 4febe52

Please sign in to comment.