From 7242fdcf2301c5aa003b2249d97da6d9d1c76749 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Mon, 17 Jun 2024 08:49:56 -0400 Subject: [PATCH] Meta: Change the default build type to RelWithDebInfo By default, we were linking the debug version of all vcpkg dependencies, which was very noticeable in benchmarks. Let's default to a build type with reasonable performance. --- CMakePresets.json | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakePresets.json b/CMakePresets.json index b644158a59..3e22c62faa 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -13,6 +13,7 @@ "generator": "Ninja", "binaryDir": "${sourceDir}/Build/ladybird", "cacheVariables": { + "CMAKE_BUILD_TYPE": "RelWithDebInfo", "SERENITY_CACHE_DIR": "${sourceDir}/Build/caches", "CMAKE_TOOLCHAIN_FILE": "${sourceDir}/Toolchain/Tarballs/vcpkg/scripts/buildsystems/vcpkg.cmake", "VCPKG_INSTALL_OPTIONS": "--no-print-usage"