Sha256: f42f601e05eb43566374799d6132b1c8e73f5facec6d898e9b905ed139f8bf11

Contents?: true

Size: 346 Bytes

Versions: 2

Compression:

Stored size: 346 Bytes

Contents

as_cxx_srcs = %w[vm error gc].map{|name| "#{MRUBY_ROOT}/src/#{name}.c"}

MRuby.each_target do
  objs = Dir.glob("#{MRUBY_ROOT}/src/*.c").map do |src|
    if cxx_exception_enabled? && as_cxx_srcs.include?(src)
      compile_as_cxx(src)
    else
      objfile(src.pathmap("#{build_dir}/src/%n"))
    end
  end
  self.libmruby_core_objs << objs
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
script_core-0.3.2 ext/enterprise_script_service/mruby/tasks/core.rake
script_core-0.3.0 ext/enterprise_script_service/mruby/tasks/core.rake