diff options
| author | Anton Novoselov <[email protected]> | 2017-08-01 12:53:38 +0300 |
|---|---|---|
| committer | Anton Novoselov <[email protected]> | 2017-08-01 12:53:38 +0300 |
| commit | 236f03c0b9a4982328ed1201978f7f69d192d9b2 (patch) | |
| tree | e486f2fa39dba203563895541e92c60ed3e25759 /generate_projects_linux_ue4_crosscompile.bat | |
| parent | Added screens to welcome page (diff) | |
| download | blast-236f03c0b9a4982328ed1201978f7f69d192d9b2.tar.xz blast-236f03c0b9a4982328ed1201978f7f69d192d9b2.zip | |
Blast 1.1 release (windows / linux)
see docs/release_notes.txt for details
Diffstat (limited to 'generate_projects_linux_ue4_crosscompile.bat')
| -rw-r--r-- | generate_projects_linux_ue4_crosscompile.bat | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/generate_projects_linux_ue4_crosscompile.bat b/generate_projects_linux_ue4_crosscompile.bat new file mode 100644 index 0000000..8f6818e --- /dev/null +++ b/generate_projects_linux_ue4_crosscompile.bat @@ -0,0 +1,23 @@ +@echo off +:: Reset errorlevel status so we are not inheriting this state from the calling process: +@call :CLEAN_EXIT + +:: Set the blast root to the current directory so that included solutions that aren't Blast know where the root is without having to +:: guess or hardcode a relative path. +:: Use the "short" path so that we don't have to quote paths in that calls below. If we don't do that spaces can break us. +@SET BLAST_ROOT_DIR=%~sdp0 + +:: Run packman to ensure dependencies are present and run cmake generation script afterwards +@echo Running packman in preparation for cross-compile toolchain ... +@echo. + +::Need linux libs, but windows tools, run us again to get the path +@call "%~dp0buildtools\packman\packman.cmd" pull "%~dp0dependencies.xml" --platform win --postscript "%~dp0buildtools\generate_projects_linux_ue4_crosscompile_step2.bat" +@if %ERRORLEVEL% neq 0 ( + @exit /b %errorlevel% +) else ( + @echo Success! +) + +:CLEAN_EXIT +@exit /b 0
\ No newline at end of file |