summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2015-08-18 19:30:54 (GMT)
committerBrad King <brad.king@kitware.com>2015-08-24 13:50:20 (GMT)
commit744e6c497c01cb3a3129ca66d1cabfa83e17dbd4 (patch)
tree06c08c6e6772c19bbaaaf20f4bb460adef1d8d6e /Source/cmMakefile.h
parenta712575da1a0e6117c4682100e3b9df72b964b2a (diff)
downloadCMake-744e6c497c01cb3a3129ca66d1cabfa83e17dbd4.zip
CMake-744e6c497c01cb3a3129ca66d1cabfa83e17dbd4.tar.gz
CMake-744e6c497c01cb3a3129ca66d1cabfa83e17dbd4.tar.bz2
Fix iOS Bundle layouts (#15669)
In contrast to Mac OS X App bundle layout the iOS one lacks the Contents/MacOSX structure. See also the Bundle Structures documentation in Mac Developer Library: https://developer.apple.com/library/mac/documentation/CoreFoundation/Conceptual/CFBundles/BundleTypes/BundleTypes.html For now detect iOS targets by checking the SDK name/path.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 1c4da00..9f455cc 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -490,6 +490,9 @@ public:
/** Return whether the target platform is 64-bit. */
bool PlatformIs64Bit() const;
+ /** Return whether the target platform is Apple iOS. */
+ bool PlatformIsAppleIos() const;
+
/** Retrieve soname flag for the specified language if supported */
const char* GetSONameFlag(const std::string& language) const;