From 6e594a945164d661d0e1336fcdde784ccd41f5b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Thu, 1 Nov 2012 13:18:15 +0100 Subject: iOS: Move device/simulator conditionals out of common mkspecs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Instead we deal with any differenced by setting variables in the top level makespecs, that are used by the common makespec configs. Change-Id: Iae1fb5fef8c95778511ed400008731989b446f3c Reviewed-by: Morten Johan Sørvig --- .../unsupported/macx-iossimulator-clang/qmake.conf | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'mkspecs/unsupported/macx-iossimulator-clang/qmake.conf') diff --git a/mkspecs/unsupported/macx-iossimulator-clang/qmake.conf b/mkspecs/unsupported/macx-iossimulator-clang/qmake.conf index 11301cb72f..bf334b9960 100644 --- a/mkspecs/unsupported/macx-iossimulator-clang/qmake.conf +++ b/mkspecs/unsupported/macx-iossimulator-clang/qmake.conf @@ -2,5 +2,21 @@ # qmake configuration for ios-simulator-clang # -# All differences between device and simulator are handled in iOS include files -include(../macx-iosdevice-clang/qmake.conf) +QMAKE_IOS_DEVICE_TYPE = iPhoneSimulator + +# Simulator is i386 only +QMAKE_IOS_TARGET_ARCH = i386 + +QMAKE_IOS_CFLAGS += -fexceptions -fasm-blocks +QMAKE_IOS_OBJ_CFLAGS += -fobjc-abi-version=2 -fobjc-legacy-dispatch + +include(../../common/mac.conf) +include(../../common/gcc-base-ios.conf) +include(../../common/clang.conf) +include(../../common/ios.conf) +include(../../common/ios/versions.conf) +include(../../common/ios/clang.conf) +include(../../common/ios/qmake.conf) +include(../../common/ios/arch.conf) + +load(qt_config) -- cgit v1.2.3