win32: make "build.bat" work with VCExpress
Closes PR 13231
This commit is contained in:
parent
46fb91cfe4
commit
f847b76ad1
|
@ -45,8 +45,8 @@ As always, please report bugs via one of the following:
|
||||||
Building Racket and GRacket
|
Building Racket and GRacket
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
If you're using MSVC 2008 (not Express), and if `devenv.exe' is in your
|
If you're using MSVC 2008, and if `cl.exe' and either `devenv.exe'
|
||||||
path, then you can just run
|
or `vcexpress.exe' is in your path, then you can just run
|
||||||
racket\src\worksp\build.bat
|
racket\src\worksp\build.bat
|
||||||
from its own directory to perform all steps up to "Versioning",
|
from its own directory to perform all steps up to "Versioning",
|
||||||
including the MzCOM steps.
|
including the MzCOM steps.
|
||||||
|
|
|
@ -4,11 +4,15 @@ cl rbuildmode.c
|
||||||
rbuildmode.exe
|
rbuildmode.exe
|
||||||
if errorlevel 1 (set BUILDMODE=win32) else (set BUILDMODE=x64)
|
if errorlevel 1 (set BUILDMODE=win32) else (set BUILDMODE=x64)
|
||||||
|
|
||||||
|
set DEVENV=devenv
|
||||||
|
for %%X in (vcexpress.exe) do (set VCEXP=%%~$PATH:X)
|
||||||
|
if defined VCEXP set DEVENV=%VCEXP%
|
||||||
|
|
||||||
cd racket
|
cd racket
|
||||||
devenv racket.sln /Build "Release|%BUILDMODE%"
|
"%DEVENV%" racket.sln /Build "Release|%BUILDMODE%"
|
||||||
if errorlevel 1 exit /B 1
|
if errorlevel 1 exit /B 1
|
||||||
cd ..\gracket
|
cd ..\gracket
|
||||||
devenv gracket.sln /Build "Release|%BUILDMODE%"
|
"%DEVENV%" gracket.sln /Build "Release|%BUILDMODE%"
|
||||||
if errorlevel 1 exit /B 1
|
if errorlevel 1 exit /B 1
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
@ -29,15 +33,15 @@ if errorlevel 1 exit /B 1
|
||||||
if errorlevel 1 exit /B 1
|
if errorlevel 1 exit /B 1
|
||||||
|
|
||||||
cd mzstart
|
cd mzstart
|
||||||
devenv mzstart.sln /Build "Release|%BUILDMODE%"
|
"%DEVENV%" mzstart.sln /Build "Release|%BUILDMODE%"
|
||||||
if errorlevel 1 exit /B 1
|
if errorlevel 1 exit /B 1
|
||||||
cd ..\mrstart
|
cd ..\mrstart
|
||||||
devenv mrstart.sln /Build "Release|%BUILDMODE%"
|
"%DEVENV%" mrstart.sln /Build "Release|%BUILDMODE%"
|
||||||
if errorlevel 1 exit /B 1
|
if errorlevel 1 exit /B 1
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
cd mzcom
|
cd mzcom
|
||||||
devenv mzcom.sln /Build "Release|%BUILDMODE%"
|
"%DEVENV%" mzcom.sln /Build "Release|%BUILDMODE%"
|
||||||
if errorlevel 1 exit /B 1
|
if errorlevel 1 exit /B 1
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
@ -47,7 +51,7 @@ if errorlevel 1 exit /B 1
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
cd mzcom
|
cd mzcom
|
||||||
devenv mzcom.sln /Build "3m|%BUILDMODE%"
|
"%DEVENV%" mzcom.sln /Build "3m|%BUILDMODE%"
|
||||||
if errorlevel 1 exit /B 1
|
if errorlevel 1 exit /B 1
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user