Windows build: use msbuild instead of devenv or vsexpress

This commit is contained in:
Matthew Flatt 2014-06-16 09:26:59 +01:00
parent 64fd649ee5
commit cee00a1c6e

View File

@ -8,10 +8,6 @@ cl checkvs9.c
checkvs9.exe checkvs9.exe
if errorlevel 1 (set PLTSLNVER=9) if errorlevel 1 (set PLTSLNVER=9)
set DEVENV=devenv
for %%X in (vcexpress.exe) do (set VCEXP=%%~$PATH:X)
if defined VCEXP set DEVENV=%VCEXP%
if not exist ..\..\etc mkdir ..\..\etc if not exist ..\..\etc mkdir ..\..\etc
if not exist ..\..\doc mkdir ..\..\doc if not exist ..\..\doc mkdir ..\..\doc
if not exist ..\..\share mkdir ..\..\share if not exist ..\..\share mkdir ..\..\share
@ -19,10 +15,10 @@ if not exist ..\..\share mkdir ..\..\share
if not defined BUILD_CONFIG set BUILD_CONFIG=..\..\etc if not defined BUILD_CONFIG set BUILD_CONFIG=..\..\etc
cd racket cd racket
"%DEVENV%" racket%PLTSLNVER%.sln /Build "Release|%BUILDMODE%" msbuild racket%PLTSLNVER%.sln /p:Configuration=Release /p:Platform=%BUILDMODE%
if errorlevel 1 exit /B 1 if errorlevel 1 exit /B 1
cd ..\gracket cd ..\gracket
"%DEVENV%" gracket%PLTSLNVER%.sln /Build "Release|%BUILDMODE%" msbuild gracket%PLTSLNVER%.sln /p:Configuration=Release /p:Platform=%BUILDMODE%
if errorlevel 1 exit /B 1 if errorlevel 1 exit /B 1
cd .. cd ..
@ -32,15 +28,15 @@ if errorlevel 1 exit /B 1
cd .. cd ..
cd mzstart cd mzstart
"%DEVENV%" mzstart%PLTSLNVER%.sln /Build "Release|%BUILDMODE%" msbuild mzstart%PLTSLNVER%.sln /p:Configuration=Release /p:Platform=%BUILDMODE%
if errorlevel 1 exit /B 1 if errorlevel 1 exit /B 1
cd ..\mrstart cd ..\mrstart
"%DEVENV%" mrstart%PLTSLNVER%.sln /Build "Release|%BUILDMODE%" msbuild mrstart%PLTSLNVER%.sln /p:Configuration=Release /p:Platform=%BUILDMODE%
if errorlevel 1 exit /B 1 if errorlevel 1 exit /B 1
cd .. cd ..
cd mzcom cd mzcom
"%DEVENV%" mzcom%PLTSLNVER%.sln /Build "Release|%BUILDMODE%" msbuild mzcom%PLTSLNVER%.sln /p:Configuration=Release /p:Platform=%BUILDMODE%
if errorlevel 1 exit /B 1 if errorlevel 1 exit /B 1
cd .. cd ..
@ -50,7 +46,7 @@ if errorlevel 1 exit /B 1
cd .. cd ..
cd mzcom cd mzcom
"%DEVENV%" mzcom%PLTSLNVER%.sln /Build "3m|%BUILDMODE%" msbuild mzcom%PLTSLNVER%.sln /p:Configuration=3m /p:Platform=%BUILDMODE%
if errorlevel 1 exit /B 1 if errorlevel 1 exit /B 1
cd .. cd ..