mirror of https://gitlab.com/ita1024/waf.git
Merge branch 'eclipse_unique_includes' into 'master'
eclipse: remove repeated entries in include paths for C/C++ See merge request ita1024/waf!2330
This commit is contained in:
commit
c1a2bf5f07
|
@ -133,8 +133,10 @@ class eclipse(Build.BuildContext):
|
|||
path = p.path_from(self.srcnode)
|
||||
|
||||
if (path.startswith("/")):
|
||||
if path not in cpppath:
|
||||
cpppath.append(path)
|
||||
else:
|
||||
if path not in workspace_includes:
|
||||
workspace_includes.append(path)
|
||||
|
||||
if is_cc and path not in source_dirs:
|
||||
|
|
Loading…
Reference in New Issue