summaryrefslogtreecommitdiff
path: root/ios/cross-mac-arm64-ios-arm64.ini
blob: aa759cf27eb216d84cf0125547d71ebdeb6d1d5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[constants]
xcode       = '/Applications/Xcode.app/Contents/Developer'
platform    = xcode + '/Platforms/iPhoneOS.platform'
sdk         = platform + '/Developer/SDKs/iPhoneOS.sdk'
osminver    = '9.0'

common_flags = ['-arch', 'arm64', '-isysroot', sdk, '-miphoneos-version-min=' + osminver]

[properties]
sizeof_int  = 4
sizeof_wchar_t = 4
sizeof_void* = 8
c_args      = common_flags + ['-fobjc-abi-version=2', '-ffast-math']
cpp_args    = common_flags + ['-fobjc-abi-version=2', '-ffast-math', '-fvisibility-inlines-hidden']
c_link_args = common_flags

[binaries]
c           = xcode + '/usr/bin/gcc'
cpp         = xcode + '/usr/bin/g++'
c_ld        = xcode + '/usr/bin/ld'
strip       = xcode + '/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip'

[host_machine]
system      = 'darwin'
cpu_family  = 'aarc64'
cpu         = 'arm64'
endian      = 'little'