Update CMakeLists.txt

This commit is contained in:
Chris Miles 2025-06-22 15:34:35 -05:00
parent d8c8d157c8
commit d22affc3d6

View File

@ -275,9 +275,9 @@ set(lua_sources
) )
add_library(lua_zone STATIC ${lua_sources}) add_library(lua_zone STATIC ${lua_sources})
#if (NOT WIN32) if (NOT WIN32)
set_target_properties(lua_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 16) set_target_properties(lua_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 8)
#else() else()
# perl unity build # perl unity build
set(perl_sources set(perl_sources
@ -308,9 +308,9 @@ set(perl_sources
) )
add_library(perl_zone STATIC ${perl_sources}) add_library(perl_zone STATIC ${perl_sources})
#if (NOT WIN32) if (NOT WIN32)
set_target_properties(perl_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 16) set_target_properties(perl_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 8)
#endif() endif()
# gm commands # gm commands
set(gm_command_sources set(gm_command_sources
@ -476,9 +476,9 @@ set(gm_command_sources
) )
add_library(gm_commands_zone STATIC ${gm_command_sources}) add_library(gm_commands_zone STATIC ${gm_command_sources})
#if (NOT WIN32) if (NOT WIN32)
set_target_properties(gm_commands_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 64) set_target_properties(gm_commands_zone PROPERTIES UNITY_BUILD ON UNITY_BUILD_BATCH_SIZE 32)
#endif() endif()
# zone combine sources and headers # zone combine sources and headers
ADD_EXECUTABLE(zone ${zone_sources} ${zone_headers}) ADD_EXECUTABLE(zone ${zone_sources} ${zone_headers})