You've already forked linux-packaging-mono
Imported Upstream version 6.12.0.86
Former-commit-id: 7a84ce7d08c42c458ac8e74b27186ca863315d79
This commit is contained in:
parent
92747312ea
commit
0b380204a4
@@ -1,22 +1,22 @@
|
||||
@echo off
|
||||
rem This runs genmdesc on the x86 files when called on Visual Studio
|
||||
echo Running genmdesc
|
||||
cd ..\mono\mini
|
||||
set PATH=%PATH%;%MONO_DEPENDENCIES_PREFIX%\bin
|
||||
if "%2" == "Win32" goto x86
|
||||
if "%2" == "x64" goto x64
|
||||
goto error
|
||||
:x86
|
||||
echo Platform detected is x86...
|
||||
%1 cpu-x86.h x86_desc cpu-x86.md
|
||||
goto end
|
||||
:x64
|
||||
echo Platform detected is x64...
|
||||
%1 cpu-amd64.h amd64_desc cpu-amd64.md
|
||||
goto end
|
||||
:error
|
||||
echo Error: unsupported platform
|
||||
exit /b 100
|
||||
:end
|
||||
echo done
|
||||
|
||||
@echo off
|
||||
rem This runs genmdesc on the x86 files when called on Visual Studio
|
||||
echo Running genmdesc
|
||||
cd ..\mono\mini
|
||||
set PATH=%PATH%;%MONO_DEPENDENCIES_PREFIX%\bin
|
||||
if "%2" == "Win32" goto x86
|
||||
if "%2" == "x64" goto x64
|
||||
goto error
|
||||
:x86
|
||||
echo Platform detected is x86...
|
||||
%1 cpu-x86.h x86_desc cpu-x86.md
|
||||
goto end
|
||||
:x64
|
||||
echo Platform detected is x64...
|
||||
%1 cpu-amd64.h amd64_desc cpu-amd64.md
|
||||
goto end
|
||||
:error
|
||||
echo Error: unsupported platform
|
||||
exit /b 100
|
||||
:end
|
||||
echo done
|
||||
|
||||
|
||||
@@ -1,23 +1,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
|
||||
@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
|
||||
|
||||
Reference in New Issue
Block a user