recompile swig files if the swig version changes

This commit is contained in:
Thomas Nagy 2013-10-27 10:17:38 +01:00
parent f381bfd901
commit 8f24d28534
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ class swig(Task.Task):
color = 'BLUE'
run_str = '${SWIG} ${SWIGFLAGS} ${SWIGPATH_ST:INCPATHS} ${SWIGDEF_ST:DEFINES} ${SRC}'
ext_out = ['.h'] # might produce .h files although it is not mandatory
vars = ['SWIG_VERSION', 'SWIGDEPS']
def runnable_status(self):
for t in self.run_after: