You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CMake Configuration procedure generated a configurated include (.hxx) files into build/inc folder.
It increase the configuration time.
It increase the build time. Based on VS Build insight the parsing build/inc takes about 20% of the whole build time.
It is impact on not determinate dependencies leading to using headers from not related libraries.
The solution is:
Use the include directory in the occt/src folder natively, assignee header folders by target.
Make checking the folder parsing and checking the includes existed and putting into FILES list optional and disabled by default. It is rely on GLOB parsing of the folder, that is not optimal for daily configuration.
The text was updated successfully, but these errors were encountered:
Removed cotire PCH
Integrated native PCH by CMake with the same BUILD_USE_PCH flag
Added new option to avoid extra files in 'build/include' folder and replace it by symlink
Symlink creates link to the origin file, it has some benefits from debug and build side.
The CMake parameter for symlink is 'BUILD_INCLUDE_SYMLINK'
_
The Build time is improved from 7m to 2.5 min with 22 cores on windows.
And on Linux with 8 cores and clang++ from 16 to 7 min.
CMake Configuration procedure generated a configurated include (.hxx) files into build/inc folder.
It increase the configuration time.
It increase the build time. Based on VS Build insight the parsing build/inc takes about 20% of the whole build time.
It is impact on not determinate dependencies leading to using headers from not related libraries.
The solution is:
Use the include directory in the occt/src folder natively, assignee header folders by target.
Make checking the folder parsing and checking the includes existed and putting into FILES list optional and disabled by default. It is rely on GLOB parsing of the folder, that is not optimal for daily configuration.
The text was updated successfully, but these errors were encountered: