C++ Logo

sg15

Advanced search

Re: "logical name" of importable headers

From: Boris Kolpackov <boris_at_[hidden]>
Date: Mon, 6 Jun 2022 13:07:57 +0200
Daniel Ruoso via SG15 <sg15_at_[hidden]> writes:

> My main question is on how the build system communicates to the
> compiler which importable headers exist:

With the module mapper approach (at least as implemented in
GCC/libcody), for each header include the compiler asks the
build system whether to translate it to an import.

You can read on how the user communicates this information to
build2 here:

https://build2.org/blog/build2-cxx20-modules-gcc.xhtml#include-translation

Received on 2022-06-06 11:08:03