Commit 563a8a4d authored by David Gobbi's avatar David Gobbi Committed by Kitware Robot

Merge topic 'what-modules-script-fixes'

7fecf63b Consider QVTK* headers in
Acked-by: Kitware Robot's avatarKitware Robot <>
Reviewed-by: Bill Lorensen's avatarBill Lorensen <>
Merge-request: !1604
parents c52ce68f 7fecf63b
Pipeline #18231 running with stage
......@@ -86,7 +86,7 @@ def IncludesToPaths(path, renderingBackend='OpenGL'):
Build a dict that maps include files to paths.
includeToPath = dict()
prog = re.compile(r"(vtk.*\.h)")
prog = re.compile(r"((?:vtk|QVTK).*\.h)")
for root, dirs, files in os.walk(path):
for f in files:
if prog.match(f):
......@@ -125,7 +125,7 @@ def FindIncludes(path):
Build a set that contains vtk includes.
includes = set()
includeProg = re.compile(r"(vtk.*\.h)")
includeProg = re.compile(r"((?:vtk|QVTK).*\.h)")
fid = open(path, "r")
contents =
incs = includeProg.findall(contents)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment