[all-commits] [llvm/llvm-project] dab3c6: [Clang] Change Attribute plugin to link clang-cpp ...

Thomas Fransham via All-commits all-commits at lists.llvm.org
Thu Sep 19 22:06:20 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dab3c6d39458fcc0607c678263132d7ca184cddd
      https://github.com/llvm/llvm-project/commit/dab3c6d39458fcc0607c678263132d7ca184cddd
  Author: Thomas Fransham <tfransham at gmail.com>
  Date:   2024-09-20 (Fri, 20 Sep 2024)

  Changed paths:
    M clang/examples/Attribute/CMakeLists.txt

  Log Message:
  -----------
  [Clang] Change Attribute plugin to link clang-cpp like other examples (#109319)

Change the Attribute example plugin to use clang_target_link_libraries
instead of target_link_libraries so libclang-cpp is linked when the
CLANG_LINK_CLANG_DYLIB CMake option is used.
This change will allow building the plugin on windows when building llvm
and clang as a shared library with explicit visibility macros enabled.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list