diff options
author | Jake Petroules <jake.petroules@qt.io> | 2016-05-19 23:01:59 -0700 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2016-08-19 21:05:55 +0000 |
commit | 57378a108ca488cbf5cfaa32590fc762dcbf3315 (patch) | |
tree | 3a8a3851959f6fc06d0a1c65ac9fa16508e12ee4 /configure | |
parent | 2f108fafe98047f9ed2c85c5938579fdeb90682d (diff) |
Add support for Apple watchOS
Change-Id: I3f9e00569458a463af2eaa5a3a16a6afd1e9c1ea
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -279,6 +279,12 @@ macSDKify() appletvsimulator*) version_min_flag="-mtvos-simulator-version-min=$(getSingleQMakeVariable QMAKE_TVOS_DEPLOYMENT_TARGET "$1")" ;; + watchos*) + version_min_flag="-mwatchos-version-min=$(getSingleQMakeVariable QMAKE_WATCHOS_DEPLOYMENT_TARGET "$1")" + ;; + watchsimulator*) + version_min_flag="-mwatchos-simulator-version-min=$(getSingleQMakeVariable QMAKE_WATCHOS_DEPLOYMENT_TARGET "$1")" + ;; *) ;; esac @@ -459,9 +465,10 @@ CFG_RELEASE_TOOLS=no CFG_ANDROID_STYLE_ASSETS=yes XPLATFORM= # This seems to be the QMAKESPEC, like "linux-g++" -XPLATFORM_MAC=no # Whether target platform is OS X, iOS or tvOS +XPLATFORM_MAC=no # Whether target platform is macOS, iOS, tvOS, or watchOS XPLATFORM_IOS=no # Whether target platform is iOS XPLATFORM_TVOS=no # Whether target platform is tvOS +XPLATFORM_WATCHOS=no # Whether target platform is watchOS XPLATFORM_ANDROID=no XPLATFORM_MINGW=no # Whether target platform is MinGW (win32-g++*) PLATFORM=$QMAKESPEC @@ -995,6 +1002,10 @@ case "$XPLATFORM" in XPLATFORM_MAC=yes XPLATFORM_TVOS=yes ;; + *watchos*) + XPLATFORM_MAC=yes + XPLATFORM_WATCHOS=yes + ;; *macx*) XPLATFORM_MAC=yes ;; |