[Qt-interest] QMAKE to execute SUBDIRS first
Mandeep Sandhu
mandeepsandhu.chd at gmail.com
Thu Aug 19 13:06:31 CEST 2010
>
> This won't work, you'll have to change the layout of your project on disk
> to be
>
> project
> |
> +- app
> +- library
>
> There's no other way with qmake.
Using Andrea's example above, under 'project' dir have a project.pro like this:
project.pro:
TEMPLATE=subdirs
SUBDIRS=sub_app sub_lib
sub_lib.subdir=library
sub_app=app
sub_app.depends=sub_lib
Or, another way is like this:
TEMPLATE=subdirs
CONFIG += ordered
SUBDIRS= library app
Also, the 'library' and 'app' dir's must have their own complete pro
files with template as lib and app respectively.
HTH,
-mandeep
>
> Andreas
>
> --
> This life is yours. Some of it was given to you; the rest, you made yourself.
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
More information about the Qt-interest-old
mailing list