projects/aports·blob master · refs

27 lines · 576 B

1MRuby::Build.new do |conf|
2 conf.toolchain :gcc
3
4 # include the default GEMs
5 conf.gembox 'default'
6
7 conf.enable_bintest
8 conf.enable_test
9
10 # Configuration macros
11 conf.cc.defines = %w(MRB_USE_READLINE MRB_UTF8_STRING)
12end
13
14MRuby::Build.new('host-debug') do |conf|
15 conf.toolchain :gcc
16
17 conf.enable_debug
18
19 # include the default GEMs
20 conf.gembox 'default'
21
22 # Configuration macros
23 conf.cc.defines = %w(MRB_USE_READLINE MRB_UTF8_STRING MRB_USE_DEBUG_HOOK)
24
25 # Generate mruby debugger command (require mruby-eval)
26 conf.gem :core => "mruby-bin-debugger"
27end