-
Notifications
You must be signed in to change notification settings - Fork 8
/
deploy.bat
26 lines (20 loc) · 1.05 KB
/
deploy.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
set OGREHOME=D:\ogre\ogre-next\build\sdk
set QTDIR=C:\Qt\5.15.2\msvc2019_64
xcopy /y "%OGREHOME%\bin\Debug\OgreMain_d.dll" "dbin"
xcopy /y "%OGREHOME%\bin\Debug\OgreHlmsPbs_d.dll" "dbin"
xcopy /y "%OGREHOME%\bin\Debug\OgreHlmsUnlit_d.dll" "dbin"
xcopy /y "%OGREHOME%\bin\Debug\OgreOverlay_d.dll" "dbin"
xcopy /y "%OGREHOME%\bin\Debug\RenderSystem_Direct3D11_d.dll" "dbin"
xcopy /y "%OGREHOME%\bin\Debug\RenderSystem_GL3Plus_d.dll" "dbin"
xcopy /y "%OGREHOME%\bin\Release\OgreMain.dll" "bin"
xcopy /y "%OGREHOME%\bin\Release\OgreHlmsPbs.dll" "bin"
xcopy /y "%OGREHOME%\bin\Release\OgreHlmsUnlit.dll" "bin"
xcopy /y "%OGREHOME%\bin\Release\OgreOverlay.dll" "bin"
xcopy /y "%OGREHOME%\bin\Release\RenderSystem_Direct3D11.dll" "bin"
xcopy /y "%OGREHOME%\bin\Release\RenderSystem_GL3Plus.dll" "bin"
pushd .
call "%QTDIR%\bin\qtenv2.bat"
popd
"%QTDIR%\bin\windeployqt.exe" "bin\ogre-v2-mesh-viewer.exe"
"%QTDIR%\bin\windeployqt.exe" "dbin\ogre-v2-mesh-viewer.exe"
PAUSE