llvm-for-llvmta/tools/llvm-lto2/CMakeLists.txt

25 lines
317 B
CMake
Raw Normal View History

2022-04-25 10:02:23 +02:00
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)