summaryrefslogtreecommitdiffstats
path: root/qtwebengine.pro
blob: 49108691f3ec53b042bdbad50133d66eab98eb20 (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
TEMPLATE = subdirs

CONFIG += ordered

# The first three subdirs contain dummy .pro files that are used by qmake
# to generate a corresponding .gyp file
SUBDIRS = resources \
          shared \
          lib \
          process \
          build \ # This is where we use the generated qt_generated.gypi and run gyp
          # Now build the API libraries
          lib/quick
qtHaveModule(widgets): SUBDIRS += lib/widgets

SUBDIRS += examples

# Ninja executable location needs to be determined early for extra targets. Should be fetched from cache most of the time anyway.
NINJA_EXECUTABLE = $$findNinja()

# Extra targets that invoke ninja on the desired configuration added for convenience
release.target = release
release.commands = $$NINJA_EXECUTABLE -C $$getOutDir()/Release
release.depends: qmake

debug.target = debug
debug.commands = $$NINJA_EXECUTABLE -C $$getOutDir()/Debug
debug.depends: qmake

QMAKE_EXTRA_TARGETS += release \
                       debug