From 7a4f1ae238b918fe21671d0d1a5549aeb1fe6425 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 16 Mar 2021 11:36:10 +0200 Subject: Define intermediate build results file cache interface --- libbuild2/context.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libbuild2/context.hxx') diff --git a/libbuild2/context.hxx b/libbuild2/context.hxx index edbf780..f25db85 100644 --- a/libbuild2/context.hxx +++ b/libbuild2/context.hxx @@ -20,6 +20,7 @@ namespace build2 { + class file_cache; class loaded_modules_lock; class LIBBUILD2_SYMEXPORT run_phase_mutex @@ -141,6 +142,7 @@ namespace build2 public: scheduler& sched; global_mutexes& mutexes; + file_cache& fcache; // Match only flag (see --match-only but also dist). // @@ -490,6 +492,7 @@ namespace build2 explicit context (scheduler&, global_mutexes&, + file_cache&, bool match_only = false, bool no_external_modules = false, bool dry_run = false, -- cgit v1.1