Deps builder: Add support for building GMP

Required for the new boolean code, disabled by default
until all platforms have landed the libs and the boolean
code actually lands in master.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D8384
This commit is contained in:
Ray Molenkamp
2020-07-31 09:34:26 -06:00
parent a2c6c51647
commit 83f8223543
15 changed files with 926 additions and 0 deletions

View File

@@ -694,6 +694,23 @@ elseif(WIN32)
)
endif()
if(WITH_GMP)
install(
FILES ${LIBDIR}/gmp/lib/libgmp-10.dll
DESTINATION "."
)
install(
FILES ${LIBDIR}/gmp/lib/libgmpxx.dll
DESTINATION "."
CONFIGURATIONS Release;RelWithDebInfo;MinSizeRel
)
install(
FILES ${LIBDIR}/gmp/lib/libgmpxx_d.dll
DESTINATION "."
CONFIGURATIONS Debug
)
endif()
if(WITH_WINDOWS_PDB)
if(WITH_WINDOWS_STRIPPED_PDB)
# Icky hack for older cmake from https://stackoverflow.com/a/21198501