Sha256: 67862b9502d7a6fdf7052ae67e6497e9645ef192101ca84f9e670f992eacc927
Contents?: true
Size: 1.06 KB
Versions: 1
Compression:
Stored size: 1.06 KB
Contents
MRuby::Build.new do |conf| conf.build_dir = "<%= build_directory %>/host" toolchain :gcc enable_debug conf.gembox 'default' end MRuby::Toolchain.new('emscripten') do |conf| toolchain :clang conf.compilers.each do |c| #c.defines += %w(MRB_GC_FIXED_ARENA) c.flags << "-Wall" c.flags << "-Wno-warn-absolute-paths" c.flags << "--bind" <% for path in prepended_js_sources %> c.flags << "--pre-js <%= path %>" <% end %> <% for path in appended_js_sources %> c.flags << "--post-js <%= path %>" <% end %> c.flags << "<%= optimization_argument %>" c.flags << "<%= closure_argument %>" c.flags << "<%= debug_argument %>" end conf.cc.command = "<%= emcc %>" conf.cxx.command = "<%= emcc %>" conf.linker.command = "<%= emcc %>" conf.archiver.command = "<%= emar %>" end MRuby::CrossBuild.new('emscripten') do |conf| conf.build_dir = "<%= build_directory %>/emscripten" toolchain :emscripten conf.gembox('default') <% for gem in gems %> conf.gem(<%= gem.inspect %>) <% end %> end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
esruby-0.0.5 | resources/build_config.eruby |