summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/uikit/resolve_config.prf
blob: e3c9ae23a923d95546262a08381371573cfa708d (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}.*): \
        addExclusiveBuildsProper(simulator_and_device, simulator device)
    else: \
        addExclusiveBuildsProper(simulator_and_device, device simulator)
}