I've a large project, functionally grouped into several subdirs, with a top level PRO that is just a SUBDIRS pro file.

Each subdirectory builds a module of functionality for the overall project and dumps it's output as a LIB. All LIBS are placed in one build directory.

The LIBS are eventually combined to build either an executable or a DLL.

What I WANT to do, is to be able to specify the build order of the LIBS/SUBDIR elements.

I have been playing with the directives PRE_TARGETDEPS & POST_TARGETDEPS, but they only function within the space of a sub project of this overall scheme. A SUBDIRS element the top level project has no way of knowing how to build a required predecessor.

Any ideas guys? (and gals?)

- John "S"