diff options
Diffstat (limited to 'mkspecs/features/uikit/resolve_config.prf')
-rw-r--r-- | mkspecs/features/uikit/resolve_config.prf | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mkspecs/features/uikit/resolve_config.prf b/mkspecs/features/uikit/resolve_config.prf new file mode 100644 index 0000000000..e3c9ae23a9 --- /dev/null +++ b/mkspecs/features/uikit/resolve_config.prf @@ -0,0 +1,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) +} |