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:
parent
614de92f10
commit
8b66d18a3b
|
@ -281,7 +281,7 @@ def parse_source_list(env, filename, names=None):
|
||||||
# cause duplicate actions.
|
# cause duplicate actions.
|
||||||
f = f[len(cur_srcdir + '/'):]
|
f = f[len(cur_srcdir + '/'):]
|
||||||
# do not include any headers
|
# do not include any headers
|
||||||
if f.endswith(tuple(['.h','.hpp'])):
|
if f.endswith(tuple(['.h','.hpp','.inl'])):
|
||||||
continue
|
continue
|
||||||
srcs.append(f)
|
srcs.append(f)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue