aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mruby/build_config.rb
blob: c3d032d5237e7e7ecf93120c859ce1f0bbe8ab6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
MRuby::Build.new do |conf|
  toolchain :gcc

  # include the default GEMs
  conf.gembox 'default'
end

MRuby::Build.new('host-debug') do |conf|
  toolchain :gcc

  # include the default GEMs
  conf.gembox 'default'

  # C compiler settings
  conf.cc.defines = %w(MRB_ENABLE_DEBUG_HOOK)

  # Generate mruby debugger command (require mruby-eval)
  conf.gem :core => "mruby-bin-debugger"
end