add jinja options at caller

pull/3561/head
Liviu Ionescu 2017-01-27 09:56:59 +02:00
parent 2322f1532e
commit 5b7a54e21c
1 changed files with 4 additions and 4 deletions

View File

@ -96,7 +96,7 @@ class GNUARMEclipse(Exporter):
raise NotSupportedException("No linker script found.")
print
print '[Create a GNU ARM Eclipse C++ managed project]'
print 'Create a GNU ARM Eclipse C++ managed project'
print 'Project name: {0}'.format(self.project_name)
print 'Build configurations: Debug & Release'
@ -187,9 +187,9 @@ class GNUARMEclipse(Exporter):
# TODO: it would be good to have jinja stop if one of the
# expected context values is not defined.
self.gen_file('gnuarmeclipse/.project.tmpl', ctx, '.project')
self.gen_file('gnuarmeclipse/.cproject.tmpl', ctx, '.cproject')
self.gen_file('gnuarmeclipse/makefile.targets.tmpl', ctx, 'makefile.targets')
self.gen_file('gnuarmeclipse/.project.tmpl', ctx, '.project', trim_blocks=True, lstrip_blocks=True)
self.gen_file('gnuarmeclipse/.cproject.tmpl', ctx, '.cproject', trim_blocks=True, lstrip_blocks=True)
self.gen_file('gnuarmeclipse/makefile.targets.tmpl', ctx, 'makefile.targets', trim_blocks=True, lstrip_blocks=True)
print 'Done.'