summaryrefslogtreecommitdiffstats
path: root/src/src.pro
blob: f1ea4bbc94f0b4e46df11932aebc0566a76e1939 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
TEMPLATE = subdirs

# this order is important
win32:SRC_SUBDIRS += src_winmain
!wince*:SRC_SUBDIRS += src_tools
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_tools.subdir = $$PWD/tools
src_tools.target = sub-tools
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
   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_xml.depends = src_corelib
   src_concurrent.depends = src_corelib
   src_dbus.depends = src_corelib
   src_network.depends = src_corelib
   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

SUBDIRS = $$SRC_SUBDIRS