e005e99005
the assumption stated in b67a0836d
is actually invalid - configure sets
build_all without debug_and_release there. debug_and_release does
actually imply build_all, though.
to make things less confusing, don't let configure inject
iphonesimulator_and_iphoneos into all projects, but handle it like
debug_and_release instead.
Change-Id: Ib7acdc63308a538862fc603428f81aba60bca08e
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
22 lines
667 B
Plaintext
22 lines
667 B
Plaintext
|
|
load(default_pre)
|
|
|
|
# In case Qt was built for a specific SDK
|
|
!contains(QT_CONFIG, simulator_and_device):contains(QMAKE_MAC_SDK, ^iphonesimulator.*): \
|
|
CONFIG += iphonesimulator
|
|
|
|
# Check for supported Xcode versions
|
|
lessThan(QMAKE_XCODE_VERSION, "4.3"): \
|
|
error("This mkspec requires Xcode 4.3 or later")
|
|
|
|
build_pass:iphonesimulator {
|
|
# For a iphonesimulator_and_iphoneos build all the config tests
|
|
# are based on the iPhoneOS ARM SDK, but we know that the simulator
|
|
# is i386 and that we support SSE/SSE2.
|
|
QT_ARCH = i386
|
|
QT_CPU_FEATURES.i386 = sse sse2
|
|
DEFINES += QT_COMPILER_SUPPORTS_SSE2
|
|
CONFIG -= neon
|
|
CONFIG += sse sse2
|
|
}
|