From a1c2e003f921cc4a04c5845ed18d75546a96fd88 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Mon, 13 Jun 2022 13:30:13 +0200 Subject: TargetCache: Initial implementation --- src/buildtool/execution_api/local/config.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/buildtool/execution_api/local/config.hpp') diff --git a/src/buildtool/execution_api/local/config.hpp b/src/buildtool/execution_api/local/config.hpp index 2dc4466b..5ce8b9ef 100644 --- a/src/buildtool/execution_api/local/config.hpp +++ b/src/buildtool/execution_api/local/config.hpp @@ -123,6 +123,12 @@ class LocalExecutionConfig { return CacheRoot() / "ac"; } + /// \brief Target cache directory + [[nodiscard]] static auto TargetCacheDir() noexcept + -> std::filesystem::path { + return CacheRoot() / "tc"; + } + [[nodiscard]] static auto GetLauncher() noexcept -> std::vector { return Data().launcher; -- cgit v1.2.3