Permalink
Browse files

Enable parallel build

  • Loading branch information...
drahosp committed Mar 4, 2012
1 parent e33f1c0 commit 585c2117201099843081f65c6d3f40e854e9028c
Showing with 2 additions and 1 deletion.
  1. +2 −1 install.bat
View
@@ -12,6 +12,7 @@ set REPO=%~dp0
set REPO=%REPO:~0,-1%
set DEPL=%CD%
set DISTS=%*
+set SHELL=cmd.exe
if "%1"=="" goto :help
if "%REPO%"=="%DEPL%" set DEPL=%DEPL%\_install
@@ -22,7 +23,7 @@ echo Repository: %REPO%
mkdir "%DEPL%\tmp\install"
cd "%DEPL%\tmp\install" && %CMAKE% "%REPO%" -G"MinGW Makefiles" -DCMAKE_INSTALL_PREFIX="%DEPL%" -DDISTS="%DISTS%"
-%CMAKE% --build "%DEPL%\tmp\install" --target install
+%CMAKE% --build "%DEPL%\tmp\install" --target install -- -j
goto :exit
:help

0 comments on commit 585c211

Please sign in to comment.