summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/uikit/resolve_config.prf
blob: 868813dcbdd85fab5005436d3563db9883521a8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

xcodebuild {
    # Xcode project files always support both Debug and Release configurations
    # and device and simulator targets, so we make sure the wrapper-makefile
    # also does.
    CONFIG += debug_and_release simulator_and_device
}

load(resolve_config)

!macx-xcode:xcodebuild {
    # Switch the order to make sure that the first Makefile target is the right one
    !qtConfig(simulator_and_device):contains(QMAKE_MAC_SDK, ^$${simulator.sdk}.*): \
        addExclusiveBuilds(simulator, device)
    else: \
        addExclusiveBuilds(device, simulator)
}