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"
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
)