mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-25 08:57:04 +02:00
Unity batch size
Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
4b7527a4b1
commit
de930efb3c
4 changed files with 11 additions and 1 deletions
|
|
@ -68,6 +68,10 @@ endif()
|
|||
|
||||
# my unity/jumbo build
|
||||
option(ENABLE_UNITY_BUILD "Enable Unity/Jumbo build" OFF)
|
||||
|
||||
# 0 compiles all files in
|
||||
set(UNITY_BATCH_SIZE 0 CACHE STRING "Unity build batch size")
|
||||
|
||||
if(MSVC AND ENABLE_UNITY_BUILD)
|
||||
message(STATUS "Unity build")
|
||||
# Unity builds need big objects for MSVC...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue