vendor/mruby-source/build_config/host-nofloat.rb
raw| 1 | MRuby::Build.new do |conf| |
| 2 | # load specific toolchain settings |
| 3 | toolchain :gcc |
| 4 | |
| 5 | # include the GEM box |
| 6 | conf.gembox "stdlib" |
| 7 | conf.gembox "stdlib-ext" |
| 8 | conf.gembox "stdlib-io" |
| 9 | conf.gembox "metaprog" |
| 10 | |
| 11 | conf.gem :core => 'mruby-bin-mruby' |
| 12 | conf.gem :core => 'mruby-bin-mirb' |
| 13 | |
| 14 | # Add configuration |
| 15 | conf.compilers.each do |c| |
| 16 | c.defines << "MRB_NO_FLOAT" |
| 17 | end |
| 18 | |
| 19 | conf.enable_debug |
| 20 | conf.enable_test |
| 21 | conf.enable_bintest |
| 22 | end |