On Sun, 12 Aug 2018 22:56:31 +0300
Карелин Павел <[email protected]> wrote:

> I have a project in which, in addition to the main application, 
> auxiliary utilities are builded. In this regard, I have two questions:
> 
> 1) How do I run an auxiliary utility right after his built, so that it 
> could generate necessary data?

It works the same way as always: You trigger creation of the data by giving it 
some tag, and the tool's tag appears as some sort of input in the respective 
rule (which has the data as outputs).

> 2) How to pass parameters to the auxiliary utility? The matter is that 
> the utility has one parameter - a directory name. It directory contains 
> text files without expansion, the utility has to process these files. 
> The output should be one file with the extension 'map'

You rule has to take care of that when creating the Command.


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

Reply via email to