summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2017-11-04 14:27:48 (GMT)
committerGregor Jasny <gjasny@googlemail.com>2017-12-22 20:56:53 (GMT)
commit4017bf40de512e977d59c12f4e3f6c91f5dd953d (patch)
tree4ef1e4b8d4b325e5a746273c1d036d29215a82b4 /Source/cmMakefile.h
parent8f4663ffb265b6216cc9da9019e6169e27f0d8ec (diff)
downloadCMake-4017bf40de512e977d59c12f4e3f6c91f5dd953d.zip
CMake-4017bf40de512e977d59c12f4e3f6c91f5dd953d.tar.gz
CMake-4017bf40de512e977d59c12f4e3f6c91f5dd953d.tar.bz2
Darwin: Emit deployment target that matches the SDK
Closes: #17431
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index e1ec8ed..40e8148 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -439,6 +439,21 @@ 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 PlatformIsAppleEmbedded() const;