Re: [Qbs] Problem getting build order right when I use a header generator

2022-07-14 Thread Jochen Becher
Hi Kai, you made my day! It is working! I don't understand why, but who cares? Regards, Jochen Am Donnerstag, dem 14.07.2022 um 07:40 +0200 schrieb Kai Dohmen: > Hello, > > did you try to append "hpp" to the static libraries type property? > Maybe this would force Qbs to generate the headers

Re: [Qbs] Problem getting build order right when I use a header generator

2022-07-13 Thread Kai Dohmen via Qbs
Hello, did you try to append "hpp" to the static libraries type property? Maybe this would force Qbs to generate the headers before consuming the library. Regards, Kai Am Mi., 13. Juli 2022 um 22:50 Uhr schrieb Jochen Becher < jochen_bec...@gmx.de>: > Another observation: > > After I built the

Re: [Qbs] Problem getting build order right when I use a header generator

2022-07-13 Thread Jochen Becher
Another observation: After I built the project once with one job at a time and it succeeded, it also succeeds after "Clean" and building with 12 parallel jobs. So, once the dependency between the source file and the header file is established, it gets not lost until you delete the .bg file. As

Re: [Qbs] Problem getting build order right when I use a header generator

2022-07-12 Thread Jochen Becher
One more information: If I set the number of parallel jobs to 1 then it works fine. The order of the build tasks seems to be correct. Just the compilation of source files outside of the library but depending on a header file created from the library seems not to wait until the header files are

[Qbs] Problem getting build order right when I use a header generator

2022-07-09 Thread Jochen Becher
Hi, I have the following problem where I could not find a solution myself: I created a new module which uses a code generator "compiler-generator" that I wrote to create header and source files from input files. I used the lexyacc module as a template. (see end of mail for module source) I use