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
This commit is contained in:
parent
26386b8483
commit
d4e04fc0d3
pipelines
|
@ -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"
|
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"
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
|
||||||
|
|
||||||
cd %CWD%
|
cd /d %CWD%
|
||||||
|
|
||||||
where cmake
|
where cmake
|
||||||
where nmake
|
where nmake
|
||||||
|
@ -39,7 +39,7 @@ set FFMPEG_INSTALL_PREFIX=%CD%
|
||||||
|
|
||||||
REM cmake -h
|
REM cmake -h
|
||||||
REM cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DSDL_INSTALL_PREFIX=%SDL_INSTALL_PREFIX% ..
|
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
|
REM nmake
|
||||||
msbuild /m fceux.sln /p:Configuration=Release
|
msbuild /m fceux.sln /p:Configuration=Release
|
||||||
|
|
Loading…
Reference in New Issue