Skip to content
Snippets Groups Projects
Commit 563a8a4d authored by David Gobbi's avatar David Gobbi Committed by Kitware Robot
Browse files

Merge topic 'what-modules-script-fixes'


7fecf63b Consider QVTK* headers in WhatModulesVTK.py

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: default avatarBill Lorensen <bill.lorensen@gmail.com>
Merge-request: !1604
parents c52ce68f 7fecf63b
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment