mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
parent
5e3917d4ba
commit
f0b5a6b60a
@ -30,6 +30,7 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
otlp WITH_OTLP
|
||||
otlp-http WITH_OTLP_HTTP
|
||||
zpages WITH_ZPAGES
|
||||
otlp-grpc WITH_OTLP_GRPC
|
||||
)
|
||||
|
||||
# opentelemetry-proto is a third party submodule and opentelemetry-cpp release did not pack it.
|
||||
@ -59,6 +60,8 @@ vcpkg_cmake_configure(
|
||||
-DOPENTELEMETRY_INSTALL=ON
|
||||
-DWITH_ABSEIL=ON
|
||||
${FEATURE_OPTIONS}
|
||||
MAYBE_UNUSED_VARIABLES
|
||||
WITH_OTLP_GRPC
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
@ -67,4 +70,4 @@ vcpkg_copy_pdbs()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
|
@ -2,7 +2,7 @@
|
||||
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
|
||||
"name": "opentelemetry-cpp",
|
||||
"version-semver": "1.8.3",
|
||||
"port-version": 3,
|
||||
"port-version": 4,
|
||||
"description": [
|
||||
"OpenTelemetry is a collection of tools, APIs, and SDKs.",
|
||||
"You use it to instrument, generate, collect, and export telemetry data (metrics, logs, and traces) for analysis in order to understand your software's performance and behavior."
|
||||
@ -38,13 +38,25 @@
|
||||
},
|
||||
"otlp": {
|
||||
"description": "Whether to include the OpenTelemetry Protocol in the SDK",
|
||||
"dependencies": [
|
||||
"protobuf"
|
||||
]
|
||||
},
|
||||
"otlp-grpc": {
|
||||
"description": "Whether to include the OTLP gRPC exporter in the SDK",
|
||||
"dependencies": [
|
||||
"grpc",
|
||||
{
|
||||
"name": "grpc",
|
||||
"host": true
|
||||
},
|
||||
"protobuf"
|
||||
{
|
||||
"name": "opentelemetry-cpp",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"otlp"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"otlp-http": {
|
||||
|
@ -5886,7 +5886,7 @@
|
||||
},
|
||||
"opentelemetry-cpp": {
|
||||
"baseline": "1.8.3",
|
||||
"port-version": 3
|
||||
"port-version": 4
|
||||
},
|
||||
"opentracing": {
|
||||
"baseline": "1.6.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "a2aaa1296022784fb28719885a59fe905dd80e06",
|
||||
"version-semver": "1.8.3",
|
||||
"port-version": 4
|
||||
},
|
||||
{
|
||||
"git-tree": "ce4bc10a4f0ebad5cafd14de836017b281cba1f9",
|
||||
"version-semver": "1.8.3",
|
||||
|
Loading…
x
Reference in New Issue
Block a user