Skip to content
Snippets Groups Projects
Verified Commit 8151620f authored by Lars Bilke's avatar Lars Bilke
Browse files

[CMake] Enabled Unity builds for Base-, Geo-, Math- and MeshLib.

parent 5b8f50c8
No related branches found
No related tags found
No related merge requests found
......@@ -298,6 +298,8 @@ if(BUILD_TESTING AND NOT IS_SUBPROJECT)
add_subdirectory(Tests)
endif()
include(UnityBuildSettings)
file(WRITE ${PROJECT_BINARY_DIR}/disabled-tests.log "${DISABLED_TESTS_LOG}")
unset(DISABLED_TESTS_LOG CACHE) # Don't write to CMakeCache.txt
......
set_target_properties(BaseLib PROPERTIES UNITY_BUILD ON
UNITY_BUILD_BATCH_SIZE 8)
set_target_properties(GeoLib PROPERTIES UNITY_BUILD ON
UNITY_BUILD_BATCH_SIZE 40)
set_target_properties(MathLib PROPERTIES UNITY_BUILD ON
UNITY_BUILD_BATCH_SIZE 10)
set_target_properties(MeshLib PROPERTIES UNITY_BUILD ON
UNITY_BUILD_BATCH_SIZE 40)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment