- Windows: Update build_projects.bat to use MSBuild if available (issue #688).

- Linux: Update build_projects.sh to include the target name in the make command.


git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1165 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2013-03-26 21:51:59 +00:00
parent a065d0e2a1
commit ea735c2663
2 changed files with 5 additions and 2 deletions

View File

@ -21,9 +21,12 @@ set PROJECT_EXT=.vcproj
) else (
call "%VS100COMNTOOLS%vsvars32.bat"
set PROJECT_EXT=.vcxproj
set CEF_MSBUILD_PATH=%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
)
if exist "%DevEnvDir%\devenv.com" (
if exist "%CEF_MSBUILD_PATH%" (
"%CEF_MSBUILD_PATH%" /v:m /p:Configuration=%1;Platform=Win32 /t:"%PROJECT_NAME%" ..\cef.sln
) else if exist "%DevEnvDir%\devenv.com" (
echo Building %1 target for %PROJECT_NAME% project...
"%DevEnvDir%\devenv.com" /build %1 ..\cef.sln /project %PROJECT_NAME%%PROJECT_EXT%
) else if exist "%VCINSTALLDIR%\vcpackages\vcbuild.exe" (

View File

@ -10,7 +10,7 @@ else
fi
if [ `uname` = "Linux" ]; then
pushd ../../
make BUILDTYPE=$1 -j 16
make -j16 $PROJECT_NAME BUILDTYPE=$1
popd
else
xcodebuild -project ../cef.xcodeproj -configuration $1 -target "$PROJECT_NAME"