fixed and improved windows build vvc tools

This commit is contained in:
Martin Eesmaa
2022-04-22 20:44:48 +10:00
committed by GitHub
parent 17464f612c
commit db9995454a

View File

@ -46,16 +46,14 @@ cd vvenc
mkdir build && cd build mkdir build && cd build
cmake .. cmake ..
cmake --build . --config Release cmake --build . --config Release
cd .. cd ..\bin\release-static
cd bin/release-static
explorer . explorer .
cd ../../../ cd ../../../
cd vvdec cd vvdec
mkdir build && cd build mkdir build && cd build
cmake .. cmake ..
cmake --build . --config Release cmake --build . --config Release
cd .. cd ..\bin\release-static
cd bin/release-static
explorer . explorer .
cd ../../../../ cd ../../../../
goto successnow goto successnow
@ -69,7 +67,7 @@ echo Do you want delete source of VVENC and VVDEC files? Y/N?
echo. echo.
echo WARNING!!!: YOU HAVE TO COPY EXECUTABLE FILES BEFORE YOU DELETE SOURCE FILES echo WARNING!!!: YOU HAVE TO COPY EXECUTABLE FILES BEFORE YOU DELETE SOURCE FILES
echo BUG: The syntax of the command is incorrect for unknown error. echo BUG: The syntax of the command is incorrect for unknown error.
echo To see .EXE files, go to Windows/vvenc/bin/release-static echo To see .EXE files, go to Windows/vvenc/bin/release-static in Windows Explorer.
set /p installmain1234= Answer: set /p installmain1234= Answer:
if %installmain1234% == Y goto deletesourcefiles if %installmain1234% == Y goto deletesourcefiles
if %installmain1234% == y goto deletesourcefiles if %installmain1234% == y goto deletesourcefiles
@ -86,6 +84,7 @@ goto otherwisenow
:otherwisenow :otherwisenow
title Thank you for enjoying my script... (Martin Eesmaa) title Thank you for enjoying my script... (Martin Eesmaa)
echo Thank you for enjoying my script... (Martin Eesmaa) echo Thank you for enjoying my script... (Martin Eesmaa)
echo Make sure go to Martin Eesmaa's GitHub: https://github.com/MartinEesmaa
echo Exiting... echo Exiting...
timeout 3 timeout 3
exit exit