Files
clang-p2996/llvm/lib/LTO/CMakeLists.txt
Mehdi Amini 67221ed886 More fix BUILD_SHARED_LIBS=ON build for platforms which require explicit link of -lpthread (NFC)
Some systems requires explictly providing -lpthread when linking, I don't
have such system so it is hard to find all the missing cases.
2024-03-02 19:44:03 -08:00

44 lines
622 B
CMake

add_llvm_component_library(LLVMLTO
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
LINK_LIBS
${LLVM_PTHREAD_LIB}
LINK_COMPONENTS
AggressiveInstCombine
Analysis
BinaryFormat
BitReader
BitWriter
CodeGen
CodeGenTypes
Core
Extensions
IPO
InstCombine
Instrumentation
Linker
MC
ObjCARC
Object
Passes
Remarks
Scalar
Support
Target
TargetParser
TransformUtils
)