Debug info (LTO): Move the creation of accessibility flags to
[oota-llvm.git] / tools / opt / CMakeLists.txt
1 set(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   )
19
20 # Support plugins.
21 set(LLVM_NO_DEAD_STRIP 1)
22
23 add_llvm_tool(opt
24   AnalysisWrappers.cpp
25   GraphPrinters.cpp
26   NewPMDriver.cpp
27   Passes.cpp
28   PrintSCC.cpp
29   opt.cpp
30   )
31 set_target_properties(opt PROPERTIES ENABLE_EXPORTS 1)