Author: Jon Roelofs Date: 2023-08-04T10:27:19-07:00 New Revision: 2fb1c1082c01ddf9b2531083196ff2dace1fdab7
URL: https://github.com/llvm/llvm-project/commit/2fb1c1082c01ddf9b2531083196ff2dace1fdab7 DIFF: https://github.com/llvm/llvm-project/commit/2fb1c1082c01ddf9b2531083196ff2dace1fdab7.diff LOG: cmake: add missing dependencies on ClangDriverOptions tablegen The modules build trips over this frequently because there is no textual include of the tablegen output, but the module includes it. Differential revision: https://reviews.llvm.org/D157119 Added: Modified: clang-tools-extra/clang-apply-replacements/CMakeLists.txt clang-tools-extra/clang-change-namespace/CMakeLists.txt clang-tools-extra/clang-doc/CMakeLists.txt clang-tools-extra/clang-include-fixer/CMakeLists.txt clang-tools-extra/clang-include-fixer/find-all-symbols/CMakeLists.txt clang-tools-extra/clang-include-fixer/plugin/CMakeLists.txt clang-tools-extra/clang-move/CMakeLists.txt clang-tools-extra/clang-query/CMakeLists.txt clang-tools-extra/clang-reorder-fields/CMakeLists.txt clang-tools-extra/clang-tidy/CMakeLists.txt clang-tools-extra/clang-tidy/abseil/CMakeLists.txt clang-tools-extra/clang-tidy/altera/CMakeLists.txt clang-tools-extra/clang-tidy/android/CMakeLists.txt clang-tools-extra/clang-tidy/boost/CMakeLists.txt clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt clang-tools-extra/clang-tidy/cert/CMakeLists.txt clang-tools-extra/clang-tidy/concurrency/CMakeLists.txt clang-tools-extra/clang-tidy/cppcoreguidelines/CMakeLists.txt clang-tools-extra/clang-tidy/darwin/CMakeLists.txt clang-tools-extra/clang-tidy/fuchsia/CMakeLists.txt clang-tools-extra/clang-tidy/google/CMakeLists.txt clang-tools-extra/clang-tidy/hicpp/CMakeLists.txt clang-tools-extra/clang-tidy/linuxkernel/CMakeLists.txt clang-tools-extra/clang-tidy/llvm/CMakeLists.txt clang-tools-extra/clang-tidy/llvmlibc/CMakeLists.txt clang-tools-extra/clang-tidy/misc/CMakeLists.txt clang-tools-extra/clang-tidy/modernize/CMakeLists.txt clang-tools-extra/clang-tidy/mpi/CMakeLists.txt clang-tools-extra/clang-tidy/objc/CMakeLists.txt clang-tools-extra/clang-tidy/performance/CMakeLists.txt clang-tools-extra/clang-tidy/plugin/CMakeLists.txt clang-tools-extra/clang-tidy/portability/CMakeLists.txt clang-tools-extra/clang-tidy/readability/CMakeLists.txt clang-tools-extra/clang-tidy/tool/CMakeLists.txt clang-tools-extra/clang-tidy/utils/CMakeLists.txt clang-tools-extra/clang-tidy/zircon/CMakeLists.txt clang-tools-extra/clangd/index/remote/unimplemented/CMakeLists.txt clang-tools-extra/clangd/refactor/tweaks/CMakeLists.txt clang-tools-extra/clangd/xpc/CMakeLists.txt clang-tools-extra/include-cleaner/lib/CMakeLists.txt clang-tools-extra/modularize/CMakeLists.txt clang-tools-extra/pp-trace/CMakeLists.txt clang-tools-extra/pseudo/lib/CMakeLists.txt clang/CMakeLists.txt clang/lib/AST/CMakeLists.txt clang/lib/ASTMatchers/CMakeLists.txt clang/lib/ASTMatchers/Dynamic/CMakeLists.txt clang/lib/Analysis/CMakeLists.txt clang/lib/Basic/CMakeLists.txt clang/lib/Index/CMakeLists.txt clang/lib/Parse/CMakeLists.txt clang/lib/Sema/CMakeLists.txt clang/lib/Serialization/CMakeLists.txt clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt Removed: ################################################################################ diff --git a/clang-tools-extra/clang-apply-replacements/CMakeLists.txt b/clang-tools-extra/clang-apply-replacements/CMakeLists.txt index 27383b488e4dff..93198ccbfc406f 100644 --- a/clang-tools-extra/clang-apply-replacements/CMakeLists.txt +++ b/clang-tools-extra/clang-apply-replacements/CMakeLists.txt @@ -4,6 +4,9 @@ set(LLVM_LINK_COMPONENTS add_clang_library(clangApplyReplacements lib/Tooling/ApplyReplacements.cpp + + DEPENDS + ClangDriverOptions ) clang_target_link_libraries(clangApplyReplacements diff --git a/clang-tools-extra/clang-change-namespace/CMakeLists.txt b/clang-tools-extra/clang-change-namespace/CMakeLists.txt index 4cd9e7520b97b1..ded91edb8e34f0 100644 --- a/clang-tools-extra/clang-change-namespace/CMakeLists.txt +++ b/clang-tools-extra/clang-change-namespace/CMakeLists.txt @@ -8,6 +8,7 @@ add_clang_library(clangChangeNamespace DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangChangeNamespace diff --git a/clang-tools-extra/clang-doc/CMakeLists.txt b/clang-tools-extra/clang-doc/CMakeLists.txt index a43660c4884956..975ad8e242e490 100644 --- a/clang-tools-extra/clang-doc/CMakeLists.txt +++ b/clang-tools-extra/clang-doc/CMakeLists.txt @@ -18,6 +18,7 @@ add_clang_library(clangDoc DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangDoc diff --git a/clang-tools-extra/clang-include-fixer/CMakeLists.txt b/clang-tools-extra/clang-include-fixer/CMakeLists.txt index 5581d436f2fe49..94afdcc3c67b6e 100644 --- a/clang-tools-extra/clang-include-fixer/CMakeLists.txt +++ b/clang-tools-extra/clang-include-fixer/CMakeLists.txt @@ -15,6 +15,7 @@ add_clang_library(clangIncludeFixer DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangIncludeFixer diff --git a/clang-tools-extra/clang-include-fixer/find-all-symbols/CMakeLists.txt b/clang-tools-extra/clang-include-fixer/find-all-symbols/CMakeLists.txt index 0d9f686dfe80a2..0ed46428b0d63d 100644 --- a/clang-tools-extra/clang-include-fixer/find-all-symbols/CMakeLists.txt +++ b/clang-tools-extra/clang-include-fixer/find-all-symbols/CMakeLists.txt @@ -15,6 +15,7 @@ add_clang_library(findAllSymbols DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(findAllSymbols diff --git a/clang-tools-extra/clang-include-fixer/plugin/CMakeLists.txt b/clang-tools-extra/clang-include-fixer/plugin/CMakeLists.txt index 6d0328ed831242..db5d5a8324389d 100644 --- a/clang-tools-extra/clang-include-fixer/plugin/CMakeLists.txt +++ b/clang-tools-extra/clang-include-fixer/plugin/CMakeLists.txt @@ -13,4 +13,5 @@ add_clang_library(clangIncludeFixerPlugin DEPENDS omp_gen + ClangDriverOptions ) diff --git a/clang-tools-extra/clang-move/CMakeLists.txt b/clang-tools-extra/clang-move/CMakeLists.txt index 0b748ce6cd99a2..e8aeaedd61d4dd 100644 --- a/clang-tools-extra/clang-move/CMakeLists.txt +++ b/clang-tools-extra/clang-move/CMakeLists.txt @@ -9,6 +9,7 @@ add_clang_library(clangMove DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangMove diff --git a/clang-tools-extra/clang-query/CMakeLists.txt b/clang-tools-extra/clang-query/CMakeLists.txt index 8355ef0aba5e04..8a58d4224e049d 100644 --- a/clang-tools-extra/clang-query/CMakeLists.txt +++ b/clang-tools-extra/clang-query/CMakeLists.txt @@ -10,6 +10,7 @@ add_clang_library(clangQuery DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangQuery diff --git a/clang-tools-extra/clang-reorder-fields/CMakeLists.txt b/clang-tools-extra/clang-reorder-fields/CMakeLists.txt index 4013c46433e65d..b82146a7115858 100644 --- a/clang-tools-extra/clang-reorder-fields/CMakeLists.txt +++ b/clang-tools-extra/clang-reorder-fields/CMakeLists.txt @@ -8,6 +8,7 @@ add_clang_library(clangReorderFields DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangReorderFields diff --git a/clang-tools-extra/clang-tidy/CMakeLists.txt b/clang-tools-extra/clang-tidy/CMakeLists.txt index 12dabc34421fd9..7e1905aa897b7e 100644 --- a/clang-tools-extra/clang-tidy/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/CMakeLists.txt @@ -22,6 +22,7 @@ add_clang_library(clangTidy DEPENDS ClangSACheckers omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangTidy diff --git a/clang-tools-extra/clang-tidy/abseil/CMakeLists.txt b/clang-tools-extra/clang-tidy/abseil/CMakeLists.txt index e7c86fc8107dd8..489d732abaa8de 100644 --- a/clang-tools-extra/clang-tidy/abseil/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/abseil/CMakeLists.txt @@ -32,6 +32,7 @@ add_clang_library(clangTidyAbseilModule DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangTidyAbseilModule diff --git a/clang-tools-extra/clang-tidy/altera/CMakeLists.txt b/clang-tools-extra/clang-tidy/altera/CMakeLists.txt index cf8104b9d84264..f885993c3c9e71 100644 --- a/clang-tools-extra/clang-tidy/altera/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/altera/CMakeLists.txt @@ -14,6 +14,9 @@ add_clang_library(clangTidyAlteraModule LINK_LIBS clangTidy clangTidyUtils + + DEPENDS + ClangDriverOptions ) clang_target_link_libraries(clangTidyAlteraModule diff --git a/clang-tools-extra/clang-tidy/android/CMakeLists.txt b/clang-tools-extra/clang-tidy/android/CMakeLists.txt index d00e1a7fa1dbf1..c33d0daf4e25c0 100644 --- a/clang-tools-extra/clang-tidy/android/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/android/CMakeLists.txt @@ -28,6 +28,7 @@ add_clang_library(clangTidyAndroidModule DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangTidyAndroidModule diff --git a/clang-tools-extra/clang-tidy/boost/CMakeLists.txt b/clang-tools-extra/clang-tidy/boost/CMakeLists.txt index 8bf959d6327493..167b6fab774b7c 100644 --- a/clang-tools-extra/clang-tidy/boost/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/boost/CMakeLists.txt @@ -13,6 +13,7 @@ add_clang_library(clangTidyBoostModule DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangTidyBoostModule diff --git a/clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt b/clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt index b329857785b067..a9e62cce4d9df9 100644 --- a/clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt @@ -88,6 +88,7 @@ add_clang_library(clangTidyBugproneModule DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangTidyBugproneModule diff --git a/clang-tools-extra/clang-tidy/cert/CMakeLists.txt b/clang-tools-extra/clang-tidy/cert/CMakeLists.txt index 6d40e9418fc67a..889180f62fde9a 100644 --- a/clang-tools-extra/clang-tidy/cert/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/cert/CMakeLists.txt @@ -32,6 +32,7 @@ add_clang_library(clangTidyCERTModule DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangTidyCERTModule diff --git a/clang-tools-extra/clang-tidy/concurrency/CMakeLists.txt b/clang-tools-extra/clang-tidy/concurrency/CMakeLists.txt index 65d2ace6645ec0..3dab6aaf8aea27 100644 --- a/clang-tools-extra/clang-tidy/concurrency/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/concurrency/CMakeLists.txt @@ -11,6 +11,9 @@ add_clang_library(clangTidyConcurrencyModule LINK_LIBS clangTidy clangTidyUtils + + DEPENDS + ClangDriverOptions ) clang_target_link_libraries(clangTidyConcurrencyModule diff --git a/clang-tools-extra/clang-tidy/cppcoreguidelines/CMakeLists.txt b/clang-tools-extra/clang-tidy/cppcoreguidelines/CMakeLists.txt index 3b6fd642ae88db..c2cde34fb1336d 100644 --- a/clang-tools-extra/clang-tidy/cppcoreguidelines/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/cppcoreguidelines/CMakeLists.txt @@ -45,6 +45,7 @@ add_clang_library(clangTidyCppCoreGuidelinesModule DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangTidyCppCoreGuidelinesModule diff --git a/clang-tools-extra/clang-tidy/darwin/CMakeLists.txt b/clang-tools-extra/clang-tidy/darwin/CMakeLists.txt index aeb9ac70714266..6f6b3607b3ec64 100644 --- a/clang-tools-extra/clang-tidy/darwin/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/darwin/CMakeLists.txt @@ -14,6 +14,7 @@ add_clang_library(clangTidyDarwinModule DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangTidyDarwinModule diff --git a/clang-tools-extra/clang-tidy/fuchsia/CMakeLists.txt b/clang-tools-extra/clang-tidy/fuchsia/CMakeLists.txt index dd07813cded093..d0e68bfec47fec 100644 --- a/clang-tools-extra/clang-tidy/fuchsia/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/fuchsia/CMakeLists.txt @@ -20,6 +20,7 @@ add_clang_library(clangTidyFuchsiaModule DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangTidyFuchsiaModule diff --git a/clang-tools-extra/clang-tidy/google/CMakeLists.txt b/clang-tools-extra/clang-tidy/google/CMakeLists.txt index e1e5fc7a85a7d3..fcba2b1b214adc 100644 --- a/clang-tools-extra/clang-tidy/google/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/google/CMakeLists.txt @@ -29,6 +29,7 @@ add_clang_library(clangTidyGoogleModule DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangTidyGoogleModule diff --git a/clang-tools-extra/clang-tidy/hicpp/CMakeLists.txt b/clang-tools-extra/clang-tidy/hicpp/CMakeLists.txt index a25c21db4425a1..d12ca275d39647 100644 --- a/clang-tools-extra/clang-tidy/hicpp/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/hicpp/CMakeLists.txt @@ -23,6 +23,7 @@ add_clang_library(clangTidyHICPPModule DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangTidyHICPPModule diff --git a/clang-tools-extra/clang-tidy/linuxkernel/CMakeLists.txt b/clang-tools-extra/clang-tidy/linuxkernel/CMakeLists.txt index 7a86cfb32cb846..403589d9475904 100644 --- a/clang-tools-extra/clang-tidy/linuxkernel/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/linuxkernel/CMakeLists.txt @@ -13,6 +13,7 @@ add_clang_library(clangTidyLinuxKernelModule DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangTidyLinuxKernelModule diff --git a/clang-tools-extra/clang-tidy/llvm/CMakeLists.txt b/clang-tools-extra/clang-tidy/llvm/CMakeLists.txt index 5b5cbaffcc9e76..b56498bdc8c4b2 100644 --- a/clang-tools-extra/clang-tidy/llvm/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/llvm/CMakeLists.txt @@ -18,6 +18,7 @@ add_clang_library(clangTidyLLVMModule DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangTidyLLVMModule diff --git a/clang-tools-extra/clang-tidy/llvmlibc/CMakeLists.txt b/clang-tools-extra/clang-tidy/llvmlibc/CMakeLists.txt index 811137762c1652..b071cfd67dcf42 100644 --- a/clang-tools-extra/clang-tidy/llvmlibc/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/llvmlibc/CMakeLists.txt @@ -17,6 +17,7 @@ add_clang_library(clangTidyLLVMLibcModule DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangTidyLLVMLibcModule diff --git a/clang-tools-extra/clang-tidy/misc/CMakeLists.txt b/clang-tools-extra/clang-tidy/misc/CMakeLists.txt index 348f3fa6402ec2..2e88e68a544782 100644 --- a/clang-tools-extra/clang-tidy/misc/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/misc/CMakeLists.txt @@ -48,6 +48,7 @@ add_clang_library(clangTidyMiscModule DEPENDS omp_gen genconfusable + ClangDriverOptions ) clang_target_link_libraries(clangTidyMiscModule diff --git a/clang-tools-extra/clang-tidy/modernize/CMakeLists.txt b/clang-tools-extra/clang-tidy/modernize/CMakeLists.txt index a14501d13930e0..717c400c479033 100644 --- a/clang-tools-extra/clang-tidy/modernize/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/modernize/CMakeLists.txt @@ -51,6 +51,7 @@ add_clang_library(clangTidyModernizeModule DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangTidyModernizeModule diff --git a/clang-tools-extra/clang-tidy/mpi/CMakeLists.txt b/clang-tools-extra/clang-tidy/mpi/CMakeLists.txt index 113740cc56b124..717683042f5247 100644 --- a/clang-tools-extra/clang-tidy/mpi/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/mpi/CMakeLists.txt @@ -14,6 +14,7 @@ add_clang_library(clangTidyMPIModule DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangTidyMPIModule diff --git a/clang-tools-extra/clang-tidy/objc/CMakeLists.txt b/clang-tools-extra/clang-tidy/objc/CMakeLists.txt index bdd125c97cc028..aa428fce56a599 100644 --- a/clang-tools-extra/clang-tidy/objc/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/objc/CMakeLists.txt @@ -21,6 +21,7 @@ add_clang_library(clangTidyObjCModule DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangTidyObjCModule diff --git a/clang-tools-extra/clang-tidy/performance/CMakeLists.txt b/clang-tools-extra/clang-tidy/performance/CMakeLists.txt index f4bcee7daf184d..81128ff086021e 100644 --- a/clang-tools-extra/clang-tidy/performance/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/performance/CMakeLists.txt @@ -32,6 +32,7 @@ add_clang_library(clangTidyPerformanceModule DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangTidyPerformanceModule diff --git a/clang-tools-extra/clang-tidy/plugin/CMakeLists.txt b/clang-tools-extra/clang-tidy/plugin/CMakeLists.txt index 0b281e0799cf30..673da472a74680 100644 --- a/clang-tools-extra/clang-tidy/plugin/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/plugin/CMakeLists.txt @@ -7,6 +7,7 @@ add_clang_library(clangTidyPlugin DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangTidyPlugin diff --git a/clang-tools-extra/clang-tidy/portability/CMakeLists.txt b/clang-tools-extra/clang-tidy/portability/CMakeLists.txt index b5eb7354f20829..01a86d686daa76 100644 --- a/clang-tools-extra/clang-tidy/portability/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/portability/CMakeLists.txt @@ -16,6 +16,7 @@ add_clang_library(clangTidyPortabilityModule DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangTidyPortabilityModule diff --git a/clang-tools-extra/clang-tidy/readability/CMakeLists.txt b/clang-tools-extra/clang-tidy/readability/CMakeLists.txt index ba83cb441845c5..5452c2d48a4617 100644 --- a/clang-tools-extra/clang-tidy/readability/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/readability/CMakeLists.txt @@ -58,6 +58,7 @@ add_clang_library(clangTidyReadabilityModule DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangTidyReadabilityModule diff --git a/clang-tools-extra/clang-tidy/tool/CMakeLists.txt b/clang-tools-extra/clang-tidy/tool/CMakeLists.txt index 3ce552872015e0..b220cbea80f1b6 100644 --- a/clang-tools-extra/clang-tidy/tool/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/tool/CMakeLists.txt @@ -18,6 +18,7 @@ add_clang_library(clangTidyMain DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangTidyMain diff --git a/clang-tools-extra/clang-tidy/utils/CMakeLists.txt b/clang-tools-extra/clang-tidy/utils/CMakeLists.txt index 36d04ef6d97183..88638d4acd5567 100644 --- a/clang-tools-extra/clang-tidy/utils/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/utils/CMakeLists.txt @@ -30,6 +30,7 @@ add_clang_library(clangTidyUtils DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangTidyUtils diff --git a/clang-tools-extra/clang-tidy/zircon/CMakeLists.txt b/clang-tools-extra/clang-tidy/zircon/CMakeLists.txt index 89c0d5737cec1b..cd605d6d6c108d 100644 --- a/clang-tools-extra/clang-tidy/zircon/CMakeLists.txt +++ b/clang-tools-extra/clang-tidy/zircon/CMakeLists.txt @@ -13,6 +13,7 @@ add_clang_library(clangTidyZirconModule DEPENDS omp_gen + ClangDriverOptions ) clang_target_link_libraries(clangTidyZirconModule diff --git a/clang-tools-extra/clangd/index/remote/unimplemented/CMakeLists.txt b/clang-tools-extra/clangd/index/remote/unimplemented/CMakeLists.txt index 5729017813d518..86d13c77ce8746 100644 --- a/clang-tools-extra/clangd/index/remote/unimplemented/CMakeLists.txt +++ b/clang-tools-extra/clangd/index/remote/unimplemented/CMakeLists.txt @@ -7,4 +7,7 @@ add_clang_library(clangdRemoteIndex LINK_LIBS clangdSupport + + DEPENDS + ClangDriverOptions ) diff --git a/clang-tools-extra/clangd/refactor/tweaks/CMakeLists.txt b/clang-tools-extra/clangd/refactor/tweaks/CMakeLists.txt index 319503b1143c39..526a073f619ea3 100644 --- a/clang-tools-extra/clangd/refactor/tweaks/CMakeLists.txt +++ b/clang-tools-extra/clangd/refactor/tweaks/CMakeLists.txt @@ -44,4 +44,5 @@ add_clang_library(clangDaemonTweaks OBJECT DEPENDS omp_gen + ClangDriverOptions ) diff --git a/clang-tools-extra/clangd/xpc/CMakeLists.txt b/clang-tools-extra/clangd/xpc/CMakeLists.txt index 5ccdf2f5d06a51..b35c509a3f53db 100644 --- a/clang-tools-extra/clangd/xpc/CMakeLists.txt +++ b/clang-tools-extra/clangd/xpc/CMakeLists.txt @@ -22,4 +22,5 @@ add_clang_library(clangdXpcJsonConversions add_clang_library(clangdXpcTransport XPCTransport.cpp LINK_LIBS clangDaemon clangdSupport clangdXpcJsonConversions + DEPENDS ClangDriverOptions ) diff --git a/clang-tools-extra/include-cleaner/lib/CMakeLists.txt b/clang-tools-extra/include-cleaner/lib/CMakeLists.txt index 7b6d4991eeff3a..208791a1a7f1ed 100644 --- a/clang-tools-extra/include-cleaner/lib/CMakeLists.txt +++ b/clang-tools-extra/include-cleaner/lib/CMakeLists.txt @@ -9,6 +9,9 @@ add_clang_library(clangIncludeCleaner Record.cpp Types.cpp WalkAST.cpp + + DEPENDS + ClangDriverOptions ) clang_target_link_libraries(clangIncludeCleaner diff --git a/clang-tools-extra/modularize/CMakeLists.txt b/clang-tools-extra/modularize/CMakeLists.txt index 28635ca1089d48..eb5383c3ad44e0 100644 --- a/clang-tools-extra/modularize/CMakeLists.txt +++ b/clang-tools-extra/modularize/CMakeLists.txt @@ -10,6 +10,9 @@ add_clang_tool(modularize ModularizeUtilities.cpp CoverageChecker.cpp PreprocessorTracker.cpp + + DEPENDS + ClangDriverOptions ) clang_target_link_libraries(modularize diff --git a/clang-tools-extra/pp-trace/CMakeLists.txt b/clang-tools-extra/pp-trace/CMakeLists.txt index be1d9715cf26d9..1323adbc35269d 100644 --- a/clang-tools-extra/pp-trace/CMakeLists.txt +++ b/clang-tools-extra/pp-trace/CMakeLists.txt @@ -5,6 +5,9 @@ set(LLVM_LINK_COMPONENTS add_clang_tool(pp-trace PPTrace.cpp PPCallbacksTracker.cpp + + DEPENDS + ClangDriverOptions ) clang_target_link_libraries(pp-trace diff --git a/clang-tools-extra/pseudo/lib/CMakeLists.txt b/clang-tools-extra/pseudo/lib/CMakeLists.txt index f9b9cfa7fa1b3f..f92f79be121508 100644 --- a/clang-tools-extra/pseudo/lib/CMakeLists.txt +++ b/clang-tools-extra/pseudo/lib/CMakeLists.txt @@ -17,6 +17,9 @@ add_clang_library(clangPseudo clangBasic clangLex clangPseudoGrammar + + DEPENDS + ClangDriverOptions ) target_include_directories(clangPseudo INTERFACE diff --git a/clang/CMakeLists.txt b/clang/CMakeLists.txt index f7936d72e08827..9b52c58be41e7f 100644 --- a/clang/CMakeLists.txt +++ b/clang/CMakeLists.txt @@ -455,6 +455,7 @@ get_property(CLANG_TABLEGEN_TARGETS GLOBAL PROPERTY CLANG_TABLEGEN_TARGETS) add_custom_target(clang-tablegen-targets DEPENDS omp_gen + ClangDriverOptions ${CLANG_TABLEGEN_TARGETS}) set_target_properties(clang-tablegen-targets PROPERTIES FOLDER "Misc") list(APPEND LLVM_COMMON_DEPENDS clang-tablegen-targets) diff --git a/clang/lib/AST/CMakeLists.txt b/clang/lib/AST/CMakeLists.txt index 0b737626a22017..fe3f8c485ec1c5 100644 --- a/clang/lib/AST/CMakeLists.txt +++ b/clang/lib/AST/CMakeLists.txt @@ -132,5 +132,6 @@ add_clang_library(clangAST ClangAttrDocTable Opcodes omp_gen + ClangDriverOptions intrinsics_gen ) diff --git a/clang/lib/ASTMatchers/CMakeLists.txt b/clang/lib/ASTMatchers/CMakeLists.txt index 68f214b7784012..30303c1e39a00c 100644 --- a/clang/lib/ASTMatchers/CMakeLists.txt +++ b/clang/lib/ASTMatchers/CMakeLists.txt @@ -17,4 +17,5 @@ add_clang_library(clangASTMatchers DEPENDS omp_gen + ClangDriverOptions ) diff --git a/clang/lib/ASTMatchers/Dynamic/CMakeLists.txt b/clang/lib/ASTMatchers/Dynamic/CMakeLists.txt index 7110a503869e6d..ea1bee407b00af 100644 --- a/clang/lib/ASTMatchers/Dynamic/CMakeLists.txt +++ b/clang/lib/ASTMatchers/Dynamic/CMakeLists.txt @@ -17,4 +17,5 @@ add_clang_library(clangDynamicASTMatchers DEPENDS omp_gen + ClangDriverOptions ) diff --git a/clang/lib/Analysis/CMakeLists.txt b/clang/lib/Analysis/CMakeLists.txt index d029926c76e89a..7914c12d429ef9 100644 --- a/clang/lib/Analysis/CMakeLists.txt +++ b/clang/lib/Analysis/CMakeLists.txt @@ -43,6 +43,7 @@ add_clang_library(clangAnalysis DEPENDS omp_gen + ClangDriverOptions ) add_subdirectory(plugins) diff --git a/clang/lib/Basic/CMakeLists.txt b/clang/lib/Basic/CMakeLists.txt index caa1b6002e6f18..db59d7dd96da0a 100644 --- a/clang/lib/Basic/CMakeLists.txt +++ b/clang/lib/Basic/CMakeLists.txt @@ -125,6 +125,7 @@ add_clang_library(clangBasic DEPENDS omp_gen + ClangDriverOptions ) target_link_libraries(clangBasic diff --git a/clang/lib/Index/CMakeLists.txt b/clang/lib/Index/CMakeLists.txt index e6c1721d8c0269..b4e294304f1159 100644 --- a/clang/lib/Index/CMakeLists.txt +++ b/clang/lib/Index/CMakeLists.txt @@ -28,4 +28,5 @@ add_clang_library(clangIndex DEPENDS omp_gen + ClangDriverOptions ) diff --git a/clang/lib/Parse/CMakeLists.txt b/clang/lib/Parse/CMakeLists.txt index 3f65eea5218b15..5a20e9da974fa9 100644 --- a/clang/lib/Parse/CMakeLists.txt +++ b/clang/lib/Parse/CMakeLists.txt @@ -32,4 +32,5 @@ add_clang_library(clangParse DEPENDS omp_gen + ClangDriverOptions ) diff --git a/clang/lib/Sema/CMakeLists.txt b/clang/lib/Sema/CMakeLists.txt index 629fafadcf9f45..d3d403c1d5d79e 100644 --- a/clang/lib/Sema/CMakeLists.txt +++ b/clang/lib/Sema/CMakeLists.txt @@ -71,6 +71,7 @@ add_clang_library(clangSema DEPENDS ClangOpenCLBuiltinsImpl omp_gen + ClangDriverOptions LINK_LIBS clangAST diff --git a/clang/lib/Serialization/CMakeLists.txt b/clang/lib/Serialization/CMakeLists.txt index 48b37437d7e301..5a4b3a58e9c45e 100644 --- a/clang/lib/Serialization/CMakeLists.txt +++ b/clang/lib/Serialization/CMakeLists.txt @@ -34,4 +34,5 @@ add_clang_library(clangSerialization DEPENDS omp_gen + ClangDriverOptions ) diff --git a/clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt b/clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt index a84f205e214a56..a3653e371c711d 100644 --- a/clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt +++ b/clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt @@ -148,4 +148,5 @@ add_clang_library(clangStaticAnalyzerCheckers DEPENDS omp_gen + ClangDriverOptions ) _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits