OSDN Git Service

[CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 10 Dec 2013 11:13:32 +0000 (11:13 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 10 Dec 2013 11:13:32 +0000 (11:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196908 91177308-0d34-0410-b5e6-96231b3b80d8

48 files changed:
examples/BrainF/CMakeLists.txt
examples/ExceptionDemo/CMakeLists.txt
examples/Fibonacci/CMakeLists.txt
examples/HowToUseJIT/CMakeLists.txt
examples/Kaleidoscope/Chapter3/CMakeLists.txt
examples/Kaleidoscope/Chapter4/CMakeLists.txt
examples/Kaleidoscope/Chapter5/CMakeLists.txt
examples/Kaleidoscope/Chapter6/CMakeLists.txt
examples/Kaleidoscope/Chapter7/CMakeLists.txt
examples/ModuleMaker/CMakeLists.txt
examples/ParallelJIT/CMakeLists.txt
tools/bugpoint/CMakeLists.txt
tools/llc/CMakeLists.txt
tools/lli/CMakeLists.txt
tools/llvm-ar/CMakeLists.txt
tools/llvm-as/CMakeLists.txt
tools/llvm-bcanalyzer/CMakeLists.txt
tools/llvm-c-test/CMakeLists.txt
tools/llvm-diff/CMakeLists.txt
tools/llvm-dis/CMakeLists.txt
tools/llvm-dwarfdump/CMakeLists.txt
tools/llvm-extract/CMakeLists.txt
tools/llvm-link/CMakeLists.txt
tools/llvm-lto/CMakeLists.txt
tools/llvm-mc/CMakeLists.txt
tools/llvm-nm/CMakeLists.txt
tools/llvm-objdump/CMakeLists.txt
tools/llvm-readobj/CMakeLists.txt
tools/llvm-rtdyld/CMakeLists.txt
tools/llvm-size/CMakeLists.txt
tools/llvm-stress/CMakeLists.txt
tools/llvm-symbolizer/CMakeLists.txt
tools/lto/CMakeLists.txt
tools/macho-dump/CMakeLists.txt
tools/obj2yaml/CMakeLists.txt
tools/opt/CMakeLists.txt
tools/yaml2obj/CMakeLists.txt
unittests/Analysis/CMakeLists.txt
unittests/Bitcode/CMakeLists.txt
unittests/CodeGen/CMakeLists.txt
unittests/DebugInfo/CMakeLists.txt
unittests/ExecutionEngine/CMakeLists.txt
unittests/ExecutionEngine/JIT/CMakeLists.txt
unittests/ExecutionEngine/MCJIT/CMakeLists.txt
unittests/IR/CMakeLists.txt
unittests/Object/CMakeLists.txt
unittests/Transforms/DebugIR/CMakeLists.txt
unittests/Transforms/Utils/CMakeLists.txt

index 7bec105..025d093 100644 (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
index ea818fa..5324acd 100644 (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
index 6937612..724a0f6 100644 (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
index 428b53f..88aed02 100644 (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
index 1af8db0..a98d7df 100644 (file)
@@ -1,4 +1,7 @@
-set(LLVM_LINK_COMPONENTS core)
+set(LLVM_LINK_COMPONENTS
+  Core
+  Support
+  )
 
 add_llvm_example(Kaleidoscope-Ch3
   toy.cpp
index 0d1ac53..72a9f05 100644 (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
index 2d75ad3..c7d0276 100644 (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
index 2e15a5f..669c7eb 100644 (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
index da38398..0a0c8e7 100644 (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
index 81e9115..a73909a 100644 (file)
@@ -1,4 +1,8 @@
-set(LLVM_LINK_COMPONENTS bitwriter)
+set(LLVM_LINK_COMPONENTS
+  BitWriter
+  Core
+  Support
+  )
 
 add_llvm_example(ModuleMaker
   ModuleMaker.cpp
index fbdc6e5..8673917 100644 (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
index 0000d97..7e7ad0e 100644 (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
index 97c762b..9a3d411 100644 (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
index 841a0ce..731b61a 100644 (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
index f15a1e2..857cf2d 100644 (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
index d5620e7..1b2789a 100644 (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
index 0151ea9..369f469 100644 (file)
@@ -1,4 +1,7 @@
-set(LLVM_LINK_COMPONENTS bitreader)
+set(LLVM_LINK_COMPONENTS
+  BitReader
+  Support
+  )
 
 add_llvm_tool(llvm-bcanalyzer
   llvm-bcanalyzer.cpp
index 2926d9d..13a072a 100644 (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")
index 0df8b9e..4407a86 100644 (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
index 9f12ecb..06ac051 100644 (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
index 05aad3f..288b323 100644 (file)
@@ -1,6 +1,7 @@
 set(LLVM_LINK_COMPONENTS
   DebugInfo
   Object
+  Support
   )
 
 add_llvm_tool(llvm-dwarfdump
index 3163c4b..c984f01 100644 (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
index 4df5356..d4f5be7 100644 (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
index 348976c..485b03d 100644 (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
index 805caf4..6f8e9e5 100644 (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
index b1672ff..ce758ce 100644 (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
index e983ec9..413cb9b 100644 (file)
@@ -2,9 +2,8 @@ set(LLVM_LINK_COMPONENTS
   ${LLVM_TARGETS_TO_BUILD}
   DebugInfo
   MC
-  MCParser
-  MCDisassembler
   Object
+  Support
   )
 
 add_llvm_tool(llvm-objdump
index 90997a8..e67b970 100644 (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
index 8d161d3..3ad127f 100644 (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
index 933cc75..6034573 100644 (file)
@@ -1,4 +1,7 @@
-set(LLVM_LINK_COMPONENTS object)
+set(LLVM_LINK_COMPONENTS
+  Object
+  Support
+  )
 
 add_llvm_tool(llvm-size
   llvm-size.cpp
index ff3a5c4..106ced1 100644 (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
index 5967b89..9e76248 100644 (file)
@@ -6,6 +6,7 @@
 set(LLVM_LINK_COMPONENTS
   DebugInfo
   Object
+  Support
   )
 
 add_llvm_tool(llvm-symbolizer
index 957a9f0..da0f6bf 100644 (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}\" )
 
index d55e1d5..bc2dfbf 100644 (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
index 6b39193..536c413 100644 (file)
@@ -1,4 +1,7 @@
-set(LLVM_LINK_COMPONENTS object)
+set(LLVM_LINK_COMPONENTS
+  Object
+  Support
+  )
 
 add_llvm_utility(obj2yaml
   obj2yaml.cpp coff2yaml.cpp
index 9195911..816edea 100644 (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
index 8d9d652..3e2e4b1 100644 (file)
@@ -1,4 +1,7 @@
-set(LLVM_LINK_COMPONENTS object)
+set(LLVM_LINK_COMPONENTS
+  Object
+  Support
+  )
 
 add_llvm_utility(yaml2obj
   yaml2obj.cpp
index 7e5b358..d9f8c0c 100644 (file)
@@ -1,6 +1,8 @@
 set(LLVM_LINK_COMPONENTS
   Analysis
   AsmParser
+  Core
+  Support
   )
 
 add_llvm_unittest(AnalysisTests
index d8f5fe1..743ab18 100644 (file)
@@ -1,6 +1,8 @@
 set(LLVM_LINK_COMPONENTS
   BitReader
   BitWriter
+  Core
+  Support
   )
 
 add_llvm_unittest(BitcodeTests
index 5973bae..65c0ac3 100644 (file)
@@ -1,7 +1,6 @@
 set(LLVM_LINK_COMPONENTS
-  asmprinter
-  codegen
-  support
+  AsmPrinter
+  Support
   )
 
 set(CodeGenSources
index ec580b7..e844e95 100644 (file)
@@ -1,7 +1,5 @@
 set(LLVM_LINK_COMPONENTS
-  debuginfo
-  object
-  support
+  DebugInfo
   )
 
 set(DebugInfoSources
index 4eefc1e..7ef509b 100644 (file)
@@ -1,5 +1,8 @@
 set(LLVM_LINK_COMPONENTS
-  interpreter
+  Core
+  ExecutionEngine
+  Interpreter
+  Support
   )
 
 add_llvm_unittest(ExecutionEngineTests
index ef37026..d5e0b2e 100644 (file)
@@ -1,8 +1,11 @@
 set(LLVM_LINK_COMPONENTS
-  asmparser
-  bitreader
-  bitwriter
-  jit
+  AsmParser
+  BitReader
+  BitWriter
+  Core
+  ExecutionEngine
+  JIT
+  Support
   nativecodegen
   )
 
index ed43099..a425b24 100644 (file)
@@ -1,8 +1,12 @@
 set(LLVM_LINK_COMPONENTS
-  asmparser
-  bitreader
-  bitwriter
-  mcjit
+  Analysis
+  Core
+  ExecutionEngine
+  JIT
+  MCJIT
+  ScalarOpts
+  Support
+  Target
   nativecodegen
   )
 
index fd0831f..a597a35 100644 (file)
@@ -1,7 +1,9 @@
 set(LLVM_LINK_COMPONENTS
-  asmparser
-  core
-  ipa
+  Analysis
+  AsmParser
+  Core
+  IPA
+  Support
   )
 
 set(IRSources
index b491dd7..6dd66ce 100644 (file)
@@ -1,5 +1,6 @@
 set(LLVM_LINK_COMPONENTS
-  object
+  Object
+  Support
   )
 
 add_llvm_unittest(ObjectTests
index 4b47193..88734d2 100644 (file)
@@ -1,5 +1,7 @@
 set(LLVM_LINK_COMPONENTS
+  Core
   Instrumentation
+  Support
   )
 
 add_llvm_unittest(DebugIRTests
index 3cff95e..60447bb 100644 (file)
@@ -1,4 +1,6 @@
 set(LLVM_LINK_COMPONENTS
+  Core
+  Support
   TransformUtils
   )