Executing a program when building KDevelop projects



Hello Everyone,

I've got a short question related to KDevelop.
Perhaps someone can help me with this.

In my project I'm using generated source files. Currently I'm calling
a parser to generate these files, and thereafter I build the project.

Now I'm wondering whether it's possible to automize this.
The "automake manager" in KDevelop offers the possibility to "add
application".

I assumed that this option can be used to call an external application
(or even better a shell script) before the actual application build
starts. Somehow this doesn't work.

Does anyone know whether it's possible to execute an application or
shell script first when building the project?

Many thanks in advance.

Best regards,
MC

.