[Qt-interest] QMAKE to execute SUBDIRS first
Chitrang Srivastava
chitrang.srivastava at gmail.com
Thu Aug 19 12:46:54 CEST 2010
Ok I tried but its going in recursive loop
TEMPLATE = subdirs
SUBDIRS += app lib
lib.subdir = library ('pwd'/library i.e. /home/user/app/library)
app.subdir = $$(PWD) (i.e. /home/user/app/)
app.depends = lib
On Thu, Aug 19, 2010 at 3:59 PM, Andreas Pakulat <apaku at gmx.de> wrote:
> On 19.08.10 15:40:51, Chitrang Srivastava wrote:
> > >TEMPLATE=app and adding a SUBDIRS entry the generated Makefile doesn't
> > >
> > > >process the subdirs at all, which as I said to be expected as qmake
> only
> > >
> > Correct ! this is the whole problem, I need 'app' also and I need to
> build
> > the app also
> > but before that I need to build a subdir also.
> >
> > Would that be possible someway keeping TEMPLATE =app intact ?
>
> Only the way Mandeep suggested, i.e. having app in a subdir too. Or
> switching to a more advanced build-solution (cmake, automake, scons, bjam,
> ant)
>
> Andreas
>
> --
> Life is to you a dashing and bold adventure.
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100819/557a8e4e/attachment.html
More information about the Qt-interest-old
mailing list