aboutsummaryrefslogtreecommitdiff
path: root/buildtools/steps/build_all_linux_ue4_crosscompile.bat
blob: 5d560242a4fe564f1d69d3de95c28b173ab62680 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
:: 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

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

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