[all-commits] [llvm/llvm-project] efa40e: [libc++] Use a proper CMake target to represent li...

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Jul 14 06:53:19 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: efa40eb194916e1faa32748f097f0cce60dd7d9b
      https://github.com/llvm/llvm-project/commit/efa40eb194916e1faa32748f097f0cce60dd7d9b
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-07-14 (Tue, 14 Jul 2020)

  Changed paths:
    M libcxx/CMakeLists.txt
    M libcxx/cmake/Modules/DefineLinkerScript.cmake
    M libcxx/include/CMakeLists.txt
    M libcxx/src/CMakeLists.txt

  Log Message:
  -----------
  [libc++] Use a proper CMake target to represent libc++ headers

Instead of having complex logic around how to include the libc++ headers
and __config_site, handle that by defining cxx-headers as an INTERFACE
library and linking against it. After this patch, linking against cxx-headers
is sufficient to get the right __config_site include and include paths
for libc++.

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




More information about the All-commits mailing list