https://github.com/interpretml/interpret
Raw File
Tip revision: c952f742ea656a64b7ee265feed5817fd77d1b5c authored by Interpret ML on 16 July 2019, 21:14:23 UTC
Included requests as dependency.
Tip revision: c952f74
build.bat
@ECHO OFF
SETLOCAL

SET root_path=%~dp0

SET build_32_bit=0
for %%x in (%*) do (
   IF "%%x"=="-32bit" (
      SET build_32_bit=1
   )
)

MSBuild.exe "%root_path%src\core\ebmcore\ebmcore.vcxproj" /p:Configuration=Release /p:Platform=x64
IF %ERRORLEVEL% NEQ 0 (
   ECHO MSBuild for Release x64 returned error code %ERRORLEVEL%
   EXIT /B %ERRORLEVEL%
)
MSBuild.exe "%root_path%src\core\ebmcore\ebmcore.vcxproj" /p:Configuration=Debug /p:Platform=x64
IF %ERRORLEVEL% NEQ 0 (
   ECHO MSBuild for Debug x64 returned error code %ERRORLEVEL%
   EXIT /B %ERRORLEVEL%
)
IF %build_32_bit% EQU 1 (
   MSBuild.exe "%root_path%src\core\ebmcore\ebmcore.vcxproj" /p:Configuration=Release /p:Platform=Win32
   IF %ERRORLEVEL% NEQ 0 (
      ECHO MSBuild for Release x86 returned error code %ERRORLEVEL%
      EXIT /B %ERRORLEVEL%
   )
   MSBuild.exe "%root_path%src\core\ebmcore\ebmcore.vcxproj" /p:Configuration=Debug /p:Platform=Win32
   IF %ERRORLEVEL% NEQ 0 (
      ECHO MSBuild for Debug x86 returned error code %ERRORLEVEL%
      EXIT /B %ERRORLEVEL%
   )
)

EXIT /B 0
back to top