[libcxx-commits] [PATCH] D82702: [libc++] Use a proper CMake target to represent libc++ headers
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Jun 27 04:20:17 PDT 2020
ldionne created this revision.
ldionne added a reviewer: phosek.
Herald added subscribers: libcxx-commits, dexonsmith, jkorous, mgorny.
Herald added a project: libc++.
Herald added a reviewer: libc++.
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++.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D82702
Files:
libcxx/CMakeLists.txt
libcxx/cmake/Modules/DefineLinkerScript.cmake
libcxx/include/CMakeLists.txt
libcxx/src/CMakeLists.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82702.273895.patch
Type: text/x-patch
Size: 5973 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200627/dc2355b4/attachment-0001.bin>
More information about the libcxx-commits
mailing list