|
|
@ -276,7 +276,8 @@ class NinjaBackend(Backend): |
|
|
|
outfile = open(tempfilename, 'w') |
|
|
|
outfile = open(tempfilename, 'w') |
|
|
|
self.generate_configure_files() |
|
|
|
self.generate_configure_files() |
|
|
|
outfile.write('# This is the build file for project "%s"\n' % self.build.get_project()) |
|
|
|
outfile.write('# This is the build file for project "%s"\n' % self.build.get_project()) |
|
|
|
outfile.write('# It is autogenerated. Do not edit by hand.\n\n') |
|
|
|
outfile.write('# It is autogenerated by the Meson build system.\n') |
|
|
|
|
|
|
|
outfile.write('# Do not edit by hand.\n\n') |
|
|
|
self.generate_rules(outfile) |
|
|
|
self.generate_rules(outfile) |
|
|
|
outfile.write('# Build rules for targets\n\n') |
|
|
|
outfile.write('# Build rules for targets\n\n') |
|
|
|
[self.generate_target(t, outfile) for t in self.build.get_targets().values()] |
|
|
|
[self.generate_target(t, outfile) for t in self.build.get_targets().values()] |
|
|
|