27 lines
1.0 KiB
Ruby
27 lines
1.0 KiB
Ruby
project 'MultiCraft/MultiCraft.xcodeproj'
|
|
platform :osx, '10.11'
|
|
use_frameworks!
|
|
|
|
target 'MultiCraft' do
|
|
pod 'leveldb-library'
|
|
pod 'libvorbis'
|
|
end
|
|
|
|
post_install do |installer|
|
|
installer.pods_project.targets.each do |target|
|
|
target.build_configurations.each do |config|
|
|
config.build_settings['GCC_FAST_MATH'] = 'YES'
|
|
config.build_settings['GCC_OPTIMIZATION_LEVEL'] = 'fast'
|
|
config.build_settings['GCC_SYMBOL_PRIVATE_EXTERN'] = 'YES'
|
|
config.build_settings['GCC_UNROLL_LOOPS'] = 'YES'
|
|
config.build_settings['LLVM_LTO'] = 'YES'
|
|
config.build_settings['ENABLE_BITCODE'] = 'NO'
|
|
config.build_settings['MACOSX_DEPLOYMENT_TARGET'] = '10.11'
|
|
config.build_settings['OTHER_CFLAGS'] = ['$(inherited)', '-fvisibility-inlines-hidden', '-fdata-sections', '-ffunction-sections', '-fno-unwind-tables', '-fno-asynchronous-unwind-tables']
|
|
config.build_settings['OTHER_CPLUSPLUSFLAGS'] = ['$(inherited)', '$(OTHER_CFLAGS)']
|
|
config.build_settings['OTHER_LDFLAGS'] = ['$(inherited)', '-Wl,-dead_strip']
|
|
config.build_settings.delete('ARCHS')
|
|
end
|
|
end
|
|
end
|