swh:1:snp:f521c49ab17ef7db6ec70b2430e1ed203f50383f
Raw File
Tip revision: 4c1b707a8ad3f3b1ad40c9f2b008cadebb19ce85 authored by Thomas Fischer on 19 May 2021, 09:46:12 UTC
[T/HM/Linear/Confined_Compression] Add parallel versions of tests.
Tip revision: 4c1b707
UnityBuildSettings.cmake
if(NOT OGS_USE_UNITY_BUILDS OR ${CMAKE_VERSION} VERSION_LESS 3.16)
    return()
endif()

set_target_properties(BaseLib PROPERTIES UNITY_BUILD_BATCH_SIZE 8)
set_target_properties(GeoLib PROPERTIES UNITY_BUILD_BATCH_SIZE 40)
set_target_properties(MaterialLib PROPERTIES UNITY_BUILD_BATCH_SIZE 20)
set_target_properties(MathLib PROPERTIES UNITY_BUILD_BATCH_SIZE 10)
set_target_properties(MeshLib PROPERTIES UNITY_BUILD_BATCH_SIZE 20)
# set_target_properties(ProcessLib PROPERTIES UNITY_BUILD_BATCH_SIZE 80) #
# breaks!

if(TARGET testrunner)
    set_target_properties(testrunner PROPERTIES UNITY_BUILD ON)
endif()
back to top