repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[llvm] [cmake] Add possibility to use ChooseMSVCCRT.cmake when include LLVM library
[llvm-core.git]
/
tools
/
opt
/
CMakeLists.txt
blob
cb4ba5cfbced770bf191df4af69801671f7d5552
1
set(LLVM_LINK_COMPONENTS
2
AllTargetsAsmParsers
3
AllTargetsCodeGens
4
AllTargetsDescs
5
AllTargetsInfos
6
AggressiveInstCombine
7
Analysis
8
BitWriter
9
CodeGen
10
Core
11
Coroutines
12
IPO
13
IRReader
14
InstCombine
15
Instrumentation
16
MC
17
ObjCARCOpts
18
Remarks
19
ScalarOpts
20
Support
21
Target
22
TransformUtils
23
Vectorize
24
Passes
25
)
26
27
# Support plugins.
28
set(LLVM_NO_DEAD_STRIP 1)
29
30
add_llvm_tool(opt
31
AnalysisWrappers.cpp
32
BreakpointPrinter.cpp
33
Debugify.cpp
34
GraphPrinters.cpp
35
NewPMDriver.cpp
36
PassPrinters.cpp
37
PrintSCC.cpp
38
opt.cpp
39
40
DEPENDS
41
intrinsics_gen
42
)
43
export_executable_symbols(opt)
44
45
if(WITH_POLLY AND LINK_POLLY_INTO_TOOLS)
46
target_link_libraries(opt PRIVATE Polly)
47
endif(WITH_POLLY AND LINK_POLLY_INTO_TOOLS)