vendor/mruby-source/mrbgems/mruby-bigint/mrbgem.rake
raw| 1 | MRuby::Gem::Specification.new('mruby-bigint') do |spec| |
| 2 | spec.license = 'MIT' |
| 3 | spec.author = 'mruby developers' |
| 4 | spec.summary = 'Integer class extension to multiple-precision' |
| 5 | spec.build.defines << "MRB_USE_BIGINT" |
| 6 | |
| 7 | spec.build.libmruby_core_objs << Dir.glob(File.join(__dir__, "core/**/*.c")).map { |fn| |
| 8 | objfile(fn.relative_path_from(__dir__).pathmap("#{spec.build_dir}/%X")) |
| 9 | } |
| 10 | end |