mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
21 lines
430 B
Ruby
21 lines
430 B
Ruby
MRuby::Build.new('host') do |conf|
|
|
# load specific toolchain settings
|
|
conf.toolchain
|
|
|
|
conf.enable_debug
|
|
|
|
# include the default GEMs
|
|
conf.gembox 'full-core'
|
|
|
|
# C compiler settings
|
|
conf.cc.defines = %w(MRB_USE_DEBUG_HOOK MRB_NO_BOXING MRB_UTF8_STRING)
|
|
|
|
# Generate mruby debugger command (require mruby-eval)
|
|
conf.gem :core => "mruby-bin-debugger"
|
|
|
|
# test
|
|
conf.enable_test
|
|
# bintest
|
|
conf.enable_bintest
|
|
end
|