qt5base-lts/src/src.pro

78 lines
2.6 KiB
Prolog
Raw Normal View History

TEMPLATE = subdirs
# this order is important
unset(SRC_SUBDIRS)
win32:SRC_SUBDIRS += src_winmain
!wince*:include(tools/tools.pro)
SRC_SUBDIRS += src_corelib
SRC_SUBDIRS += src_network src_sql src_gui src_xml src_testlib src_platformsupport src_widgets
!wince*:SRC_SUBDIRS += src_printsupport
nacl: SRC_SUBDIRS -= src_network src_testlib
contains(QT_CONFIG, dbus):SRC_SUBDIRS += src_dbus
contains(QT_CONFIG, concurrent):SRC_SUBDIRS += src_concurrent
contains(QT_CONFIG, no-gui): SRC_SUBDIRS -= src_gui
contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles2): SRC_SUBDIRS += src_opengl
SRC_SUBDIRS += src_plugins
src_winmain.subdir = $$PWD/winmain
src_winmain.target = sub-winmain
src_corelib.subdir = $$PWD/corelib
src_corelib.target = sub-corelib
src_xml.subdir = $$PWD/xml
src_xml.target = sub-xml
src_dbus.subdir = $$PWD/dbus
src_dbus.target = sub-dbus
src_gui.subdir = $$PWD/gui
src_gui.target = sub-gui
src_sql.subdir = $$PWD/sql
src_sql.target = sub-sql
src_network.subdir = $$PWD/network
src_network.target = sub-network
src_opengl.subdir = $$PWD/opengl
src_opengl.target = sub-opengl
src_plugins.subdir = $$PWD/plugins
src_plugins.target = sub-plugins
src_widgets.subdir = $$PWD/widgets
src_widgets.target = sub-widgets
!wince*: {
src_printsupport.subdir = $$PWD/printsupport
src_printsupport.target = sub-printsupport
}
src_testlib.subdir = $$PWD/testlib
src_testlib.target = sub-testlib
src_platformsupport.subdir = $$PWD/platformsupport
src_platformsupport.target = sub-platformsupport
src_concurrent.subdir = $$PWD/concurrent
src_concurrent.target = sub-concurrent
#CONFIG += ordered
!wince*:!ordered {
src_corelib.depends = src_tools_moc src_tools_rcc
2011-05-06 22:02:01 +00:00
src_gui.depends = src_corelib
src_printsupport.depends = src_corelib src_gui src_widgets
src_platformsupport.depends = src_corelib src_gui src_network
src_widgets.depends = src_corelib src_gui src_tools_uic
src_xml.depends = src_corelib
src_concurrent.depends = src_corelib
src_dbus.depends = src_corelib
src_network.depends = src_corelib
2011-05-08 08:36:27 +00:00
src_opengl.depends = src_gui src_widgets
src_sql.depends = src_corelib
src_testlib.depends = src_corelib src_gui src_widgets
src_plugins.depends = src_gui src_sql src_xml src_platformsupport
}
contains(QT_CONFIG, no-widgets): SRC_SUBDIRS -= src_opengl src_widgets src_printsupport
# This creates a sub-src rule
sub_src_target.CONFIG = recursive
sub_src_target.recurse = $$TOOLS_SUBDIRS $$SRC_SUBDIRS
sub_src_target.target = sub-src
sub_src_target.recurse_target =
QMAKE_EXTRA_TARGETS += sub_src_target
SUBDIRS += $$SRC_SUBDIRS