[Interest] Unit testing: any best-practices tips ?

Marc Mutz marc.mutz at kdab.com
Tue Dec 13 18:59:27 CET 2011


On Tuesday December 13 2011, Konstantin Tokarev wrote:
> > I think you mean the right thing, but FTR: QMake can't do more than one
> > target per pro file.
>
> What is QMAKE_EXTRA_TARGETS than?

I should have said "_build_ more than one target (library, application)." 
Obviously, qmake generates multiple targets per pro file (one for each moc 
file, e.g.).

QMAKE_EXTRA_TARGETS is a way to add "make check" or "make docs". I have never 
seen it used to amend 'first', the default target, and I'd consider that an 
abomination.

-- 
Marc Mutz <marc.mutz at kdab.com> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions



More information about the Interest mailing list