Debian Codegraph @

vendor/mruby-source/build_config/bench.rb

raw
1 MRuby::Build.new('bench') do |conf|
2 # Gets set by the VS command prompts.
3 if ENV['VisualStudioVersion'] || ENV['VSINSTALLDIR']
4 toolchain :visualcpp
5 else
6 toolchain :gcc
7 conf.cc.flags << '-O3'
8 end
9
10 conf.gembox 'default'
11 end