llvm-project/llvm/tools/llvm-lto2/CMakeLists.txt

25 lines
317 B
CMake

set(LLVM_LINK_COMPONENTS
AllTargetsAsmParsers
AllTargetsCodeGens
AllTargetsDescs
AllTargetsInfos
BitReader
CodeGen
Core
Linker
LTO
MC
Object
Passes
Support
Target
)
add_llvm_tool(llvm-lto2
llvm-lto2.cpp
DEPENDS
intrinsics_gen
)
export_executable_symbols_for_plugins(llvm-lto2)