aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/environment.py
diff options
context:
space:
mode:
authorNicolas Schneider <nioncode+git@gmail.com>2016-02-25 22:36:39 +0100
committerNicolas Schneider <nioncode+git@gmail.com>2016-02-25 23:13:29 +0100
commitac5ee0c41453b6fcc6bf21d7d714040e622ce6f1 (patch)
tree415f0e062b56e51ca419c76766d5bd36bf35a274 /mesonbuild/environment.py
parentbffc84e77e871e1b671ac15064fe985b33972e7d (diff)
downloadmeson-ac5ee0c41453b6fcc6bf21d7d714040e622ce6f1.zip
meson-ac5ee0c41453b6fcc6bf21d7d714040e622ce6f1.tar.gz
meson-ac5ee0c41453b6fcc6bf21d7d714040e622ce6f1.tar.bz2
dump coredata to file before calling backend.generate()
This ensures that all build files always have a later timestamp than coredata.dat, which is used to check if the build files must be regenerated.
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r--mesonbuild/environment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index 369ca20..1586248 100644
--- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py
@@ -126,7 +126,7 @@ class Environment():
def is_cross_build(self):
return self.cross_info is not None
- def generating_finished(self):
+ def dump_coredata(self):
cdf = os.path.join(self.get_build_dir(), Environment.coredata_file)
coredata.save(self.coredata, cdf)