From d4e04fc0d3b43d27d996a9f78a2a9cb6c91e9191 Mon Sep 17 00:00:00 2001 From: feos Date: Tue, 11 Jan 2022 14:15:27 +0300 Subject: [PATCH] fix qt build script to work locally /d is needed in case you have things on different drives vs2019 is selected in case you have vs2022 --- pipelines/qwin64_build.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipelines/qwin64_build.bat b/pipelines/qwin64_build.bat index ea7bd697..37f9cf04 100644 --- a/pipelines/qwin64_build.bat +++ b/pipelines/qwin64_build.bat @@ -6,7 +6,7 @@ call "C:\Qt\5.15\msvc2019_64\bin\qtenv2.bat" REM call "C:\Qt\6.0\msvc2019_64\bin\qtenv2.bat" call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat" -cd %CWD% +cd /d %CWD% where cmake where nmake @@ -39,7 +39,7 @@ set FFMPEG_INSTALL_PREFIX=%CD% REM cmake -h REM cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DSDL_INSTALL_PREFIX=%SDL_INSTALL_PREFIX% .. -cmake -DQT6=0 -DSDL_INSTALL_PREFIX=%SDL_INSTALL_PREFIX% -DUSE_LIBAV=1 -DFFMPEG_INSTALL_PREFIX=%FFMPEG_INSTALL_PREFIX% .. +cmake -DQT6=0 -DSDL_INSTALL_PREFIX=%SDL_INSTALL_PREFIX% -DUSE_LIBAV=1 -DFFMPEG_INSTALL_PREFIX=%FFMPEG_INSTALL_PREFIX% -G"Visual Studio 16" -T"v142" .. REM nmake msbuild /m fceux.sln /p:Configuration=Release