mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
e55abd2390
Also added `no-float.rb` target in `build_config`.
25 lines
489 B
Ruby
25 lines
489 B
Ruby
MRuby::Build.new("host") do |conf|
|
|
# load specific toolchain settings
|
|
toolchain :gcc
|
|
conf.gem :core => "mruby-bin-mrbc"
|
|
end
|
|
|
|
# Define cross build settings
|
|
MRuby::CrossBuild.new('no-float') do |conf|
|
|
toolchain :gcc
|
|
|
|
# include the GEM box
|
|
conf.compilers.each do |c|
|
|
c.defines << "MRB_NO_FLOAT"
|
|
end
|
|
|
|
conf.gem :core => "mruby-bin-mruby"
|
|
conf.gem :core => "mruby-test"
|
|
|
|
conf.test_runner.command = 'env'
|
|
|
|
conf.enable_debug
|
|
# conf.enable_bintest
|
|
conf.enable_test
|
|
end
|