Skip to content
This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Commit 6299140

Browse files
committed
feat: Add library for cloudtrace/v2/trace.proto.
1 parent 1d42dc5 commit 6299140

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

CMakeLists.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ ExternalProject_Add(
6363
"${GOOGLEAPIS_CPP_SOURCE}/google/api/auth.proto"
6464
"${GOOGLEAPIS_CPP_SOURCE}/google/api/client.proto"
6565
"${GOOGLEAPIS_CPP_SOURCE}/google/api/resource.proto"
66+
"${GOOGLEAPIS_CPP_SOURCE}/google/devtools/cloudtrace/v2/trace.proto"
6667
"${GOOGLEAPIS_CPP_SOURCE}/google/type/expr.proto"
6768
"${GOOGLEAPIS_CPP_SOURCE}/google/rpc/error_details.proto"
6869
"${GOOGLEAPIS_CPP_SOURCE}/google/rpc/status.proto"
@@ -280,6 +281,18 @@ target_link_libraries(googleapis_cpp_spanner_protos
280281
googleapis-c++::iam_v1_iam_policy_protos
281282
PRIVATE googleapis_cpp_common_flags)
282283

284+
google_cloud_cpp_grpcpp_library(
285+
googleapis_cpp_devtools_cloudtrace_v2_trace_protos
286+
"${GOOGLEAPIS_CPP_SOURCE}/google/devtools/cloudtrace/v2/trace.proto"
287+
PROTO_PATH_DIRECTORIES
288+
"${GOOGLEAPIS_CPP_SOURCE}"
289+
"${PROTO_INCLUDE_DIR}")
290+
googleapis_cpp_set_version_and_alias(devtools_cloudtrace_v2_trace_protos)
291+
target_link_libraries(googleapis_cpp_devtools_cloudtrace_v2_trace_protos
292+
PUBLIC googleapis-c++::api_annotations_protos
293+
googleapis-c++::rpc_status_protos
294+
PRIVATE googleapis_cpp_common_flags)
295+
283296
# Install the libraries and headers in the locations determined by
284297
# GNUInstallDirs
285298
include(GNUInstallDirs)
@@ -292,6 +305,7 @@ set(googleapis_cpp_installed_libraries_list
292305
googleapis_cpp_api_annotations_protos
293306
googleapis_cpp_api_auth_protos
294307
googleapis_cpp_api_resource_protos
308+
googleapis_cpp_devtools_cloudtrace_v2_trace_protos
295309
googleapis_cpp_iam_v1_policy_protos
296310
googleapis_cpp_iam_v1_iam_policy_protos
297311
googleapis_cpp_rpc_error_details_protos

cmake/config.cmake.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ foreach (_target
2626
api_http
2727
api_resource
2828
bigtable
29+
devtools_cloudtrace_v2_trace
2930
iam_v1_iam_policy
3031
iam_v1_policy
3132
longrunning_operations

0 commit comments

Comments
 (0)