Sha256: 466569c5757ebbfae77bae4d9a7fa8feab60c930ce49a6191b766358747cc4e2
Contents?: true
Size: 779 Bytes
Versions: 7
Compression:
Stored size: 779 Bytes
Contents
# -*- coding: utf-8 -*- %w[../xot ../rucy ../rays .] .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' require 'reflex/module' Xot::ExtConf.new Xot, Rucy, Rays, Reflex do setup do headers << 'boost/scoped_array.hpp' << 'boost/shared_ptr.hpp' << 'ruby.h' local_libs << 'rucy' libs.unshift 'gdi21', 'opengl32' if win32? frameworks << 'Cocoa' if osx? $LDFLAGS << ' -Wl,--out-implib=native.dll.a' if cygwin? unless osx? lib_dirs << Rays::Module.lib_dir libs << 'rays/native' end end dir_config 'boost' create_makefile 'reflex/native' end
Version data entries
7 entries across 7 versions & 1 rubygems