Build: added support for unity builds in most projects except for StormLib, ZLib and Scripts

This commit is contained in:
Ovahlord committed 2023-10-09 21:40:38 +02:00
1 parent 8acfadc779
commit b49f95e1e9
28 files changed
+219 -6

No files matched your search

+9
View File
@@ -71,3 +71,12 @@ set_target_properties(g3dlib
PROPERTIES
FOLDER
"dep")
if(UNITY_BUILDS)
set_target_properties(g3dlib
PROPERTIES UNITY_BUILD ON)
set_target_properties(g3dlib
PROPERTIES
UNITY_BUILD_MODE BATCH
UNITY_BUILD_BATCH_SIZE 8)
endif()