TEMPLATE = subdirs SUBDIRS += \ settingsgenerator \ serviceregistry \ serviceregistrytestplugin \ binding \ qsettingsaccessor \ settingsconfigloader \ coreapp serviceregistry.depends += serviceregistrytestplugin equals(MSVC_VER, 14.0) { SUBDIRS -= \ settingsgenerator \ settingsconfigloader } prepareRecursiveTarget(run-tests) QMAKE_EXTRA_TARGETS += run-tests