[Mesa-dev] [PATCH v2 09/13] scons: allow .inl file extension
Tim Rowley
timothy.o.rowley at intel.com
Tue Jun 27 18:09:11 UTC 2017
Intended for header files which are not meant to be included directly.
---
scons/custom.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scons/custom.py b/scons/custom.py
index 544b15d..955247c 100644
--- a/scons/custom.py
+++ b/scons/custom.py
@@ -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)
--
2.7.4
More information about the mesa-dev
mailing list