mirror of https://gitlab.com/ita1024/waf.git
Invalidate previous configurations on "waf configure"
Previously-configured projects are now invalidated when running "waf configure" so that subsequent builds cannot continue.
This commit is contained in:
parent
2b03690f02
commit
cc03657db7
|
@ -134,6 +134,8 @@ class ConfigurationContext(Context.Context):
|
|||
self.init_dirs()
|
||||
|
||||
self.cachedir = self.bldnode.make_node(Build.CACHE_DIR)
|
||||
if os.path.exists(self.cachedir.abspath()):
|
||||
shutil.rmtree(self.cachedir.abspath())
|
||||
self.cachedir.mkdir()
|
||||
|
||||
path = os.path.join(self.bldnode.abspath(), WAF_CONFIG_LOG)
|
||||
|
|
Loading…
Reference in New Issue