[CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196908 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2013-12-10 11:13:32 +00:00
parent 1f2868899a
commit 3aabdebde2
48 changed files with 291 additions and 57 deletions

View File

@ -1,4 +1,11 @@
set(LLVM_LINK_COMPONENTS jit bitwriter nativecodegen interpreter)
set(LLVM_LINK_COMPONENTS
BitWriter
Core
ExecutionEngine
JIT
Support
nativecodegen
)
add_llvm_example(BrainF
BrainF.cpp

View File

@ -1,4 +1,11 @@
set(LLVM_LINK_COMPONENTS jit mcjit nativecodegen)
set(LLVM_LINK_COMPONENTS
Core
ExecutionEngine
MCJIT
Support
nativecodegen
)
set(LLVM_REQUIRES_EH 1)
add_llvm_example(ExceptionDemo

View File

@ -1,4 +1,11 @@
set(LLVM_LINK_COMPONENTS jit interpreter nativecodegen)
set(LLVM_LINK_COMPONENTS
Core
ExecutionEngine
Interpreter
JIT
Support
nativecodegen
)
add_llvm_example(Fibonacci
fibonacci.cpp

View File

@ -1,4 +1,11 @@
set(LLVM_LINK_COMPONENTS jit interpreter nativecodegen)
set(LLVM_LINK_COMPONENTS
Core
ExecutionEngine
Interpreter
JIT
Support
nativecodegen
)
add_llvm_example(HowToUseJIT
HowToUseJIT.cpp

View File

@ -1,4 +1,7 @@
set(LLVM_LINK_COMPONENTS core)
set(LLVM_LINK_COMPONENTS
Core
Support
)
add_llvm_example(Kaleidoscope-Ch3
toy.cpp

View File

@ -1,4 +1,13 @@
set(LLVM_LINK_COMPONENTS core jit interpreter native)
set(LLVM_LINK_COMPONENTS
Analysis
Core
ExecutionEngine
InstCombine
JIT
ScalarOpts
Support
nativecodegen
)
add_llvm_example(Kaleidoscope-Ch4
toy.cpp

View File

@ -1,4 +1,13 @@
set(LLVM_LINK_COMPONENTS core jit interpreter native)
set(LLVM_LINK_COMPONENTS
Analysis
Core
ExecutionEngine
InstCombine
JIT
ScalarOpts
Support
nativecodegen
)
add_llvm_example(Kaleidoscope-Ch5
toy.cpp

View File

@ -1,4 +1,13 @@
set(LLVM_LINK_COMPONENTS core jit interpreter native)
set(LLVM_LINK_COMPONENTS
Analysis
Core
ExecutionEngine
InstCombine
JIT
ScalarOpts
Support
nativecodegen
)
add_llvm_example(Kaleidoscope-Ch6
toy.cpp

View File

@ -1,4 +1,15 @@
set(LLVM_LINK_COMPONENTS core jit interpreter native)
set(LLVM_LINK_COMPONENTS
Analysis
Core
ExecutionEngine
InstCombine
JIT
ScalarOpts
Support
TransformUtils
nativecodegen
)
set(LLVM_REQUIRES_RTTI 1)
add_llvm_example(Kaleidoscope-Ch7

View File

@ -1,4 +1,8 @@
set(LLVM_LINK_COMPONENTS bitwriter)
set(LLVM_LINK_COMPONENTS
BitWriter
Core
Support
)
add_llvm_example(ModuleMaker
ModuleMaker.cpp

View File

@ -1,4 +1,11 @@
set(LLVM_LINK_COMPONENTS jit interpreter nativecodegen)
set(LLVM_LINK_COMPONENTS
Core
ExecutionEngine
Interpreter
JIT
Support
nativecodegen
)
add_llvm_example(ParallelJIT
ParallelJIT.cpp

View File

@ -1,5 +1,20 @@
set(LLVM_LINK_COMPONENTS asmparser instrumentation scalaropts ipo
linker bitreader bitwriter irreader vectorize objcarcopts)
set(LLVM_LINK_COMPONENTS
Analysis
BitWriter
Core
IPA
IPO
IRReader
InstCombine
Instrumentation
Linker
ObjCARCOpts
ScalarOpts
Support
Target
TransformUtils
Vectorize
)
add_llvm_tool(bugpoint
BugDriver.cpp

View File

@ -1,4 +1,15 @@
set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} bitreader asmparser irreader)
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
AsmPrinter
CodeGen
Core
IRReader
MC
ScalarOpts
SelectionDAG
Support
Target
)
add_llvm_tool(llc
llc.cpp

View File

@ -1,6 +1,18 @@
add_subdirectory(ChildTarget)
set(LLVM_LINK_COMPONENTS mcjit jit interpreter nativecodegen bitreader asmparser irreader selectiondag native instrumentation)
set(LLVM_LINK_COMPONENTS
CodeGen
Core
ExecutionEngine
IRReader
Instrumentation
Interpreter
JIT
MCJIT
SelectionDAG
Support
native
)
if( LLVM_USE_OPROFILE )
set(LLVM_LINK_COMPONENTS

View File

@ -1,4 +1,7 @@
set(LLVM_LINK_COMPONENTS support object bitreader)
set(LLVM_LINK_COMPONENTS
Object
Support
)
add_llvm_tool(llvm-ar
llvm-ar.cpp

View File

@ -1,4 +1,9 @@
set(LLVM_LINK_COMPONENTS asmparser bitwriter)
set(LLVM_LINK_COMPONENTS
AsmParser
BitWriter
Core
Support
)
add_llvm_tool(llvm-as
llvm-as.cpp

View File

@ -1,4 +1,7 @@
set(LLVM_LINK_COMPONENTS bitreader)
set(LLVM_LINK_COMPONENTS
BitReader
Support
)
add_llvm_tool(llvm-bcanalyzer
llvm-bcanalyzer.cpp

View File

@ -1,4 +1,11 @@
set(LLVM_LINK_COMPONENTS all)
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
BitReader
Core
MCDisassembler
Object
Target
)
if (LLVM_COMPILER_IS_GCC_COMPATIBLE)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wstrict-prototypes")

View File

@ -1,4 +1,8 @@
set(LLVM_LINK_COMPONENTS support asmparser bitreader irreader)
set(LLVM_LINK_COMPONENTS
Core
IRReader
Support
)
add_llvm_tool(llvm-diff
llvm-diff.cpp

View File

@ -1,4 +1,8 @@
set(LLVM_LINK_COMPONENTS bitreader analysis)
set(LLVM_LINK_COMPONENTS
BitReader
Core
Support
)
add_llvm_tool(llvm-dis
llvm-dis.cpp

View File

@ -1,6 +1,7 @@
set(LLVM_LINK_COMPONENTS
DebugInfo
Object
Support
)
add_llvm_tool(llvm-dwarfdump

View File

@ -1,4 +1,10 @@
set(LLVM_LINK_COMPONENTS asmparser ipo bitreader bitwriter irreader)
set(LLVM_LINK_COMPONENTS
BitWriter
Core
IPO
IRReader
Support
)
add_llvm_tool(llvm-extract
llvm-extract.cpp

View File

@ -1,4 +1,10 @@
set(LLVM_LINK_COMPONENTS linker bitreader bitwriter asmparser irreader)
set(LLVM_LINK_COMPONENTS
BitWriter
Core
IRReader
Linker
Support
)
add_llvm_tool(llvm-link
llvm-link.cpp

View File

@ -1,4 +1,10 @@
set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} lto support)
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
Core
LTO
MC
Support
)
add_llvm_tool(llvm-lto
llvm-lto.cpp

View File

@ -1,4 +1,9 @@
set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} support MC MCParser MCDisassembler)
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
MC
MCParser
Support
)
add_llvm_tool(llvm-mc
llvm-mc.cpp

View File

@ -1,4 +1,9 @@
set(LLVM_LINK_COMPONENTS bitreader object)
set(LLVM_LINK_COMPONENTS
BitReader
Core
Object
Support
)
add_llvm_tool(llvm-nm
llvm-nm.cpp

View File

@ -2,9 +2,8 @@ set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
DebugInfo
MC
MCParser
MCDisassembler
Object
Support
)
add_llvm_tool(llvm-objdump

View File

@ -1,7 +1,8 @@
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
bitreader
object)
Object
Support
)
add_llvm_tool(llvm-readobj
llvm-readobj.cpp

View File

@ -1,4 +1,9 @@
set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} support MC object RuntimeDyld JIT debuginfo)
set(LLVM_LINK_COMPONENTS
DebugInfo
ExecutionEngine
RuntimeDyld
Support
)
add_llvm_tool(llvm-rtdyld
llvm-rtdyld.cpp

View File

@ -1,4 +1,7 @@
set(LLVM_LINK_COMPONENTS object)
set(LLVM_LINK_COMPONENTS
Object
Support
)
add_llvm_tool(llvm-size
llvm-size.cpp

View File

@ -1,4 +1,8 @@
set(LLVM_LINK_COMPONENTS bitreader asmparser bitwriter instrumentation scalaropts ipo)
set(LLVM_LINK_COMPONENTS
Core
IPA
Support
)
add_llvm_tool(llvm-stress
llvm-stress.cpp

View File

@ -6,6 +6,7 @@
set(LLVM_LINK_COMPONENTS
DebugInfo
Object
Support
)
add_llvm_tool(llvm-symbolizer

View File

@ -1,6 +1,10 @@
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
ipo scalaropts linker bitreader bitwriter lto mcdisassembler vectorize)
Core
LTO
MC
Support
)
add_definitions( -DLLVM_VERSION_INFO=\"${PACKAGE_VERSION}\" )

View File

@ -1,4 +1,7 @@
set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} support object)
set(LLVM_LINK_COMPONENTS
Object
Support
)
add_llvm_tool(macho-dump
macho-dump.cpp

View File

@ -1,4 +1,7 @@
set(LLVM_LINK_COMPONENTS object)
set(LLVM_LINK_COMPONENTS
Object
Support
)
add_llvm_utility(obj2yaml
obj2yaml.cpp coff2yaml.cpp

View File

@ -1,4 +1,21 @@
set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} bitreader asmparser bitwriter irreader instrumentation scalaropts objcarcopts ipo vectorize)
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
Analysis
BitWriter
Core
IPA
IPO
IRReader
InstCombine
Instrumentation
MC
ObjCARCOpts
ScalarOpts
Support
Target
TransformUtils
Vectorize
)
add_llvm_tool(opt
AnalysisWrappers.cpp

View File

@ -1,4 +1,7 @@
set(LLVM_LINK_COMPONENTS object)
set(LLVM_LINK_COMPONENTS
Object
Support
)
add_llvm_utility(yaml2obj
yaml2obj.cpp

View File

@ -1,6 +1,8 @@
set(LLVM_LINK_COMPONENTS
Analysis
AsmParser
Core
Support
)
add_llvm_unittest(AnalysisTests

View File

@ -1,6 +1,8 @@
set(LLVM_LINK_COMPONENTS
BitReader
BitWriter
Core
Support
)
add_llvm_unittest(BitcodeTests

View File

@ -1,7 +1,6 @@
set(LLVM_LINK_COMPONENTS
asmprinter
codegen
support
AsmPrinter
Support
)
set(CodeGenSources

View File

@ -1,7 +1,5 @@
set(LLVM_LINK_COMPONENTS
debuginfo
object
support
DebugInfo
)
set(DebugInfoSources

View File

@ -1,5 +1,8 @@
set(LLVM_LINK_COMPONENTS
interpreter
Core
ExecutionEngine
Interpreter
Support
)
add_llvm_unittest(ExecutionEngineTests

View File

@ -1,8 +1,11 @@
set(LLVM_LINK_COMPONENTS
asmparser
bitreader
bitwriter
jit
AsmParser
BitReader
BitWriter
Core
ExecutionEngine
JIT
Support
nativecodegen
)

View File

@ -1,8 +1,12 @@
set(LLVM_LINK_COMPONENTS
asmparser
bitreader
bitwriter
mcjit
Analysis
Core
ExecutionEngine
JIT
MCJIT
ScalarOpts
Support
Target
nativecodegen
)

View File

@ -1,7 +1,9 @@
set(LLVM_LINK_COMPONENTS
asmparser
core
ipa
Analysis
AsmParser
Core
IPA
Support
)
set(IRSources

View File

@ -1,5 +1,6 @@
set(LLVM_LINK_COMPONENTS
object
Object
Support
)
add_llvm_unittest(ObjectTests

View File

@ -1,5 +1,7 @@
set(LLVM_LINK_COMPONENTS
Core
Instrumentation
Support
)
add_llvm_unittest(DebugIRTests

View File

@ -1,4 +1,6 @@
set(LLVM_LINK_COMPONENTS
Core
Support
TransformUtils
)