Welcome to mirror list, hosted at ThFree Co, Russian Federation.

winsetup.bat « msvc - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: aa6c882155cef031d90dcf468d1d6a0f77c17e16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@echo off
setlocal

set BUILD_RESULT=1

:: Get path for current running script.
set RUN_WINSETUP_SCRIPT_PATH=%~dp0

:: Setup VS msbuild environment.
call %RUN_WINSETUP_SCRIPT_PATH%setup-vs-msbuild-env.bat

call "msbuild.exe" /t:RunWinConfigSetup %RUN_WINSETUP_SCRIPT_PATH%mono.winconfig.targets && (
    set BUILD_RESULT=0
) || (
    set BUILD_RESULT=1
    if not %ERRORLEVEL% == 0 (
        set BUILD_RESULT=%ERRORLEVEL%
    )
)

exit /b %BUILD_RESULT%

@echo on