1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-07 03:22:33 +01:00
ScreenPlay/scripts/package.bat

44 lines
1.0 KiB
Batchfile
Raw Normal View History

2018-11-08 21:08:33 +01:00
setlocal EnableExtensions
2018-11-11 16:19:51 +01:00
set PATH=%PATH%;C:\Qt\Tools\QtCreator\bin
set PATH=%PATH%;C:\Qt\5.11.2\msvc2017_64\bin
set root=%cd%
2018-11-08 21:08:33 +01:00
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsx86_amd64.bat"
echo "Begin packaging"
2018-11-11 16:19:51 +01:00
mkdir PACKAGE
cd BUILD
2018-11-11 17:52:04 +01:00
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
echo "Copy ScreenPlayWorkshop"
xcopy /s /y ScreenPlayWorkshop\release ..\PACKAGE
2018-11-11 16:19:51 +01:00
2018-11-11 16:41:55 +01:00
xcopy C:\Qt\Tools\QtCreator\bin\libeay32.dll ..\PACKAGE
xcopy C:\Qt\Tools\QtCreator\bin\ssleay32.dll ..\PACKAGE
2018-11-11 16:19:51 +01:00
cd ..
windeployqt.exe --release --qmldir ScreenPlay/qml PACKAGE/ScreenPlay.exe
2018-11-11 17:56:35 +01:00
windeployqt.exe --release --qmldir ScreenPlayWindow/qml PACKAGE/ScreenPlayWindow.exe
2018-11-08 21:08:33 +01:00
2018-11-11 16:19:51 +01:00
cd PACKAGE
2018-11-08 21:08:33 +01:00
2018-11-11 16:19:51 +01:00
del /f *.cpp
2018-11-11 17:47:49 +01:00
del /f *.moc
2018-11-11 16:19:51 +01:00
del /f *.h
del /f *.obj
del /f *.res
2018-11-11 17:56:35 +01:00
del /f *.exp
del /f *.lib
2018-11-08 21:08:33 +01:00