Add additional common C++ and Fortran header file extensions (#11600)
* Add additional common C++ and Fortran header file extensions * Add .hxx extension * Add .txx and .tcc extensions * Add .icc extension
This commit is contained in:
parent
6ae5f38f26
commit
4e812090c0
@ -1141,7 +1141,14 @@ def find_headers(headers, root, recursive=False):
|
||||
raise TypeError(message)
|
||||
|
||||
# Construct the right suffix for the headers
|
||||
suffixes = ['h', 'hpp', 'mod']
|
||||
suffixes = [
|
||||
# C
|
||||
'h',
|
||||
# C++
|
||||
'hpp', 'hxx', 'hh', 'H', 'txx', 'tcc', 'icc',
|
||||
# Fortran
|
||||
'mod', 'inc',
|
||||
]
|
||||
|
||||
# List of headers we are searching with suffixes
|
||||
headers = ['{0}.{1}'.format(header, suffix) for header in headers
|
||||
|
Loading…
Reference in New Issue
Block a user