Anyhow I just figured out how to do add a make target for all SUBDIRS in a project file:
check.target = check
check.CONFIG = recursive
QMAKE_EXTRA_TARGETS += check
This makes a ‘check’ target in the current directory, which will run ‘make check’ in all SUBDIRS defined.
Yes, I am looking at unit tests :), so I might write more on that subject when I figure out some more about qmake.
]]>