Sha256: f5f215731353519b52b816bb7865cc1062da0b7918302d6d591f1c487c3e73f6

Contents?: true

Size: 368 Bytes

Versions: 3

Compression:

Stored size: 368 Bytes

Contents

SWIG = 'swig'

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


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

TARGET = 'procedural_wrap.cpp'

#puts SWIGFLAGS

task :default => "#{TARGET}"

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