[Qt-interest] How to have qmake building more (or less) than one app per directory ?
Andreas Pakulat
apaku at gmx.de
Thu Jan 14 15:28:41 CET 2010
On 14.01.10 14:23:10, phep wrote:
> I'm using QTestLib for my unit tests. I'd like to put more than one test
> by directory but TARGET only allows one target by .pro file.
>
> Using QMAKE_EXTRA_TARGETS does not help here since there is apparently
> no way to make the extra targets to be dealt with as standard "app"
> targets (we can't specify its own sources, ...) except maybe in
> reinventing the wheel in their .commands attributes.
Thats not possible.
> On the other hand, is it possible to use qmake as a standard (not
> qt-related) build file in a directory where setting TEMPLATE makes no
> sense (only a bunch of shell scripts files that needs to be run in a
> particular sequence). In other word, is it possible to have
> QMAKE_EXTRA_TARGETS without any TARGET set ?
Not possible either.
Andreas
--
Snow Day -- stay home.
More information about the Qt-interest-old
mailing list