C++ Logo

sg15

Advanced search

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

From: Ben Boeckel <ben.boeckel_at_[hidden]>
Date: Mon, 25 Feb 2019 22:01:19 -0500
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).

--Ben

Received on 2019-02-26 04:01:30