iOS: Handle old exclusive build CONFIG names for simulator and device
Qt Creator uses e.g. CONFIG+=iphoneos to make the default build target be device. Now that the exclusive build is named simulator_and_device to support e.g. tvOS, we need to handle the old CONFIG names for backwards compatibility. Task-number: QTBUG-52970 Change-Id: I0f864bebf11e657eb4225a182753037205f450b8 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
This commit is contained in:
parent
172f7e618e
commit
8996776f1e
@ -8,6 +8,12 @@ xcodebuild {
|
|||||||
|
|
||||||
load(resolve_config)
|
load(resolve_config)
|
||||||
|
|
||||||
|
# Legacy exclusive build configurations for backwards compatibility
|
||||||
|
CONFIG($${device.CONFIG}, $${device.CONFIG}|$${simulator.CONFIG}): \
|
||||||
|
CONFIG += device
|
||||||
|
else: CONFIG($${simulator.CONFIG}, $${device.CONFIG}|$${simulator.CONFIG}): \
|
||||||
|
CONFIG += simulator
|
||||||
|
|
||||||
CONFIG(simulator, simulator|device): \
|
CONFIG(simulator, simulator|device): \
|
||||||
CONFIG -= device $${device.CONFIG}
|
CONFIG -= device $${device.CONFIG}
|
||||||
else: \
|
else: \
|
||||||
|
Loading…
Reference in New Issue
Block a user