From 1c167eee1e4429ac03ffe039716eb884f4eefee9 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Mon, 20 Jan 2025 14:15:29 +0100 Subject: [PATCH] vcpkg: Use clean-after-build to reduce disk usage during a build --- CMakePresets.json | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakePresets.json b/CMakePresets.json index 6b8cf75a0d..899ea80ebb 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -8,6 +8,7 @@ "binaryDir": "${sourceDir}/build", "cacheVariables": { "CMAKE_TOOLCHAIN_FILE": "ThirdParty/vcpkg/scripts/buildsystems/vcpkg.cmake", + "VCPKG_INSTALL_OPTIONS": "--disable-metrics;--clean-after-build", "RESINSIGHT_INCLUDE_APPLICATION_UNIT_TESTS": true, "RESINSIGHT_TREAT_WARNINGS_AS_ERRORS": true, "RESINSIGHT_ENABLE_UNITY_BUILD": false,