blob: c007e0fa2e7e757044d459da549ea0a77cbaff58 [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
Nico Weber62588e12013-12-30 03:36:05 +000020# Support plugins.
21set(LLVM_NO_DEAD_STRIP 1)
22
Oscar Fuentesa229b3c2008-09-22 01:08:49 +000023add_llvm_tool(opt
24 AnalysisWrappers.cpp
25 GraphPrinters.cpp
Chandler Carruth66445382014-01-11 08:16:35 +000026 NewPMDriver.cpp
27 Passes.cpp
Oscar Fuentesa229b3c2008-09-22 01:08:49 +000028 PrintSCC.cpp
29 opt.cpp
30 )
Rafael Espindola76f92272013-04-04 01:01:32 +000031set_target_properties(opt PROPERTIES ENABLE_EXPORTS 1)