-
Notifications
You must be signed in to change notification settings - Fork 0
/
DeployRebound.bat
33 lines (29 loc) · 1.32 KB
/
DeployRebound.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
27
28
29
30
31
32
33
@echo Setting environment variables to build the engine...
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
@echo - Daisy Chain Engine Deployment -
@echo Preparing to deploy the "Rebound" project...
@echo off
rmdir Deploy /s /q
mkdir Deploy
mkdir Deploy\Configuration
mkdir Deploy\Core\Assets
mkdir Deploy\Projects\Rebound\
mkdir Deploy\Projects\Rebound\Resources
mkdir Deploy\Projects\Rebound\Assets
xcopy DCEngine\Projects\Rebound\Assets\*.* Deploy\Projects\Rebound\Assets /E
xcopy DCEngine\Projects\Rebound\Resources\*.* Deploy\Projects\Rebound\Resources /E
xcopy DCEngine\Projects\Rebound\Deploy\Rebound.dceproj Deploy\Projects\Rebound\
xcopy DCEngine\Core\Assets\*.* Deploy\Core\Assets /E
xcopy DCEngine\Dependencies\lib\MSVC\x64\fmodstudio64.dll Deploy
xcopy DCEngine\Dependencies\lib\MSVC\x64\fmod64.dll Deploy
xcopy DCEngine\Dependencies\lib\MSVC\x64\Release\sfml-graphics-2.dll Deploy
xcopy DCEngine\Dependencies\lib\MSVC\x64\Release\sfml-system-2.dll Deploy
xcopy DCEngine\Dependencies\lib\MSVC\x64\Release\sfml-window-2.dll Deploy
xcopy DCEngine\Daisy.cfg Deploy
xcopy DCEngine\Configuration\Deploy\*.cfg Deploy\Configuration
cd DCEngine
msbuild DCEngine.sln /p:Configuration=Production
cd..
@echo Copying executable over...
xcopy DCEngine\x64\Production\DCEngine.exe Deploy
@echo Done deploying "Rebound"!