4 sys
.path
.insert(0, '@CMAKE_BINARY_DIR@/data/python')
5 import FreeFOAM
.doxyFilter
6 from FreeFOAM
.compat
import *
10 # catch-all for optional applications
11 '@CMAKE_SOURCE_DIR@/applications/.*': None,
14 basedir
= '@CMAKE_SOURCE_DIR@'
15 incdir
= '@CMAKE_BINARY_DIR@/include'
18 for p
, name
in filter_table
.iteritems():
19 if re
.match(p
, fname
):
20 FreeFOAM
.doxyFilter
.filter(fname
, libName
=name
, baseDir
=basedir
,
21 topOnly
=(name
==None), incWrapperDir
=incdir
)
23 echo("ERROR: Failed to match source file", fname
, file=sys
.stderr
)