llvm-6502/tools/llc/CMakeLists.txt
2013-12-30 03:36:05 +00:00

21 lines
283 B
CMake

set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
AsmPrinter
CodeGen
Core
IRReader
MC
ScalarOpts
SelectionDAG
Support
Target
)
# Support plugins.
set(LLVM_NO_DEAD_STRIP 1)
add_llvm_tool(llc
llc.cpp
)
set_target_properties(llc PROPERTIES ENABLE_EXPORTS 1)