From ab09d672caffc021a4c5724cd7fc642e4c965128 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Tue, 18 Oct 2011 18:48:13 +0000 Subject: [PATCH] Add build_projects.bat support for Visual Studio Express. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@324 5089003a-bbd8-11dd-ad1f-f1f9622dbc98 --- tools/build_projects.bat | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tools/build_projects.bat b/tools/build_projects.bat index 7f945b0ce..ef3c23f29 100644 --- a/tools/build_projects.bat +++ b/tools/build_projects.bat @@ -21,8 +21,16 @@ call "%VS100COMNTOOLS%vsvars32.bat" set PROJECT_EXT=.vcxproj ) +if exist "%DevEnvDir%\devenv.com" ( echo Building %1 target for %PROJECT_NAME% project... -devenv.com /build %1 ..\cef.sln /project %PROJECT_NAME%%PROJECT_EXT% +"%DevEnvDir%\devenv.com" /build %1 ..\cef.sln /project %PROJECT_NAME%%PROJECT_EXT% +) else if exist "%VCINSTALLDIR%\vcpackages\vcbuild.exe" ( +echo Building %1 target for all projects... +"%VCINSTALLDIR%\vcpackages\vcbuild.exe" ..\cef.sln "%1|Win32" +) else ( +echo ERROR: Cannot find Visual Studio builder +goto end +) :end endlocal