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

28 lines
339 B
CMake

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