- last commit was wrong
This commit is contained in:
parent
2717d25483
commit
02fa32ba5e
1 changed files with 9 additions and 9 deletions
18
SConstruct
18
SConstruct
|
@ -659,16 +659,16 @@ def update_linux_project_files():
|
|||
]
|
||||
|
||||
def iterate_dirs(headers_content, source_content, d):
|
||||
for root, subFolders, files in os.walk(d):
|
||||
for f in files:
|
||||
if f.endswith(".h") or f.endswith(".hpp"):
|
||||
headers_content.append(" ../%s \\" % os.path.join(root, f))
|
||||
if f.endswith(".cpp") or f.endswith(".c"):
|
||||
source_content.append(" ../%s \\" % os.path.join(root, f))
|
||||
for sd in subFolders:
|
||||
if sd != "uninstall-":
|
||||
if not "uninstall-" in d:
|
||||
for root, subFolders, files in os.walk(d):
|
||||
for f in files:
|
||||
if f.endswith(".h") or f.endswith(".hpp"):
|
||||
headers_content.append(" ../%s \\" % os.path.join(root, f))
|
||||
if f.endswith(".cpp") or f.endswith(".c"):
|
||||
source_content.append(" ../%s \\" % os.path.join(root, f))
|
||||
for sd in subFolders:
|
||||
headers_content, source_content = \
|
||||
iterate_dirs(headers_content, source_content, sd)
|
||||
iterate_dirs(headers_content, source_content, os.path.join(root, sd))
|
||||
return headers_content, source_content
|
||||
|
||||
for d in directories:
|
||||
|
|
Loading…
Reference in a new issue