[Qbs] Exporting Dependencies on generated files

Christian Kandeler christian.kandeler at qt.io
Mon Nov 15 09:18:00 CET 2021


On 11/12/21 20:33, Björn Schäpers wrote:
> This should work if you include "hpp" in the type of the generating 
> product.
>
> Adding "hpp" as type does indeed result in the complete compilation of 
> the generating product, before the using product is started. But the 
> files were not recompiled if there were changes, so this only helps in 
> the initial build.

There is no difference between initial and subsequent builds in this regard.

 > What was I needed is also to Export 
cpp.treatSystemHeadersAsDependencies: true.

That's an unrelated property that's not relevant for headers that are 
artifacts of the project.


Christian



More information about the Qbs mailing list