[CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt.
[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 add_llvm_tool(opt
21   AnalysisWrappers.cpp
22   GraphPrinters.cpp
23   PrintSCC.cpp
24   opt.cpp
25   )
26 set_target_properties(opt PROPERTIES ENABLE_EXPORTS 1)