Sha256: e6c50a67d8b4e3010bb3af77fee2496dd226d4dcc187a1be765b3819ec16412a

Contents?: true

Size: 990 Bytes

Versions: 5

Compression:

Stored size: 990 Bytes

Contents

# -*- mode: ruby -*-


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

require 'rucy/rake'

require 'xot/extension'
require 'rucy/extension'
require 'rays/extension'


EXTENSIONS  = [Xot, Rucy, Rays]
TESTS_ALONE = ['test/test_rays_init.rb']

use_external_library 'https://github.com/g-truc/glm',
  tag:     '0.9.9.8',
  srcdirs: 'NOSRC'

use_external_library 'https://github.com/skyrpex/clipper',
  tag:      '6.4.2',
  incdirs:  'cpp',
  srcdirs:  'cpp',
  excludes: 'clipper/cpp/cpp_'

use_external_library 'https://github.com/mapbox/earcut.hpp',
  tag:     'v2.2.4',
  incdirs: 'include/mapbox',
  srcdirs: 'NOSRC'

use_external_library 'https://github.com/andrewwillmott/splines-lib',
  commit:   '11e7240d57b0d22871aec3308186a5fcf915ba77',
  excludes: 'Test\.cpp'

default_tasks :ext
use_bundler
build_native_library
build_ruby_extension
test_ruby_extension
generate_documents
build_ruby_gem

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rays-0.2.1 Rakefile
rays-0.2 Rakefile
rays-0.1.49 Rakefile
rays-0.1.48 Rakefile
rays-0.1.47 Rakefile