Re: [Qbs] Exporting Dependencies on generated files

2021-11-15 Thread Björn Schäpers
Am 15.11.2021 um 09:18 schrieb Christian Kandeler: 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 s

Re: [Qbs] Exporting Dependencies on generated files

2021-11-15 Thread Christian Kandeler
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

Re: [Qbs] Exporting Dependencies on generated files

2021-11-12 Thread Björn Schäpers
Am 04.11.2021 um 12:45 schrieb Christian Kandeler: On 11/4/21 11:22, Björn Schäpers wrote: we have a static library which uses Protobuf, thus generates the headers, and compiles the code directly into it. Static Library {   ...   Export {     Depends { name: "cpp" }     Depends { name: "protob

Re: [Qbs] Exporting Dependencies on generated files

2021-11-04 Thread Christian Kandeler
On 11/4/21 11:22, Björn Schäpers wrote: we have a static library which uses Protobuf, thus generates the headers, and compiles the code directly into it. Static Library {   ...   Export {     Depends { name: "cpp" }     Depends { name: "protobuf.cpp" }     cpp.systemIncludePaths: [product.proto

[Qbs] Exporting Dependencies on generated files

2021-11-04 Thread Björn Schäpers
Hi there, we have a static library which uses Protobuf, thus generates the headers, and compiles the code directly into it. Static Library { ... Export { Depends { name: "cpp" } Depends { name: "protobuf.cpp" } cpp.systemIncludePaths: [product.protobuf.cpp.outputDir] } } And