GrabBag/GrabBagPrj/pkg_tireholepose.bat

28 lines
628 B
Batchfile

@echo off
setlocal
REM Windows packaging tool directories (system environment variables):
REM QT_PATH=D:\Qt\5.15.2
REM ISCC_PATH=C:\Program Files\Inno Setup 7
set PRJ_PATH=%~dp0
set PRJ_PATH=%PRJ_PATH:~0,-1%
if not exist "%PRJ_PATH%\buildwin\TireHolePose" mkdir "%PRJ_PATH%\buildwin\TireHolePose"
cd /d "%PRJ_PATH%\buildwin\TireHolePose"
powershell -Command "Remove-Item * -Recurse -Force"
copy "..\..\build\App\TireHolePose\TireHolePoseApp\release\TireHolePoseApp.exe" .\
"%QT_PATH%\msvc2019_64\bin\windeployqt.exe" "TireHolePoseApp.exe"
cd ..\..
"%ISCC_PATH%\ISCC.exe" "TireHolePose.iss"
echo "finish"
endlocal