Do not force a reconfigure of meson projects.

If meson.build changes, the ninja command will rebuild it.
And its avoid us to delete the build directory.
This commit is contained in:
Matthieu Gautier 2020-04-09 23:56:31 +02:00
parent 384b7d6a00
commit ffdee634f4
1 changed files with 1 additions and 0 deletions

View File

@ -466,6 +466,7 @@ class MesonBuilder(Builder):
return 'static' if self.buildEnv.platformInfo.static else 'shared' return 'static' if self.buildEnv.platformInfo.static else 'shared'
def _configure(self, context): def _configure(self, context):
context.no_skip = False
context.try_skip(self.build_path) context.try_skip(self.build_path)
if os.path.exists(self.build_path): if os.path.exists(self.build_path):
shutil.rmtree(self.build_path) shutil.rmtree(self.build_path)