[all-commits] [llvm/llvm-project] 8d468c: NFC: Make clang resource headers an interface libr...

Evan Wilde via All-commits all-commits at lists.llvm.org
Fri Apr 12 09:10:40 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d468c132eed7ffe34d601b224220efd51655eb3
      https://github.com/llvm/llvm-project/commit/8d468c132eed7ffe34d601b224220efd51655eb3
  Author: Evan Wilde <etceterawilde at gmail.com>
  Date:   2024-04-12 (Fri, 12 Apr 2024)

  Changed paths:
    M clang/lib/Headers/CMakeLists.txt

  Log Message:
  -----------
  NFC: Make clang resource headers an interface library (#88317)

Making the clang resource headers into an interface library instead of a
custom target means that we can attach the header search paths to the
library. Targets that "link" against this library will automatically
have the appropriate paths added to their header search paths to find
them. Then downstream projects that embed a copy of clang can query the
generated `ClangTargets.cmake` file for the header location instead of
attempting to compute them.



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