[Tooling] C++ project layout pool

Boris Kolpackov boris at codesynthesis.com
Fri Jun 15 07:42:02 CEST 2018


Manuel Klimek <klimek at google.com> writes:

> One interesting problem in the discussion is that there is an underlying
> assumption that the build system / compiler doesn't give you support to
> prevent including private headers in the combined layout - this is not true
> for all build systems.

Wouldn't this require (at least in a portable implementation) "exporting"
(i.e., copying) public headers into a separate location in order to prevent
the compiler from seeing the private stuff? In other words, once we have
-Ifoo, the compiler will "see" every header in foo/.


More information about the Tooling mailing list