Merge pull request #508 from aozima/pulls1
update scons MDK5 project script: clean old groups.
This commit is contained in:
commit
6e0471eb3b
|
@ -310,6 +310,7 @@ def MDK5Project(target, script):
|
|||
groups = tree.find('Targets/Target/Groups')
|
||||
if groups is None:
|
||||
groups = SubElement(tree.find('Targets/Target'), 'Groups')
|
||||
groups.clear() # clean old groups
|
||||
for group in script:
|
||||
group_xml = MDK4AddGroup(ProjectFiles, groups, group['name'], group['src'], project_path)
|
||||
|
||||
|
|
Loading…
Reference in New Issue