blob: 816edeae2dc965cd95336f3fe5395390dc1efdd6 [file] [log] [blame]
NAKAMURA Takumib5c4b8762013-12-10 11:13:32 +00001set(LLVM_LINK_COMPONENTS
2 ${LLVM_TARGETS_TO_BUILD}
3 Analysis
4 BitWriter
5 Core
6 IPA
7 IPO
8 IRReader
9 InstCombine
10 Instrumentation
11 MC
12 ObjCARCOpts
13 ScalarOpts
14 Support
15 Target
16 TransformUtils
17 Vectorize
18 )
Michael J. Spencer93c9b2e2010-09-13 23:59:48 +000019
Oscar Fuentesa229b3c2008-09-22 01:08:49 +000020add_llvm_tool(opt
21 AnalysisWrappers.cpp
22 GraphPrinters.cpp
23 PrintSCC.cpp
24 opt.cpp
25 )
Rafael Espindola76f92272013-04-04 01:01:32 +000026set_target_properties(opt PROPERTIES ENABLE_EXPORTS 1)