Cleanup: use unity build for composite nodes
GIves about a 2.1x improvement in compilation times.
This commit is contained in:
parent
bc02ede98b
commit
4e8a883bcc
|
@ -149,3 +149,8 @@ if(WITH_OPENIMAGEDENOISE)
|
|||
endif()
|
||||
|
||||
blender_add_lib(bf_nodes_composite "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
|
||||
|
||||
if(WITH_UNITY_BUILD)
|
||||
set_target_properties(bf_nodes_composite PROPERTIES UNITY_BUILD ON)
|
||||
set_target_properties(bf_nodes_composite PROPERTIES UNITY_BUILD_BATCH_SIZE 10)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue