Add optional support for vcpkg

This commit is contained in:
2025-01-14 16:18:53 +01:00
parent 1ad352aa8b
commit 0dc9eeeea2
5 changed files with 33 additions and 7 deletions

View File

@@ -6,6 +6,14 @@
"patch": 0
},
"configurePresets": [
{
"name": "vcpkg",
"hidden": true,
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"VCPKG_INSTALL_OPTIONS": "--no-print-usage"
}
},
{
"name": "cmake-pedantic",
"hidden": true,
@@ -86,4 +94,4 @@
}
}
]
}
}