mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 04:11:00 +00:00
Shorten Boost pathnames and fix IfcParse::IfcSIPrefixToValue() (#1364)
This commit is contained in:
@@ -34,7 +34,7 @@ double IfcParse::IfcSIPrefixToValue(const std::string& v) {
|
|||||||
else if ( v == "MEGA" ) return 1.e6;
|
else if ( v == "MEGA" ) return 1.e6;
|
||||||
else if ( v == "KILO" ) return 1.e3;
|
else if ( v == "KILO" ) return 1.e3;
|
||||||
else if ( v == "HECTO" ) return 1.e2;
|
else if ( v == "HECTO" ) return 1.e2;
|
||||||
else if ( v == "DECA" ) return 1.;
|
else if ( v == "DECA" ) return 1.e1;
|
||||||
else if ( v == "DECI" ) return 1.e-1;
|
else if ( v == "DECI" ) return 1.e-1;
|
||||||
else if ( v == "CENTI" ) return 1.e-2;
|
else if ( v == "CENTI" ) return 1.e-2;
|
||||||
else if ( v == "MILLI" ) return 1.e-3;
|
else if ( v == "MILLI" ) return 1.e-3;
|
||||||
|
|||||||
+1
-1
@@ -209,7 +209,7 @@ cd "%DEPENDENCY_DIR%"
|
|||||||
call cecho.cmd 0 13 "Building %DEPENDENCY_NAME% %BOOST_LIBS% Please be patient, this will take a while."
|
call cecho.cmd 0 13 "Building %DEPENDENCY_NAME% %BOOST_LIBS% Please be patient, this will take a while."
|
||||||
IF EXIST "%DEPENDENCY_DIR%\bin.v2\project-cache.jam" del "%DEPS_DIR%\boost\bin.v2\project-cache.jam"
|
IF EXIST "%DEPENDENCY_DIR%\bin.v2\project-cache.jam" del "%DEPS_DIR%\boost\bin.v2\project-cache.jam"
|
||||||
|
|
||||||
call .\b2 toolset=%BOOST_TOOLSET% runtime-link=static address-model=%ARCH_BITS% -j%IFCOS_NUM_BUILD_PROCS% ^
|
call .\b2 toolset=%BOOST_TOOLSET% runtime-link=static address-model=%ARCH_BITS% --abbreviate-paths -j%IFCOS_NUM_BUILD_PROCS% ^
|
||||||
variant=%DEBUG_OR_RELEASE_LOWERCASE% %BOOST_WIN_API% %BOOST_LIBS% stage --stagedir=stage/%GEN_SHORTHAND%
|
variant=%DEBUG_OR_RELEASE_LOWERCASE% %BOOST_WIN_API% %BOOST_LIBS% stage --stagedir=stage/%GEN_SHORTHAND%
|
||||||
|
|
||||||
IF NOT %ERRORLEVEL%==0 GOTO :Error
|
IF NOT %ERRORLEVEL%==0 GOTO :Error
|
||||||
|
|||||||
Reference in New Issue
Block a user