mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 17:41:09 +08:00
[boost-stacktrace] add libbacktrace (#40079)
Co-authored-by: Monica <liuyumei01@beyondsoft.com>
This commit is contained in:
parent
6f1de1de8e
commit
abe69d7c9f
@ -22,16 +22,10 @@
|
||||
|
||||
# When ON, builds the boost_stacktrace_windbg_cached library variant. Defaults to ON under Windows when WinDbg support is autodetected and when thread_local is supported, otherwise OFF.
|
||||
|
||||
list(APPEND FEATURE_OPTIONS
|
||||
-DBOOST_STACKTRACE_ENABLE_BACKTRACE=OFF
|
||||
)
|
||||
|
||||
if(VCPKG_TARGET_IS_WINDOWS)
|
||||
list(APPEND FEATURE_OPTIONS
|
||||
-DBOOST_STACKTRACE_ENABLE_WINDBG=ON
|
||||
)
|
||||
else()
|
||||
list(APPEND FEATURE_OPTIONS
|
||||
-DBOOST_STACKTRACE_ENABLE_WINDBG=OFF
|
||||
)
|
||||
endif()
|
||||
vcpkg_check_features(
|
||||
OUT_FEATURE_OPTIONS
|
||||
FEATURE_OPTIONS
|
||||
FEATURES
|
||||
"backtrace" BOOST_STACKTRACE_ENABLE_BACKTRACE
|
||||
"windbg" BOOST_STACKTRACE_ENABLE_WINDBG
|
||||
)
|
||||
|
@ -2,7 +2,7 @@
|
||||
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
|
||||
"name": "boost-stacktrace",
|
||||
"version": "1.85.0",
|
||||
"port-version": 2,
|
||||
"port-version": 3,
|
||||
"description": "Boost stacktrace module",
|
||||
"homepage": "https://www.boost.org/libs/stacktrace",
|
||||
"license": "BSL-1.0",
|
||||
@ -40,5 +40,31 @@
|
||||
"name": "boost-winapi",
|
||||
"version>=": "1.85.0"
|
||||
}
|
||||
]
|
||||
],
|
||||
"default-features": [
|
||||
{
|
||||
"name": "backtrace",
|
||||
"platform": "!windows"
|
||||
},
|
||||
{
|
||||
"name": "windbg",
|
||||
"platform": "windows"
|
||||
}
|
||||
],
|
||||
"features": {
|
||||
"backtrace": {
|
||||
"description": "Use boost_stacktrace_backtrace",
|
||||
"supports": "!windows",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "libbacktrace",
|
||||
"platform": "!windows"
|
||||
}
|
||||
]
|
||||
},
|
||||
"windbg": {
|
||||
"description": "Use boost_stacktrace_windbg",
|
||||
"supports": "windows"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -147,7 +147,21 @@ $portData = @{
|
||||
}
|
||||
}
|
||||
}
|
||||
"boost-stacktrace" = @{ "supports" = "!uwp" };
|
||||
"boost-stacktrace" = @{
|
||||
"default-features" = @(@{ "name" = "backtrace"; "platform" = "!windows" }; @{ "name" = "windbg"; "platform" = "windows" });
|
||||
"supports" = "!uwp";
|
||||
"features" = @{
|
||||
"backtrace" = @{
|
||||
"description" = "Use boost_stacktrace_backtrace";
|
||||
"supports" = "!windows";
|
||||
"dependencies" = @(@{ "name" = "libbacktrace"; "platform" = "!windows" });
|
||||
};
|
||||
"windbg" = @{
|
||||
"description" = "Use boost_stacktrace_windbg";
|
||||
"supports" = "windows";
|
||||
};
|
||||
}
|
||||
};
|
||||
"boost-test" = @{ "supports" = "!uwp" };
|
||||
"boost-wave" = @{ "supports" = "!uwp" };
|
||||
}
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "a81aa3960c8e5eb5c5d3dbc77ba97b830c89667c",
|
||||
"version": "1.85.0",
|
||||
"port-version": 3
|
||||
},
|
||||
{
|
||||
"git-tree": "0c354b5302458460959a9dd1ef3e80b813e8513a",
|
||||
"version": "1.85.0",
|
||||
|
@ -1222,7 +1222,7 @@
|
||||
},
|
||||
"boost-stacktrace": {
|
||||
"baseline": "1.85.0",
|
||||
"port-version": 2
|
||||
"port-version": 3
|
||||
},
|
||||
"boost-statechart": {
|
||||
"baseline": "1.85.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user