HomePhabricator

[libc++] Use a proper CMake target to represent libc++ headers

Authored by ldionne on Jun 26 2020, 1:05 PM.

Description

[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

Details

Committed
ldionneJul 14 2020, 6:52 AM
Differential Revision
D82702: [libc++] Use a proper CMake target to represent libc++ headers
Parents
rG3ae43a580eea: [ods] Enable getting forward decls allow
Branches
Unknown
Tags
Unknown