diff options
Diffstat (limited to 'build_config.rb')
| -rw-r--r-- | build_config.rb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/build_config.rb b/build_config.rb index 11c09b199..e8d07769d 100644 --- a/build_config.rb +++ b/build_config.rb @@ -1,6 +1,14 @@ MRuby::Build.new do |conf| # load specific toolchain settings - toolchain :gcc + + # Gets set by the VS command prompts. + if ENV['VisualStudioVersion'] + toolchain :visualcpp + else + toolchain :gcc + end + + enable_debug # Use mrbgems # conf.gem 'examples/mrbgems/ruby_extension_example' |
