aboutsummaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorRoman Shpuntov <roman.shpuntov@gmail.com>2019-06-12 20:23:58 +0700
committerJussi Pakkanen <jpakkane@gmail.com>2019-06-13 21:31:03 +0300
commitbf1323a48c792688aa5c6994f1146760c3fd82fc (patch)
treea46dddcf9e21d94c054e6c2e67cd74bc0826828d /cross
parent3b17344b116d13b99b6436f3b9b09ca294079625 (diff)
downloadmeson-bf1323a48c792688aa5c6994f1146760c3fd82fc.zip
meson-bf1323a48c792688aa5c6994f1146760c3fd82fc.tar.gz
meson-bf1323a48c792688aa5c6994f1146760c3fd82fc.tar.bz2
Added tvOS cross file
Diffstat (limited to 'cross')
-rw-r--r--cross/tvos.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/cross/tvos.txt b/cross/tvos.txt
new file mode 100644
index 0000000..dd6d5c1
--- /dev/null
+++ b/cross/tvos.txt
@@ -0,0 +1,27 @@
+# This is a cross compilation file from OSX Yosemite to Apple tvOS
+# Apple keeps changing the location and names of files so
+# these might not work for you. Use the googels and xcrun.
+
+[binaries]
+c = 'clang'
+cpp = 'clang++'
+ar = 'ar'
+strip = 'strip'
+
+[properties]
+root = '/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer'
+
+c_args = ['-arch', 'arm64', '-mtvos-version-min=12.0', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk']
+cpp_args = ['-arch', 'arm64', '-mtvos-version-min=12.0', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk']
+c_link_args = ['-arch', 'arm64', '-mtvos-version-min=12.0', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk']
+cpp_link_args = ['-arch', 'arm64', '-mtvos-version-min=12.0', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk']
+
+has_function_printf = true
+has_function_hfkerhisadf = false
+
+[host_machine]
+system = 'darwin'
+cpu_family = 'arm'
+cpu = 'arm64'
+endian = 'little'
+