aboutsummaryrefslogtreecommitdiff
path: root/buildtools/generate_projects_linux_ue4_crosscompile_step2.bat
blob: 7f2e55095da96ebef31e3c17977e25c31f5ae1d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@echo off
:: Reset errorlevel status so we are not inheriting this state from the calling process:
@call :CLEAN_EXIT

:: Run packman to ensure dependencies are present and run cmake generation script afterwards
@echo Running packman in preparation for cmake ...
@echo.

:: We need this for NMake
@call "%VS140COMNTOOLS%VsdevCmd.bat"

::Save this for when it's overwritten with the Linux one
set PM_cmake_PATH_Win=%PM_cmake_PATH%

@call "%~dp0packman\packman.cmd" pull "%BLAST_ROOT_DIR%\dependencies.xml" --platform linux-UE4-cross --postscript "%~dp0cmake_projects_linux_ue4_crosscompile.bat"
@if %ERRORLEVEL% neq 0 (
    @exit /b %errorlevel%
)

:CLEAN_EXIT
@exit /b 0