forked from interpretml/interpret
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.bat
27 lines (24 loc) · 862 Bytes
/
build.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
@ECHO OFF
SETLOCAL
SET script_path=%~dp0
MSBuild.exe "%script_path%src\core\emlcore.sln" /p:Configuration=Release /p:Platform=x64
IF %ERRORLEVEL% NEQ 0 (
ECHO MSBuild for Release x64 returned error code %ERRORLEVEL%
EXIT /B %ERRORLEVEL%
)
MSBuild.exe "%script_path%src\core\emlcore.sln" /p:Configuration=Release /p:Platform=x86
IF %ERRORLEVEL% NEQ 0 (
ECHO MSBuild for Release x86 returned error code %ERRORLEVEL%
EXIT /B %ERRORLEVEL%
)
MSBuild.exe "%script_path%src\core\emlcore.sln" /p:Configuration=Debug /p:Platform=x64
IF %ERRORLEVEL% NEQ 0 (
ECHO MSBuild for Debug x64 returned error code %ERRORLEVEL%
EXIT /B %ERRORLEVEL%
)
MSBuild.exe "%script_path%src\core\emlcore.sln" /p:Configuration=Debug /p:Platform=x86
IF %ERRORLEVEL% NEQ 0 (
ECHO MSBuild for Debug x86 returned error code %ERRORLEVEL%
EXIT /B %ERRORLEVEL%
)
EXIT /B 0