-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuildEngine.bat
More file actions
38 lines (32 loc) · 1.02 KB
/
buildEngine.bat
File metadata and controls
38 lines (32 loc) · 1.02 KB
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
34
35
36
37
38
@echo off
rem Directorios
set BAT_DIR=%~dp0
set SCRIPTS_DIR=%BAT_DIR%\Dependencies\Scripts\
set SLN_PATH=%BAT_DIR%\TapiocaEngine.sln
set BIN_DIR=%BAT_DIR%\bin
:parse
if "%~1"=="" goto endparse
if "%~1"=="--nodeb" set /a be_nodeb=1
if "%~1"=="--norel" set /a be_norel=1
if "%~1"=="--nopause" set /a be_nopause=1
shift
goto parse
:endparse
echo ~~Compilando dependencias...~~
echo.
if not exist %BAT_DIR%\Dependencies\Ogre\build\x64\bin (
call %SCRIPTS_DIR%\buildOgre.bat
)
if not exist %BAT_DIR%\Dependencies\Bullet\build\x64\x64 (
call %SCRIPTS_DIR%\buildBullet.bat
)
if not exist %BAT_DIR%\Dependencies\Lua\build\x64\Debug (
call %SCRIPTS_DIR%\buildLua.bat
)
call %SCRIPTS_DIR%\buildIrrKlang.bat
echo ~~Dependencias compiladas. Compilando motor...~~
echo.
if not defined be_nodeb msbuild %SLN_PATH% /p:configuration=Debug /p:Platform=x64 /p:PlatformToolset=v143
if not defined be_norel msbuild %SLN_PATH% /p:configuration=Release /p:Platform=x64 /p:PlatformToolset=v143
echo ~~Todo compilado. :YIPEEE:~~
if not defined be_nopause pause