Subject: Re: [boost] [build] Tests automatically create header links, but library builds do not
From: Peter Dimov (lists_at_[hidden])
Date: 2015-01-05 12:05:20


Andrey Semashev wrote:

> That doesn't match my definition of "right". :) Because it yields
> incorrect result with a valid C++ code. If it can't make a valid result,
> better not parse C++ at all and declare a new protocol for dependency
> definition.

The protocol for dependency definition is already defined. It consists of
lines of the form

    #include <header>

or

    #include "header"

inline in the C++ source files.

You just refuse to follow it.

Any other protocol will be equivalent to this one, in that it necessarily
would need to contain the same information.