Windows: Move tbb to being dynamic library

Static tbb has always been frowned upon [1] sofar it has worked for us but
given our reliance on tbb is about to increase (D7475), I'd like to move the library
to more supported configuration. Which means moving it to be a dynamic library

The libs part of this change is in rBL62416

Reviewed By: Brecht

Differential Revision: https://developer.blender.org/D7570
This commit is contained in:
Ray Molenkamp
2020-05-03 16:25:56 -06:00
parent 70fe988dc4
commit 33bdd91fb8
8 changed files with 41 additions and 22 deletions

View File

@@ -814,7 +814,20 @@ elseif(WIN32)
DESTINATION "."
)
endif()
if(WITH_TBB)
install(
FILES
${LIBDIR}/tbb/lib/tbb.dll
DESTINATION "."
CONFIGURATIONS Release;RelWithDebInfo;MinSizeRel
)
install(
FILES
${LIBDIR}/tbb/lib/debug/tbb_debug.dll
DESTINATION "."
CONFIGURATIONS Debug
)
endif()
if(WITH_TBB_MALLOC_PROXY)
install(
FILES