Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 19 lines (15 sloc) 0.69 kb
a0ea4b8 @masuidrive Following mrbgems
masuidrive authored
1 MRuby::Gem::Specification.new('mruby-cocoa') do |spec|
2 spec.license = 'MIT'
3 spec.authors = 'MobiRuby developers'
4
e4d08e9 @masuidrive Catch up latest mruby and support mrbgems
masuidrive authored
5 [spec.cc, spec.cxx, spec.objc].each do |cc|
6 cc.flags << %w(-std=c99)
7 end
8
9 spec.linker.flags << %w(-Wl,-allow_stack_execute -all_load)
10 spec.linker.flags << %w(-framework Foundation)
11 spec.test_preload = "#{dir}/test/mobitest.rb"
12
a0ea4b8 @masuidrive Following mrbgems
masuidrive authored
13 # spec.rbfiles = Dir.glob("#{dir}/mrblib/*.rb")
e4d08e9 @masuidrive Catch up latest mruby and support mrbgems
masuidrive authored
14 # spec.objs << ["#{LIBFFI_DIR}/lib/libffi.a"]
a0ea4b8 @masuidrive Following mrbgems
masuidrive authored
15 # spec.test_rbfiles = Dir.glob("#{dir}/test/*.rb")
16 # spec.test_objs = Dir.glob("#{dir}/test/*.{c,cpp,m,asm,S}").map { |f| f.relative_path_from(dir).pathmap("#{build_dir}/%X.o") }
17 # spec.test_preload = 'test/assert.rb'
18 end
Something went wrong with that request. Please try again.