Sha256: 647ddac3f108c4ff88723582fb44a6432e844987b32f758010a968f7312602e6

Contents?: true

Size: 690 Bytes

Versions: 3

Compression:

Stored size: 690 Bytes

Contents

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


%w[../xot ../rucy ../rays .]
  .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/extension'
require 'rucy/extension'
require 'rays/extension'
require 'reflex/extension'


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

    unless osx?
      lib_dirs << Rays::Extension.lib_dir
      libs     << 'rays/native'
    end
  end

  create_makefile 'reflex/native'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
reflexion-0.1.35 ext/reflex/extconf.rb
reflexion-0.1.34 ext/reflex/extconf.rb
reflexion-0.1.33 ext/reflex/extconf.rb