1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[LLVM-C] Add LLVM-C.dll to Windows installer package

This is a follow up to D56781, D56774 and D35077 to makes the LLVM-C.dll
file and LLVM-C.lib be installed on Windows, just like LTO.dll and
LTO.lib are.

Patch by Jakob Bornecrantz!

Differential revision: https://reviews.llvm.org/D63717

llvm-svn: 364275
This commit is contained in:
Hans Wennborg 2019-06-25 07:05:00 +00:00
parent 6cde116fa8
commit abf917a67c

View File

@ -680,7 +680,9 @@ macro(add_llvm_library name)
elseif(ARG_BUILDTREE_ONLY) elseif(ARG_BUILDTREE_ONLY)
set_property(GLOBAL APPEND PROPERTY LLVM_EXPORTS_BUILDTREE_ONLY ${name}) set_property(GLOBAL APPEND PROPERTY LLVM_EXPORTS_BUILDTREE_ONLY ${name})
else() else()
if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY OR ${name} STREQUAL "LTO" OR if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY OR
${name} STREQUAL "LTO" OR
${name} STREQUAL "LLVM-C" OR
${name} STREQUAL "Remarks" OR ${name} STREQUAL "Remarks" OR
(LLVM_LINK_LLVM_DYLIB AND ${name} STREQUAL "LLVM")) (LLVM_LINK_LLVM_DYLIB AND ${name} STREQUAL "LLVM"))