aboutsummaryrefslogtreecommitdiff
path: root/generate_projects_linux_ue4_crosscompile.bat
diff options
context:
space:
mode:
authorBryan Galdrikian <[email protected]>2018-05-31 11:36:08 -0700
committerBryan Galdrikian <[email protected]>2018-05-31 11:36:08 -0700
commit7115f60b91b5717d90f643fd692010905c7004db (patch)
treeeffd68c6978751c517d54c2f2bb5bb6e7dc93e18 /generate_projects_linux_ue4_crosscompile.bat
parentUpdating BlastTool zip (diff)
downloadblast-1.1.3_rc1.tar.xz
blast-1.1.3_rc1.zip
Blast 1.1.3. See docs/release_notes.txt.v1.1.3_rc1
Diffstat (limited to 'generate_projects_linux_ue4_crosscompile.bat')
-rwxr-xr-x[-rw-r--r--]generate_projects_linux_ue4_crosscompile.bat46
1 files changed, 24 insertions, 22 deletions
diff --git a/generate_projects_linux_ue4_crosscompile.bat b/generate_projects_linux_ue4_crosscompile.bat
index 8f6818e..9661bc0 100644..100755
--- a/generate_projects_linux_ue4_crosscompile.bat
+++ b/generate_projects_linux_ue4_crosscompile.bat
@@ -1,23 +1,25 @@
-@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
+@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
+@call "%~dp0buildtools\get_build_deps.cmd" win.linux-UE4-cross
+@if %ERRORLEVEL% neq 0 (
+ @exit /b %errorlevel%
+)
+
+::Need linux libs, but windows tools, run us again to get the path
+@call "%~dp0buildtools\packman5\packman.cmd" pull "%~dp0target_platform_deps.xml" --platform linux --postscript "%~dp0buildtools\cmake_projects_linux_ue4_crosscompile.bat"
+@if %ERRORLEVEL% neq 0 (
+ @exit /b %errorlevel%
+) else (
+ @echo Success!
+)
+
+:CLEAN_EXIT
@exit /b 0 \ No newline at end of file