diff options
Diffstat (limited to 'build_config')
| -rw-r--r-- | build_config/default.rb | 8 | ||||
| -rw-r--r-- | build_config/host-cxx.rb | 2 | ||||
| -rw-r--r-- | build_config/host-debug.rb | 12 | ||||
| -rw-r--r-- | build_config/no-float.rb | 2 | ||||
| -rw-r--r-- | build_config/travis.rb | 10 |
5 files changed, 11 insertions, 23 deletions
diff --git a/build_config/default.rb b/build_config/default.rb index 04bc60540..894f1055b 100644 --- a/build_config/default.rb +++ b/build_config/default.rb @@ -1,12 +1,6 @@ MRuby::Build.new do |conf| # load specific toolchain settings - - # Gets set by the VS command prompts. - if ENV['VisualStudioVersion'] || ENV['VSINSTALLDIR'] - toolchain :visualcpp - else - toolchain :gcc - end + conf.toolchain # Use mrbgems # conf.gem 'examples/mrbgems/ruby_extension_example' diff --git a/build_config/host-cxx.rb b/build_config/host-cxx.rb index ae313e45d..15cb0c347 100644 --- a/build_config/host-cxx.rb +++ b/build_config/host-cxx.rb @@ -1,5 +1,5 @@ MRuby::Build.new do |conf| - toolchain :gcc + conf.toolchain # include the default GEMs conf.gembox 'default' diff --git a/build_config/host-debug.rb b/build_config/host-debug.rb index 9be1f6574..600a4d78f 100644 --- a/build_config/host-debug.rb +++ b/build_config/host-debug.rb @@ -1,12 +1,6 @@ MRuby::Build.new('host') do |conf| # load specific toolchain settings - - # Gets set by the VS command prompts. - if ENV['VisualStudioVersion'] || ENV['VSINSTALLDIR'] - toolchain :visualcpp - else - toolchain :gcc - end + conf.toolchain conf.enable_debug @@ -20,7 +14,7 @@ MRuby::Build.new('host') do |conf| conf.gem :core => "mruby-bin-debugger" # test - enable_test + conf.enable_test # bintest - enable_bintest + conf.enable_bintest end diff --git a/build_config/no-float.rb b/build_config/no-float.rb index 1138188e3..7df7c2e46 100644 --- a/build_config/no-float.rb +++ b/build_config/no-float.rb @@ -1,6 +1,6 @@ # Define cross build settings MRuby::CrossBuild.new('no-float') do |conf| - toolchain :gcc + conf.toolchain # include the GEM box conf.compilers.each do |c| diff --git a/build_config/travis.rb b/build_config/travis.rb index 3c6647b45..7da8c1bf4 100644 --- a/build_config/travis.rb +++ b/build_config/travis.rb @@ -1,5 +1,5 @@ MRuby::Build.new('full-debug') do |conf| - toolchain :gcc + conf.toolchain conf.enable_debug # include all core GEMs @@ -10,7 +10,7 @@ MRuby::Build.new('full-debug') do |conf| end MRuby::Build.new do |conf| - toolchain :gcc + conf.toolchain # include all core GEMs conf.gembox 'full-core' @@ -22,7 +22,7 @@ MRuby::Build.new do |conf| end MRuby::Build.new('cxx_abi') do |conf| - toolchain :gcc + conf.toolchain conf.gembox 'full-core' conf.cc.flags += %w(-fpermissive) @@ -31,7 +31,7 @@ MRuby::Build.new('cxx_abi') do |conf| end conf.enable_test - enable_cxx_abi + conf.enable_cxx_abi - build_mrbc_exec + conf.build_mrbc_exec end |
