1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-07 03:22:33 +01:00
ScreenPlay/scripts/package.bat
Elias 0c2fc09b35 Fix Qt version
Remove ScreenPlayWorkshop copy
Remove copying of wrong OpenSSL dlls
2019-02-07 14:55:43 +01:00

38 lines
849 B
Batchfile

setlocal EnableExtensions
set PATH=%PATH%;C:\Qt\Tools\QtCreator\bin
set PATH=%PATH%;C:\Qt\5.12.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 ScreenPlayWindow"
xcopy /s /y ScreenPlayWindow\release ..\PACKAGE
cd ..
windeployqt.exe --release --qmldir ScreenPlay/qml PACKAGE/ScreenPlay.exe
windeployqt.exe --release --qmldir ScreenPlayWindow/qml PACKAGE/ScreenPlayWindow.exe
cd PACKAGE
del /f *.cpp
del /f *.moc
del /f *.h
del /f *.obj
del /f *.res
del /f *.exp
del /f *.lib