Sha256: 36b61d2412165b6bcb531cd0464319c91ee33312ebc51a58325dd74e783be5ca

Contents?: true

Size: 365 Bytes

Versions: 3

Compression:

Stored size: 365 Bytes

Contents

SWIG = 'swig'

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


SWIGFLAGS = "-ruby -c++ #{OGRE_INC} #{OIS_INC} -autorename"

TARGET = 'ogrebites_wrap.cpp'

#puts SWIGFLAGS

task :default => "#{TARGET}"

file "#{TARGET}" => "ogrebites.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/ogrebites/interface/Rakefile
ruby-ogre-0.0.4-x86-linux bindings/ogrebites/interface/Rakefile
ruby-ogre-0.0.3-x86-linux bindings/ogrebites/interface/Rakefile