[boost-modular-build-helper] Support VS2022 17.10 (#36605)

This commit is contained in:
Billy O'Neal 2024-02-06 15:38:09 -08:00 committed by GitHub
parent 5b42fc02a3
commit 66b4b34d99
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 17 additions and 4 deletions

View File

@ -63,8 +63,16 @@ if(VCPKG_DETECTED_MSVC)
set(USER_CONFIG_TOOLSET msvc)
if(VCPKG_DETECTED_MSVC_VERSION LESS "1900")
math(EXPR USER_CONFIG_TOOLSET_VERSION "${VCPKG_DETECTED_MSVC_VERSION} / 10 - 60")
elseif(VCPKG_DETECTED_MSVC_VERSION LESS "1910")
set(USER_CONFIG_TOOLSET_VERSION "140")
elseif(VCPKG_DETECTED_MSVC_VERSION LESS "1920")
set(USER_CONFIG_TOOLSET_VERSION "141")
elseif(VCPKG_DETECTED_MSVC_VERSION LESS "1930")
set(USER_CONFIG_TOOLSET_VERSION "142")
elseif(VCPKG_DETECTED_MSVC_VERSION LESS "1950")
set(USER_CONFIG_TOOLSET_VERSION "143")
else()
math(EXPR USER_CONFIG_TOOLSET_VERSION "${VCPKG_DETECTED_MSVC_VERSION} / 10 - 50")
message(FATAL_ERROR "Unsupported MSVC version: ${VCPKG_DETECTED_MSVC_VERSION}")
endif()
endif()
elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "wasm32")

View File

@ -2,7 +2,7 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-modular-build-helper",
"version": "1.84.0",
"port-version": 1,
"port-version": 2,
"description": "Internal vcpkg port used to build Boost libraries",
"license": "MIT",
"dependencies": [

View File

@ -27,7 +27,7 @@ $semverVersion = ($version -replace "(\d+(\.\d+){1,3}).*", "`$1")
# Clear this array when moving to a new boost version
$defaultPortVersion = 0
$portVersions = @{
'boost-modular-build-helper' = 1;
'boost-modular-build-helper' = 2;
}
function Get-PortVersion {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "b3eb3e3fdc08ffe6e8f9e19e761e583790aaf308",
"version": "1.84.0",
"port-version": 2
},
{
"git-tree": "dc7e88a84383b497c7d9e117a00319fd2b2ded98",
"version": "1.84.0",

View File

@ -1010,7 +1010,7 @@
},
"boost-modular-build-helper": {
"baseline": "1.84.0",
"port-version": 1
"port-version": 2
},
"boost-move": {
"baseline": "1.84.0",