mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +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.
|
# 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
|
vcpkg_check_features(
|
||||||
-DBOOST_STACKTRACE_ENABLE_BACKTRACE=OFF
|
OUT_FEATURE_OPTIONS
|
||||||
|
FEATURE_OPTIONS
|
||||||
|
FEATURES
|
||||||
|
"backtrace" BOOST_STACKTRACE_ENABLE_BACKTRACE
|
||||||
|
"windbg" BOOST_STACKTRACE_ENABLE_WINDBG
|
||||||
)
|
)
|
||||||
|
|
||||||
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()
|
|
@ -2,7 +2,7 @@
|
|||||||
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
|
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
|
||||||
"name": "boost-stacktrace",
|
"name": "boost-stacktrace",
|
||||||
"version": "1.85.0",
|
"version": "1.85.0",
|
||||||
"port-version": 2,
|
"port-version": 3,
|
||||||
"description": "Boost stacktrace module",
|
"description": "Boost stacktrace module",
|
||||||
"homepage": "https://www.boost.org/libs/stacktrace",
|
"homepage": "https://www.boost.org/libs/stacktrace",
|
||||||
"license": "BSL-1.0",
|
"license": "BSL-1.0",
|
||||||
@ -40,5 +40,31 @@
|
|||||||
"name": "boost-winapi",
|
"name": "boost-winapi",
|
||||||
"version>=": "1.85.0"
|
"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-test" = @{ "supports" = "!uwp" };
|
||||||
"boost-wave" = @{ "supports" = "!uwp" };
|
"boost-wave" = @{ "supports" = "!uwp" };
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "a81aa3960c8e5eb5c5d3dbc77ba97b830c89667c",
|
||||||
|
"version": "1.85.0",
|
||||||
|
"port-version": 3
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "0c354b5302458460959a9dd1ef3e80b813e8513a",
|
"git-tree": "0c354b5302458460959a9dd1ef3e80b813e8513a",
|
||||||
"version": "1.85.0",
|
"version": "1.85.0",
|
||||||
|
@ -1222,7 +1222,7 @@
|
|||||||
},
|
},
|
||||||
"boost-stacktrace": {
|
"boost-stacktrace": {
|
||||||
"baseline": "1.85.0",
|
"baseline": "1.85.0",
|
||||||
"port-version": 2
|
"port-version": 3
|
||||||
},
|
},
|
||||||
"boost-statechart": {
|
"boost-statechart": {
|
||||||
"baseline": "1.85.0",
|
"baseline": "1.85.0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user