diff options
author | Carlos O'Ryan <coryan@users.noreply.github.com> | 2019-08-19T16·59-0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-19T16·59-0400 |
commit | 7420d536eaa2e659e9b19bac6c5ecdb2efeb0bbf (patch) | |
tree | f8275aa1a208a5e3ac5b2e8d8c7eea0788ca65be /CMakeLists.txt | |
parent | 1d42dc5dab5c2000c2e901d72d33916b51725235 (diff) | |
parent | 1e638c6002209a08be784f1ee044a034cbf0f2ab (diff) |
Merge pull request #16 from coryan/add-cloudtrace-v2-trace-library
feat: Add library for cloudtrace/v2/trace.proto.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 37c38002e227..ea6e09867389 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -63,6 +63,8 @@ ExternalProject_Add( "${GOOGLEAPIS_CPP_SOURCE}/google/api/auth.proto" "${GOOGLEAPIS_CPP_SOURCE}/google/api/client.proto" "${GOOGLEAPIS_CPP_SOURCE}/google/api/resource.proto" + "${GOOGLEAPIS_CPP_SOURCE}/google/devtools/cloudtrace/v2/trace.proto" + "${GOOGLEAPIS_CPP_SOURCE}/google/devtools/cloudtrace/v2/tracing.proto" "${GOOGLEAPIS_CPP_SOURCE}/google/type/expr.proto" "${GOOGLEAPIS_CPP_SOURCE}/google/rpc/error_details.proto" "${GOOGLEAPIS_CPP_SOURCE}/google/rpc/status.proto" @@ -280,6 +282,31 @@ target_link_libraries(googleapis_cpp_spanner_protos googleapis-c++::iam_v1_iam_policy_protos PRIVATE googleapis_cpp_common_flags) +google_cloud_cpp_grpcpp_library( + googleapis_cpp_devtools_cloudtrace_v2_trace_protos + "${GOOGLEAPIS_CPP_SOURCE}/google/devtools/cloudtrace/v2/trace.proto" + PROTO_PATH_DIRECTORIES + "${GOOGLEAPIS_CPP_SOURCE}" + "${PROTO_INCLUDE_DIR}") +googleapis_cpp_set_version_and_alias(devtools_cloudtrace_v2_trace_protos) +target_link_libraries(googleapis_cpp_devtools_cloudtrace_v2_trace_protos + PUBLIC googleapis-c++::api_annotations_protos + googleapis-c++::rpc_status_protos + PRIVATE googleapis_cpp_common_flags) + +google_cloud_cpp_grpcpp_library( + googleapis_cpp_devtools_cloudtrace_v2_tracing_protos + "${GOOGLEAPIS_CPP_SOURCE}/google/devtools/cloudtrace/v2/tracing.proto" + PROTO_PATH_DIRECTORIES + "${GOOGLEAPIS_CPP_SOURCE}" + "${PROTO_INCLUDE_DIR}") +googleapis_cpp_set_version_and_alias(devtools_cloudtrace_v2_tracing_protos) +target_link_libraries(googleapis_cpp_devtools_cloudtrace_v2_tracing_protos + PUBLIC googleapis-c++::devtools_cloudtrace_v2_trace_protos + googleapis-c++::api_annotations_protos + googleapis-c++::rpc_status_protos + PRIVATE googleapis_cpp_common_flags) + # Install the libraries and headers in the locations determined by # GNUInstallDirs include(GNUInstallDirs) @@ -292,6 +319,8 @@ set(googleapis_cpp_installed_libraries_list googleapis_cpp_api_annotations_protos googleapis_cpp_api_auth_protos googleapis_cpp_api_resource_protos + googleapis_cpp_devtools_cloudtrace_v2_trace_protos + googleapis_cpp_devtools_cloudtrace_v2_tracing_protos googleapis_cpp_iam_v1_policy_protos googleapis_cpp_iam_v1_iam_policy_protos googleapis_cpp_rpc_error_details_protos |