qt-interest@trolltech.com
[Top] [All Lists]

Re: [Qt-interest] qmake circular dependency issue

Subject: Re: [Qt-interest] qmake circular dependency issue
From: Mandeep Sandhu
Date: Mon, 14 Jun 2010 18:30:28 +0530
Anyone?

Thanks,
-mandeep

On Mon, Jun 7, 2010 at 11:05 AM, Mandeep Sandhu
<mandeepsandhu.chd@xxxxxxxxx> 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?
>
> Thanks,
> -mandeep
>
_______________________________________________
Qt-interest mailing list
Qt-interest@xxxxxxxxxxxxx
http://lists.trolltech.com/mailman/listinfo/qt-interest

<Prev in Thread] Current Thread [Next in Thread>