mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-03 17:02:03 +00:00
69169b30b2
The approach here is to create a new (empty) component, `Extensions', where all statically compiled extensions dynamically register their dependencies. That way we're more natively compatible with LLVMBuild and llvm-config. Fixes: https://bugs.llvm.org/show_bug.cgi?id=44870 Differential Revision: https://reviews.llvm.org/D78192
17 lines
311 B
CMake
17 lines
311 B
CMake
add_llvm_component_library(LLVMLTO
|
|
Caching.cpp
|
|
LTO.cpp
|
|
LTOBackend.cpp
|
|
LTOModule.cpp
|
|
LTOCodeGenerator.cpp
|
|
SummaryBasedOptimizations.cpp
|
|
UpdateCompilerUsed.cpp
|
|
ThinLTOCodeGenerator.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${LLVM_MAIN_INCLUDE_DIR}/llvm/LTO
|
|
DEPENDS
|
|
intrinsics_gen
|
|
llvm_vcsrevision_h
|
|
)
|