On Sat, 27 May 2017 08:21:52 +0200
Timur Kristóf <[email protected]> wrote:

> But how can I do other pre-build stuff, like running a code generator
> (flex, bison, etc. come to mind)?

As always, you use a Rule. If the output artifacts have proper file tags, they 
will integrate into the build as needed. E.g. if you create a header file 
(tagged "hpp") and it is included in some source, then the object file will get 
a dependency on that header. If you create a C++ source file, it will simply 
get built.


Christian
_______________________________________________
Qbs mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qbs

Reply via email to