<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">Hi,</span><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
I would like to use qbs for my project.</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">The project consists of 2 static libraries (call them lib1 and lib2) and a target executable (call it app).</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">I need some advice regarding the preferred qbs project structure.</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><ol><li style="margin-left:15px">lib1 and app share some of the defines and include paths (lib2 is somewhat disjoint).</li><li style="margin-left:15px">
I have multiple build variants. All of them are debug builds, but each variant uses a different define and 2 of the variants exclude some of the source files.</li><li style="margin-left:15px">I would like to have some sort of configuration that outsources the actual build operation to an external script. I do need though to have defines and include paths correctly parsed (in Creator) and for external builds I also have multiple configurations (some flags are strings, some are booleans). With qmake I use PRE_TARGETDEPS and place the sources in a dummy scope. Is there a way to do this with qbs?</li>
<li style="margin-left:15px">The include paths list is quite long. Is there a way to use a wildcard for it like it is done for sources?</li></ol></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
Thanks,</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">- Orgad</div></div>