Sha256: e3f8e21663f1a0b2dcaceebebdd71e7f466dd21aadf06ccf7e6bf7d950763232
Contents?: true
Size: 1.32 KB
Versions: 2
Compression:
Stored size: 1.32 KB
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'] install_packages win32: %w[MINGW_PACKAGE_PREFIX-glew] 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', &proc { filter_file('Splines.cpp') do |cpp| <<~EOS + cpp #include <cstdint> EOS end } if win32? use_external_library 'https://github.com/nothings/stb', commit: 'ae721c50eaf761660b4f90cc590453cdb0c2acd0', srcdirs: 'NOSRC' end default_tasks :ext use_bundler build_native_library build_ruby_extension test_ruby_extension unless github_actions? && win32? generate_documents build_ruby_gem
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rays-0.3.2 | Rakefile |
rays-0.3.1 | Rakefile |