source: EcnlProtoTool/trunk/mruby-1.2.0/examples/mrbgems/c_and_ruby_extension_example/mrbgem.rake@ 279

Last change on this file since 279 was 279, checked in by coas-nagasima, 7 years ago

ファイルを追加、更新。

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-ruby
File size: 841 bytes
Line 
1MRuby::Gem::Specification.new('c_and_ruby_extension_example') do |spec|
2 spec.license = 'MIT'
3 spec.author = 'mruby developers'
4
5 # Add compile flags
6 # spec.cc.flags << ''
7
8 # Add cflags to all
9 # spec.mruby.cc.flags << '-g'
10
11 # Add libraries
12 # spec.linker.libraries << 'external_lib'
13
14 # Default build files
15 # spec.rbfiles = Dir.glob("#{dir}/mrblib/*.rb")
16 # spec.objs = Dir.glob("#{dir}/src/*.{c,cpp,m,asm,S}").map { |f| objfile(f.relative_path_from(dir).pathmap("#{build_dir}/%X")) }
17 # spec.test_rbfiles = Dir.glob("#{dir}/test/*.rb")
18 # spec.test_objs = Dir.glob("#{dir}/test/*.{c,cpp,m,asm,S}").map { |f| objfile(f.relative_path_from(dir).pathmap("#{build_dir}/%X")) }
19 # spec.test_preload = 'test/assert.rb'
20
21 # Values accessible as TEST_ARGS inside test scripts
22 # spec.test_args = {'tmp_dir' => Dir::tmpdir}
23end
Note: See TracBrowser for help on using the repository browser.