Sha256: 18a829da740f0287ca5ed6c270fd3041d9668aa050f3d7d4d7cba188bfb7d517

Contents?: true

Size: 354 Bytes

Versions: 3

Compression:

Stored size: 354 Bytes

Contents

SWIG = 'swig'

DEPS_DIR = "../../../deps/"
load "../../../deps/env.rb"


SWIGFLAGS = "-ruby -c++ #{OGRE_INC} -I../src/ -autorename"

TARGET = 'ogre_wrap.cpp'

#puts SWIGFLAGS

task :default => "#{TARGET}"

file "#{TARGET}" => "ogre.i" do |t|
  sh "#{SWIG} #{SWIGFLAGS} -o  #{t.name} #{t.prerequisites[0]}"
end

task :clean do
  sh "rm -f #{TARGET}"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-ogre-0.0.5-x86-linux bindings/ogre/interface/Rakefile
ruby-ogre-0.0.4-x86-linux bindings/ogre/interface/Rakefile
ruby-ogre-0.0.3-x86-linux bindings/ogre/interface/Rakefile