Re: [Qbs] dependency tracking

2020-09-14 Thread Christian Kandeler
On Mon, 14 Sep 2020 19:11:41 +0500
Dan Pat  wrote:

> Hi, I have a code generator using C++ *.h headers as its input. Everything
> works fine for me except for dependency tracking. Since inputs are ordinary
> include files they often include other include files which include other
> include files etc. The problem is that when an include file included by the
> input file changes the generator is not rerun, because, I guess,  it knows
> nothing about it. 

It should, as the scanning is recursive. If you can provide an example project, 
you could file a bug report.


Christian
___
Qbs mailing list
Qbs@qt-project.org
https://lists.qt-project.org/listinfo/qbs


[Qbs] dependency tracking

2020-09-14 Thread Dan Pat
Hi, I have a code generator using C++ *.h headers as its input. Everything
works fine for me except for dependency tracking. Since inputs are ordinary
include files they often include other include files which include other
include files etc. The problem is that when an include file included by the
input file changes the generator is not rerun, because, I guess,  it knows
nothing about it. The dependency extraction logic should be pretty much the
same as the one used by the built-in cpp scanner. Do I need to write my own
Scanner to do the job, or is there a way to somehow reuse the functionality
already implemented in the cpp module?
___
Qbs mailing list
Qbs@qt-project.org
https://lists.qt-project.org/listinfo/qbs