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

24 lines
299 B
CMake

set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
Analysis
AsmPrinter
CodeGen
Core
IRReader
MC
MIRParser
ScalarOpts
SelectionDAG
Support
Target
TransformUtils
)
# Support plugins.
set(LLVM_NO_DEAD_STRIP 1)
add_llvm_tool(llc
llc.cpp
)
export_executable_symbols(llc)