forked from Cosys-Lab/Cosys-AirSim
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[az_pipeline_ci] windows: allow parallel build for airlib, fix update…
…_from_git
- Loading branch information
Showing
3 changed files
with
40 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
@echo off | ||
REM //---------- set up variable ---------- | ||
setlocal | ||
set ROOT_DIR=%~dp0 | ||
|
||
set AirSimPath=%1 | ||
|
||
REM default path works for Blocks environment | ||
if "%AirSimPath%"=="" set "AirSimPath=..\..\.." | ||
|
||
IF NOT EXIST "%AirSimPath%" ( | ||
echo "AirSimPath %AirSimPath% was not found" | ||
goto :failed | ||
) | ||
|
||
echo Using AirSimPath = %AirSimPath% | ||
|
||
robocopy /MIR "%AirSimPath%\Unreal\Plugins\AirSim" Plugins\AirSim /XD temp *. /njh /njs /ndl /np | ||
robocopy /MIR "%AirSimPath%\AirLib" Plugins\AirSim\Source\AirLib /XD temp *. /njh /njs /ndl /np | ||
robocopy /njh /njs /ndl /np "%AirSimPath%\Unreal\Environments\Blocks" "." *.bat | ||
robocopy /njh /njs /ndl /np "%AirSimPath%\Unreal\Environments\Blocks" "." *.sh | ||
rem robocopy /njh /njs /ndl /np "%AirSimPath%" "." *.gitignore | ||
|
||
REM cmd /c clean.bat | ||
REM cmd /c GenerateProjectFiles.bat | ||
|
||
goto :done | ||
|
||
:failed | ||
echo Error occured while updating. | ||
exit /b 1 | ||
|
||
:done | ||
REM if "%1"=="" pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters