my main App is called IOCINFRAApp, the support App is called snmpApp.
the build system now tries to compile IOCINFRAApp first, and fails
because a dbd file from snmpApp is not yet available.
I've renamed my snmpApp to 0snmpApp and it works, but thats too hacky in
my eyes.
Is there some more elegant way to achieve that snmpApp gets built before
IOCINFRAApp ?
In general:
There are applications that generate IOCs, and there are support applications that provide things (libraries, templates) to be used by IOC-creating apps.
If the IOC-creating kind are called *App and the support applications are called *Sup, the default order (first *Sup, then *App) will work.
Specifically:
You can always declare a dependency that is not covered by the default build order in the Makefile. In your case,
Cheers,
~Ralph