fix Bison

svn path=/trunk/tools/RosBE/; revision=1113
This commit is contained in:
Christoph von Wittich 2009-10-18 20:43:54 +00:00
parent b15cb5548d
commit d239b80c56

View File

@ -42,6 +42,9 @@ set _ROSBE_TARGET_MINGWPATH=%_ROSBE_BASEDIR%\%ROS_ARCH%
set _ROSBE_ORIGINALPATH=%_ROSBE_BASEDIR%;%_ROSBE_BASEDIR%\Tools;%_ROSBE_HOST_MINGWPATH%\bin;%PATH%
set _ROSBE_MINGWMAKE=%_ROSBE_HOST_MINGWPATH%\bin\mingw32-make.exe
:: Fix Bison package path (just in case RosBE is installed in a path which contains spaces)
SET BISON_PKGDATADIR=%~ds0%~sp0%i386\share\bison
:: Get the number of CPUs in the system so we know how many jobs to execute.
:: To modify the number used, see the cpucount usage for getting to know about the possible options
for /f "usebackq" %%i in (`"%_ROSBE_BASEDIR%\Tools\cpucount.exe" -x1`) do set _ROSBE_MAKEX_JOBS=%%i