[Tooling] [isocpp-modules] Path to modules with old bad build systems

Manuel Klimek klimek at google.com
Tue Feb 26 10:50:22 CET 2019


On Tue, Feb 26, 2019 at 4:01 AM Ben Boeckel <ben.boeckel at kitware.com> wrote:

> On Mon, Feb 25, 2019 at 09:52:34 +0100, Manuel Klimek wrote:
> > In the compilation database (
> > https://clang.llvm.org/docs/JSONCompilationDatabase.html) we specify the
> > build dir for each file.
>
> But that is (generally) output from the build system, not the compiler.
> The build system knows because…well, it does. The compiler is just
> invoked in a working directory and given no indication of where a "root"
> directory is (and I think it might be silly to pass it on the command
> line just to have it in this file, but maybe not).


Can't the compiler put in the current work directory it's been called
with?  That's what I'd expect.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.open-std.org/pipermail/tooling/attachments/20190226/5b7ecca9/attachment-0001.html 


More information about the Tooling mailing list