Tools to automatically generate .jucer project file

Hi,

We would like to automatically generate a .jucer project file and “fill it” with path to Faust compiler generated source files, in order to write a faust2juce script that would be called with “faust2juce foo.dp” and produce a fully working JUCE project.

We could start with a generic XML template .jucer file and hack it to change was has to be adapted. But it there a recommended way and possibly existing tools to create customized .jucer files ?

Thanks.

Don’t really have any examples, but you’ve got all the source code for the projucer, so you can easily add your own command-line utility to it which does the project creation and manipulation you need. Maybe have a look at the code it uses to handle the --set-version option