[lit] Remove LitTestCase
[llvm-complete.git] / tools / opt / CMakeLists.txt
blobf03d11516657f14a8cb877a2941a14f596d3b018
1 set(LLVM_LINK_COMPONENTS
2   ${LLVM_TARGETS_TO_BUILD}
3   AggressiveInstCombine
4   Analysis
5   BitWriter
6   CodeGen
7   Core
8   Coroutines
9   IPO
10   IRReader
11   InstCombine
12   Instrumentation
13   MC
14   ObjCARCOpts
15   ScalarOpts
16   Support
17   Target
18   TransformUtils
19   Vectorize
20   Passes
21   )
23 # Support plugins.
24 set(LLVM_NO_DEAD_STRIP 1)
26 add_llvm_tool(opt
27   AnalysisWrappers.cpp
28   BreakpointPrinter.cpp
29   Debugify.cpp
30   GraphPrinters.cpp
31   NewPMDriver.cpp
32   PassPrinters.cpp
33   PrintSCC.cpp
34   opt.cpp
36   DEPENDS
37   intrinsics_gen
38   )
39 export_executable_symbols(opt)
41 if(WITH_POLLY AND LINK_POLLY_INTO_TOOLS)
42   target_link_libraries(opt PRIVATE Polly)
43 endif(WITH_POLLY AND LINK_POLLY_INTO_TOOLS)