summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-01-08 14:58:06 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-01-08 14:58:11 (GMT)
commita3bba2a5ad30287a22f2a700de6a60f0869b8dac (patch)
treea53f8f47d28b7259a18020ecaedaec152c07d094 /Source/cmMakefile.h
parent2c089d80de3945e4f08f13557d59e04cbc942a60 (diff)
parent4017bf40de512e977d59c12f4e3f6c91f5dd953d (diff)
downloadCMake-a3bba2a5ad30287a22f2a700de6a60f0869b8dac.zip
CMake-a3bba2a5ad30287a22f2a700de6a60f0869b8dac.tar.gz
CMake-a3bba2a5ad30287a22f2a700de6a60f0869b8dac.tar.bz2
Merge topic '17431-iphone-deployment-target'
4017bf40 Darwin: Emit deployment target that matches the SDK 8f4663ff Xcode: rename embedded SDK query function Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1447
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index b36b8ca..c92424b 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -439,8 +439,23 @@ public:
/** Return whether the target platform is x32. */
bool PlatformIsx32() const;
+ /** Apple SDK Type */
+ enum class AppleSDK
+ {
+ MacOS,
+ IPhoneOS,
+ IPhoneSimulator,
+ AppleTVOS,
+ AppleTVSimulator,
+ WatchOS,
+ WatchSimulator,
+ };
+
+ /** What SDK type points CMAKE_OSX_SYSROOT to? */
+ AppleSDK GetAppleSDKType() const;
+
/** Return whether the target platform is Apple iOS. */
- bool PlatformIsAppleIos() const;
+ bool PlatformIsAppleEmbedded() const;
/** Retrieve soname flag for the specified language if supported */
const char* GetSONameFlag(const std::string& language) const;