forked from mercedes-benz/MOSIM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
update_framework_dlls.bat
48 lines (34 loc) · 1.48 KB
/
update_framework_dlls.bat
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
@echo off
REM SPDX-License-Identifier: MIT
REM The content of this file has been developed in the context of the MOSIM research project.
REM Original author(s): Janis Sprenger
call deploy_variables.bat
REM Checking environment variables
if not defined DEVENV (
ECHO [31mDEVENV Environment variable pointing to the Visual Studio 2017 devenv.exe is missing.[0m
ECHO e.g. "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\devenv.com"
pause
exit /b 1
) else (
ECHO DEVENV defined as: "%DEVENV%"
if not exist "%DEVENV%" (
ECHO Visual Studio does not seem to be installed or path name in deploy_variables.bat is wrong.
exit /b 2
)
)
SET WORKDIR=%~dp0
REM Core
REM Build Adapters
cd Core\Framework\LanguageSupport\cs
call .\deploy.bat
cd %WORKDIR%
REM Build Unity Engine Support:
cd Core\Framework\EngineSupport\Unity
call .\deploy.bat
cd %WORKDIR%
cmd /c xcopy /S/Y/Q .\Core\Framework\LanguageSupport\cs\MMICSharp\build\* Services\MMICSharp
REM Copy MMIUnity artifacts to UnityPathPlanning
cmd /c xcopy /S/Y/Q .\Core\Framework\EngineSupport\Unity\MMIUnity\build .\Services\UnityPathPlanning\UnityPathPlanningService\Assets\Plugins
REM Copy MMIUnityTarget engine to UnityDemo
cmd /c xcopy /S/Y/Q .\Core\Framework\EngineSupport\Unity\MMIUnity.TargetEngine\MMIUnity.TargetEngine\build .\Demos\Assets\MMI\Plugins
cmd /c xcopy /S/Y/Q .\Core\Framework\EngineSupport\Unity\MMIUnity\build .\Tools\MMUGenerator\Assets\MMUGenerator\Dependencies