Qmake project dependencies (linked libraries)

Posted by Stick it to THE MAN on Stack Overflow See other posts from Stack Overflow or by Stick it to THE MAN
Published on 2010-02-18T11:45:28Z Indexed on 2010/03/14 8:15 UTC
Read the original article Hit count: 370

Filed under:
|

I have a project that links to a number of shared libraries.

Lets say project A depends on projects B and C

Ideally, I want to impose the following dependencies in my project file:

  1. Rebuild project A if either B or C has been rebuilt since last time project A was built
  2. Use the output for the relevant configuration (i.e. if building project A in debug mode, then use the debug versions of the libs for project B and C)

Does anyone know how I may explicitly express such dependencies in my project file?

© Stack Overflow or respective owner

Related posts about qt

Related posts about qmake