diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2022-06-13 13:30:13 +0200 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2022-06-13 15:55:41 +0200 |
commit | a1c2e003f921cc4a04c5845ed18d75546a96fd88 (patch) | |
tree | 8c4682d797c0ede6bc2d156b931f6e3282fa68f4 /src/buildtool/execution_api/local/config.hpp | |
parent | 27c3ec0bcab188a43c50ba4be0632ab8410bb677 (diff) | |
download | justbuild-a1c2e003f921cc4a04c5845ed18d75546a96fd88.tar.gz |
TargetCache: Initial implementation
Diffstat (limited to 'src/buildtool/execution_api/local/config.hpp')
-rw-r--r-- | src/buildtool/execution_api/local/config.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
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<std::string> { return Data().launcher; |