Sha256: 02b73d83ef0ebc9f4e97279fa75ed69eca1473646371b68e630a03785ae6d6fd

Contents?: true

Size: 593 Bytes

Versions: 1

Compression:

Stored size: 593 Bytes

Contents

# -*- coding: utf-8 -*-


%w[../xot ../rucy .]
  .map  {|s| File.expand_path "../../#{s}/lib", __dir__}
  .each {|s| $:.unshift s if !$:.include?(s) && File.directory?(s)}

require 'mkmf'
require 'xot/extconf'
require 'xot/module'
require 'rucy/module'
require 'rays/module'


Xot::ExtConf.new Xot, Rucy, Rays do
  setup do
    headers    << 'ruby.h'
    local_libs << 'rucy'
    libs.unshift 'gdi21', 'opengl32' if win32?
    frameworks << 'AppKit' << 'OpenGL' << 'AVFoundation' if osx?
    $LDFLAGS   << ' -Wl,--out-implib=native.dll.a' if cygwin?
  end

  create_makefile 'rays/native'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rays-0.1.30 ext/rays/extconf.rb