1 set(LLVM_LINK_COMPONENTS 2 ${LLVM_TARGETS_TO_BUILD} 3 AsmPrinter 4 CodeGen 5 Core 6 IRReader 7 MC 8 ScalarOpts 9 SelectionDAG 10 Support 11 Target 12 ) 13 14 # Support plugins. 15 set(LLVM_NO_DEAD_STRIP 1) 16 17 add_llvm_tool(llc 18 llc.cpp 19 ) 20 set_target_properties(llc PROPERTIES ENABLE_EXPORTS 1) 21