2013-12-10 19:13:32 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
|
|
${LLVM_TARGETS_TO_BUILD}
|
|
|
|
AsmPrinter
|
|
|
|
CodeGen
|
|
|
|
Core
|
|
|
|
IRReader
|
|
|
|
MC
|
|
|
|
ScalarOpts
|
|
|
|
SelectionDAG
|
|
|
|
Support
|
|
|
|
Target
|
|
|
|
)
|
2010-09-14 07:59:48 +08:00
|
|
|
|
2013-12-30 11:36:05 +08:00
|
|
|
# Support plugins.
|
|
|
|
set(LLVM_NO_DEAD_STRIP 1)
|
|
|
|
|
2008-09-22 09:08:49 +08:00
|
|
|
add_llvm_tool(llc
|
|
|
|
llc.cpp
|
|
|
|
)
|
2013-12-05 09:01:58 +08:00
|
|
|
set_target_properties(llc PROPERTIES ENABLE_EXPORTS 1)
|