search for: link_libs

Displaying 3 results from an estimated 3 matches for "link_libs".

2016 Feb 09
2
D16945: LLVM overhaul to avoid linking LLVM component libraries with libLLVM
...============================ --- utils/unittest/UnitTestMain/CMakeLists.txt (revision 260200) +++ utils/unittest/UnitTestMain/CMakeLists.txt (working copy) @@ -1,7 +1,17 @@ -add_llvm_library(gtest_main - TestMain.cpp +if (LLVM_LINK_LLVM_DYLIB) + add_llvm_library(gtest_main + TestMain.cpp - LINK_LIBS - gtest - LLVMSupport # Depends on llvm::cl - ) + LINK_LIBS + gtest + LLVM # Depends on llvm::cl + ) +else() + add_llvm_library(gtest_main + TestMain.cpp + + LINK_LIBS + gtest + LLVMSupport # Depends on llvm::cl + ) +endif() > On Sat, Feb 6, 2016 at 10:55 AM, Jack...
2016 Feb 06
2
D16945: LLVM overhaul to avoid linking LLVM component libraries with libLLVM
Hans, I have posted a complete patch for solving the linkage issues with LLVM_LINK_LLVM_DYLIB on Phabricator at http://reviews.llvm.org/D16945. The bulk of the fix the simple changes of... Index: cmake/modules/AddLLVM.cmake =================================================================== --- cmake/modules/AddLLVM.cmake (revision 259743) +++ cmake/modules/AddLLVM.cmake (working copy) @@
2020 Sep 27
3
How to add a new clang-tidy module
.../CMakeLists.txt new file mode 100644 index 00000000000..ca345a946c9 --- /dev/null +++ b/clang-tools-extra/clang-tidy/misra/CMakeLists.txt @@ -0,0 +1,28 @@ +set(LLVM_LINK_COMPONENTS + support + FrontendOpenMP + ) + +add_clang_library(clangTidyMISRAModule + M011Check.cpp + MISRATidyModule.cpp + LINK_LIBS + clangTidy + clangTidyBugproneModule + clangTidyGoogleModule + clangTidyMiscModule + clangTidyPerformanceModule + clangTidyReadabilityModule + clangTidyUtils + + DEPENDS + omp_gen +) + +clang_target_link_libraries(clangTidyMISRAModule + PRIVATE + clangAST + clangASTMatchers + clangBas...