Skip to content

Commit bd660ec

Browse files
author
Alexander Zilberkant
committed
Rename Eclipse .launch file according to project name
Since Eclipse supports working with multiple projects in the same workspace, .launch file name should include project name for creating unique per-project .launch file.
1 parent 7744587 commit bd660ec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/export/cdt/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ def generate(self):
3030

3131

3232
self.gen_file('cdt/pyocd_settings.tmpl', ctx,
33-
join('eclipse-extras',self.target+'_pyocd_settings.launch'))
33+
join('eclipse-extras',
34+
'{target}_pyocd_{project}_settings.launch'.format(target=self.target,
35+
project=self.project_name)))
3436
self.gen_file('cdt/necessary_software.tmpl', ctx,
3537
join('eclipse-extras','necessary_software.p2f'))
3638

0 commit comments

Comments
 (0)