1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-07 03:22:33 +01:00
ScreenPlay/scripts/package.bat
Elias 6299e1e7dd Fix ci
Fix exe icon
Fix Qt version to 5.13
2019-07-27 11:36:33 +02:00

38 lines
861 B
Batchfile

setlocal EnableExtensions
set PATH=%PATH%;C:\Qt\Tools\QtCreator\bin
set PATH=%PATH%;C:\Qt\5.13.0\msvc2017_64\bin
set root=%cd%
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsx86_amd64.bat"
echo "Begin packaging"
mkdir PACKAGE
cd BUILD
echo "Copy ScreenPlay"
xcopy /s /y ScreenPlay\release ..\PACKAGE
echo "Copy ScreenPlaySDK"
xcopy /s /y ScreenPlaySDK\release ..\PACKAGE
echo "Copy ScreenPlayWidget"
xcopy /s /y ScreenPlayWidget\release ..\PACKAGE
echo "Copy ScreenPlayWallpaper"
xcopy /s /y ScreenPlayWallpaper\release ..\PACKAGE
cd ..
windeployqt.exe --release --qmldir ScreenPlay/qml PACKAGE/ScreenPlay.exe
windeployqt.exe --release --qmldir ScreenPlayWallpaper/qml PACKAGE/ScreenPlayWallpaper.exe
cd PACKAGE
del /f *.cpp
del /f *.moc
del /f *.h
del /f *.obj
del /f *.res
del /f *.exp
del /f *.lib