|
|
@ -382,10 +382,11 @@ class NinjaBackend(Backend): |
|
|
|
outfile.write(' description = $DESC\n') |
|
|
|
outfile.write(' description = $DESC\n') |
|
|
|
outfile.write(' restat = 1\n\n') |
|
|
|
outfile.write(' restat = 1\n\n') |
|
|
|
outfile.write('rule REGENERATE_BUILD\n') |
|
|
|
outfile.write('rule REGENERATE_BUILD\n') |
|
|
|
c = (ninja_quote(self.environment.get_build_command()), |
|
|
|
c = (sys.executable, |
|
|
|
|
|
|
|
ninja_quote(self.environment.get_build_command()), |
|
|
|
ninja_quote(self.environment.get_source_dir()), |
|
|
|
ninja_quote(self.environment.get_source_dir()), |
|
|
|
ninja_quote(self.environment.get_build_dir())) |
|
|
|
ninja_quote(self.environment.get_build_dir())) |
|
|
|
outfile.write(" command = '%s' '%s' '%s' --backend ninja\n" % c) |
|
|
|
outfile.write(" command = '%s' %s' '%s' '%s' --backend ninja\n" % c) |
|
|
|
outfile.write(' description = Regenerating build files\n') |
|
|
|
outfile.write(' description = Regenerating build files\n') |
|
|
|
outfile.write(' generator = 1\n\n') |
|
|
|
outfile.write(' generator = 1\n\n') |
|
|
|
|
|
|
|
|
|
|
|