From 8ac1daf33da807635eddd881f2b178af8e22863a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 12 Nov 2019 14:51:02 +0200 Subject: Infra work for customizable config var persistence (config.config.persist) --- libbuild2/config/module.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libbuild2/config/module.hxx') diff --git a/libbuild2/config/module.hxx b/libbuild2/config/module.hxx index 296dec5..eccd61b 100644 --- a/libbuild2/config/module.hxx +++ b/libbuild2/config/module.hxx @@ -86,6 +86,10 @@ namespace build2 bool save_module (const char* name, int prio = 0); + // Cached (during init) config.config.persist value, if defined. + // + const vector>* persist = nullptr; + static const string name; static const uint64_t version; }; -- cgit v1.1