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 WhatModulesVTK.py
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: Bill Lorensen's avatarBill Lorensen <bill.lorensen@gmail.com>
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 = fid.read()
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