2019-08-15 14:51:36 +02:00
|
|
|
# ~~~
|
2019-06-28 21:01:33 +02:00
|
|
|
# Copyright 2019 Google LLC
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
2019-08-15 14:51:36 +02:00
|
|
|
# ~~~
|
2019-06-28 21:01:33 +02:00
|
|
|
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/FindProtobufTargets.cmake")
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/FindgRPC.cmake")
|
|
|
|
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/googleapis-targets.cmake")
|
|
|
|
|
|
|
|
foreach (_target
|
|
|
|
api_annotations
|
|
|
|
api_auth
|
2019-08-15 14:51:36 +02:00
|
|
|
api_client
|
2019-10-16 23:26:56 +02:00
|
|
|
api_field_behavior
|
2019-08-15 14:51:36 +02:00
|
|
|
api_http
|
|
|
|
api_resource
|
2019-06-28 21:01:33 +02:00
|
|
|
bigtable
|
2019-10-16 23:26:56 +02:00
|
|
|
cloud_bigquery
|
|
|
|
devtools_cloudtrace_v2_trace
|
|
|
|
devtools_cloudtrace_v2_tracing
|
2019-08-15 16:01:30 +02:00
|
|
|
iam_v1_iam_policy
|
2019-08-23 16:17:09 +02:00
|
|
|
iam_v1_options
|
2019-08-23 17:29:53 +02:00
|
|
|
iam_v1_policy
|
2019-08-15 14:51:36 +02:00
|
|
|
longrunning_operations
|
2020-01-16 17:04:40 +01:00
|
|
|
pubsub
|
2019-08-15 14:51:36 +02:00
|
|
|
rpc_error_details
|
|
|
|
rpc_status
|
|
|
|
spanner
|
2020-02-25 20:35:22 +01:00
|
|
|
storage
|
2020-02-26 16:27:22 +01:00
|
|
|
logging
|
2019-08-15 14:51:36 +02:00
|
|
|
type_expr)
|
2019-06-28 21:01:33 +02:00
|
|
|
set(scoped_name "googleapis-c++::${_target}_protos")
|
|
|
|
set(imported_name "googleapis_cpp_${_target}_protos")
|
2019-09-01 15:40:27 +02:00
|
|
|
if (NOT TARGET ${scoped_name})
|
|
|
|
add_library(${scoped_name} IMPORTED INTERFACE)
|
|
|
|
set_target_properties(${scoped_name}
|
|
|
|
PROPERTIES INTERFACE_LINK_LIBRARIES
|
|
|
|
${imported_name})
|
|
|
|
endif ()
|
2019-06-28 21:01:33 +02:00
|
|
|
endforeach ()
|