[WIN32] changed: use up to 4 parallel msbuild workers.
authorwsoltys <wiso@no.way>
Sun, 5 Jan 2014 12:08:39 +0000 (13:08 +0100)
committerwsoltys <wiso@no.way>
Sun, 5 Jan 2014 17:16:23 +0000 (18:16 +0100)
project/Win32BuildSetup/BuildSetup.bat
project/Win32BuildSetup/buildpvraddons.bat

index 54eab2a..084744d 100644 (file)
@@ -50,8 +50,8 @@ IF %comp%==vs2010 (
 
        IF EXIST "!NET!" (
                set msbuildemitsolution=1
-               set OPTS_EXE="..\VS2010Express\XBMC for Windows.sln" /t:Build /p:Configuration="%buildconfig%"
-               set CLEAN_EXE="..\VS2010Express\XBMC for Windows.sln" /t:Clean /p:Configuration="%buildconfig%"
+               set OPTS_EXE="..\VS2010Express\XBMC for Windows.sln" /m:4 /t:Build /p:Configuration="%buildconfig%"
+               set CLEAN_EXE="..\VS2010Express\XBMC for Windows.sln" /m:4 /t:Clean /p:Configuration="%buildconfig%"
        ) ELSE (
                IF EXIST "%VS100COMNTOOLS%\..\IDE\devenv.com" (
                        set NET="%VS100COMNTOOLS%\..\IDE\devenv.com"
index 1f43b51..fe80009 100644 (file)
@@ -17,7 +17,7 @@ SET BUILT_ADDONS_DIR=%SOURCE_DIR%\addons
 
 REM check if MSBuild.exe is used because it requires different command line switches
 IF "%msbuildemitsolution%" == "1" (
-  set OPTS_EXE=%SOURCE_DIR%\project\VS2010Express\xbmc-pvr-addons.sln /t:Build /p:Configuration="Release"
+  set OPTS_EXE=%SOURCE_DIR%\project\VS2010Express\xbmc-pvr-addons.sln /m:4 /t:Build /p:Configuration="Release"
 ) ELSE (
   set OPTS_EXE=%SOURCE_DIR%\project\VS2010Express\xbmc-pvr-addons.sln /build Release
 )