[Qt-interest] How to have qmake building more (or less) than one app per directory ?
phep
phep-lists at teletopie.net
Thu Jan 14 14:23:10 CET 2010
Hi,
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.
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 ?
TIA
phep
More information about the Qt-interest-old
mailing list