nghttp2/third-party/build_config.rb

15 lines
382 B
Ruby
Raw Normal View History

2015-09-05 11:10:10 +02:00
MRuby::Build.new do |conf|
# TODO use same compilers configured in configure script
toolchain :clang
# C++ project needs this. Without this, mruby exception does not
# properly destory C++ object allocated on stack.
conf.enable_cxx_exception
2015-09-05 11:10:10 +02:00
conf.build_dir = ENV['BUILD_DIR']
# include the default GEMs
conf.gembox 'default'
conf.gem :core => 'mruby-eval'
end