aboutsummaryrefslogtreecommitdiff
path: root/buildtools/steps/build_all_linux_ue4_crosscompile.bat
blob: 1799870ec4783d5a1416f6d5e5bdee7c4f9f184f (plain) (blame)
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
:: Setup VS2015 build environment
@call "%VS140COMNTOOLS%VsdevCmd.bat"

@set ROOT_PATH=%~dp0..\..\compiler

@call :BUILD
@if %ERRORLEVEL% neq 0 goto ERROR

:: Success
@exit /B 0

:ERROR
@echo Failure while building *Linux UE4 cross-compile* targets!
@exit /B 1

:BUILD
@echo | set /p dummyName=** Building debug ... **
@pushd
@cd "%ROOT_PATH%\linux64-debug-UE4"
@nmake
@popd
@echo ** End of debug **
@echo.
@if %ERRORLEVEL% neq 0 exit /B

@echo | set /p dummyName=** Building release ... **
@pushd
@cd "%ROOT_PATH%\linux64-release-UE4"
@nmake
@popd
@echo ** End of release **
@echo.
@if %ERRORLEVEL% neq 0 exit /B

@exit /B