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
.items():
19 if re
.match(p
, fname
):
20 topOnly
= name
==None and fname
[-2:]=='.C'
21 FreeFOAM
.doxyFilter
.filter(fname
, libName
=name
, baseDir
=basedir
,
22 topOnly
=topOnly
, incWrapperDir
=incdir
)
24 echo("ERROR: Failed to match source file", fname
, file=sys
.stderr
)