vendor/mruby-source/build_config/host-debug.rb
raw| 1 | MRuby::Build.new('host') do |conf| |
| 2 | # load specific toolchain settings |
| 3 | conf.toolchain |
| 4 | |
| 5 | conf.enable_debug |
| 6 | |
| 7 | # include the default GEMs |
| 8 | conf.gembox 'full-core' |
| 9 | |
| 10 | # C compiler settings |
| 11 | conf.cc.defines = %w(MRB_USE_DEBUG_HOOK MRB_NO_BOXING MRB_UTF8_STRING) |
| 12 | |
| 13 | # Generate mruby debugger command (require mruby-eval) |
| 14 | conf.gem :core => "mruby-bin-debugger" |
| 15 | |
| 16 | # test |
| 17 | conf.enable_test |
| 18 | # bintest |
| 19 | conf.enable_bintest |
| 20 | end |