scons: allow .inl file extension

Intended for header files which are not meant to be included directly.

Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>
This commit is contained in:
Tim Rowley 2017-06-27 10:47:28 -05:00
parent 614de92f10
commit 8b66d18a3b
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ def parse_source_list(env, filename, names=None):
# cause duplicate actions.
f = f[len(cur_srcdir + '/'):]
# do not include any headers
if f.endswith(tuple(['.h','.hpp'])):
if f.endswith(tuple(['.h','.hpp','.inl'])):
continue
srcs.append(f)