mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-06 07:51:47 +00:00
build-deps - use precompiled headers to speed up OCCT building process
This commit is contained in:
+2
-1
@@ -529,7 +529,8 @@ cd "%DEPENDENCY_DIR%"
|
|||||||
:: Temporarily explicitly set `CMAKE_DEBUG_POSTFIX` to empty to override it's perviously being set to `d`.
|
:: Temporarily explicitly set `CMAKE_DEBUG_POSTFIX` to empty to override it's perviously being set to `d`.
|
||||||
:: OCCT don't need it, since it's layout is separating debug and release build by different folders.
|
:: OCCT don't need it, since it's layout is separating debug and release build by different folders.
|
||||||
call :RunCMake -DINSTALL_DIR="%DEPENDENCY_INSTALL_DIR%" -DBUILD_LIBRARY_TYPE="Static" -DCMAKE_DEBUG_POSTFIX="" ^
|
call :RunCMake -DINSTALL_DIR="%DEPENDENCY_INSTALL_DIR%" -DBUILD_LIBRARY_TYPE="Static" -DCMAKE_DEBUG_POSTFIX="" ^
|
||||||
-DBUILD_MODULE_Draw=0 -D3RDPARTY_FREETYPE_DIR="%INSTALL_DIR%\freetype"
|
-DBUILD_MODULE_Draw=0 -D3RDPARTY_FREETYPE_DIR="%INSTALL_DIR%\freetype" ^
|
||||||
|
-DBUILD_USE_PCH=ON
|
||||||
if not %ERRORLEVEL%==0 goto :Error
|
if not %ERRORLEVEL%==0 goto :Error
|
||||||
|
|
||||||
:: whole program optimization avoids Visual C++ hanging when compiling 32-bit release OCCT up to version 7.4.0
|
:: whole program optimization avoids Visual C++ hanging when compiling 32-bit release OCCT up to version 7.4.0
|
||||||
|
|||||||
Reference in New Issue
Block a user