CMake: Set vcpkg options in CMakePresets

This commit is contained in:
Andrew Kaster 2024-06-06 16:35:08 -06:00 committed by Tim Flynn
parent 22bb476b6f
commit 62b016002a
Notes: sideshowbarker 2024-07-17 11:06:06 +09:00

View file

@ -13,11 +13,14 @@
"generator": "Ninja",
"binaryDir": "${sourceDir}/Build/ladybird",
"cacheVariables": {
"SERENITY_CACHE_DIR": "${sourceDir}/Build/caches"
"SERENITY_CACHE_DIR": "${sourceDir}/Build/caches",
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/Toolchain/Tarballs/vcpkg/scripts/buildsystems/vcpkg.cmake",
"VCPKG_INSTALL_OPTIONS": "--no-print-usage"
},
"environment": {
"LADYBIRD_SOURCE_DIR": "${sourceDir}",
"VCPKG_ROOT": "${sourceDir}/Toolchain/Tarballs/vcpkg"
"VCPKG_ROOT": "${sourceDir}/Toolchain/Tarballs/vcpkg",
"VCPKG_BINARY_SOURCES": "clear;files,${sourceDir}/Toolchain/Build/vcpkg-binary-cache,readwrite"
},
"vendor": {
"jetbrains.com/clion": {