diff options
24 files changed, 33 insertions, 0 deletions
diff --git a/clang-tools-extra/clang-query/tool/CMakeLists.txt b/clang-tools-extra/clang-query/tool/CMakeLists.txt index 2b58bf6dc2c..1a7a10b45e0 100644 --- a/clang-tools-extra/clang-query/tool/CMakeLists.txt +++ b/clang-tools-extra/clang-query/tool/CMakeLists.txt @@ -2,6 +2,10 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..) add_clang_executable(clang-query ClangQuery.cpp) target_link_libraries(clang-query + clangAST + clangASTMatchers + clangBasic + clangDynamicASTMatchers clangFrontend clangQuery clangTooling diff --git a/clang-tools-extra/clang-tidy/CMakeLists.txt b/clang-tools-extra/clang-tidy/CMakeLists.txt index 052aa99cb7b..01f533985c5 100644 --- a/clang-tools-extra/clang-tidy/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/CMakeLists.txt @@ -17,6 +17,8 @@ add_clang_library(clangTidy clangBasic clangFrontend clangRewriteCore + clangSema + clangStaticAnalyzerCore clangStaticAnalyzerFrontend clangTooling ) diff --git a/clang-tools-extra/clang-tidy/google/CMakeLists.txt b/clang-tools-extra/clang-tidy/google/CMakeLists.txt index b5781e66e57..ad2b3206aaa 100644 --- a/clang-tools-extra/clang-tidy/google/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/google/CMakeLists.txt @@ -9,5 +9,6 @@ add_clang_library(clangTidyGoogleModule clangAST clangASTMatchers clangBasic + clangLex clangTidy ) diff --git a/clang-tools-extra/clang-tidy/misc/CMakeLists.txt b/clang-tools-extra/clang-tidy/misc/CMakeLists.txt index ba8430c3ceb..233604ca7c8 100644 --- a/clang-tools-extra/clang-tidy/misc/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/misc/CMakeLists.txt @@ -11,5 +11,6 @@ add_clang_library(clangTidyMiscModule clangAST clangASTMatchers clangBasic + clangLex clangTidy ) diff --git a/clang-tools-extra/modularize/CMakeLists.txt b/clang-tools-extra/modularize/CMakeLists.txt index 6919e859401..eaf220884c8 100644 --- a/clang-tools-extra/modularize/CMakeLists.txt +++ b/clang-tools-extra/modularize/CMakeLists.txt @@ -10,6 +10,7 @@ add_clang_executable(modularize ) target_link_libraries(modularize + clangAST clangBasic clangDriver clangFrontend diff --git a/clang-tools-extra/module-map-checker/CMakeLists.txt b/clang-tools-extra/module-map-checker/CMakeLists.txt index c2681501144..cb7c6fd69f3 100644 --- a/clang-tools-extra/module-map-checker/CMakeLists.txt +++ b/clang-tools-extra/module-map-checker/CMakeLists.txt @@ -7,7 +7,11 @@ add_clang_executable(module-map-checker ) target_link_libraries(module-map-checker + clangAST clangBasic + clangDriver + clangFrontend + clangLex clangRewriteFrontend clangTooling ) diff --git a/clang-tools-extra/unittests/clang-query/CMakeLists.txt b/clang-tools-extra/unittests/clang-query/CMakeLists.txt index 25b7533a2e0..a96a9bcb448 100644 --- a/clang-tools-extra/unittests/clang-query/CMakeLists.txt +++ b/clang-tools-extra/unittests/clang-query/CMakeLists.txt @@ -14,6 +14,7 @@ add_extra_unittest(ClangQueryTests target_link_libraries(ClangQueryTests clangAST clangASTMatchers + clangDynamicASTMatchers clangQuery clangTooling ) diff --git a/clang/lib/Analysis/CMakeLists.txt b/clang/lib/Analysis/CMakeLists.txt index a3cbe57b7ec..9de4fe34ef5 100644 --- a/clang/lib/Analysis/CMakeLists.txt +++ b/clang/lib/Analysis/CMakeLists.txt @@ -31,4 +31,5 @@ add_clang_library(clangAnalysis LINK_LIBS clangAST clangBasic + clangLex ) diff --git a/clang/lib/CodeGen/CMakeLists.txt b/clang/lib/CodeGen/CMakeLists.txt index 822dd9fa2e5..00a87d87a29 100644 --- a/clang/lib/CodeGen/CMakeLists.txt +++ b/clang/lib/CodeGen/CMakeLists.txt @@ -13,6 +13,7 @@ set(LLVM_LINK_COMPONENTS ScalarOpts Support Target + TransformUtils ) add_clang_library(clangCodeGen diff --git a/llvm/examples/BrainF/CMakeLists.txt b/llvm/examples/BrainF/CMakeLists.txt index 025d0933640..65589d9f39f 100644 --- a/llvm/examples/BrainF/CMakeLists.txt +++ b/llvm/examples/BrainF/CMakeLists.txt @@ -3,6 +3,7 @@ set(LLVM_LINK_COMPONENTS Core ExecutionEngine JIT + MC Support nativecodegen ) diff --git a/llvm/examples/Fibonacci/CMakeLists.txt b/llvm/examples/Fibonacci/CMakeLists.txt index 724a0f6715d..c015e50ac35 100644 --- a/llvm/examples/Fibonacci/CMakeLists.txt +++ b/llvm/examples/Fibonacci/CMakeLists.txt @@ -3,6 +3,7 @@ set(LLVM_LINK_COMPONENTS ExecutionEngine Interpreter JIT + MC Support nativecodegen ) diff --git a/llvm/examples/HowToUseJIT/CMakeLists.txt b/llvm/examples/HowToUseJIT/CMakeLists.txt index 88aed026bf6..237cbea861d 100644 --- a/llvm/examples/HowToUseJIT/CMakeLists.txt +++ b/llvm/examples/HowToUseJIT/CMakeLists.txt @@ -3,6 +3,7 @@ set(LLVM_LINK_COMPONENTS ExecutionEngine Interpreter JIT + MC Support nativecodegen ) diff --git a/llvm/examples/Kaleidoscope/Chapter4/CMakeLists.txt b/llvm/examples/Kaleidoscope/Chapter4/CMakeLists.txt index 72a9f0512cd..2b87e868498 100644 --- a/llvm/examples/Kaleidoscope/Chapter4/CMakeLists.txt +++ b/llvm/examples/Kaleidoscope/Chapter4/CMakeLists.txt @@ -4,6 +4,7 @@ set(LLVM_LINK_COMPONENTS ExecutionEngine InstCombine JIT + MC ScalarOpts Support nativecodegen diff --git a/llvm/examples/Kaleidoscope/Chapter5/CMakeLists.txt b/llvm/examples/Kaleidoscope/Chapter5/CMakeLists.txt index c7d0276194c..c3e7c43cb41 100644 --- a/llvm/examples/Kaleidoscope/Chapter5/CMakeLists.txt +++ b/llvm/examples/Kaleidoscope/Chapter5/CMakeLists.txt @@ -4,6 +4,7 @@ set(LLVM_LINK_COMPONENTS ExecutionEngine InstCombine JIT + MC ScalarOpts Support nativecodegen diff --git a/llvm/examples/Kaleidoscope/Chapter6/CMakeLists.txt b/llvm/examples/Kaleidoscope/Chapter6/CMakeLists.txt index 669c7eb171b..cd61cec89d5 100644 --- a/llvm/examples/Kaleidoscope/Chapter6/CMakeLists.txt +++ b/llvm/examples/Kaleidoscope/Chapter6/CMakeLists.txt @@ -4,6 +4,7 @@ set(LLVM_LINK_COMPONENTS ExecutionEngine InstCombine JIT + MC ScalarOpts Support nativecodegen diff --git a/llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt b/llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt index 0a0c8e7cab5..cdb13c465d1 100644 --- a/llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt +++ b/llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt @@ -4,6 +4,7 @@ set(LLVM_LINK_COMPONENTS ExecutionEngine InstCombine JIT + MC ScalarOpts Support TransformUtils diff --git a/llvm/tools/lli/CMakeLists.txt b/llvm/tools/lli/CMakeLists.txt index 731b61a11b4..41f75349dfe 100644 --- a/llvm/tools/lli/CMakeLists.txt +++ b/llvm/tools/lli/CMakeLists.txt @@ -8,7 +8,9 @@ set(LLVM_LINK_COMPONENTS Instrumentation Interpreter JIT + MC MCJIT + Object SelectionDAG Support native diff --git a/llvm/tools/llvm-ar/CMakeLists.txt b/llvm/tools/llvm-ar/CMakeLists.txt index 0e809a705bb..5193def2aad 100644 --- a/llvm/tools/llvm-ar/CMakeLists.txt +++ b/llvm/tools/llvm-ar/CMakeLists.txt @@ -1,5 +1,6 @@ set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} + Core Object Support ) diff --git a/llvm/tools/llvm-nm/CMakeLists.txt b/llvm/tools/llvm-nm/CMakeLists.txt index 1fe4a2dbaca..20293bb88f0 100644 --- a/llvm/tools/llvm-nm/CMakeLists.txt +++ b/llvm/tools/llvm-nm/CMakeLists.txt @@ -1,5 +1,6 @@ set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} + Core Object Support ) diff --git a/llvm/tools/yaml2obj/CMakeLists.txt b/llvm/tools/yaml2obj/CMakeLists.txt index 5e63dfbbe72..78e92a0680f 100644 --- a/llvm/tools/yaml2obj/CMakeLists.txt +++ b/llvm/tools/yaml2obj/CMakeLists.txt @@ -1,4 +1,5 @@ set(LLVM_LINK_COMPONENTS + MC Object Support ) diff --git a/llvm/unittests/ExecutionEngine/CMakeLists.txt b/llvm/unittests/ExecutionEngine/CMakeLists.txt index 489eaaff6ad..5e462220e5c 100644 --- a/llvm/unittests/ExecutionEngine/CMakeLists.txt +++ b/llvm/unittests/ExecutionEngine/CMakeLists.txt @@ -2,6 +2,7 @@ set(LLVM_LINK_COMPONENTS Core ExecutionEngine Interpreter + MC Support ) diff --git a/llvm/unittests/ExecutionEngine/JIT/CMakeLists.txt b/llvm/unittests/ExecutionEngine/JIT/CMakeLists.txt index 72c1df7463d..5ace1c6ee48 100644 --- a/llvm/unittests/ExecutionEngine/JIT/CMakeLists.txt +++ b/llvm/unittests/ExecutionEngine/JIT/CMakeLists.txt @@ -5,6 +5,7 @@ set(LLVM_LINK_COMPONENTS Core ExecutionEngine JIT + MC Support nativecodegen ) diff --git a/llvm/unittests/ExecutionEngine/MCJIT/CMakeLists.txt b/llvm/unittests/ExecutionEngine/MCJIT/CMakeLists.txt index afa3f2a6f66..cbd08fe9b8e 100644 --- a/llvm/unittests/ExecutionEngine/MCJIT/CMakeLists.txt +++ b/llvm/unittests/ExecutionEngine/MCJIT/CMakeLists.txt @@ -4,6 +4,7 @@ set(LLVM_LINK_COMPONENTS ExecutionEngine IPO JIT + MC MCJIT ScalarOpts Support diff --git a/llvm/unittests/MC/CMakeLists.txt b/llvm/unittests/MC/CMakeLists.txt index e2beab22ff9..37543f48bce 100644 --- a/llvm/unittests/MC/CMakeLists.txt +++ b/llvm/unittests/MC/CMakeLists.txt @@ -1,5 +1,7 @@ set(LLVM_LINK_COMPONENTS + MC MCAnalysis + Support ) add_llvm_unittest(MCTests |