# file: <RUBYINSTALLER_ROOT>/override/vtune_build.rb
if ENV['VTUNE_BUILD'] then
  puts '[INFO] Overriding to enable VTune profiled Ruby 1.9.x...'

  RubyInstaller::Ruby19.configure_options << "--enable-vtune"
  RubyInstaller::Ruby19.configure_options << "CPPFLAGS='-Ic:/devlibs/vtune/include'"
  RubyInstaller::Ruby19.configure_options << "LDFLAGS='-Lc:/devlibs/vtune/lib32'"
end

Add RubyInstaller VTune build override sample.
Add RubyInstaller VTune build override sample.

This sample assumes you're trying to build using the RubyInstaller
recipes and trying to build an MRI Ruby source branch that's had
it's configure.in updated to recognize the --enable-vtune command
line option.
