Skip to content
Snippets Groups Projects
Commit cfb6a680 authored by Lars Kanis's avatar Lars Kanis
Browse files

Add some more dependencies within i-files to Rakefile

parent ac5d21d2
No related branches found
No related tags found
No related merge requests found
......@@ -125,10 +125,11 @@ namespace :swig do
# add dependencies for compile *.i to *_wrap.cpp
SWIG_MODULES.each do |ifile, cppfile|
ifile_path = File.join("swig-interfaces", ifile)
cppfile_path = File.join("ext/fox16", cppfile)
file cppfile_path => [ifile_path] do
file cppfile_path => [ifile, 'macros.i', 'common.i', 'fxdefs.i', 'ruby-typemaps.i',
'markfuncs.i', 'exceptions.i', 'freefuncs.i', 'macros.i', 'handlers.i'
].map{|f| File.join("swig-interfaces", f) } do
Dir.chdir "swig-interfaces" do
swig(ifile, cppfile)
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment