[all-commits] [llvm/llvm-project] cc56a5: [clang][lld][cmake] Simplify header dirs

John Ericson via All-commits all-commits at lists.llvm.org
Thu Jul 28 16:36:52 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc56a5022c94710d8393f1505f925494f7d2cc1c
      https://github.com/llvm/llvm-project/commit/cc56a5022c94710d8393f1505f925494f7d2cc1c
  Author: John Ericson <John.Ericson at Obsidian.Systems>
  Date:   2022-07-28 (Thu, 28 Jul 2022)

  Changed paths:
    M clang/CMakeLists.txt
    M lld/CMakeLists.txt

  Log Message:
  -----------
  [clang][lld][cmake] Simplify header dirs

We don't need to recompute the list LLVMConfig.cmake provides us.

When LLVM is being built, the list is two elements long: generated headers and headers from source.

When LLVM is already built,the list is one element long: the installed header directory containing both generated and hand-written sources.

Reviewed By: sebastian-ne

Differential Revision: https://reviews.llvm.org/D130553




More information about the All-commits mailing list