From 22b90b89b9f33d394b26b0b03655a7325c598de6 Mon Sep 17 00:00:00 2001 From: Carlos O'Ryan Date: Thu, 15 Aug 2019 08:51:36 -0400 Subject: feat: Add library for api/client.proto. Also fixed the list of libraries in googleapis-config.cmake. --- CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 0914a89bb8d7..37c38002e227 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,6 +61,7 @@ ExternalProject_Add( "${GOOGLEAPIS_CPP_SOURCE}/google/api/http.proto" "${GOOGLEAPIS_CPP_SOURCE}/google/api/annotations.proto" "${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/type/expr.proto" "${GOOGLEAPIS_CPP_SOURCE}/google/rpc/error_details.proto" @@ -148,6 +149,16 @@ target_link_libraries(googleapis_cpp_api_auth_protos PUBLIC googleapis-c++::api_annotations_protos PRIVATE googleapis_cpp_common_flags) +google_cloud_cpp_grpcpp_library( + googleapis_cpp_api_client_protos + "${GOOGLEAPIS_CPP_SOURCE}/google/api/client.proto" + PROTO_PATH_DIRECTORIES + "${GOOGLEAPIS_CPP_SOURCE}" + "${PROTO_INCLUDE_DIR}") +googleapis_cpp_set_version_and_alias(api_client_protos) +target_link_libraries(googleapis_cpp_api_client_protos + PRIVATE googleapis_cpp_common_flags) + google_cloud_cpp_grpcpp_library( googleapis_cpp_api_resource_protos "${GOOGLEAPIS_CPP_SOURCE}/google/api/resource.proto" -- cgit 1.4.1