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
@@ -27,6 +27,15 @@ set_target_properties(gsoap
FOLDER
"dep")
if(UNITY_BUILDS)
set_target_properties(gsoap
PROPERTIES UNITY_BUILD ON)
set_target_properties(gsoap
PROPERTIES
UNITY_BUILD_MODE BATCH
UNITY_BUILD_BATCH_SIZE 7)
endif()
if (MSVC)
# Little fix for MSVC / Windows platforms
target_compile_definitions(gsoap