On Mon, Jun 7, 2010 at 11:05 AM, Mandeep Sandhu
<[email protected]> wrote:
> Reposting my original problem with new subject. Hope to get some
> attention now that the weekend is over! :) (at least in most parts of
> the world!)
> Brief desc:
> * I have a project with libB and an appA.
> * libB has 2 targets:
> 1) the default/all which builds the lib
> 2) an install target which installs the headers/built lib in a known
> place inside my project.
> * appA accesses the lib headers from this known location.
> * For appA to compile properly, I need that the install target should
> have run on libB before.
> A more detailed desc is in my previous thread with subject:
> "problem using qmake to build libs and apps in a project (make target
> dependency issue)"
> I need to to do all the above in a single "make" step.
> Right now I have managed to do something similar by putting "install"
> in POST_TARGETDEPS. But this causes make to throw a warning because it
> detects a circular dependency (since 'install' depends on 'all' and
> now 'all' depends on 'install').
> Is there a cleaner way out of this?
Qt-interest mailing list