Sha256: e86326d524fe7057fcc454746d68f7d064566561dcab7165ae9544b34fb4cc7a

Contents?: true

Size: 597 Bytes

Versions: 14

Compression:

Stored size: 597 Bytes

Contents

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


%w[../xot ../rucy .]
  .map  {|s| File.expand_path "../../../#{s}/lib", __FILE__}
  .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

14 entries across 14 versions & 1 rubygems

Version Path
rays-0.1.29 ext/rays/extconf.rb
rays-0.1.28 ext/rays/extconf.rb
rays-0.1.27 ext/rays/extconf.rb
rays-0.1.26 ext/rays/extconf.rb
rays-0.1.25 ext/rays/extconf.rb
rays-0.1.24 ext/rays/extconf.rb
rays-0.1.23 ext/rays/extconf.rb
rays-0.1.22 ext/rays/extconf.rb
rays-0.1.21 ext/rays/extconf.rb
rays-0.1.20 ext/rays/extconf.rb
rays-0.1.19 ext/rays/extconf.rb
rays-0.1.18 ext/rays/extconf.rb
rays-0.1.17 ext/rays/extconf.rb
rays-0.1.16 ext/rays/extconf.rb