summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2018-06-14 13:06:32 -0400
committerAndrew Morrow <acm@mongodb.com>2018-06-29 15:58:03 -0400
commit40a53c97feca414a66df84bf4bd6ace0437f3ba5 (patch)
tree512d5400095a5c6fb41b351182d472b72d787ce6 /SConstruct
parent5bb5814f47cfa1817b08be9758238925cce46da5 (diff)
downloadmongo-40a53c97feca414a66df84bf4bd6ace0437f3ba5.tar.gz
SERVER-35600 Add support for targeting watchos
(cherry picked from commit 9e1dd9db4bf614c785f51b23f73facc45fd75302)
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 3 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index b76f4876ebd..d3bc0c4333d 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1100,6 +1100,9 @@ os_macros = {
"iOS-sim": "defined(__APPLE__) && TARGET_OS_IOS && TARGET_OS_SIMULATOR",
"tvOS": "defined(__APPLE__) && TARGET_OS_TV && !TARGET_OS_SIMULATOR",
"tvOS-sim": "defined(__APPLE__) && TARGET_OS_TV && TARGET_OS_SIMULATOR",
+ "watchOS": "defined(__APPLE__) && TARGET_OS_WATCH && !TARGET_OS_SIMULATOR",
+ "watchOS-sim": "defined(__APPLE__) && TARGET_OS_WATCH && TARGET_OS_SIMULATOR",
+
# NOTE: Once we have XCode 8 required, we can rely on the value of TARGET_OS_OSX. In case
# we are on an older XCode, use TARGET_OS_MAC and TARGET_OS_IPHONE. We don't need to correct
# the above declarations since we will never target them with anything other than XCode 8.