Replace OwningPtr<T> with std::unique_ptr<T>.
[oota-llvm.git] / tools / opt / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   ${LLVM_TARGETS_TO_BUILD}
3   Analysis
4   BitWriter
5   CodeGen
6   Core
7   IPA
8   IPO
9   IRReader
10   InstCombine
11   Instrumentation
12   MC
13   ObjCARCOpts
14   ScalarOpts
15   Support
16   Target
17   TransformUtils
18   Vectorize
19   )
20
21 # Support plugins.
22 set(LLVM_NO_DEAD_STRIP 1)
23
24 add_llvm_tool(opt
25   AnalysisWrappers.cpp
26   BreakpointPrinter.cpp
27   GraphPrinters.cpp
28   NewPMDriver.cpp
29   Passes.cpp
30   PassPrinters.cpp
31   PrintSCC.cpp
32   opt.cpp
33   )
34 set_target_properties(opt PROPERTIES ENABLE_EXPORTS 1)