Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1 | # GRPC global cmake file |
| 2 | # This currently builds C and C++ code. |
| 3 | # This file has been automatically generated from a template file. |
| 4 | # Please look at the templates directory instead. |
| 5 | # This file can be regenerated from the template by running |
| 6 | # tools/buildgen/generate_projects.sh |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 7 | # |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 8 | # Copyright 2015 gRPC authors. |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 9 | # |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 10 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 11 | # you may not use this file except in compliance with the License. |
| 12 | # You may obtain a copy of the License at |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 13 | # |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 14 | # http://www.apache.org/licenses/LICENSE-2.0 |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 15 | # |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 16 | # Unless required by applicable law or agreed to in writing, software |
| 17 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 18 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 19 | # See the License for the specific language governing permissions and |
| 20 | # limitations under the License. |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 21 | |
| 22 | |
| 23 | |
| 24 | cmake_minimum_required(VERSION 2.8) |
| 25 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 26 | set(PACKAGE_NAME "grpc") |
Mehrdad Afshari | 4388404 | 2018-01-19 14:25:15 -0800 | [diff] [blame] | 27 | set(PACKAGE_VERSION "1.10.0-dev") |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 28 | set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") |
| 29 | set(PACKAGE_TARNAME "${PACKAGE_NAME}-${PACKAGE_VERSION}") |
| 30 | set(PACKAGE_BUGREPORT "https://github.com/grpc/grpc/issues/") |
| 31 | project(${PACKAGE_NAME} C CXX) |
| 32 | |
Stefan Hacker | 471a5dc | 2018-01-14 13:38:20 +0100 | [diff] [blame] | 33 | set(gRPC_INSTALL_BINDIR "bin" CACHE STRING "Installation directory for executables") |
| 34 | set(gRPC_INSTALL_LIBDIR "lib" CACHE STRING "Installation directory for libraries") |
| 35 | set(gRPC_INSTALL_INCLUDEDIR "include" CACHE STRING "Installation directory for headers") |
| 36 | set(gRPC_INSTALL_CMAKEDIR "lib/cmake/${PACKAGE_NAME}" CACHE STRING "Installation directory for cmake config files") |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 37 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 38 | # Options |
| 39 | option(gRPC_BUILD_TESTS "Build tests" OFF) |
| 40 | |
Alex Merry | c17eb5c | 2017-05-15 21:17:29 +0100 | [diff] [blame] | 41 | set(gRPC_INSTALL_default ON) |
Alex Merry | a65f006 | 2017-05-15 22:59:37 +0100 | [diff] [blame] | 42 | if (NOT CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) |
| 43 | # Disable gRPC_INSTALL by default if building as a submodule |
| 44 | set(gRPC_INSTALL_default OFF) |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 45 | endif() |
Alex Merry | c17eb5c | 2017-05-15 21:17:29 +0100 | [diff] [blame] | 46 | set(gRPC_INSTALL ${gRPC_INSTALL_default} CACHE BOOL |
| 47 | "Generate installation target: gRPC_ZLIB_PROVIDER, gRPC_CARES_PROVIDER, gRPC_SSL_PROVIDER and gRPC_PROTOBUF_PROVIDER must all be \"package\"") |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 48 | |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 49 | # Providers for third-party dependencies (gRPC_*_PROVIDER properties): |
| 50 | # "module": build the dependency using sources from git submodule (under third_party) |
| 51 | # "package": use cmake's find_package functionality to locate a pre-installed dependency |
| 52 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 53 | set(gRPC_ZLIB_PROVIDER "module" CACHE STRING "Provider of zlib library") |
| 54 | set_property(CACHE gRPC_ZLIB_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 55 | |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 56 | set(gRPC_CARES_PROVIDER "module" CACHE STRING "Provider of c-ares library") |
| 57 | set_property(CACHE gRPC_CARES_PROVIDER PROPERTY STRINGS "module" "package") |
| 58 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 59 | set(gRPC_SSL_PROVIDER "module" CACHE STRING "Provider of ssl library") |
| 60 | set_property(CACHE gRPC_SSL_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | a72712e | 2016-07-06 10:30:25 +0100 | [diff] [blame] | 61 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 62 | set(gRPC_PROTOBUF_PROVIDER "module" CACHE STRING "Provider of protobuf library") |
| 63 | set_property(CACHE gRPC_PROTOBUF_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 64 | |
Kamil Skalski | 6ba7d53 | 2017-06-28 19:42:26 +0100 | [diff] [blame] | 65 | set(gRPC_PROTOBUF_PACKAGE_TYPE "" CACHE STRING "Algorithm for searching protobuf package") |
| 66 | set_property(CACHE gRPC_PROTOBUF_PACKAGE_TYPE PROPERTY STRINGS "CONFIG" "MODULE") |
| 67 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 68 | set(gRPC_GFLAGS_PROVIDER "module" CACHE STRING "Provider of gflags library") |
| 69 | set_property(CACHE gRPC_GFLAGS_PROVIDER PROPERTY STRINGS "module" "package") |
| 70 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 71 | set(gRPC_BENCHMARK_PROVIDER "module" CACHE STRING "Provider of benchmark library") |
| 72 | set_property(CACHE gRPC_BENCHMARK_PROVIDER PROPERTY STRINGS "module" "package") |
| 73 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 74 | set(gRPC_USE_PROTO_LITE OFF CACHE BOOL "Use the protobuf-lite library") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 75 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 76 | if(UNIX) |
| 77 | if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") |
| 78 | set(_gRPC_PLATFORM_LINUX ON) |
| 79 | elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") |
| 80 | set(_gRPC_PLATFORM_MAC ON) |
| 81 | else() |
| 82 | set(_gRPC_PLATFORM_POSIX ON) |
| 83 | endif() |
| 84 | endif() |
| 85 | if(WIN32) |
| 86 | set(_gRPC_PLATFORM_WINDOWS ON) |
| 87 | endif() |
| 88 | |
Jan Tattermusch | c09656c | 2017-01-27 13:36:24 +0100 | [diff] [blame] | 89 | set(CMAKE_POSITION_INDEPENDENT_CODE TRUE) |
| 90 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 91 | if (MSVC) |
Jan Tattermusch | 5140791 | 2017-02-02 20:44:22 +0100 | [diff] [blame] | 92 | include(cmake/msvc_static_runtime.cmake) |
Jan Tattermusch | 3aab96f | 2017-01-11 16:12:46 +0100 | [diff] [blame] | 93 | add_definitions(-D_WIN32_WINNT=0x600 -D_SCL_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS) |
Jan Tattermusch | 3aab96f | 2017-01-11 16:12:46 +0100 | [diff] [blame] | 94 | # needed to compile protobuf |
| 95 | add_definitions(/wd4065 /wd4506) |
| 96 | # TODO(jtattermusch): revisit C4267 occurrences throughout the code |
| 97 | add_definitions(/wd4267) |
Jan Tattermusch | 07d2092 | 2017-08-23 16:05:43 +0200 | [diff] [blame] | 98 | # TODO(jtattermusch): needed to build boringssl with VS2017, revisit later |
| 99 | add_definitions(/wd4987 /wd4774 /wd4819 /wd4996 /wd4619) |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 100 | endif() |
| 101 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 102 | if (gRPC_USE_PROTO_LITE) |
| 103 | set(_gRPC_PROTOBUF_LIBRARY_NAME "libprotobuf-lite") |
Tamas Berghammer | 2391156 | 2016-07-27 15:24:05 +0100 | [diff] [blame] | 104 | add_definitions("-DGRPC_USE_PROTO_LITE") |
| 105 | else() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 106 | set(_gRPC_PROTOBUF_LIBRARY_NAME "libprotobuf") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 107 | endif() |
| 108 | |
Jan Tattermusch | f38b152 | 2017-12-19 14:05:41 -0800 | [diff] [blame] | 109 | include(cmake/zlib.cmake) |
| 110 | include(cmake/cares.cmake) |
| 111 | include(cmake/protobuf.cmake) |
| 112 | include(cmake/ssl.cmake) |
| 113 | include(cmake/gflags.cmake) |
| 114 | include(cmake/benchmark.cmake) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 115 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 116 | if(NOT MSVC) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 117 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 118 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") |
| 119 | endif() |
| 120 | |
Mehrdad Afshari | 79ec0ff | 2017-04-19 03:14:26 -0700 | [diff] [blame] | 121 | if(_gRPC_PLATFORM_MAC) |
| 122 | set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} m pthread) |
| 123 | elseif(UNIX) |
| 124 | set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} rt m pthread) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 125 | endif() |
| 126 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 127 | if(WIN32 AND MSVC) |
| 128 | set(_gRPC_BASELIB_LIBRARIES wsock32 ws2_32) |
Tamas Berghammer | 2391156 | 2016-07-27 15:24:05 +0100 | [diff] [blame] | 129 | endif() |
| 130 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 131 | # Create directory for generated .proto files |
| 132 | set(_gRPC_PROTO_GENS_DIR ${CMAKE_BINARY_DIR}/gens) |
| 133 | file(MAKE_DIRECTORY ${_gRPC_PROTO_GENS_DIR}) |
| 134 | |
| 135 | # protobuf_generate_grpc_cpp |
| 136 | # -------------------------- |
| 137 | # |
| 138 | # Add custom commands to process ``.proto`` files to C++ using protoc and |
| 139 | # GRPC plugin:: |
| 140 | # |
| 141 | # protobuf_generate_grpc_cpp [<ARGN>...] |
| 142 | # |
| 143 | # ``ARGN`` |
| 144 | # ``.proto`` files |
| 145 | # |
| 146 | function(protobuf_generate_grpc_cpp) |
| 147 | if(NOT ARGN) |
| 148 | message(SEND_ERROR "Error: PROTOBUF_GENERATE_GRPC_CPP() called without any proto files") |
| 149 | return() |
| 150 | endif() |
| 151 | |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 152 | set(_protobuf_include_path -I . -I ${_gRPC_PROTOBUF_WELLKNOWN_INCLUDE_DIR}) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 153 | foreach(FIL ${ARGN}) |
| 154 | get_filename_component(ABS_FIL ${FIL} ABSOLUTE) |
| 155 | get_filename_component(FIL_WE ${FIL} NAME_WE) |
Jan Tattermusch | ecc457b | 2017-04-07 14:06:16 +0200 | [diff] [blame] | 156 | file(RELATIVE_PATH REL_FIL ${CMAKE_CURRENT_SOURCE_DIR} ${ABS_FIL}) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 157 | get_filename_component(REL_DIR ${REL_FIL} DIRECTORY) |
| 158 | set(RELFIL_WE "${REL_DIR}/${FIL_WE}") |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 159 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 160 | add_custom_command( |
| 161 | OUTPUT "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.cc" |
| 162 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.h" |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 163 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}_mock.grpc.pb.h" |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 164 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.cc" |
| 165 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.h" |
Jan Tattermusch | 210f2a5 | 2017-08-24 17:51:47 +0200 | [diff] [blame] | 166 | COMMAND ${_gRPC_PROTOBUF_PROTOC_EXECUTABLE} |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 167 | ARGS --grpc_out=generate_mock_code=true:${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 168 | --cpp_out=${_gRPC_PROTO_GENS_DIR} |
| 169 | --plugin=protoc-gen-grpc=$<TARGET_FILE:grpc_cpp_plugin> |
| 170 | ${_protobuf_include_path} |
| 171 | ${REL_FIL} |
| 172 | DEPENDS ${ABS_FIL} ${_gRPC_PROTOBUF_PROTOC} grpc_cpp_plugin |
Jan Tattermusch | ecc457b | 2017-04-07 14:06:16 +0200 | [diff] [blame] | 173 | WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 174 | COMMENT "Running gRPC C++ protocol buffer compiler on ${FIL}" |
| 175 | VERBATIM) |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 176 | |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 177 | set_source_files_properties("${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.cc" "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.h" "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}_mock.grpc.pb.h" "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.cc" "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.h" PROPERTIES GENERATED TRUE) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 178 | endforeach() |
| 179 | endfunction() |
| 180 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 181 | add_custom_target(plugins |
| 182 | DEPENDS |
| 183 | grpc_cpp_plugin |
| 184 | grpc_csharp_plugin |
| 185 | grpc_node_plugin |
| 186 | grpc_objective_c_plugin |
| 187 | grpc_php_plugin |
| 188 | grpc_python_plugin |
| 189 | grpc_ruby_plugin |
| 190 | ) |
| 191 | |
| 192 | add_custom_target(tools_c |
| 193 | DEPENDS |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 194 | check_epollexclusive |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 195 | grpc_create_jwt |
| 196 | grpc_print_google_default_creds_token |
| 197 | grpc_verify_jwt |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 198 | gen_hpack_tables |
| 199 | gen_legal_metadata_characters |
| 200 | gen_percent_encoding_tables |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 201 | ) |
| 202 | |
| 203 | add_custom_target(tools_cxx |
| 204 | DEPENDS |
| 205 | ) |
| 206 | |
| 207 | add_custom_target(tools |
| 208 | DEPENDS tools_c tools_cxx) |
| 209 | |
| 210 | if (gRPC_BUILD_TESTS) |
| 211 | add_custom_target(buildtests_c) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 212 | add_dependencies(buildtests_c algorithm_test) |
| 213 | add_dependencies(buildtests_c alloc_test) |
| 214 | add_dependencies(buildtests_c alpn_test) |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 215 | add_dependencies(buildtests_c arena_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 216 | add_dependencies(buildtests_c bad_server_response_test) |
| 217 | add_dependencies(buildtests_c bin_decoder_test) |
| 218 | add_dependencies(buildtests_c bin_encoder_test) |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 219 | add_dependencies(buildtests_c byte_stream_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 220 | add_dependencies(buildtests_c channel_create_test) |
| 221 | add_dependencies(buildtests_c chttp2_hpack_encoder_test) |
| 222 | add_dependencies(buildtests_c chttp2_stream_map_test) |
| 223 | add_dependencies(buildtests_c chttp2_varint_test) |
| 224 | add_dependencies(buildtests_c combiner_test) |
| 225 | add_dependencies(buildtests_c compression_test) |
| 226 | add_dependencies(buildtests_c concurrent_connectivity_test) |
| 227 | add_dependencies(buildtests_c connection_refused_test) |
| 228 | add_dependencies(buildtests_c dns_resolver_connectivity_test) |
David Garcia Quintas | 956fe5e | 2018-01-30 15:47:20 -0800 | [diff] [blame] | 229 | add_dependencies(buildtests_c dns_resolver_cooldown_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 230 | add_dependencies(buildtests_c dns_resolver_test) |
| 231 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 232 | add_dependencies(buildtests_c dualstack_socket_test) |
| 233 | endif() |
| 234 | add_dependencies(buildtests_c endpoint_pair_test) |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 235 | add_dependencies(buildtests_c error_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 236 | if(_gRPC_PLATFORM_LINUX) |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 237 | add_dependencies(buildtests_c ev_epollsig_linux_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 238 | endif() |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 239 | add_dependencies(buildtests_c fake_resolver_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 240 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 241 | add_dependencies(buildtests_c fake_transport_security_test) |
| 242 | endif() |
| 243 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 244 | add_dependencies(buildtests_c fd_conservation_posix_test) |
| 245 | endif() |
| 246 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 247 | add_dependencies(buildtests_c fd_posix_test) |
| 248 | endif() |
| 249 | add_dependencies(buildtests_c fling_client) |
| 250 | add_dependencies(buildtests_c fling_server) |
| 251 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 252 | add_dependencies(buildtests_c fling_stream_test) |
| 253 | endif() |
| 254 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 255 | add_dependencies(buildtests_c fling_test) |
| 256 | endif() |
| 257 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 258 | add_dependencies(buildtests_c goaway_server_test) |
| 259 | endif() |
| 260 | add_dependencies(buildtests_c gpr_avl_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 261 | add_dependencies(buildtests_c gpr_cmdline_test) |
| 262 | add_dependencies(buildtests_c gpr_cpu_test) |
| 263 | add_dependencies(buildtests_c gpr_env_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 264 | add_dependencies(buildtests_c gpr_host_port_test) |
| 265 | add_dependencies(buildtests_c gpr_log_test) |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 266 | add_dependencies(buildtests_c gpr_manual_constructor_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 267 | add_dependencies(buildtests_c gpr_mpscq_test) |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 268 | add_dependencies(buildtests_c gpr_spinlock_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 269 | add_dependencies(buildtests_c gpr_string_test) |
| 270 | add_dependencies(buildtests_c gpr_sync_test) |
| 271 | add_dependencies(buildtests_c gpr_thd_test) |
| 272 | add_dependencies(buildtests_c gpr_time_test) |
| 273 | add_dependencies(buildtests_c gpr_tls_test) |
| 274 | add_dependencies(buildtests_c gpr_useful_test) |
| 275 | add_dependencies(buildtests_c grpc_auth_context_test) |
| 276 | add_dependencies(buildtests_c grpc_b64_test) |
| 277 | add_dependencies(buildtests_c grpc_byte_buffer_reader_test) |
| 278 | add_dependencies(buildtests_c grpc_channel_args_test) |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 279 | add_dependencies(buildtests_c grpc_channel_stack_builder_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 280 | add_dependencies(buildtests_c grpc_channel_stack_test) |
| 281 | add_dependencies(buildtests_c grpc_completion_queue_test) |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 282 | add_dependencies(buildtests_c grpc_completion_queue_threading_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 283 | add_dependencies(buildtests_c grpc_credentials_test) |
| 284 | add_dependencies(buildtests_c grpc_fetch_oauth2) |
| 285 | add_dependencies(buildtests_c grpc_invalid_channel_args_test) |
| 286 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 287 | add_dependencies(buildtests_c grpc_json_token_test) |
| 288 | endif() |
| 289 | add_dependencies(buildtests_c grpc_jwt_verifier_test) |
| 290 | add_dependencies(buildtests_c grpc_security_connector_test) |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 291 | add_dependencies(buildtests_c grpc_ssl_credentials_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 292 | if(_gRPC_PLATFORM_LINUX) |
| 293 | add_dependencies(buildtests_c handshake_client) |
| 294 | endif() |
| 295 | if(_gRPC_PLATFORM_LINUX) |
| 296 | add_dependencies(buildtests_c handshake_server) |
| 297 | endif() |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 298 | if(_gRPC_PLATFORM_LINUX) |
| 299 | add_dependencies(buildtests_c handshake_server_with_readahead_handshaker) |
| 300 | endif() |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 301 | add_dependencies(buildtests_c histogram_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 302 | add_dependencies(buildtests_c hpack_parser_test) |
| 303 | add_dependencies(buildtests_c hpack_table_test) |
| 304 | add_dependencies(buildtests_c http_parser_test) |
| 305 | add_dependencies(buildtests_c httpcli_format_request_test) |
| 306 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 307 | add_dependencies(buildtests_c httpcli_test) |
| 308 | endif() |
| 309 | if(_gRPC_PLATFORM_LINUX) |
| 310 | add_dependencies(buildtests_c httpscli_test) |
| 311 | endif() |
| 312 | add_dependencies(buildtests_c init_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 313 | add_dependencies(buildtests_c invalid_call_argument_test) |
| 314 | add_dependencies(buildtests_c json_rewrite) |
| 315 | add_dependencies(buildtests_c json_rewrite_test) |
| 316 | add_dependencies(buildtests_c json_stream_error_test) |
| 317 | add_dependencies(buildtests_c json_test) |
| 318 | add_dependencies(buildtests_c lame_client_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 319 | add_dependencies(buildtests_c load_file_test) |
| 320 | add_dependencies(buildtests_c memory_profile_client) |
| 321 | add_dependencies(buildtests_c memory_profile_server) |
| 322 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 323 | add_dependencies(buildtests_c memory_profile_test) |
| 324 | endif() |
| 325 | add_dependencies(buildtests_c message_compress_test) |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 326 | add_dependencies(buildtests_c minimal_stack_is_minimal_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 327 | add_dependencies(buildtests_c multiple_server_queues_test) |
| 328 | add_dependencies(buildtests_c murmur_hash_test) |
| 329 | add_dependencies(buildtests_c no_server_test) |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 330 | add_dependencies(buildtests_c num_external_connectivity_watchers_test) |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 331 | add_dependencies(buildtests_c parse_address_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 332 | add_dependencies(buildtests_c percent_encoding_test) |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 333 | if(_gRPC_PLATFORM_LINUX) |
| 334 | add_dependencies(buildtests_c pollset_set_test) |
| 335 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 336 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 337 | add_dependencies(buildtests_c resolve_address_posix_test) |
| 338 | endif() |
| 339 | add_dependencies(buildtests_c resolve_address_test) |
| 340 | add_dependencies(buildtests_c resource_quota_test) |
| 341 | add_dependencies(buildtests_c secure_channel_create_test) |
| 342 | add_dependencies(buildtests_c secure_endpoint_test) |
| 343 | add_dependencies(buildtests_c sequential_connectivity_test) |
| 344 | add_dependencies(buildtests_c server_chttp2_test) |
| 345 | add_dependencies(buildtests_c server_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 346 | add_dependencies(buildtests_c slice_buffer_test) |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 347 | add_dependencies(buildtests_c slice_hash_table_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 348 | add_dependencies(buildtests_c slice_string_helpers_test) |
| 349 | add_dependencies(buildtests_c slice_test) |
| 350 | add_dependencies(buildtests_c sockaddr_resolver_test) |
| 351 | add_dependencies(buildtests_c sockaddr_utils_test) |
| 352 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 353 | add_dependencies(buildtests_c socket_utils_test) |
| 354 | endif() |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 355 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 356 | add_dependencies(buildtests_c ssl_transport_security_test) |
| 357 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 358 | add_dependencies(buildtests_c status_conversion_test) |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 359 | add_dependencies(buildtests_c stream_compression_test) |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 360 | add_dependencies(buildtests_c stream_owned_slice_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 361 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 362 | add_dependencies(buildtests_c tcp_client_posix_test) |
| 363 | endif() |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 364 | add_dependencies(buildtests_c tcp_client_uv_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 365 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 366 | add_dependencies(buildtests_c tcp_posix_test) |
| 367 | endif() |
| 368 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 369 | add_dependencies(buildtests_c tcp_server_posix_test) |
| 370 | endif() |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 371 | add_dependencies(buildtests_c tcp_server_uv_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 372 | add_dependencies(buildtests_c time_averaged_stats_test) |
| 373 | add_dependencies(buildtests_c timeout_encoding_test) |
| 374 | add_dependencies(buildtests_c timer_heap_test) |
| 375 | add_dependencies(buildtests_c timer_list_test) |
| 376 | add_dependencies(buildtests_c transport_connectivity_state_test) |
Craig Tiller | 48bed5e | 2017-10-16 15:42:41 -0700 | [diff] [blame] | 377 | add_dependencies(buildtests_c transport_metadata_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 378 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 379 | add_dependencies(buildtests_c transport_security_test) |
| 380 | endif() |
| 381 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 382 | add_dependencies(buildtests_c udp_server_test) |
| 383 | endif() |
| 384 | add_dependencies(buildtests_c uri_parser_test) |
| 385 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 386 | add_dependencies(buildtests_c wakeup_fd_cv_test) |
| 387 | endif() |
| 388 | add_dependencies(buildtests_c public_headers_must_be_c89) |
| 389 | add_dependencies(buildtests_c badreq_bad_client_test) |
| 390 | add_dependencies(buildtests_c connection_prefix_bad_client_test) |
| 391 | add_dependencies(buildtests_c head_of_line_blocking_bad_client_test) |
| 392 | add_dependencies(buildtests_c headers_bad_client_test) |
| 393 | add_dependencies(buildtests_c initial_settings_frame_bad_client_test) |
Yash Tibrewal | 1791df0 | 2018-01-19 18:23:20 -0800 | [diff] [blame] | 394 | add_dependencies(buildtests_c large_metadata_bad_client_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 395 | add_dependencies(buildtests_c server_registered_method_bad_client_test) |
| 396 | add_dependencies(buildtests_c simple_request_bad_client_test) |
| 397 | add_dependencies(buildtests_c unknown_frame_bad_client_test) |
| 398 | add_dependencies(buildtests_c window_overflow_bad_client_test) |
| 399 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 400 | add_dependencies(buildtests_c bad_ssl_cert_server) |
| 401 | endif() |
| 402 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 403 | add_dependencies(buildtests_c bad_ssl_cert_test) |
| 404 | endif() |
| 405 | add_dependencies(buildtests_c h2_census_test) |
| 406 | add_dependencies(buildtests_c h2_compress_test) |
| 407 | add_dependencies(buildtests_c h2_fakesec_test) |
| 408 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 409 | add_dependencies(buildtests_c h2_fd_test) |
| 410 | endif() |
| 411 | add_dependencies(buildtests_c h2_full_test) |
| 412 | if(_gRPC_PLATFORM_LINUX) |
| 413 | add_dependencies(buildtests_c h2_full+pipe_test) |
| 414 | endif() |
| 415 | add_dependencies(buildtests_c h2_full+trace_test) |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 416 | add_dependencies(buildtests_c h2_full+workarounds_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 417 | add_dependencies(buildtests_c h2_http_proxy_test) |
| 418 | add_dependencies(buildtests_c h2_load_reporting_test) |
| 419 | add_dependencies(buildtests_c h2_oauth2_test) |
| 420 | add_dependencies(buildtests_c h2_proxy_test) |
| 421 | add_dependencies(buildtests_c h2_sockpair_test) |
| 422 | add_dependencies(buildtests_c h2_sockpair+trace_test) |
| 423 | add_dependencies(buildtests_c h2_sockpair_1byte_test) |
| 424 | add_dependencies(buildtests_c h2_ssl_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 425 | add_dependencies(buildtests_c h2_ssl_proxy_test) |
| 426 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 427 | add_dependencies(buildtests_c h2_uds_test) |
| 428 | endif() |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 429 | add_dependencies(buildtests_c inproc_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 430 | add_dependencies(buildtests_c h2_census_nosec_test) |
| 431 | add_dependencies(buildtests_c h2_compress_nosec_test) |
| 432 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 433 | add_dependencies(buildtests_c h2_fd_nosec_test) |
| 434 | endif() |
| 435 | add_dependencies(buildtests_c h2_full_nosec_test) |
| 436 | if(_gRPC_PLATFORM_LINUX) |
| 437 | add_dependencies(buildtests_c h2_full+pipe_nosec_test) |
| 438 | endif() |
| 439 | add_dependencies(buildtests_c h2_full+trace_nosec_test) |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 440 | add_dependencies(buildtests_c h2_full+workarounds_nosec_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 441 | add_dependencies(buildtests_c h2_http_proxy_nosec_test) |
| 442 | add_dependencies(buildtests_c h2_load_reporting_nosec_test) |
| 443 | add_dependencies(buildtests_c h2_proxy_nosec_test) |
| 444 | add_dependencies(buildtests_c h2_sockpair_nosec_test) |
| 445 | add_dependencies(buildtests_c h2_sockpair+trace_nosec_test) |
| 446 | add_dependencies(buildtests_c h2_sockpair_1byte_nosec_test) |
| 447 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 448 | add_dependencies(buildtests_c h2_uds_nosec_test) |
| 449 | endif() |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 450 | add_dependencies(buildtests_c inproc_nosec_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 451 | add_dependencies(buildtests_c api_fuzzer_one_entry) |
| 452 | add_dependencies(buildtests_c client_fuzzer_one_entry) |
| 453 | add_dependencies(buildtests_c hpack_parser_fuzzer_test_one_entry) |
| 454 | add_dependencies(buildtests_c http_request_fuzzer_test_one_entry) |
| 455 | add_dependencies(buildtests_c http_response_fuzzer_test_one_entry) |
| 456 | add_dependencies(buildtests_c json_fuzzer_test_one_entry) |
| 457 | add_dependencies(buildtests_c nanopb_fuzzer_response_test_one_entry) |
| 458 | add_dependencies(buildtests_c nanopb_fuzzer_serverlist_test_one_entry) |
| 459 | add_dependencies(buildtests_c percent_decode_fuzzer_one_entry) |
| 460 | add_dependencies(buildtests_c percent_encode_fuzzer_one_entry) |
| 461 | add_dependencies(buildtests_c server_fuzzer_one_entry) |
| 462 | add_dependencies(buildtests_c ssl_server_fuzzer_one_entry) |
| 463 | add_dependencies(buildtests_c uri_fuzzer_test_one_entry) |
| 464 | |
| 465 | add_custom_target(buildtests_cxx) |
Vijay Pai | 2b226ad | 2018-01-11 16:11:35 -0800 | [diff] [blame] | 466 | add_dependencies(buildtests_cxx alarm_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 467 | add_dependencies(buildtests_cxx async_end2end_test) |
| 468 | add_dependencies(buildtests_cxx auth_property_iterator_test) |
David Garcia Quintas | 460b5e0 | 2017-12-04 16:12:16 -0800 | [diff] [blame] | 469 | add_dependencies(buildtests_cxx backoff_test) |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 470 | add_dependencies(buildtests_cxx bdp_estimator_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 471 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 472 | add_dependencies(buildtests_cxx bm_arena) |
| 473 | endif() |
| 474 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 475 | add_dependencies(buildtests_cxx bm_call_create) |
| 476 | endif() |
| 477 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 478 | add_dependencies(buildtests_cxx bm_chttp2_hpack) |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 479 | endif() |
| 480 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 481 | add_dependencies(buildtests_cxx bm_chttp2_transport) |
| 482 | endif() |
| 483 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 484 | add_dependencies(buildtests_cxx bm_closure) |
| 485 | endif() |
| 486 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 487 | add_dependencies(buildtests_cxx bm_cq) |
| 488 | endif() |
| 489 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 490 | add_dependencies(buildtests_cxx bm_cq_multiple_threads) |
| 491 | endif() |
| 492 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 493 | add_dependencies(buildtests_cxx bm_error) |
| 494 | endif() |
| 495 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 496 | add_dependencies(buildtests_cxx bm_fullstack_streaming_ping_pong) |
| 497 | endif() |
| 498 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 499 | add_dependencies(buildtests_cxx bm_fullstack_streaming_pump) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 500 | endif() |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 501 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 502 | add_dependencies(buildtests_cxx bm_fullstack_trickle) |
| 503 | endif() |
| 504 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 505 | add_dependencies(buildtests_cxx bm_fullstack_unary_ping_pong) |
| 506 | endif() |
| 507 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 508 | add_dependencies(buildtests_cxx bm_metadata) |
| 509 | endif() |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 510 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 511 | add_dependencies(buildtests_cxx bm_pollset) |
| 512 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 513 | add_dependencies(buildtests_cxx channel_arguments_test) |
| 514 | add_dependencies(buildtests_cxx channel_filter_test) |
Mark D. Roth | b9f34ac | 2017-11-21 15:47:12 -0800 | [diff] [blame] | 515 | add_dependencies(buildtests_cxx chttp2_settings_timeout_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 516 | add_dependencies(buildtests_cxx cli_call_test) |
Juanli Shen | e5d2139 | 2017-11-14 16:07:23 -0800 | [diff] [blame] | 517 | add_dependencies(buildtests_cxx client_channel_stress_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 518 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 519 | add_dependencies(buildtests_cxx client_crash_test) |
| 520 | endif() |
| 521 | add_dependencies(buildtests_cxx client_crash_test_server) |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 522 | add_dependencies(buildtests_cxx client_lb_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 523 | add_dependencies(buildtests_cxx codegen_test_full) |
| 524 | add_dependencies(buildtests_cxx codegen_test_minimal) |
| 525 | add_dependencies(buildtests_cxx credentials_test) |
| 526 | add_dependencies(buildtests_cxx cxx_byte_buffer_test) |
| 527 | add_dependencies(buildtests_cxx cxx_slice_test) |
| 528 | add_dependencies(buildtests_cxx cxx_string_ref_test) |
| 529 | add_dependencies(buildtests_cxx cxx_time_test) |
| 530 | add_dependencies(buildtests_cxx end2end_test) |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 531 | add_dependencies(buildtests_cxx error_details_test) |
Vijay Pai | 8fc3715 | 2017-12-18 14:33:51 -0800 | [diff] [blame] | 532 | add_dependencies(buildtests_cxx exception_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 533 | add_dependencies(buildtests_cxx filter_end2end_test) |
| 534 | add_dependencies(buildtests_cxx generic_end2end_test) |
| 535 | add_dependencies(buildtests_cxx golden_file_test) |
| 536 | add_dependencies(buildtests_cxx grpc_cli) |
| 537 | add_dependencies(buildtests_cxx grpc_tool_test) |
| 538 | add_dependencies(buildtests_cxx grpclb_api_test) |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 539 | add_dependencies(buildtests_cxx grpclb_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 540 | add_dependencies(buildtests_cxx grpclb_test) |
Vijay Pai | fed1391 | 2017-10-11 00:07:00 -0700 | [diff] [blame] | 541 | add_dependencies(buildtests_cxx h2_ssl_cert_test) |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 542 | add_dependencies(buildtests_cxx health_service_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 543 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 544 | add_dependencies(buildtests_cxx http2_client) |
| 545 | endif() |
| 546 | add_dependencies(buildtests_cxx hybrid_end2end_test) |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 547 | add_dependencies(buildtests_cxx inlined_vector_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 548 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Vijay Pai | 088112f | 2017-08-24 10:42:27 -0700 | [diff] [blame] | 549 | add_dependencies(buildtests_cxx inproc_sync_unary_ping_pong_test) |
| 550 | endif() |
| 551 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 552 | add_dependencies(buildtests_cxx interop_client) |
| 553 | endif() |
| 554 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 555 | add_dependencies(buildtests_cxx interop_server) |
| 556 | endif() |
| 557 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 558 | add_dependencies(buildtests_cxx interop_test) |
| 559 | endif() |
| 560 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 561 | add_dependencies(buildtests_cxx json_run_localhost) |
| 562 | endif() |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 563 | add_dependencies(buildtests_cxx memory_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 564 | add_dependencies(buildtests_cxx metrics_client) |
| 565 | add_dependencies(buildtests_cxx mock_test) |
| 566 | add_dependencies(buildtests_cxx noop-benchmark) |
Mark D. Roth | 324703d | 2018-01-11 07:41:31 -0800 | [diff] [blame] | 567 | add_dependencies(buildtests_cxx orphanable_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 568 | add_dependencies(buildtests_cxx proto_server_reflection_test) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 569 | add_dependencies(buildtests_cxx proto_utils_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 570 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 571 | add_dependencies(buildtests_cxx qps_interarrival_test) |
| 572 | endif() |
| 573 | add_dependencies(buildtests_cxx qps_json_driver) |
| 574 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 575 | add_dependencies(buildtests_cxx qps_openloop_test) |
| 576 | endif() |
| 577 | add_dependencies(buildtests_cxx qps_worker) |
| 578 | add_dependencies(buildtests_cxx reconnect_interop_client) |
| 579 | add_dependencies(buildtests_cxx reconnect_interop_server) |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 580 | add_dependencies(buildtests_cxx ref_counted_ptr_test) |
| 581 | add_dependencies(buildtests_cxx ref_counted_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 582 | add_dependencies(buildtests_cxx secure_auth_context_test) |
| 583 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 584 | add_dependencies(buildtests_cxx secure_sync_unary_ping_pong_test) |
| 585 | endif() |
| 586 | add_dependencies(buildtests_cxx server_builder_plugin_test) |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 587 | add_dependencies(buildtests_cxx server_builder_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 588 | add_dependencies(buildtests_cxx server_context_test_spouse_test) |
| 589 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 590 | add_dependencies(buildtests_cxx server_crash_test) |
| 591 | endif() |
| 592 | add_dependencies(buildtests_cxx server_crash_test_client) |
yang-g | 98cd36e | 2018-01-18 15:34:01 -0800 | [diff] [blame] | 593 | add_dependencies(buildtests_cxx server_early_return_test) |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 594 | add_dependencies(buildtests_cxx server_request_call_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 595 | add_dependencies(buildtests_cxx shutdown_test) |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 596 | add_dependencies(buildtests_cxx stats_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 597 | add_dependencies(buildtests_cxx status_test) |
| 598 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 599 | add_dependencies(buildtests_cxx streaming_throughput_test) |
| 600 | endif() |
| 601 | add_dependencies(buildtests_cxx stress_test) |
| 602 | add_dependencies(buildtests_cxx thread_manager_test) |
| 603 | add_dependencies(buildtests_cxx thread_stress_test) |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 604 | add_dependencies(buildtests_cxx transport_pid_controller_test) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 605 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 606 | add_dependencies(buildtests_cxx writes_per_rpc_test) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 607 | endif() |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 608 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 609 | add_dependencies(buildtests_cxx resolver_component_test_unsecure) |
| 610 | endif() |
| 611 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 612 | add_dependencies(buildtests_cxx resolver_component_test) |
| 613 | endif() |
| 614 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 615 | add_dependencies(buildtests_cxx resolver_component_tests_runner_invoker_unsecure) |
| 616 | endif() |
| 617 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 618 | add_dependencies(buildtests_cxx resolver_component_tests_runner_invoker) |
| 619 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 620 | |
| 621 | add_custom_target(buildtests |
| 622 | DEPENDS buildtests_c buildtests_cxx) |
| 623 | endif (gRPC_BUILD_TESTS) |
| 624 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 625 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 626 | add_library(gpr |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 627 | src/core/lib/gpr/alloc.cc |
| 628 | src/core/lib/gpr/arena.cc |
| 629 | src/core/lib/gpr/atm.cc |
| 630 | src/core/lib/gpr/avl.cc |
| 631 | src/core/lib/gpr/cmdline.cc |
| 632 | src/core/lib/gpr/cpu_iphone.cc |
| 633 | src/core/lib/gpr/cpu_linux.cc |
| 634 | src/core/lib/gpr/cpu_posix.cc |
| 635 | src/core/lib/gpr/cpu_windows.cc |
| 636 | src/core/lib/gpr/env_linux.cc |
| 637 | src/core/lib/gpr/env_posix.cc |
| 638 | src/core/lib/gpr/env_windows.cc |
| 639 | src/core/lib/gpr/fork.cc |
| 640 | src/core/lib/gpr/host_port.cc |
| 641 | src/core/lib/gpr/log.cc |
| 642 | src/core/lib/gpr/log_android.cc |
| 643 | src/core/lib/gpr/log_linux.cc |
| 644 | src/core/lib/gpr/log_posix.cc |
| 645 | src/core/lib/gpr/log_windows.cc |
| 646 | src/core/lib/gpr/mpscq.cc |
| 647 | src/core/lib/gpr/murmur_hash.cc |
| 648 | src/core/lib/gpr/string.cc |
| 649 | src/core/lib/gpr/string_posix.cc |
| 650 | src/core/lib/gpr/string_util_windows.cc |
| 651 | src/core/lib/gpr/string_windows.cc |
| 652 | src/core/lib/gpr/subprocess_posix.cc |
| 653 | src/core/lib/gpr/subprocess_windows.cc |
| 654 | src/core/lib/gpr/sync.cc |
| 655 | src/core/lib/gpr/sync_posix.cc |
| 656 | src/core/lib/gpr/sync_windows.cc |
| 657 | src/core/lib/gpr/thd.cc |
| 658 | src/core/lib/gpr/thd_posix.cc |
| 659 | src/core/lib/gpr/thd_windows.cc |
| 660 | src/core/lib/gpr/time.cc |
| 661 | src/core/lib/gpr/time_posix.cc |
| 662 | src/core/lib/gpr/time_precise.cc |
| 663 | src/core/lib/gpr/time_windows.cc |
| 664 | src/core/lib/gpr/tls_pthread.cc |
| 665 | src/core/lib/gpr/tmpfile_msys.cc |
| 666 | src/core/lib/gpr/tmpfile_posix.cc |
| 667 | src/core/lib/gpr/tmpfile_windows.cc |
| 668 | src/core/lib/gpr/wrap_memcpy.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 669 | src/core/lib/profiling/basic_timers.cc |
| 670 | src/core/lib/profiling/stap_timers.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 671 | ) |
| 672 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 673 | if(WIN32 AND MSVC) |
| 674 | set_target_properties(gpr PROPERTIES COMPILE_PDB_NAME "gpr" |
| 675 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 676 | ) |
| 677 | if (gRPC_INSTALL) |
| 678 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 679 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 680 | ) |
| 681 | endif() |
| 682 | endif() |
| 683 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 684 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 685 | target_include_directories(gpr |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 686 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 687 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 688 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 689 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 690 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 691 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 692 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 693 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 694 | ) |
| 695 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 696 | target_link_libraries(gpr |
| 697 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 698 | ) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 699 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 700 | foreach(_hdr |
| 701 | include/grpc/support/alloc.h |
| 702 | include/grpc/support/atm.h |
| 703 | include/grpc/support/atm_gcc_atomic.h |
| 704 | include/grpc/support/atm_gcc_sync.h |
| 705 | include/grpc/support/atm_windows.h |
| 706 | include/grpc/support/avl.h |
| 707 | include/grpc/support/cmdline.h |
| 708 | include/grpc/support/cpu.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 709 | include/grpc/support/host_port.h |
| 710 | include/grpc/support/log.h |
| 711 | include/grpc/support/log_windows.h |
| 712 | include/grpc/support/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 713 | include/grpc/support/string_util.h |
| 714 | include/grpc/support/subprocess.h |
| 715 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 716 | include/grpc/support/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 717 | include/grpc/support/sync_generic.h |
| 718 | include/grpc/support/sync_posix.h |
| 719 | include/grpc/support/sync_windows.h |
| 720 | include/grpc/support/thd.h |
| 721 | include/grpc/support/time.h |
| 722 | include/grpc/support/tls.h |
| 723 | include/grpc/support/tls_gcc.h |
| 724 | include/grpc/support/tls_msvc.h |
| 725 | include/grpc/support/tls_pthread.h |
| 726 | include/grpc/support/useful.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 727 | include/grpc/impl/codegen/atm.h |
| 728 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 729 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 730 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 731 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 732 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 733 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 734 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 735 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 736 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 737 | include/grpc/impl/codegen/sync_generic.h |
| 738 | include/grpc/impl/codegen/sync_posix.h |
| 739 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 740 | ) |
| 741 | string(REPLACE "include/" "" _path ${_hdr}) |
| 742 | get_filename_component(_path ${_path} PATH) |
| 743 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 744 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 745 | ) |
| 746 | endforeach() |
| 747 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 748 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 749 | if (gRPC_INSTALL) |
| 750 | install(TARGETS gpr EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 751 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 752 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 753 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 754 | ) |
| 755 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 756 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 757 | if (gRPC_BUILD_TESTS) |
| 758 | |
| 759 | add_library(gpr_test_util |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 760 | test/core/util/test_config.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 761 | ) |
| 762 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 763 | if(WIN32 AND MSVC) |
| 764 | set_target_properties(gpr_test_util PROPERTIES COMPILE_PDB_NAME "gpr_test_util" |
| 765 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 766 | ) |
| 767 | if (gRPC_INSTALL) |
| 768 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 769 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 770 | ) |
| 771 | endif() |
| 772 | endif() |
| 773 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 774 | |
| 775 | target_include_directories(gpr_test_util |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 776 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 777 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 778 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 779 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 780 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 781 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 782 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 783 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 784 | ) |
| 785 | |
| 786 | target_link_libraries(gpr_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 787 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 788 | gpr |
| 789 | ) |
| 790 | |
| 791 | |
| 792 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 793 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 794 | add_library(grpc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 795 | src/core/lib/surface/init.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 796 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 797 | src/core/lib/channel/channel_args.cc |
| 798 | src/core/lib/channel/channel_stack.cc |
| 799 | src/core/lib/channel/channel_stack_builder.cc |
| 800 | src/core/lib/channel/connected_channel.cc |
| 801 | src/core/lib/channel/handshaker.cc |
| 802 | src/core/lib/channel/handshaker_factory.cc |
| 803 | src/core/lib/channel/handshaker_registry.cc |
| 804 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 805 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 806 | src/core/lib/compression/message_compress.cc |
| 807 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 808 | src/core/lib/compression/stream_compression_gzip.cc |
| 809 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 810 | src/core/lib/debug/stats.cc |
| 811 | src/core/lib/debug/stats_data.cc |
| 812 | src/core/lib/http/format_request.cc |
| 813 | src/core/lib/http/httpcli.cc |
| 814 | src/core/lib/http/parser.cc |
| 815 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 816 | src/core/lib/iomgr/combiner.cc |
| 817 | src/core/lib/iomgr/endpoint.cc |
| 818 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 819 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 820 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 821 | src/core/lib/iomgr/error.cc |
| 822 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 823 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 824 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 825 | src/core/lib/iomgr/ev_poll_posix.cc |
| 826 | src/core/lib/iomgr/ev_posix.cc |
| 827 | src/core/lib/iomgr/ev_windows.cc |
| 828 | src/core/lib/iomgr/exec_ctx.cc |
| 829 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 830 | src/core/lib/iomgr/fork_posix.cc |
| 831 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 832 | src/core/lib/iomgr/gethostname_fallback.cc |
| 833 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 834 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 835 | src/core/lib/iomgr/iocp_windows.cc |
| 836 | src/core/lib/iomgr/iomgr.cc |
| 837 | src/core/lib/iomgr/iomgr_posix.cc |
| 838 | src/core/lib/iomgr/iomgr_uv.cc |
| 839 | src/core/lib/iomgr/iomgr_windows.cc |
| 840 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 841 | src/core/lib/iomgr/load_file.cc |
| 842 | src/core/lib/iomgr/lockfree_event.cc |
| 843 | src/core/lib/iomgr/network_status_tracker.cc |
| 844 | src/core/lib/iomgr/polling_entity.cc |
| 845 | src/core/lib/iomgr/pollset_set_uv.cc |
| 846 | src/core/lib/iomgr/pollset_set_windows.cc |
| 847 | src/core/lib/iomgr/pollset_uv.cc |
| 848 | src/core/lib/iomgr/pollset_windows.cc |
| 849 | src/core/lib/iomgr/resolve_address_posix.cc |
| 850 | src/core/lib/iomgr/resolve_address_uv.cc |
| 851 | src/core/lib/iomgr/resolve_address_windows.cc |
| 852 | src/core/lib/iomgr/resource_quota.cc |
| 853 | src/core/lib/iomgr/sockaddr_utils.cc |
| 854 | src/core/lib/iomgr/socket_factory_posix.cc |
| 855 | src/core/lib/iomgr/socket_mutator.cc |
| 856 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 857 | src/core/lib/iomgr/socket_utils_linux.cc |
| 858 | src/core/lib/iomgr/socket_utils_posix.cc |
| 859 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 860 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 861 | src/core/lib/iomgr/socket_windows.cc |
| 862 | src/core/lib/iomgr/tcp_client_posix.cc |
| 863 | src/core/lib/iomgr/tcp_client_uv.cc |
| 864 | src/core/lib/iomgr/tcp_client_windows.cc |
| 865 | src/core/lib/iomgr/tcp_posix.cc |
| 866 | src/core/lib/iomgr/tcp_server_posix.cc |
| 867 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 868 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 869 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 870 | src/core/lib/iomgr/tcp_server_uv.cc |
| 871 | src/core/lib/iomgr/tcp_server_windows.cc |
| 872 | src/core/lib/iomgr/tcp_uv.cc |
| 873 | src/core/lib/iomgr/tcp_windows.cc |
| 874 | src/core/lib/iomgr/time_averaged_stats.cc |
| 875 | src/core/lib/iomgr/timer_generic.cc |
| 876 | src/core/lib/iomgr/timer_heap.cc |
| 877 | src/core/lib/iomgr/timer_manager.cc |
| 878 | src/core/lib/iomgr/timer_uv.cc |
| 879 | src/core/lib/iomgr/udp_server.cc |
| 880 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 881 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 882 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 883 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 884 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 885 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 886 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 887 | src/core/lib/json/json.cc |
| 888 | src/core/lib/json/json_reader.cc |
| 889 | src/core/lib/json/json_string.cc |
| 890 | src/core/lib/json/json_writer.cc |
| 891 | src/core/lib/slice/b64.cc |
| 892 | src/core/lib/slice/percent_encoding.cc |
| 893 | src/core/lib/slice/slice.cc |
| 894 | src/core/lib/slice/slice_buffer.cc |
| 895 | src/core/lib/slice/slice_hash_table.cc |
| 896 | src/core/lib/slice/slice_intern.cc |
| 897 | src/core/lib/slice/slice_string_helpers.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 898 | src/core/lib/surface/api_trace.cc |
| 899 | src/core/lib/surface/byte_buffer.cc |
| 900 | src/core/lib/surface/byte_buffer_reader.cc |
| 901 | src/core/lib/surface/call.cc |
| 902 | src/core/lib/surface/call_details.cc |
| 903 | src/core/lib/surface/call_log_batch.cc |
| 904 | src/core/lib/surface/channel.cc |
| 905 | src/core/lib/surface/channel_init.cc |
| 906 | src/core/lib/surface/channel_ping.cc |
| 907 | src/core/lib/surface/channel_stack_type.cc |
| 908 | src/core/lib/surface/completion_queue.cc |
| 909 | src/core/lib/surface/completion_queue_factory.cc |
| 910 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 911 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 912 | src/core/lib/surface/metadata_array.cc |
| 913 | src/core/lib/surface/server.cc |
| 914 | src/core/lib/surface/validate_metadata.cc |
| 915 | src/core/lib/surface/version.cc |
| 916 | src/core/lib/transport/bdp_estimator.cc |
| 917 | src/core/lib/transport/byte_stream.cc |
| 918 | src/core/lib/transport/connectivity_state.cc |
| 919 | src/core/lib/transport/error_utils.cc |
| 920 | src/core/lib/transport/metadata.cc |
| 921 | src/core/lib/transport/metadata_batch.cc |
| 922 | src/core/lib/transport/pid_controller.cc |
| 923 | src/core/lib/transport/service_config.cc |
| 924 | src/core/lib/transport/static_metadata.cc |
| 925 | src/core/lib/transport/status_conversion.cc |
| 926 | src/core/lib/transport/timeout_encoding.cc |
| 927 | src/core/lib/transport/transport.cc |
| 928 | src/core/lib/transport/transport_op_string.cc |
| 929 | src/core/lib/debug/trace.cc |
| 930 | src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.cc |
| 931 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 932 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 933 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 934 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 935 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 936 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 937 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 938 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 939 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 940 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 941 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 942 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 943 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 944 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 945 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 946 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 947 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 948 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 949 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 950 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 951 | src/core/ext/transport/chttp2/transport/varint.cc |
| 952 | src/core/ext/transport/chttp2/transport/writing.cc |
| 953 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 954 | src/core/ext/filters/http/client/http_client_filter.cc |
| 955 | src/core/ext/filters/http/http_filters_plugin.cc |
| 956 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 957 | src/core/ext/filters/http/server/http_server_filter.cc |
| 958 | src/core/lib/http/httpcli_security_connector.cc |
| 959 | src/core/lib/security/context/security_context.cc |
| 960 | src/core/lib/security/credentials/composite/composite_credentials.cc |
| 961 | src/core/lib/security/credentials/credentials.cc |
| 962 | src/core/lib/security/credentials/credentials_metadata.cc |
| 963 | src/core/lib/security/credentials/fake/fake_credentials.cc |
| 964 | src/core/lib/security/credentials/google_default/credentials_generic.cc |
| 965 | src/core/lib/security/credentials/google_default/google_default_credentials.cc |
| 966 | src/core/lib/security/credentials/iam/iam_credentials.cc |
| 967 | src/core/lib/security/credentials/jwt/json_token.cc |
| 968 | src/core/lib/security/credentials/jwt/jwt_credentials.cc |
| 969 | src/core/lib/security/credentials/jwt/jwt_verifier.cc |
| 970 | src/core/lib/security/credentials/oauth2/oauth2_credentials.cc |
| 971 | src/core/lib/security/credentials/plugin/plugin_credentials.cc |
| 972 | src/core/lib/security/credentials/ssl/ssl_credentials.cc |
| 973 | src/core/lib/security/transport/client_auth_filter.cc |
| 974 | src/core/lib/security/transport/lb_targets_info.cc |
| 975 | src/core/lib/security/transport/secure_endpoint.cc |
| 976 | src/core/lib/security/transport/security_connector.cc |
| 977 | src/core/lib/security/transport/security_handshaker.cc |
| 978 | src/core/lib/security/transport/server_auth_filter.cc |
| 979 | src/core/lib/security/transport/tsi_error.cc |
| 980 | src/core/lib/security/util/json_util.cc |
| 981 | src/core/lib/surface/init_secure.cc |
Yihua Zhang | d36fe07 | 2018-01-23 10:40:45 -0800 | [diff] [blame] | 982 | src/core/tsi/alts_transport_security.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 983 | src/core/tsi/fake_transport_security.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 984 | src/core/tsi/ssl_transport_security.cc |
| 985 | src/core/tsi/transport_security_grpc.cc |
| 986 | src/core/tsi/transport_security.cc |
| 987 | src/core/tsi/transport_security_adapter.cc |
| 988 | src/core/ext/transport/chttp2/server/chttp2_server.cc |
| 989 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 990 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 991 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 992 | src/core/ext/filters/client_channel/client_channel.cc |
| 993 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 994 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 995 | src/core/ext/filters/client_channel/connector.cc |
| 996 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 997 | src/core/ext/filters/client_channel/http_proxy.cc |
| 998 | src/core/ext/filters/client_channel/lb_policy.cc |
| 999 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 1000 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 1001 | src/core/ext/filters/client_channel/parse_address.cc |
| 1002 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 1003 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1004 | src/core/ext/filters/client_channel/resolver.cc |
| 1005 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 1006 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1007 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1008 | src/core/ext/filters/client_channel/subchannel.cc |
| 1009 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1010 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1011 | src/core/ext/filters/deadline/deadline_filter.cc |
| 1012 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
| 1013 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc |
| 1014 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc |
| 1015 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 1016 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
| 1017 | src/core/ext/transport/inproc/inproc_plugin.cc |
| 1018 | src/core/ext/transport/inproc/inproc_transport.cc |
| 1019 | src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc |
| 1020 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc |
| 1021 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc |
| 1022 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc |
| 1023 | src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1024 | src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1025 | third_party/nanopb/pb_common.c |
| 1026 | third_party/nanopb/pb_decode.c |
| 1027 | third_party/nanopb/pb_encode.c |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1028 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
| 1029 | src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc |
Mark D. Roth | 5e9848e | 2017-10-06 13:59:32 -0700 | [diff] [blame] | 1030 | src/core/ext/filters/client_channel/lb_policy/subchannel_list.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1031 | src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc |
| 1032 | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc |
| 1033 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc |
| 1034 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc |
| 1035 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc |
| 1036 | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc |
| 1037 | src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc |
| 1038 | src/core/ext/filters/load_reporting/server_load_reporting_filter.cc |
| 1039 | src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1040 | src/core/ext/census/grpc_context.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1041 | src/core/ext/filters/max_age/max_age_filter.cc |
| 1042 | src/core/ext/filters/message_size/message_size_filter.cc |
| 1043 | src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc |
| 1044 | src/core/ext/filters/workarounds/workaround_utils.cc |
Yash Tibrewal | 1c9b584 | 2017-09-21 15:49:55 -0700 | [diff] [blame] | 1045 | src/core/plugin_registry/grpc_plugin_registry.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1046 | ) |
| 1047 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1048 | if(WIN32 AND MSVC) |
| 1049 | set_target_properties(grpc PROPERTIES COMPILE_PDB_NAME "grpc" |
| 1050 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1051 | ) |
| 1052 | if (gRPC_INSTALL) |
| 1053 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1054 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1055 | ) |
| 1056 | endif() |
| 1057 | endif() |
| 1058 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1059 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1060 | target_include_directories(grpc |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1061 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1062 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 1063 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 1064 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 1065 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 1066 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 1067 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 1068 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1069 | ) |
| 1070 | |
| 1071 | target_link_libraries(grpc |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1072 | ${_gRPC_BASELIB_LIBRARIES} |
| 1073 | ${_gRPC_SSL_LIBRARIES} |
| 1074 | ${_gRPC_ZLIB_LIBRARIES} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1075 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1076 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1077 | gpr |
| 1078 | ) |
| 1079 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1080 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 1081 | include/grpc/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1082 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1083 | include/grpc/impl/codegen/compression_types.h |
| 1084 | include/grpc/impl/codegen/connectivity_state.h |
| 1085 | include/grpc/impl/codegen/grpc_types.h |
| 1086 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1087 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1088 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1089 | include/grpc/impl/codegen/atm.h |
| 1090 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1091 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1092 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1093 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1094 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1095 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1096 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1097 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1098 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1099 | include/grpc/impl/codegen/sync_generic.h |
| 1100 | include/grpc/impl/codegen/sync_posix.h |
| 1101 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1102 | include/grpc/grpc_security.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 1103 | include/grpc/byte_buffer.h |
| 1104 | include/grpc/byte_buffer_reader.h |
| 1105 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1106 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 1107 | include/grpc/grpc.h |
| 1108 | include/grpc/grpc_posix.h |
| 1109 | include/grpc/grpc_security_constants.h |
| 1110 | include/grpc/load_reporting.h |
| 1111 | include/grpc/slice.h |
| 1112 | include/grpc/slice_buffer.h |
| 1113 | include/grpc/status.h |
| 1114 | include/grpc/support/workaround_list.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1115 | include/grpc/census.h |
| 1116 | ) |
| 1117 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1118 | get_filename_component(_path ${_path} PATH) |
| 1119 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1120 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1121 | ) |
| 1122 | endforeach() |
| 1123 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1124 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1125 | if (gRPC_INSTALL) |
| 1126 | install(TARGETS grpc EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1127 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 1128 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 1129 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1130 | ) |
| 1131 | endif() |
| 1132 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1133 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1134 | add_library(grpc_cronet |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1135 | src/core/lib/surface/init.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 1136 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1137 | src/core/lib/channel/channel_args.cc |
| 1138 | src/core/lib/channel/channel_stack.cc |
| 1139 | src/core/lib/channel/channel_stack_builder.cc |
| 1140 | src/core/lib/channel/connected_channel.cc |
| 1141 | src/core/lib/channel/handshaker.cc |
| 1142 | src/core/lib/channel/handshaker_factory.cc |
| 1143 | src/core/lib/channel/handshaker_registry.cc |
| 1144 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 1145 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1146 | src/core/lib/compression/message_compress.cc |
| 1147 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 1148 | src/core/lib/compression/stream_compression_gzip.cc |
| 1149 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1150 | src/core/lib/debug/stats.cc |
| 1151 | src/core/lib/debug/stats_data.cc |
| 1152 | src/core/lib/http/format_request.cc |
| 1153 | src/core/lib/http/httpcli.cc |
| 1154 | src/core/lib/http/parser.cc |
| 1155 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1156 | src/core/lib/iomgr/combiner.cc |
| 1157 | src/core/lib/iomgr/endpoint.cc |
| 1158 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 1159 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 1160 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 1161 | src/core/lib/iomgr/error.cc |
| 1162 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 1163 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 1164 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 1165 | src/core/lib/iomgr/ev_poll_posix.cc |
| 1166 | src/core/lib/iomgr/ev_posix.cc |
| 1167 | src/core/lib/iomgr/ev_windows.cc |
| 1168 | src/core/lib/iomgr/exec_ctx.cc |
| 1169 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 1170 | src/core/lib/iomgr/fork_posix.cc |
| 1171 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1172 | src/core/lib/iomgr/gethostname_fallback.cc |
| 1173 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 1174 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 1175 | src/core/lib/iomgr/iocp_windows.cc |
| 1176 | src/core/lib/iomgr/iomgr.cc |
| 1177 | src/core/lib/iomgr/iomgr_posix.cc |
| 1178 | src/core/lib/iomgr/iomgr_uv.cc |
| 1179 | src/core/lib/iomgr/iomgr_windows.cc |
| 1180 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 1181 | src/core/lib/iomgr/load_file.cc |
| 1182 | src/core/lib/iomgr/lockfree_event.cc |
| 1183 | src/core/lib/iomgr/network_status_tracker.cc |
| 1184 | src/core/lib/iomgr/polling_entity.cc |
| 1185 | src/core/lib/iomgr/pollset_set_uv.cc |
| 1186 | src/core/lib/iomgr/pollset_set_windows.cc |
| 1187 | src/core/lib/iomgr/pollset_uv.cc |
| 1188 | src/core/lib/iomgr/pollset_windows.cc |
| 1189 | src/core/lib/iomgr/resolve_address_posix.cc |
| 1190 | src/core/lib/iomgr/resolve_address_uv.cc |
| 1191 | src/core/lib/iomgr/resolve_address_windows.cc |
| 1192 | src/core/lib/iomgr/resource_quota.cc |
| 1193 | src/core/lib/iomgr/sockaddr_utils.cc |
| 1194 | src/core/lib/iomgr/socket_factory_posix.cc |
| 1195 | src/core/lib/iomgr/socket_mutator.cc |
| 1196 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 1197 | src/core/lib/iomgr/socket_utils_linux.cc |
| 1198 | src/core/lib/iomgr/socket_utils_posix.cc |
| 1199 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 1200 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1201 | src/core/lib/iomgr/socket_windows.cc |
| 1202 | src/core/lib/iomgr/tcp_client_posix.cc |
| 1203 | src/core/lib/iomgr/tcp_client_uv.cc |
| 1204 | src/core/lib/iomgr/tcp_client_windows.cc |
| 1205 | src/core/lib/iomgr/tcp_posix.cc |
| 1206 | src/core/lib/iomgr/tcp_server_posix.cc |
| 1207 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 1208 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 1209 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 1210 | src/core/lib/iomgr/tcp_server_uv.cc |
| 1211 | src/core/lib/iomgr/tcp_server_windows.cc |
| 1212 | src/core/lib/iomgr/tcp_uv.cc |
| 1213 | src/core/lib/iomgr/tcp_windows.cc |
| 1214 | src/core/lib/iomgr/time_averaged_stats.cc |
| 1215 | src/core/lib/iomgr/timer_generic.cc |
| 1216 | src/core/lib/iomgr/timer_heap.cc |
| 1217 | src/core/lib/iomgr/timer_manager.cc |
| 1218 | src/core/lib/iomgr/timer_uv.cc |
| 1219 | src/core/lib/iomgr/udp_server.cc |
| 1220 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 1221 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 1222 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 1223 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 1224 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 1225 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 1226 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 1227 | src/core/lib/json/json.cc |
| 1228 | src/core/lib/json/json_reader.cc |
| 1229 | src/core/lib/json/json_string.cc |
| 1230 | src/core/lib/json/json_writer.cc |
| 1231 | src/core/lib/slice/b64.cc |
| 1232 | src/core/lib/slice/percent_encoding.cc |
| 1233 | src/core/lib/slice/slice.cc |
| 1234 | src/core/lib/slice/slice_buffer.cc |
| 1235 | src/core/lib/slice/slice_hash_table.cc |
| 1236 | src/core/lib/slice/slice_intern.cc |
| 1237 | src/core/lib/slice/slice_string_helpers.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1238 | src/core/lib/surface/api_trace.cc |
| 1239 | src/core/lib/surface/byte_buffer.cc |
| 1240 | src/core/lib/surface/byte_buffer_reader.cc |
| 1241 | src/core/lib/surface/call.cc |
| 1242 | src/core/lib/surface/call_details.cc |
| 1243 | src/core/lib/surface/call_log_batch.cc |
| 1244 | src/core/lib/surface/channel.cc |
| 1245 | src/core/lib/surface/channel_init.cc |
| 1246 | src/core/lib/surface/channel_ping.cc |
| 1247 | src/core/lib/surface/channel_stack_type.cc |
| 1248 | src/core/lib/surface/completion_queue.cc |
| 1249 | src/core/lib/surface/completion_queue_factory.cc |
| 1250 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1251 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1252 | src/core/lib/surface/metadata_array.cc |
| 1253 | src/core/lib/surface/server.cc |
| 1254 | src/core/lib/surface/validate_metadata.cc |
| 1255 | src/core/lib/surface/version.cc |
| 1256 | src/core/lib/transport/bdp_estimator.cc |
| 1257 | src/core/lib/transport/byte_stream.cc |
| 1258 | src/core/lib/transport/connectivity_state.cc |
| 1259 | src/core/lib/transport/error_utils.cc |
| 1260 | src/core/lib/transport/metadata.cc |
| 1261 | src/core/lib/transport/metadata_batch.cc |
| 1262 | src/core/lib/transport/pid_controller.cc |
| 1263 | src/core/lib/transport/service_config.cc |
| 1264 | src/core/lib/transport/static_metadata.cc |
| 1265 | src/core/lib/transport/status_conversion.cc |
| 1266 | src/core/lib/transport/timeout_encoding.cc |
| 1267 | src/core/lib/transport/transport.cc |
| 1268 | src/core/lib/transport/transport_op_string.cc |
| 1269 | src/core/lib/debug/trace.cc |
| 1270 | src/core/ext/transport/cronet/client/secure/cronet_channel_create.cc |
| 1271 | src/core/ext/transport/cronet/transport/cronet_api_dummy.cc |
| 1272 | src/core/ext/transport/cronet/transport/cronet_transport.cc |
| 1273 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc |
| 1274 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 1275 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 1276 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 1277 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 1278 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 1279 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 1280 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 1281 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 1282 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 1283 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 1284 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 1285 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 1286 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 1287 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 1288 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 1289 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 1290 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 1291 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 1292 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 1293 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 1294 | src/core/ext/transport/chttp2/transport/varint.cc |
| 1295 | src/core/ext/transport/chttp2/transport/writing.cc |
| 1296 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 1297 | src/core/ext/filters/http/client/http_client_filter.cc |
| 1298 | src/core/ext/filters/http/http_filters_plugin.cc |
| 1299 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 1300 | src/core/ext/filters/http/server/http_server_filter.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 1301 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1302 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 1303 | src/core/ext/filters/client_channel/client_channel.cc |
| 1304 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 1305 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 1306 | src/core/ext/filters/client_channel/connector.cc |
| 1307 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 1308 | src/core/ext/filters/client_channel/http_proxy.cc |
| 1309 | src/core/ext/filters/client_channel/lb_policy.cc |
| 1310 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 1311 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 1312 | src/core/ext/filters/client_channel/parse_address.cc |
| 1313 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 1314 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1315 | src/core/ext/filters/client_channel/resolver.cc |
| 1316 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 1317 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1318 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1319 | src/core/ext/filters/client_channel/subchannel.cc |
| 1320 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1321 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1322 | src/core/ext/filters/deadline/deadline_filter.cc |
| 1323 | src/core/lib/http/httpcli_security_connector.cc |
| 1324 | src/core/lib/security/context/security_context.cc |
| 1325 | src/core/lib/security/credentials/composite/composite_credentials.cc |
| 1326 | src/core/lib/security/credentials/credentials.cc |
| 1327 | src/core/lib/security/credentials/credentials_metadata.cc |
| 1328 | src/core/lib/security/credentials/fake/fake_credentials.cc |
| 1329 | src/core/lib/security/credentials/google_default/credentials_generic.cc |
| 1330 | src/core/lib/security/credentials/google_default/google_default_credentials.cc |
| 1331 | src/core/lib/security/credentials/iam/iam_credentials.cc |
| 1332 | src/core/lib/security/credentials/jwt/json_token.cc |
| 1333 | src/core/lib/security/credentials/jwt/jwt_credentials.cc |
| 1334 | src/core/lib/security/credentials/jwt/jwt_verifier.cc |
| 1335 | src/core/lib/security/credentials/oauth2/oauth2_credentials.cc |
| 1336 | src/core/lib/security/credentials/plugin/plugin_credentials.cc |
| 1337 | src/core/lib/security/credentials/ssl/ssl_credentials.cc |
| 1338 | src/core/lib/security/transport/client_auth_filter.cc |
| 1339 | src/core/lib/security/transport/lb_targets_info.cc |
| 1340 | src/core/lib/security/transport/secure_endpoint.cc |
| 1341 | src/core/lib/security/transport/security_connector.cc |
| 1342 | src/core/lib/security/transport/security_handshaker.cc |
| 1343 | src/core/lib/security/transport/server_auth_filter.cc |
| 1344 | src/core/lib/security/transport/tsi_error.cc |
| 1345 | src/core/lib/security/util/json_util.cc |
| 1346 | src/core/lib/surface/init_secure.cc |
Yihua Zhang | d36fe07 | 2018-01-23 10:40:45 -0800 | [diff] [blame] | 1347 | src/core/tsi/alts_transport_security.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1348 | src/core/tsi/fake_transport_security.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1349 | src/core/tsi/ssl_transport_security.cc |
| 1350 | src/core/tsi/transport_security_grpc.cc |
| 1351 | src/core/tsi/transport_security.cc |
| 1352 | src/core/tsi/transport_security_adapter.cc |
| 1353 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
| 1354 | src/core/ext/filters/load_reporting/server_load_reporting_filter.cc |
| 1355 | src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc |
Yash Tibrewal | 1c9b584 | 2017-09-21 15:49:55 -0700 | [diff] [blame] | 1356 | src/core/plugin_registry/grpc_cronet_plugin_registry.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1357 | ) |
| 1358 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1359 | if(WIN32 AND MSVC) |
| 1360 | set_target_properties(grpc_cronet PROPERTIES COMPILE_PDB_NAME "grpc_cronet" |
| 1361 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1362 | ) |
| 1363 | if (gRPC_INSTALL) |
| 1364 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cronet.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1365 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1366 | ) |
| 1367 | endif() |
| 1368 | endif() |
| 1369 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1370 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1371 | target_include_directories(grpc_cronet |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1372 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1373 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 1374 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 1375 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 1376 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 1377 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 1378 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 1379 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1380 | ) |
| 1381 | |
| 1382 | target_link_libraries(grpc_cronet |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1383 | ${_gRPC_BASELIB_LIBRARIES} |
| 1384 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 807693b | 2017-06-12 10:15:27 +0200 | [diff] [blame] | 1385 | ${_gRPC_ZLIB_LIBRARIES} |
| 1386 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1387 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1388 | gpr |
| 1389 | ) |
| 1390 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1391 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 1392 | include/grpc/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1393 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1394 | include/grpc/impl/codegen/compression_types.h |
| 1395 | include/grpc/impl/codegen/connectivity_state.h |
| 1396 | include/grpc/impl/codegen/grpc_types.h |
| 1397 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1398 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1399 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1400 | include/grpc/impl/codegen/atm.h |
| 1401 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1402 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1403 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1404 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1405 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1406 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1407 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1408 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1409 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1410 | include/grpc/impl/codegen/sync_generic.h |
| 1411 | include/grpc/impl/codegen/sync_posix.h |
| 1412 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1413 | include/grpc/grpc_cronet.h |
| 1414 | include/grpc/grpc_security.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 1415 | include/grpc/grpc_security_constants.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1416 | ) |
| 1417 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1418 | get_filename_component(_path ${_path} PATH) |
| 1419 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1420 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1421 | ) |
| 1422 | endforeach() |
| 1423 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1424 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1425 | if (gRPC_INSTALL) |
| 1426 | install(TARGETS grpc_cronet EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1427 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 1428 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 1429 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1430 | ) |
| 1431 | endif() |
| 1432 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1433 | if (gRPC_BUILD_TESTS) |
| 1434 | |
| 1435 | add_library(grpc_test_util |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1436 | test/core/end2end/data/client_certs.cc |
| 1437 | test/core/end2end/data/server1_cert.cc |
| 1438 | test/core/end2end/data/server1_key.cc |
| 1439 | test/core/end2end/data/test_root_cert.cc |
| 1440 | test/core/security/oauth2_utils.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1441 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1442 | test/core/end2end/cq_verifier.cc |
| 1443 | test/core/end2end/fixtures/http_proxy_fixture.cc |
| 1444 | test/core/end2end/fixtures/proxy.cc |
| 1445 | test/core/iomgr/endpoint_tests.cc |
Craig Tiller | 9222606 | 2017-10-08 21:16:12 -0700 | [diff] [blame] | 1446 | test/core/util/debugger_macros.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1447 | test/core/util/grpc_profiler.cc |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 1448 | test/core/util/histogram.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1449 | test/core/util/memory_counters.cc |
| 1450 | test/core/util/mock_endpoint.cc |
| 1451 | test/core/util/parse_hexstring.cc |
| 1452 | test/core/util/passthru_endpoint.cc |
| 1453 | test/core/util/port.cc |
Adele Zhou | 5b7cdef | 2017-11-29 16:25:17 -0800 | [diff] [blame] | 1454 | test/core/util/port_isolated_runtime_environment.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1455 | test/core/util/port_server_client.cc |
| 1456 | test/core/util/slice_splitter.cc |
ncteisen | aa3b197 | 2017-11-17 15:56:27 -0800 | [diff] [blame] | 1457 | test/core/util/tracer_util.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1458 | test/core/util/trickle_endpoint.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 1459 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1460 | src/core/lib/channel/channel_args.cc |
| 1461 | src/core/lib/channel/channel_stack.cc |
| 1462 | src/core/lib/channel/channel_stack_builder.cc |
| 1463 | src/core/lib/channel/connected_channel.cc |
| 1464 | src/core/lib/channel/handshaker.cc |
| 1465 | src/core/lib/channel/handshaker_factory.cc |
| 1466 | src/core/lib/channel/handshaker_registry.cc |
| 1467 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 1468 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1469 | src/core/lib/compression/message_compress.cc |
| 1470 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 1471 | src/core/lib/compression/stream_compression_gzip.cc |
| 1472 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1473 | src/core/lib/debug/stats.cc |
| 1474 | src/core/lib/debug/stats_data.cc |
| 1475 | src/core/lib/http/format_request.cc |
| 1476 | src/core/lib/http/httpcli.cc |
| 1477 | src/core/lib/http/parser.cc |
| 1478 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1479 | src/core/lib/iomgr/combiner.cc |
| 1480 | src/core/lib/iomgr/endpoint.cc |
| 1481 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 1482 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 1483 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 1484 | src/core/lib/iomgr/error.cc |
| 1485 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 1486 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 1487 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 1488 | src/core/lib/iomgr/ev_poll_posix.cc |
| 1489 | src/core/lib/iomgr/ev_posix.cc |
| 1490 | src/core/lib/iomgr/ev_windows.cc |
| 1491 | src/core/lib/iomgr/exec_ctx.cc |
| 1492 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 1493 | src/core/lib/iomgr/fork_posix.cc |
| 1494 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1495 | src/core/lib/iomgr/gethostname_fallback.cc |
| 1496 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 1497 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 1498 | src/core/lib/iomgr/iocp_windows.cc |
| 1499 | src/core/lib/iomgr/iomgr.cc |
| 1500 | src/core/lib/iomgr/iomgr_posix.cc |
| 1501 | src/core/lib/iomgr/iomgr_uv.cc |
| 1502 | src/core/lib/iomgr/iomgr_windows.cc |
| 1503 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 1504 | src/core/lib/iomgr/load_file.cc |
| 1505 | src/core/lib/iomgr/lockfree_event.cc |
| 1506 | src/core/lib/iomgr/network_status_tracker.cc |
| 1507 | src/core/lib/iomgr/polling_entity.cc |
| 1508 | src/core/lib/iomgr/pollset_set_uv.cc |
| 1509 | src/core/lib/iomgr/pollset_set_windows.cc |
| 1510 | src/core/lib/iomgr/pollset_uv.cc |
| 1511 | src/core/lib/iomgr/pollset_windows.cc |
| 1512 | src/core/lib/iomgr/resolve_address_posix.cc |
| 1513 | src/core/lib/iomgr/resolve_address_uv.cc |
| 1514 | src/core/lib/iomgr/resolve_address_windows.cc |
| 1515 | src/core/lib/iomgr/resource_quota.cc |
| 1516 | src/core/lib/iomgr/sockaddr_utils.cc |
| 1517 | src/core/lib/iomgr/socket_factory_posix.cc |
| 1518 | src/core/lib/iomgr/socket_mutator.cc |
| 1519 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 1520 | src/core/lib/iomgr/socket_utils_linux.cc |
| 1521 | src/core/lib/iomgr/socket_utils_posix.cc |
| 1522 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 1523 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1524 | src/core/lib/iomgr/socket_windows.cc |
| 1525 | src/core/lib/iomgr/tcp_client_posix.cc |
| 1526 | src/core/lib/iomgr/tcp_client_uv.cc |
| 1527 | src/core/lib/iomgr/tcp_client_windows.cc |
| 1528 | src/core/lib/iomgr/tcp_posix.cc |
| 1529 | src/core/lib/iomgr/tcp_server_posix.cc |
| 1530 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 1531 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 1532 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 1533 | src/core/lib/iomgr/tcp_server_uv.cc |
| 1534 | src/core/lib/iomgr/tcp_server_windows.cc |
| 1535 | src/core/lib/iomgr/tcp_uv.cc |
| 1536 | src/core/lib/iomgr/tcp_windows.cc |
| 1537 | src/core/lib/iomgr/time_averaged_stats.cc |
| 1538 | src/core/lib/iomgr/timer_generic.cc |
| 1539 | src/core/lib/iomgr/timer_heap.cc |
| 1540 | src/core/lib/iomgr/timer_manager.cc |
| 1541 | src/core/lib/iomgr/timer_uv.cc |
| 1542 | src/core/lib/iomgr/udp_server.cc |
| 1543 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 1544 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 1545 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 1546 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 1547 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 1548 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 1549 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 1550 | src/core/lib/json/json.cc |
| 1551 | src/core/lib/json/json_reader.cc |
| 1552 | src/core/lib/json/json_string.cc |
| 1553 | src/core/lib/json/json_writer.cc |
| 1554 | src/core/lib/slice/b64.cc |
| 1555 | src/core/lib/slice/percent_encoding.cc |
| 1556 | src/core/lib/slice/slice.cc |
| 1557 | src/core/lib/slice/slice_buffer.cc |
| 1558 | src/core/lib/slice/slice_hash_table.cc |
| 1559 | src/core/lib/slice/slice_intern.cc |
| 1560 | src/core/lib/slice/slice_string_helpers.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1561 | src/core/lib/surface/api_trace.cc |
| 1562 | src/core/lib/surface/byte_buffer.cc |
| 1563 | src/core/lib/surface/byte_buffer_reader.cc |
| 1564 | src/core/lib/surface/call.cc |
| 1565 | src/core/lib/surface/call_details.cc |
| 1566 | src/core/lib/surface/call_log_batch.cc |
| 1567 | src/core/lib/surface/channel.cc |
| 1568 | src/core/lib/surface/channel_init.cc |
| 1569 | src/core/lib/surface/channel_ping.cc |
| 1570 | src/core/lib/surface/channel_stack_type.cc |
| 1571 | src/core/lib/surface/completion_queue.cc |
| 1572 | src/core/lib/surface/completion_queue_factory.cc |
| 1573 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1574 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1575 | src/core/lib/surface/metadata_array.cc |
| 1576 | src/core/lib/surface/server.cc |
| 1577 | src/core/lib/surface/validate_metadata.cc |
| 1578 | src/core/lib/surface/version.cc |
| 1579 | src/core/lib/transport/bdp_estimator.cc |
| 1580 | src/core/lib/transport/byte_stream.cc |
| 1581 | src/core/lib/transport/connectivity_state.cc |
| 1582 | src/core/lib/transport/error_utils.cc |
| 1583 | src/core/lib/transport/metadata.cc |
| 1584 | src/core/lib/transport/metadata_batch.cc |
| 1585 | src/core/lib/transport/pid_controller.cc |
| 1586 | src/core/lib/transport/service_config.cc |
| 1587 | src/core/lib/transport/static_metadata.cc |
| 1588 | src/core/lib/transport/status_conversion.cc |
| 1589 | src/core/lib/transport/timeout_encoding.cc |
| 1590 | src/core/lib/transport/transport.cc |
| 1591 | src/core/lib/transport/transport_op_string.cc |
| 1592 | src/core/lib/debug/trace.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 1593 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1594 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 1595 | src/core/ext/filters/client_channel/client_channel.cc |
| 1596 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 1597 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 1598 | src/core/ext/filters/client_channel/connector.cc |
| 1599 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 1600 | src/core/ext/filters/client_channel/http_proxy.cc |
| 1601 | src/core/ext/filters/client_channel/lb_policy.cc |
| 1602 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 1603 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 1604 | src/core/ext/filters/client_channel/parse_address.cc |
| 1605 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 1606 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1607 | src/core/ext/filters/client_channel/resolver.cc |
| 1608 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 1609 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1610 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1611 | src/core/ext/filters/client_channel/subchannel.cc |
| 1612 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1613 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1614 | src/core/ext/filters/deadline/deadline_filter.cc |
| 1615 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 1616 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 1617 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 1618 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 1619 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 1620 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 1621 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 1622 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 1623 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 1624 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 1625 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 1626 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 1627 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 1628 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 1629 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 1630 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 1631 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 1632 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 1633 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 1634 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 1635 | src/core/ext/transport/chttp2/transport/varint.cc |
| 1636 | src/core/ext/transport/chttp2/transport/writing.cc |
| 1637 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 1638 | src/core/ext/filters/http/client/http_client_filter.cc |
| 1639 | src/core/ext/filters/http/http_filters_plugin.cc |
| 1640 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 1641 | src/core/ext/filters/http/server/http_server_filter.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1642 | ) |
| 1643 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1644 | if(WIN32 AND MSVC) |
| 1645 | set_target_properties(grpc_test_util PROPERTIES COMPILE_PDB_NAME "grpc_test_util" |
| 1646 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1647 | ) |
| 1648 | if (gRPC_INSTALL) |
| 1649 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1650 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1651 | ) |
| 1652 | endif() |
| 1653 | endif() |
| 1654 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1655 | |
| 1656 | target_include_directories(grpc_test_util |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1657 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1658 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 1659 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 1660 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 1661 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 1662 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 1663 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 1664 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1665 | ) |
| 1666 | |
| 1667 | target_link_libraries(grpc_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1668 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1669 | gpr_test_util |
| 1670 | gpr |
| 1671 | grpc |
| 1672 | ) |
| 1673 | |
| 1674 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 1675 | include/grpc/impl/codegen/byte_buffer.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1676 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1677 | include/grpc/impl/codegen/compression_types.h |
| 1678 | include/grpc/impl/codegen/connectivity_state.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1679 | include/grpc/impl/codegen/grpc_types.h |
| 1680 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1681 | include/grpc/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1682 | include/grpc/impl/codegen/status.h |
| 1683 | include/grpc/impl/codegen/atm.h |
| 1684 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1685 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1686 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1687 | include/grpc/impl/codegen/fork.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1688 | include/grpc/impl/codegen/gpr_slice.h |
| 1689 | include/grpc/impl/codegen/gpr_types.h |
| 1690 | include/grpc/impl/codegen/port_platform.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1691 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1692 | include/grpc/impl/codegen/sync_custom.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1693 | include/grpc/impl/codegen/sync_generic.h |
| 1694 | include/grpc/impl/codegen/sync_posix.h |
| 1695 | include/grpc/impl/codegen/sync_windows.h |
| 1696 | ) |
| 1697 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1698 | get_filename_component(_path ${_path} PATH) |
| 1699 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1700 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1701 | ) |
| 1702 | endforeach() |
| 1703 | |
| 1704 | endif (gRPC_BUILD_TESTS) |
| 1705 | if (gRPC_BUILD_TESTS) |
| 1706 | |
| 1707 | add_library(grpc_test_util_unsecure |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1708 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1709 | test/core/end2end/cq_verifier.cc |
| 1710 | test/core/end2end/fixtures/http_proxy_fixture.cc |
| 1711 | test/core/end2end/fixtures/proxy.cc |
| 1712 | test/core/iomgr/endpoint_tests.cc |
Craig Tiller | 9222606 | 2017-10-08 21:16:12 -0700 | [diff] [blame] | 1713 | test/core/util/debugger_macros.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1714 | test/core/util/grpc_profiler.cc |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 1715 | test/core/util/histogram.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1716 | test/core/util/memory_counters.cc |
| 1717 | test/core/util/mock_endpoint.cc |
| 1718 | test/core/util/parse_hexstring.cc |
| 1719 | test/core/util/passthru_endpoint.cc |
| 1720 | test/core/util/port.cc |
Adele Zhou | 5b7cdef | 2017-11-29 16:25:17 -0800 | [diff] [blame] | 1721 | test/core/util/port_isolated_runtime_environment.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1722 | test/core/util/port_server_client.cc |
| 1723 | test/core/util/slice_splitter.cc |
ncteisen | aa3b197 | 2017-11-17 15:56:27 -0800 | [diff] [blame] | 1724 | test/core/util/tracer_util.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1725 | test/core/util/trickle_endpoint.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 1726 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1727 | src/core/lib/channel/channel_args.cc |
| 1728 | src/core/lib/channel/channel_stack.cc |
| 1729 | src/core/lib/channel/channel_stack_builder.cc |
| 1730 | src/core/lib/channel/connected_channel.cc |
| 1731 | src/core/lib/channel/handshaker.cc |
| 1732 | src/core/lib/channel/handshaker_factory.cc |
| 1733 | src/core/lib/channel/handshaker_registry.cc |
| 1734 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 1735 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1736 | src/core/lib/compression/message_compress.cc |
| 1737 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 1738 | src/core/lib/compression/stream_compression_gzip.cc |
| 1739 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1740 | src/core/lib/debug/stats.cc |
| 1741 | src/core/lib/debug/stats_data.cc |
| 1742 | src/core/lib/http/format_request.cc |
| 1743 | src/core/lib/http/httpcli.cc |
| 1744 | src/core/lib/http/parser.cc |
| 1745 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1746 | src/core/lib/iomgr/combiner.cc |
| 1747 | src/core/lib/iomgr/endpoint.cc |
| 1748 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 1749 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 1750 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 1751 | src/core/lib/iomgr/error.cc |
| 1752 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 1753 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 1754 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 1755 | src/core/lib/iomgr/ev_poll_posix.cc |
| 1756 | src/core/lib/iomgr/ev_posix.cc |
| 1757 | src/core/lib/iomgr/ev_windows.cc |
| 1758 | src/core/lib/iomgr/exec_ctx.cc |
| 1759 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 1760 | src/core/lib/iomgr/fork_posix.cc |
| 1761 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1762 | src/core/lib/iomgr/gethostname_fallback.cc |
| 1763 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 1764 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 1765 | src/core/lib/iomgr/iocp_windows.cc |
| 1766 | src/core/lib/iomgr/iomgr.cc |
| 1767 | src/core/lib/iomgr/iomgr_posix.cc |
| 1768 | src/core/lib/iomgr/iomgr_uv.cc |
| 1769 | src/core/lib/iomgr/iomgr_windows.cc |
| 1770 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 1771 | src/core/lib/iomgr/load_file.cc |
| 1772 | src/core/lib/iomgr/lockfree_event.cc |
| 1773 | src/core/lib/iomgr/network_status_tracker.cc |
| 1774 | src/core/lib/iomgr/polling_entity.cc |
| 1775 | src/core/lib/iomgr/pollset_set_uv.cc |
| 1776 | src/core/lib/iomgr/pollset_set_windows.cc |
| 1777 | src/core/lib/iomgr/pollset_uv.cc |
| 1778 | src/core/lib/iomgr/pollset_windows.cc |
| 1779 | src/core/lib/iomgr/resolve_address_posix.cc |
| 1780 | src/core/lib/iomgr/resolve_address_uv.cc |
| 1781 | src/core/lib/iomgr/resolve_address_windows.cc |
| 1782 | src/core/lib/iomgr/resource_quota.cc |
| 1783 | src/core/lib/iomgr/sockaddr_utils.cc |
| 1784 | src/core/lib/iomgr/socket_factory_posix.cc |
| 1785 | src/core/lib/iomgr/socket_mutator.cc |
| 1786 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 1787 | src/core/lib/iomgr/socket_utils_linux.cc |
| 1788 | src/core/lib/iomgr/socket_utils_posix.cc |
| 1789 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 1790 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1791 | src/core/lib/iomgr/socket_windows.cc |
| 1792 | src/core/lib/iomgr/tcp_client_posix.cc |
| 1793 | src/core/lib/iomgr/tcp_client_uv.cc |
| 1794 | src/core/lib/iomgr/tcp_client_windows.cc |
| 1795 | src/core/lib/iomgr/tcp_posix.cc |
| 1796 | src/core/lib/iomgr/tcp_server_posix.cc |
| 1797 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 1798 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 1799 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 1800 | src/core/lib/iomgr/tcp_server_uv.cc |
| 1801 | src/core/lib/iomgr/tcp_server_windows.cc |
| 1802 | src/core/lib/iomgr/tcp_uv.cc |
| 1803 | src/core/lib/iomgr/tcp_windows.cc |
| 1804 | src/core/lib/iomgr/time_averaged_stats.cc |
| 1805 | src/core/lib/iomgr/timer_generic.cc |
| 1806 | src/core/lib/iomgr/timer_heap.cc |
| 1807 | src/core/lib/iomgr/timer_manager.cc |
| 1808 | src/core/lib/iomgr/timer_uv.cc |
| 1809 | src/core/lib/iomgr/udp_server.cc |
| 1810 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 1811 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 1812 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 1813 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 1814 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 1815 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 1816 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 1817 | src/core/lib/json/json.cc |
| 1818 | src/core/lib/json/json_reader.cc |
| 1819 | src/core/lib/json/json_string.cc |
| 1820 | src/core/lib/json/json_writer.cc |
| 1821 | src/core/lib/slice/b64.cc |
| 1822 | src/core/lib/slice/percent_encoding.cc |
| 1823 | src/core/lib/slice/slice.cc |
| 1824 | src/core/lib/slice/slice_buffer.cc |
| 1825 | src/core/lib/slice/slice_hash_table.cc |
| 1826 | src/core/lib/slice/slice_intern.cc |
| 1827 | src/core/lib/slice/slice_string_helpers.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1828 | src/core/lib/surface/api_trace.cc |
| 1829 | src/core/lib/surface/byte_buffer.cc |
| 1830 | src/core/lib/surface/byte_buffer_reader.cc |
| 1831 | src/core/lib/surface/call.cc |
| 1832 | src/core/lib/surface/call_details.cc |
| 1833 | src/core/lib/surface/call_log_batch.cc |
| 1834 | src/core/lib/surface/channel.cc |
| 1835 | src/core/lib/surface/channel_init.cc |
| 1836 | src/core/lib/surface/channel_ping.cc |
| 1837 | src/core/lib/surface/channel_stack_type.cc |
| 1838 | src/core/lib/surface/completion_queue.cc |
| 1839 | src/core/lib/surface/completion_queue_factory.cc |
| 1840 | src/core/lib/surface/event_string.cc |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 1841 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1842 | src/core/lib/surface/metadata_array.cc |
| 1843 | src/core/lib/surface/server.cc |
| 1844 | src/core/lib/surface/validate_metadata.cc |
| 1845 | src/core/lib/surface/version.cc |
| 1846 | src/core/lib/transport/bdp_estimator.cc |
| 1847 | src/core/lib/transport/byte_stream.cc |
| 1848 | src/core/lib/transport/connectivity_state.cc |
| 1849 | src/core/lib/transport/error_utils.cc |
| 1850 | src/core/lib/transport/metadata.cc |
| 1851 | src/core/lib/transport/metadata_batch.cc |
| 1852 | src/core/lib/transport/pid_controller.cc |
| 1853 | src/core/lib/transport/service_config.cc |
| 1854 | src/core/lib/transport/static_metadata.cc |
| 1855 | src/core/lib/transport/status_conversion.cc |
| 1856 | src/core/lib/transport/timeout_encoding.cc |
| 1857 | src/core/lib/transport/transport.cc |
| 1858 | src/core/lib/transport/transport_op_string.cc |
| 1859 | src/core/lib/debug/trace.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 1860 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1861 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 1862 | src/core/ext/filters/client_channel/client_channel.cc |
| 1863 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 1864 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 1865 | src/core/ext/filters/client_channel/connector.cc |
| 1866 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 1867 | src/core/ext/filters/client_channel/http_proxy.cc |
| 1868 | src/core/ext/filters/client_channel/lb_policy.cc |
| 1869 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 1870 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 1871 | src/core/ext/filters/client_channel/parse_address.cc |
| 1872 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 1873 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1874 | src/core/ext/filters/client_channel/resolver.cc |
| 1875 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 1876 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1877 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1878 | src/core/ext/filters/client_channel/subchannel.cc |
| 1879 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1880 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1881 | src/core/ext/filters/deadline/deadline_filter.cc |
| 1882 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 1883 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 1884 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 1885 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 1886 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 1887 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 1888 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 1889 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 1890 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 1891 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 1892 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 1893 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 1894 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 1895 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 1896 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 1897 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 1898 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 1899 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 1900 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 1901 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 1902 | src/core/ext/transport/chttp2/transport/varint.cc |
| 1903 | src/core/ext/transport/chttp2/transport/writing.cc |
| 1904 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 1905 | src/core/ext/filters/http/client/http_client_filter.cc |
| 1906 | src/core/ext/filters/http/http_filters_plugin.cc |
| 1907 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 1908 | src/core/ext/filters/http/server/http_server_filter.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1909 | ) |
| 1910 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1911 | if(WIN32 AND MSVC) |
| 1912 | set_target_properties(grpc_test_util_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_test_util_unsecure" |
| 1913 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1914 | ) |
| 1915 | if (gRPC_INSTALL) |
| 1916 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1917 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1918 | ) |
| 1919 | endif() |
| 1920 | endif() |
| 1921 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1922 | |
| 1923 | target_include_directories(grpc_test_util_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1924 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1925 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 1926 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 1927 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 1928 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 1929 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 1930 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 1931 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1932 | ) |
| 1933 | |
| 1934 | target_link_libraries(grpc_test_util_unsecure |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1935 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1936 | gpr |
| 1937 | gpr_test_util |
| 1938 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1939 | ) |
| 1940 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 1941 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 1942 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 1943 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1944 | include/grpc/impl/codegen/compression_types.h |
| 1945 | include/grpc/impl/codegen/connectivity_state.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 1946 | include/grpc/impl/codegen/grpc_types.h |
| 1947 | include/grpc/impl/codegen/propagation_bits.h |
| 1948 | include/grpc/impl/codegen/slice.h |
| 1949 | include/grpc/impl/codegen/status.h |
| 1950 | include/grpc/impl/codegen/atm.h |
| 1951 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1952 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1953 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1954 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 1955 | include/grpc/impl/codegen/gpr_slice.h |
| 1956 | include/grpc/impl/codegen/gpr_types.h |
| 1957 | include/grpc/impl/codegen/port_platform.h |
| 1958 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1959 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 1960 | include/grpc/impl/codegen/sync_generic.h |
| 1961 | include/grpc/impl/codegen/sync_posix.h |
| 1962 | include/grpc/impl/codegen/sync_windows.h |
| 1963 | ) |
| 1964 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1965 | get_filename_component(_path ${_path} PATH) |
| 1966 | install(FILES ${_hdr} |
| 1967 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
| 1968 | ) |
| 1969 | endforeach() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1970 | |
| 1971 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1972 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1973 | add_library(grpc_unsecure |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1974 | src/core/lib/surface/init.cc |
| 1975 | src/core/lib/surface/init_unsecure.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 1976 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1977 | src/core/lib/channel/channel_args.cc |
| 1978 | src/core/lib/channel/channel_stack.cc |
| 1979 | src/core/lib/channel/channel_stack_builder.cc |
| 1980 | src/core/lib/channel/connected_channel.cc |
| 1981 | src/core/lib/channel/handshaker.cc |
| 1982 | src/core/lib/channel/handshaker_factory.cc |
| 1983 | src/core/lib/channel/handshaker_registry.cc |
| 1984 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 1985 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1986 | src/core/lib/compression/message_compress.cc |
| 1987 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 1988 | src/core/lib/compression/stream_compression_gzip.cc |
| 1989 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1990 | src/core/lib/debug/stats.cc |
| 1991 | src/core/lib/debug/stats_data.cc |
| 1992 | src/core/lib/http/format_request.cc |
| 1993 | src/core/lib/http/httpcli.cc |
| 1994 | src/core/lib/http/parser.cc |
| 1995 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1996 | src/core/lib/iomgr/combiner.cc |
| 1997 | src/core/lib/iomgr/endpoint.cc |
| 1998 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 1999 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 2000 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 2001 | src/core/lib/iomgr/error.cc |
| 2002 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 2003 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 2004 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 2005 | src/core/lib/iomgr/ev_poll_posix.cc |
| 2006 | src/core/lib/iomgr/ev_posix.cc |
| 2007 | src/core/lib/iomgr/ev_windows.cc |
| 2008 | src/core/lib/iomgr/exec_ctx.cc |
| 2009 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 2010 | src/core/lib/iomgr/fork_posix.cc |
| 2011 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2012 | src/core/lib/iomgr/gethostname_fallback.cc |
| 2013 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 2014 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 2015 | src/core/lib/iomgr/iocp_windows.cc |
| 2016 | src/core/lib/iomgr/iomgr.cc |
| 2017 | src/core/lib/iomgr/iomgr_posix.cc |
| 2018 | src/core/lib/iomgr/iomgr_uv.cc |
| 2019 | src/core/lib/iomgr/iomgr_windows.cc |
| 2020 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 2021 | src/core/lib/iomgr/load_file.cc |
| 2022 | src/core/lib/iomgr/lockfree_event.cc |
| 2023 | src/core/lib/iomgr/network_status_tracker.cc |
| 2024 | src/core/lib/iomgr/polling_entity.cc |
| 2025 | src/core/lib/iomgr/pollset_set_uv.cc |
| 2026 | src/core/lib/iomgr/pollset_set_windows.cc |
| 2027 | src/core/lib/iomgr/pollset_uv.cc |
| 2028 | src/core/lib/iomgr/pollset_windows.cc |
| 2029 | src/core/lib/iomgr/resolve_address_posix.cc |
| 2030 | src/core/lib/iomgr/resolve_address_uv.cc |
| 2031 | src/core/lib/iomgr/resolve_address_windows.cc |
| 2032 | src/core/lib/iomgr/resource_quota.cc |
| 2033 | src/core/lib/iomgr/sockaddr_utils.cc |
| 2034 | src/core/lib/iomgr/socket_factory_posix.cc |
| 2035 | src/core/lib/iomgr/socket_mutator.cc |
| 2036 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 2037 | src/core/lib/iomgr/socket_utils_linux.cc |
| 2038 | src/core/lib/iomgr/socket_utils_posix.cc |
| 2039 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 2040 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2041 | src/core/lib/iomgr/socket_windows.cc |
| 2042 | src/core/lib/iomgr/tcp_client_posix.cc |
| 2043 | src/core/lib/iomgr/tcp_client_uv.cc |
| 2044 | src/core/lib/iomgr/tcp_client_windows.cc |
| 2045 | src/core/lib/iomgr/tcp_posix.cc |
| 2046 | src/core/lib/iomgr/tcp_server_posix.cc |
| 2047 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 2048 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 2049 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 2050 | src/core/lib/iomgr/tcp_server_uv.cc |
| 2051 | src/core/lib/iomgr/tcp_server_windows.cc |
| 2052 | src/core/lib/iomgr/tcp_uv.cc |
| 2053 | src/core/lib/iomgr/tcp_windows.cc |
| 2054 | src/core/lib/iomgr/time_averaged_stats.cc |
| 2055 | src/core/lib/iomgr/timer_generic.cc |
| 2056 | src/core/lib/iomgr/timer_heap.cc |
| 2057 | src/core/lib/iomgr/timer_manager.cc |
| 2058 | src/core/lib/iomgr/timer_uv.cc |
| 2059 | src/core/lib/iomgr/udp_server.cc |
| 2060 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 2061 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 2062 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 2063 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 2064 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 2065 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 2066 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 2067 | src/core/lib/json/json.cc |
| 2068 | src/core/lib/json/json_reader.cc |
| 2069 | src/core/lib/json/json_string.cc |
| 2070 | src/core/lib/json/json_writer.cc |
| 2071 | src/core/lib/slice/b64.cc |
| 2072 | src/core/lib/slice/percent_encoding.cc |
| 2073 | src/core/lib/slice/slice.cc |
| 2074 | src/core/lib/slice/slice_buffer.cc |
| 2075 | src/core/lib/slice/slice_hash_table.cc |
| 2076 | src/core/lib/slice/slice_intern.cc |
| 2077 | src/core/lib/slice/slice_string_helpers.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2078 | src/core/lib/surface/api_trace.cc |
| 2079 | src/core/lib/surface/byte_buffer.cc |
| 2080 | src/core/lib/surface/byte_buffer_reader.cc |
| 2081 | src/core/lib/surface/call.cc |
| 2082 | src/core/lib/surface/call_details.cc |
| 2083 | src/core/lib/surface/call_log_batch.cc |
| 2084 | src/core/lib/surface/channel.cc |
| 2085 | src/core/lib/surface/channel_init.cc |
| 2086 | src/core/lib/surface/channel_ping.cc |
| 2087 | src/core/lib/surface/channel_stack_type.cc |
| 2088 | src/core/lib/surface/completion_queue.cc |
| 2089 | src/core/lib/surface/completion_queue_factory.cc |
| 2090 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 2091 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2092 | src/core/lib/surface/metadata_array.cc |
| 2093 | src/core/lib/surface/server.cc |
| 2094 | src/core/lib/surface/validate_metadata.cc |
| 2095 | src/core/lib/surface/version.cc |
| 2096 | src/core/lib/transport/bdp_estimator.cc |
| 2097 | src/core/lib/transport/byte_stream.cc |
| 2098 | src/core/lib/transport/connectivity_state.cc |
| 2099 | src/core/lib/transport/error_utils.cc |
| 2100 | src/core/lib/transport/metadata.cc |
| 2101 | src/core/lib/transport/metadata_batch.cc |
| 2102 | src/core/lib/transport/pid_controller.cc |
| 2103 | src/core/lib/transport/service_config.cc |
| 2104 | src/core/lib/transport/static_metadata.cc |
| 2105 | src/core/lib/transport/status_conversion.cc |
| 2106 | src/core/lib/transport/timeout_encoding.cc |
| 2107 | src/core/lib/transport/transport.cc |
| 2108 | src/core/lib/transport/transport_op_string.cc |
| 2109 | src/core/lib/debug/trace.cc |
| 2110 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc |
| 2111 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc |
| 2112 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 2113 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 2114 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 2115 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 2116 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 2117 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 2118 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 2119 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 2120 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 2121 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 2122 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 2123 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 2124 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 2125 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 2126 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 2127 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 2128 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 2129 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 2130 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 2131 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 2132 | src/core/ext/transport/chttp2/transport/varint.cc |
| 2133 | src/core/ext/transport/chttp2/transport/writing.cc |
| 2134 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 2135 | src/core/ext/filters/http/client/http_client_filter.cc |
| 2136 | src/core/ext/filters/http/http_filters_plugin.cc |
| 2137 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 2138 | src/core/ext/filters/http/server/http_server_filter.cc |
| 2139 | src/core/ext/transport/chttp2/server/chttp2_server.cc |
| 2140 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 2141 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
| 2142 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 2143 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2144 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 2145 | src/core/ext/filters/client_channel/client_channel.cc |
| 2146 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 2147 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 2148 | src/core/ext/filters/client_channel/connector.cc |
| 2149 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 2150 | src/core/ext/filters/client_channel/http_proxy.cc |
| 2151 | src/core/ext/filters/client_channel/lb_policy.cc |
| 2152 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 2153 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 2154 | src/core/ext/filters/client_channel/parse_address.cc |
| 2155 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 2156 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 2157 | src/core/ext/filters/client_channel/resolver.cc |
| 2158 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 2159 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 2160 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 2161 | src/core/ext/filters/client_channel/subchannel.cc |
| 2162 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 2163 | src/core/ext/filters/client_channel/uri_parser.cc |
| 2164 | src/core/ext/filters/deadline/deadline_filter.cc |
| 2165 | src/core/ext/transport/inproc/inproc_plugin.cc |
| 2166 | src/core/ext/transport/inproc/inproc_transport.cc |
| 2167 | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc |
| 2168 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc |
| 2169 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc |
| 2170 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc |
| 2171 | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc |
| 2172 | src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc |
| 2173 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
| 2174 | src/core/ext/filters/load_reporting/server_load_reporting_filter.cc |
| 2175 | src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc |
| 2176 | src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc |
| 2177 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc |
| 2178 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.cc |
| 2179 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc |
| 2180 | src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 2181 | src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2182 | third_party/nanopb/pb_common.c |
| 2183 | third_party/nanopb/pb_decode.c |
| 2184 | third_party/nanopb/pb_encode.c |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2185 | src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc |
Mark D. Roth | 5e9848e | 2017-10-06 13:59:32 -0700 | [diff] [blame] | 2186 | src/core/ext/filters/client_channel/lb_policy/subchannel_list.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2187 | src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2188 | src/core/ext/census/grpc_context.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2189 | src/core/ext/filters/max_age/max_age_filter.cc |
| 2190 | src/core/ext/filters/message_size/message_size_filter.cc |
| 2191 | src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc |
| 2192 | src/core/ext/filters/workarounds/workaround_utils.cc |
Yash Tibrewal | 1c9b584 | 2017-09-21 15:49:55 -0700 | [diff] [blame] | 2193 | src/core/plugin_registry/grpc_unsecure_plugin_registry.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2194 | ) |
| 2195 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2196 | if(WIN32 AND MSVC) |
| 2197 | set_target_properties(grpc_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_unsecure" |
| 2198 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2199 | ) |
| 2200 | if (gRPC_INSTALL) |
| 2201 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2202 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2203 | ) |
| 2204 | endif() |
| 2205 | endif() |
| 2206 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2207 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2208 | target_include_directories(grpc_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2209 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2210 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2211 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 2212 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 2213 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 2214 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 2215 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 2216 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2217 | ) |
| 2218 | |
| 2219 | target_link_libraries(grpc_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2220 | ${_gRPC_BASELIB_LIBRARIES} |
Jan Tattermusch | 807693b | 2017-06-12 10:15:27 +0200 | [diff] [blame] | 2221 | ${_gRPC_ZLIB_LIBRARIES} |
| 2222 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2223 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2224 | gpr |
| 2225 | ) |
| 2226 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2227 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2228 | include/grpc/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2229 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2230 | include/grpc/impl/codegen/compression_types.h |
| 2231 | include/grpc/impl/codegen/connectivity_state.h |
| 2232 | include/grpc/impl/codegen/grpc_types.h |
| 2233 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2234 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2235 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2236 | include/grpc/impl/codegen/atm.h |
| 2237 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2238 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2239 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2240 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 2241 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 2242 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2243 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2244 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2245 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2246 | include/grpc/impl/codegen/sync_generic.h |
| 2247 | include/grpc/impl/codegen/sync_posix.h |
| 2248 | include/grpc/impl/codegen/sync_windows.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2249 | include/grpc/byte_buffer.h |
| 2250 | include/grpc/byte_buffer_reader.h |
| 2251 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2252 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2253 | include/grpc/grpc.h |
| 2254 | include/grpc/grpc_posix.h |
| 2255 | include/grpc/grpc_security_constants.h |
| 2256 | include/grpc/load_reporting.h |
| 2257 | include/grpc/slice.h |
| 2258 | include/grpc/slice_buffer.h |
| 2259 | include/grpc/status.h |
| 2260 | include/grpc/support/workaround_list.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2261 | include/grpc/census.h |
| 2262 | ) |
| 2263 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2264 | get_filename_component(_path ${_path} PATH) |
| 2265 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2266 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2267 | ) |
| 2268 | endforeach() |
| 2269 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2270 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2271 | if (gRPC_INSTALL) |
| 2272 | install(TARGETS grpc_unsecure EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2273 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 2274 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 2275 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2276 | ) |
| 2277 | endif() |
| 2278 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2279 | if (gRPC_BUILD_TESTS) |
| 2280 | |
| 2281 | add_library(reconnect_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 2282 | test/core/util/reconnect_server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2283 | ) |
| 2284 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2285 | if(WIN32 AND MSVC) |
| 2286 | set_target_properties(reconnect_server PROPERTIES COMPILE_PDB_NAME "reconnect_server" |
| 2287 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2288 | ) |
| 2289 | if (gRPC_INSTALL) |
| 2290 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/reconnect_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2291 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2292 | ) |
| 2293 | endif() |
| 2294 | endif() |
| 2295 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2296 | |
| 2297 | target_include_directories(reconnect_server |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2298 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2299 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2300 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 2301 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 2302 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 2303 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 2304 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 2305 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2306 | ) |
| 2307 | |
| 2308 | target_link_libraries(reconnect_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2309 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2310 | test_tcp_server |
| 2311 | grpc_test_util |
| 2312 | grpc |
| 2313 | gpr_test_util |
| 2314 | gpr |
| 2315 | ) |
| 2316 | |
| 2317 | |
| 2318 | endif (gRPC_BUILD_TESTS) |
| 2319 | if (gRPC_BUILD_TESTS) |
| 2320 | |
| 2321 | add_library(test_tcp_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 2322 | test/core/util/test_tcp_server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2323 | ) |
| 2324 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2325 | if(WIN32 AND MSVC) |
| 2326 | set_target_properties(test_tcp_server PROPERTIES COMPILE_PDB_NAME "test_tcp_server" |
| 2327 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2328 | ) |
| 2329 | if (gRPC_INSTALL) |
| 2330 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/test_tcp_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2331 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2332 | ) |
| 2333 | endif() |
| 2334 | endif() |
| 2335 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2336 | |
| 2337 | target_include_directories(test_tcp_server |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2338 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2339 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2340 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 2341 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 2342 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 2343 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 2344 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 2345 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2346 | ) |
| 2347 | |
| 2348 | target_link_libraries(test_tcp_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2349 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2350 | grpc_test_util |
| 2351 | grpc |
| 2352 | gpr_test_util |
| 2353 | gpr |
| 2354 | ) |
| 2355 | |
| 2356 | |
| 2357 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2358 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2359 | add_library(grpc++ |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2360 | src/cpp/client/insecure_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2361 | src/cpp/client/secure_credentials.cc |
| 2362 | src/cpp/common/auth_property_iterator.cc |
| 2363 | src/cpp/common/secure_auth_context.cc |
| 2364 | src/cpp/common/secure_channel_arguments.cc |
| 2365 | src/cpp/common/secure_create_auth_context.cc |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2366 | src/cpp/server/insecure_server_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2367 | src/cpp/server/secure_server_credentials.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2368 | src/cpp/client/channel_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2369 | src/cpp/client/client_context.cc |
| 2370 | src/cpp/client/create_channel.cc |
| 2371 | src/cpp/client/create_channel_internal.cc |
| 2372 | src/cpp/client/create_channel_posix.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2373 | src/cpp/client/credentials_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2374 | src/cpp/client/generic_stub.cc |
Vijay Pai | 2b226ad | 2018-01-11 16:11:35 -0800 | [diff] [blame] | 2375 | src/cpp/common/alarm.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2376 | src/cpp/common/channel_arguments.cc |
Mark D. Roth | 4004ac2 | 2016-08-02 10:08:27 -0700 | [diff] [blame] | 2377 | src/cpp/common/channel_filter.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2378 | src/cpp/common/completion_queue_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2379 | src/cpp/common/core_codegen.cc |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2380 | src/cpp/common/resource_quota_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2381 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 2382 | src/cpp/common/version_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2383 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2384 | src/cpp/server/channel_argument_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2385 | src/cpp/server/create_default_thread_pool.cc |
| 2386 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 2387 | src/cpp/server/health/default_health_check_service.cc |
| 2388 | src/cpp/server/health/health.pb.c |
| 2389 | src/cpp/server/health/health_check_service.cc |
| 2390 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2391 | src/cpp/server/server_builder.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2392 | src/cpp/server/server_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2393 | src/cpp/server/server_context.cc |
| 2394 | src/cpp/server/server_credentials.cc |
| 2395 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 8f7739b | 2016-10-13 15:12:55 -0700 | [diff] [blame] | 2396 | src/cpp/thread_manager/thread_manager.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2397 | src/cpp/util/byte_buffer_cc.cc |
| 2398 | src/cpp/util/slice_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2399 | src/cpp/util/status.cc |
| 2400 | src/cpp/util/string_ref.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2401 | src/cpp/util/time_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2402 | src/cpp/codegen/codegen_init.cc |
| 2403 | ) |
| 2404 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2405 | if(WIN32 AND MSVC) |
| 2406 | set_target_properties(grpc++ PROPERTIES COMPILE_PDB_NAME "grpc++" |
| 2407 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2408 | ) |
| 2409 | if (gRPC_INSTALL) |
| 2410 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2411 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2412 | ) |
| 2413 | endif() |
| 2414 | endif() |
| 2415 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2416 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2417 | target_include_directories(grpc++ |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2418 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2419 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2420 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 2421 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 2422 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 2423 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 2424 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 2425 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2426 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2427 | ) |
| 2428 | |
| 2429 | target_link_libraries(grpc++ |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2430 | ${_gRPC_BASELIB_LIBRARIES} |
| 2431 | ${_gRPC_SSL_LIBRARIES} |
| 2432 | ${_gRPC_PROTOBUF_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2433 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2434 | grpc |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2435 | gpr |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2436 | ) |
| 2437 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2438 | foreach(_hdr |
| 2439 | include/grpc++/alarm.h |
| 2440 | include/grpc++/channel.h |
| 2441 | include/grpc++/client_context.h |
| 2442 | include/grpc++/completion_queue.h |
| 2443 | include/grpc++/create_channel.h |
| 2444 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 2445 | include/grpc++/ext/health_check_service_server_builder_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2446 | include/grpc++/generic/async_generic_service.h |
| 2447 | include/grpc++/generic/generic_stub.h |
| 2448 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 2449 | include/grpc++/health_check_service_interface.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2450 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2451 | include/grpc++/impl/channel_argument_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2452 | include/grpc++/impl/client_unary_call.h |
| 2453 | include/grpc++/impl/codegen/core_codegen.h |
| 2454 | include/grpc++/impl/grpc_library.h |
| 2455 | include/grpc++/impl/method_handler_impl.h |
| 2456 | include/grpc++/impl/rpc_method.h |
| 2457 | include/grpc++/impl/rpc_service_method.h |
| 2458 | include/grpc++/impl/serialization_traits.h |
| 2459 | include/grpc++/impl/server_builder_option.h |
| 2460 | include/grpc++/impl/server_builder_plugin.h |
| 2461 | include/grpc++/impl/server_initializer.h |
| 2462 | include/grpc++/impl/service_type.h |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2463 | include/grpc++/resource_quota.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2464 | include/grpc++/security/auth_context.h |
| 2465 | include/grpc++/security/auth_metadata_processor.h |
| 2466 | include/grpc++/security/credentials.h |
| 2467 | include/grpc++/security/server_credentials.h |
| 2468 | include/grpc++/server.h |
| 2469 | include/grpc++/server_builder.h |
| 2470 | include/grpc++/server_context.h |
| 2471 | include/grpc++/server_posix.h |
| 2472 | include/grpc++/support/async_stream.h |
| 2473 | include/grpc++/support/async_unary_call.h |
| 2474 | include/grpc++/support/byte_buffer.h |
| 2475 | include/grpc++/support/channel_arguments.h |
| 2476 | include/grpc++/support/config.h |
| 2477 | include/grpc++/support/slice.h |
| 2478 | include/grpc++/support/status.h |
| 2479 | include/grpc++/support/status_code_enum.h |
| 2480 | include/grpc++/support/string_ref.h |
| 2481 | include/grpc++/support/stub_options.h |
| 2482 | include/grpc++/support/sync_stream.h |
| 2483 | include/grpc++/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2484 | include/grpc/support/alloc.h |
| 2485 | include/grpc/support/atm.h |
| 2486 | include/grpc/support/atm_gcc_atomic.h |
| 2487 | include/grpc/support/atm_gcc_sync.h |
| 2488 | include/grpc/support/atm_windows.h |
| 2489 | include/grpc/support/avl.h |
| 2490 | include/grpc/support/cmdline.h |
| 2491 | include/grpc/support/cpu.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2492 | include/grpc/support/host_port.h |
| 2493 | include/grpc/support/log.h |
| 2494 | include/grpc/support/log_windows.h |
| 2495 | include/grpc/support/port_platform.h |
| 2496 | include/grpc/support/string_util.h |
| 2497 | include/grpc/support/subprocess.h |
| 2498 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2499 | include/grpc/support/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2500 | include/grpc/support/sync_generic.h |
| 2501 | include/grpc/support/sync_posix.h |
| 2502 | include/grpc/support/sync_windows.h |
| 2503 | include/grpc/support/thd.h |
| 2504 | include/grpc/support/time.h |
| 2505 | include/grpc/support/tls.h |
| 2506 | include/grpc/support/tls_gcc.h |
| 2507 | include/grpc/support/tls_msvc.h |
| 2508 | include/grpc/support/tls_pthread.h |
| 2509 | include/grpc/support/useful.h |
| 2510 | include/grpc/impl/codegen/atm.h |
| 2511 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2512 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2513 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2514 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2515 | include/grpc/impl/codegen/gpr_slice.h |
| 2516 | include/grpc/impl/codegen/gpr_types.h |
| 2517 | include/grpc/impl/codegen/port_platform.h |
| 2518 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2519 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2520 | include/grpc/impl/codegen/sync_generic.h |
| 2521 | include/grpc/impl/codegen/sync_posix.h |
| 2522 | include/grpc/impl/codegen/sync_windows.h |
| 2523 | include/grpc/byte_buffer.h |
| 2524 | include/grpc/byte_buffer_reader.h |
| 2525 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2526 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2527 | include/grpc/grpc.h |
| 2528 | include/grpc/grpc_posix.h |
| 2529 | include/grpc/grpc_security_constants.h |
| 2530 | include/grpc/load_reporting.h |
| 2531 | include/grpc/slice.h |
| 2532 | include/grpc/slice_buffer.h |
| 2533 | include/grpc/status.h |
| 2534 | include/grpc/support/workaround_list.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2535 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2536 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2537 | include/grpc/impl/codegen/compression_types.h |
| 2538 | include/grpc/impl/codegen/connectivity_state.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2539 | include/grpc/impl/codegen/grpc_types.h |
| 2540 | include/grpc/impl/codegen/propagation_bits.h |
| 2541 | include/grpc/impl/codegen/slice.h |
| 2542 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2543 | include/grpc++/impl/codegen/async_stream.h |
| 2544 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2545 | include/grpc++/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2546 | include/grpc++/impl/codegen/call.h |
| 2547 | include/grpc++/impl/codegen/call_hook.h |
| 2548 | include/grpc++/impl/codegen/channel_interface.h |
| 2549 | include/grpc++/impl/codegen/client_context.h |
| 2550 | include/grpc++/impl/codegen/client_unary_call.h |
| 2551 | include/grpc++/impl/codegen/completion_queue.h |
| 2552 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 2553 | include/grpc++/impl/codegen/config.h |
| 2554 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 2555 | include/grpc++/impl/codegen/create_auth_context.h |
| 2556 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 2557 | include/grpc++/impl/codegen/metadata_map.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2558 | include/grpc++/impl/codegen/method_handler_impl.h |
| 2559 | include/grpc++/impl/codegen/rpc_method.h |
| 2560 | include/grpc++/impl/codegen/rpc_service_method.h |
| 2561 | include/grpc++/impl/codegen/security/auth_context.h |
| 2562 | include/grpc++/impl/codegen/serialization_traits.h |
| 2563 | include/grpc++/impl/codegen/server_context.h |
| 2564 | include/grpc++/impl/codegen/server_interface.h |
| 2565 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2566 | include/grpc++/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2567 | include/grpc++/impl/codegen/status.h |
| 2568 | include/grpc++/impl/codegen/status_code_enum.h |
| 2569 | include/grpc++/impl/codegen/string_ref.h |
| 2570 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2571 | include/grpc++/impl/codegen/sync_stream.h |
| 2572 | include/grpc++/impl/codegen/time.h |
Piotr Pietraszkiewicz | a5fac1f | 2017-02-09 11:15:44 +0100 | [diff] [blame] | 2573 | include/grpc++/impl/codegen/proto_utils.h |
| 2574 | include/grpc++/impl/codegen/config_protobuf.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2575 | ) |
| 2576 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2577 | get_filename_component(_path ${_path} PATH) |
| 2578 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2579 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2580 | ) |
| 2581 | endforeach() |
| 2582 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2583 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2584 | if (gRPC_INSTALL) |
| 2585 | install(TARGETS grpc++ EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2586 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 2587 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 2588 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2589 | ) |
| 2590 | endif() |
| 2591 | |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 2592 | if (gRPC_BUILD_TESTS) |
| 2593 | |
| 2594 | add_library(grpc++_core_stats |
| 2595 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.pb.cc |
| 2596 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.grpc.pb.cc |
| 2597 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.pb.h |
| 2598 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.grpc.pb.h |
| 2599 | src/cpp/util/core_stats.cc |
| 2600 | ) |
| 2601 | |
| 2602 | if(WIN32 AND MSVC) |
| 2603 | set_target_properties(grpc++_core_stats PROPERTIES COMPILE_PDB_NAME "grpc++_core_stats" |
| 2604 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2605 | ) |
| 2606 | if (gRPC_INSTALL) |
| 2607 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_core_stats.pdb |
| 2608 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
| 2609 | ) |
| 2610 | endif() |
| 2611 | endif() |
| 2612 | |
| 2613 | protobuf_generate_grpc_cpp( |
| 2614 | src/proto/grpc/core/stats.proto |
| 2615 | ) |
| 2616 | |
| 2617 | target_include_directories(grpc++_core_stats |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2618 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 2619 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2620 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 2621 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 2622 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 2623 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 2624 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 2625 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 2626 | PRIVATE third_party/googletest/googletest/include |
| 2627 | PRIVATE third_party/googletest/googletest |
| 2628 | PRIVATE third_party/googletest/googlemock/include |
| 2629 | PRIVATE third_party/googletest/googlemock |
| 2630 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 2631 | ) |
| 2632 | |
| 2633 | target_link_libraries(grpc++_core_stats |
| 2634 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2635 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 2636 | grpc++ |
| 2637 | ) |
| 2638 | |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 2639 | |
| 2640 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2641 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2642 | add_library(grpc++_cronet |
| 2643 | src/cpp/client/cronet_credentials.cc |
| 2644 | src/cpp/client/insecure_credentials.cc |
| 2645 | src/cpp/common/insecure_create_auth_context.cc |
| 2646 | src/cpp/server/insecure_server_credentials.cc |
| 2647 | src/cpp/client/channel_cc.cc |
| 2648 | src/cpp/client/client_context.cc |
| 2649 | src/cpp/client/create_channel.cc |
| 2650 | src/cpp/client/create_channel_internal.cc |
| 2651 | src/cpp/client/create_channel_posix.cc |
| 2652 | src/cpp/client/credentials_cc.cc |
| 2653 | src/cpp/client/generic_stub.cc |
Vijay Pai | 2b226ad | 2018-01-11 16:11:35 -0800 | [diff] [blame] | 2654 | src/cpp/common/alarm.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2655 | src/cpp/common/channel_arguments.cc |
| 2656 | src/cpp/common/channel_filter.cc |
| 2657 | src/cpp/common/completion_queue_cc.cc |
| 2658 | src/cpp/common/core_codegen.cc |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 2659 | src/cpp/common/resource_quota_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2660 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 2661 | src/cpp/common/version_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2662 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2663 | src/cpp/server/channel_argument_option.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2664 | src/cpp/server/create_default_thread_pool.cc |
| 2665 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 2666 | src/cpp/server/health/default_health_check_service.cc |
| 2667 | src/cpp/server/health/health.pb.c |
| 2668 | src/cpp/server/health/health_check_service.cc |
| 2669 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2670 | src/cpp/server/server_builder.cc |
| 2671 | src/cpp/server/server_cc.cc |
| 2672 | src/cpp/server/server_context.cc |
| 2673 | src/cpp/server/server_credentials.cc |
| 2674 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 33d5494 | 2016-10-25 10:03:52 -0700 | [diff] [blame] | 2675 | src/cpp/thread_manager/thread_manager.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2676 | src/cpp/util/byte_buffer_cc.cc |
| 2677 | src/cpp/util/slice_cc.cc |
| 2678 | src/cpp/util/status.cc |
| 2679 | src/cpp/util/string_ref.cc |
| 2680 | src/cpp/util/time_cc.cc |
yang-g | 75ea6a2 | 2017-05-19 13:06:37 -0700 | [diff] [blame] | 2681 | src/cpp/codegen/codegen_init.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2682 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 2683 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
| 2684 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
| 2685 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 2686 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 2687 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 2688 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 2689 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 2690 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 2691 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 2692 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 2693 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 2694 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 2695 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 2696 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 2697 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 2698 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 2699 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 2700 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 2701 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 2702 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 2703 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 2704 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 2705 | src/core/ext/transport/chttp2/transport/varint.cc |
| 2706 | src/core/ext/transport/chttp2/transport/writing.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 2707 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2708 | src/core/lib/channel/channel_args.cc |
| 2709 | src/core/lib/channel/channel_stack.cc |
| 2710 | src/core/lib/channel/channel_stack_builder.cc |
| 2711 | src/core/lib/channel/connected_channel.cc |
| 2712 | src/core/lib/channel/handshaker.cc |
| 2713 | src/core/lib/channel/handshaker_factory.cc |
| 2714 | src/core/lib/channel/handshaker_registry.cc |
| 2715 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 2716 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2717 | src/core/lib/compression/message_compress.cc |
| 2718 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 2719 | src/core/lib/compression/stream_compression_gzip.cc |
| 2720 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2721 | src/core/lib/debug/stats.cc |
| 2722 | src/core/lib/debug/stats_data.cc |
| 2723 | src/core/lib/http/format_request.cc |
| 2724 | src/core/lib/http/httpcli.cc |
| 2725 | src/core/lib/http/parser.cc |
| 2726 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2727 | src/core/lib/iomgr/combiner.cc |
| 2728 | src/core/lib/iomgr/endpoint.cc |
| 2729 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 2730 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 2731 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 2732 | src/core/lib/iomgr/error.cc |
| 2733 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 2734 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 2735 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 2736 | src/core/lib/iomgr/ev_poll_posix.cc |
| 2737 | src/core/lib/iomgr/ev_posix.cc |
| 2738 | src/core/lib/iomgr/ev_windows.cc |
| 2739 | src/core/lib/iomgr/exec_ctx.cc |
| 2740 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 2741 | src/core/lib/iomgr/fork_posix.cc |
| 2742 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2743 | src/core/lib/iomgr/gethostname_fallback.cc |
| 2744 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 2745 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 2746 | src/core/lib/iomgr/iocp_windows.cc |
| 2747 | src/core/lib/iomgr/iomgr.cc |
| 2748 | src/core/lib/iomgr/iomgr_posix.cc |
| 2749 | src/core/lib/iomgr/iomgr_uv.cc |
| 2750 | src/core/lib/iomgr/iomgr_windows.cc |
| 2751 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 2752 | src/core/lib/iomgr/load_file.cc |
| 2753 | src/core/lib/iomgr/lockfree_event.cc |
| 2754 | src/core/lib/iomgr/network_status_tracker.cc |
| 2755 | src/core/lib/iomgr/polling_entity.cc |
| 2756 | src/core/lib/iomgr/pollset_set_uv.cc |
| 2757 | src/core/lib/iomgr/pollset_set_windows.cc |
| 2758 | src/core/lib/iomgr/pollset_uv.cc |
| 2759 | src/core/lib/iomgr/pollset_windows.cc |
| 2760 | src/core/lib/iomgr/resolve_address_posix.cc |
| 2761 | src/core/lib/iomgr/resolve_address_uv.cc |
| 2762 | src/core/lib/iomgr/resolve_address_windows.cc |
| 2763 | src/core/lib/iomgr/resource_quota.cc |
| 2764 | src/core/lib/iomgr/sockaddr_utils.cc |
| 2765 | src/core/lib/iomgr/socket_factory_posix.cc |
| 2766 | src/core/lib/iomgr/socket_mutator.cc |
| 2767 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 2768 | src/core/lib/iomgr/socket_utils_linux.cc |
| 2769 | src/core/lib/iomgr/socket_utils_posix.cc |
| 2770 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 2771 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2772 | src/core/lib/iomgr/socket_windows.cc |
| 2773 | src/core/lib/iomgr/tcp_client_posix.cc |
| 2774 | src/core/lib/iomgr/tcp_client_uv.cc |
| 2775 | src/core/lib/iomgr/tcp_client_windows.cc |
| 2776 | src/core/lib/iomgr/tcp_posix.cc |
| 2777 | src/core/lib/iomgr/tcp_server_posix.cc |
| 2778 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 2779 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 2780 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 2781 | src/core/lib/iomgr/tcp_server_uv.cc |
| 2782 | src/core/lib/iomgr/tcp_server_windows.cc |
| 2783 | src/core/lib/iomgr/tcp_uv.cc |
| 2784 | src/core/lib/iomgr/tcp_windows.cc |
| 2785 | src/core/lib/iomgr/time_averaged_stats.cc |
| 2786 | src/core/lib/iomgr/timer_generic.cc |
| 2787 | src/core/lib/iomgr/timer_heap.cc |
| 2788 | src/core/lib/iomgr/timer_manager.cc |
| 2789 | src/core/lib/iomgr/timer_uv.cc |
| 2790 | src/core/lib/iomgr/udp_server.cc |
| 2791 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 2792 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 2793 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 2794 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 2795 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 2796 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 2797 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 2798 | src/core/lib/json/json.cc |
| 2799 | src/core/lib/json/json_reader.cc |
| 2800 | src/core/lib/json/json_string.cc |
| 2801 | src/core/lib/json/json_writer.cc |
| 2802 | src/core/lib/slice/b64.cc |
| 2803 | src/core/lib/slice/percent_encoding.cc |
| 2804 | src/core/lib/slice/slice.cc |
| 2805 | src/core/lib/slice/slice_buffer.cc |
| 2806 | src/core/lib/slice/slice_hash_table.cc |
| 2807 | src/core/lib/slice/slice_intern.cc |
| 2808 | src/core/lib/slice/slice_string_helpers.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2809 | src/core/lib/surface/api_trace.cc |
| 2810 | src/core/lib/surface/byte_buffer.cc |
| 2811 | src/core/lib/surface/byte_buffer_reader.cc |
| 2812 | src/core/lib/surface/call.cc |
| 2813 | src/core/lib/surface/call_details.cc |
| 2814 | src/core/lib/surface/call_log_batch.cc |
| 2815 | src/core/lib/surface/channel.cc |
| 2816 | src/core/lib/surface/channel_init.cc |
| 2817 | src/core/lib/surface/channel_ping.cc |
| 2818 | src/core/lib/surface/channel_stack_type.cc |
| 2819 | src/core/lib/surface/completion_queue.cc |
| 2820 | src/core/lib/surface/completion_queue_factory.cc |
| 2821 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 2822 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2823 | src/core/lib/surface/metadata_array.cc |
| 2824 | src/core/lib/surface/server.cc |
| 2825 | src/core/lib/surface/validate_metadata.cc |
| 2826 | src/core/lib/surface/version.cc |
| 2827 | src/core/lib/transport/bdp_estimator.cc |
| 2828 | src/core/lib/transport/byte_stream.cc |
| 2829 | src/core/lib/transport/connectivity_state.cc |
| 2830 | src/core/lib/transport/error_utils.cc |
| 2831 | src/core/lib/transport/metadata.cc |
| 2832 | src/core/lib/transport/metadata_batch.cc |
| 2833 | src/core/lib/transport/pid_controller.cc |
| 2834 | src/core/lib/transport/service_config.cc |
| 2835 | src/core/lib/transport/static_metadata.cc |
| 2836 | src/core/lib/transport/status_conversion.cc |
| 2837 | src/core/lib/transport/timeout_encoding.cc |
| 2838 | src/core/lib/transport/transport.cc |
| 2839 | src/core/lib/transport/transport_op_string.cc |
| 2840 | src/core/lib/debug/trace.cc |
| 2841 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 2842 | src/core/ext/filters/http/client/http_client_filter.cc |
| 2843 | src/core/ext/filters/http/http_filters_plugin.cc |
| 2844 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 2845 | src/core/ext/filters/http/server/http_server_filter.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 2846 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2847 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 2848 | src/core/ext/filters/client_channel/client_channel.cc |
| 2849 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 2850 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 2851 | src/core/ext/filters/client_channel/connector.cc |
| 2852 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 2853 | src/core/ext/filters/client_channel/http_proxy.cc |
| 2854 | src/core/ext/filters/client_channel/lb_policy.cc |
| 2855 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 2856 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 2857 | src/core/ext/filters/client_channel/parse_address.cc |
| 2858 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 2859 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 2860 | src/core/ext/filters/client_channel/resolver.cc |
| 2861 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 2862 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 2863 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 2864 | src/core/ext/filters/client_channel/subchannel.cc |
| 2865 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 2866 | src/core/ext/filters/client_channel/uri_parser.cc |
| 2867 | src/core/ext/filters/deadline/deadline_filter.cc |
| 2868 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc |
| 2869 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc |
| 2870 | src/core/ext/transport/chttp2/server/chttp2_server.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2871 | src/core/ext/census/grpc_context.cc |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2872 | third_party/nanopb/pb_common.c |
| 2873 | third_party/nanopb/pb_decode.c |
| 2874 | third_party/nanopb/pb_encode.c |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2875 | ) |
| 2876 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2877 | if(WIN32 AND MSVC) |
| 2878 | set_target_properties(grpc++_cronet PROPERTIES COMPILE_PDB_NAME "grpc++_cronet" |
| 2879 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2880 | ) |
| 2881 | if (gRPC_INSTALL) |
| 2882 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_cronet.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2883 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2884 | ) |
| 2885 | endif() |
| 2886 | endif() |
| 2887 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2888 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2889 | target_include_directories(grpc++_cronet |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2890 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2891 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2892 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 2893 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 2894 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 2895 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 2896 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 2897 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2898 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2899 | ) |
| 2900 | |
| 2901 | target_link_libraries(grpc++_cronet |
| 2902 | ${_gRPC_BASELIB_LIBRARIES} |
| 2903 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2904 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2905 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2906 | gpr |
| 2907 | grpc_cronet |
yang-g | 75ea6a2 | 2017-05-19 13:06:37 -0700 | [diff] [blame] | 2908 | grpc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2909 | ) |
| 2910 | |
| 2911 | foreach(_hdr |
| 2912 | include/grpc++/alarm.h |
| 2913 | include/grpc++/channel.h |
| 2914 | include/grpc++/client_context.h |
| 2915 | include/grpc++/completion_queue.h |
| 2916 | include/grpc++/create_channel.h |
| 2917 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 2918 | include/grpc++/ext/health_check_service_server_builder_option.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2919 | include/grpc++/generic/async_generic_service.h |
| 2920 | include/grpc++/generic/generic_stub.h |
| 2921 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 2922 | include/grpc++/health_check_service_interface.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2923 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2924 | include/grpc++/impl/channel_argument_option.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2925 | include/grpc++/impl/client_unary_call.h |
| 2926 | include/grpc++/impl/codegen/core_codegen.h |
| 2927 | include/grpc++/impl/grpc_library.h |
| 2928 | include/grpc++/impl/method_handler_impl.h |
| 2929 | include/grpc++/impl/rpc_method.h |
| 2930 | include/grpc++/impl/rpc_service_method.h |
| 2931 | include/grpc++/impl/serialization_traits.h |
| 2932 | include/grpc++/impl/server_builder_option.h |
| 2933 | include/grpc++/impl/server_builder_plugin.h |
| 2934 | include/grpc++/impl/server_initializer.h |
| 2935 | include/grpc++/impl/service_type.h |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 2936 | include/grpc++/resource_quota.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2937 | include/grpc++/security/auth_context.h |
| 2938 | include/grpc++/security/auth_metadata_processor.h |
| 2939 | include/grpc++/security/credentials.h |
| 2940 | include/grpc++/security/server_credentials.h |
| 2941 | include/grpc++/server.h |
| 2942 | include/grpc++/server_builder.h |
| 2943 | include/grpc++/server_context.h |
| 2944 | include/grpc++/server_posix.h |
| 2945 | include/grpc++/support/async_stream.h |
| 2946 | include/grpc++/support/async_unary_call.h |
| 2947 | include/grpc++/support/byte_buffer.h |
| 2948 | include/grpc++/support/channel_arguments.h |
| 2949 | include/grpc++/support/config.h |
| 2950 | include/grpc++/support/slice.h |
| 2951 | include/grpc++/support/status.h |
| 2952 | include/grpc++/support/status_code_enum.h |
| 2953 | include/grpc++/support/string_ref.h |
| 2954 | include/grpc++/support/stub_options.h |
| 2955 | include/grpc++/support/sync_stream.h |
| 2956 | include/grpc++/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2957 | include/grpc/support/alloc.h |
| 2958 | include/grpc/support/atm.h |
| 2959 | include/grpc/support/atm_gcc_atomic.h |
| 2960 | include/grpc/support/atm_gcc_sync.h |
| 2961 | include/grpc/support/atm_windows.h |
| 2962 | include/grpc/support/avl.h |
| 2963 | include/grpc/support/cmdline.h |
| 2964 | include/grpc/support/cpu.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2965 | include/grpc/support/host_port.h |
| 2966 | include/grpc/support/log.h |
| 2967 | include/grpc/support/log_windows.h |
| 2968 | include/grpc/support/port_platform.h |
| 2969 | include/grpc/support/string_util.h |
| 2970 | include/grpc/support/subprocess.h |
| 2971 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2972 | include/grpc/support/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2973 | include/grpc/support/sync_generic.h |
| 2974 | include/grpc/support/sync_posix.h |
| 2975 | include/grpc/support/sync_windows.h |
| 2976 | include/grpc/support/thd.h |
| 2977 | include/grpc/support/time.h |
| 2978 | include/grpc/support/tls.h |
| 2979 | include/grpc/support/tls_gcc.h |
| 2980 | include/grpc/support/tls_msvc.h |
| 2981 | include/grpc/support/tls_pthread.h |
| 2982 | include/grpc/support/useful.h |
| 2983 | include/grpc/impl/codegen/atm.h |
| 2984 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2985 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2986 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2987 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2988 | include/grpc/impl/codegen/gpr_slice.h |
| 2989 | include/grpc/impl/codegen/gpr_types.h |
| 2990 | include/grpc/impl/codegen/port_platform.h |
| 2991 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2992 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2993 | include/grpc/impl/codegen/sync_generic.h |
| 2994 | include/grpc/impl/codegen/sync_posix.h |
| 2995 | include/grpc/impl/codegen/sync_windows.h |
| 2996 | include/grpc/byte_buffer.h |
| 2997 | include/grpc/byte_buffer_reader.h |
| 2998 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2999 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3000 | include/grpc/grpc.h |
| 3001 | include/grpc/grpc_posix.h |
| 3002 | include/grpc/grpc_security_constants.h |
| 3003 | include/grpc/load_reporting.h |
| 3004 | include/grpc/slice.h |
| 3005 | include/grpc/slice_buffer.h |
| 3006 | include/grpc/status.h |
| 3007 | include/grpc/support/workaround_list.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3008 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3009 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3010 | include/grpc/impl/codegen/compression_types.h |
| 3011 | include/grpc/impl/codegen/connectivity_state.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3012 | include/grpc/impl/codegen/grpc_types.h |
| 3013 | include/grpc/impl/codegen/propagation_bits.h |
| 3014 | include/grpc/impl/codegen/slice.h |
| 3015 | include/grpc/impl/codegen/status.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3016 | include/grpc++/impl/codegen/async_stream.h |
| 3017 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3018 | include/grpc++/impl/codegen/byte_buffer.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3019 | include/grpc++/impl/codegen/call.h |
| 3020 | include/grpc++/impl/codegen/call_hook.h |
| 3021 | include/grpc++/impl/codegen/channel_interface.h |
| 3022 | include/grpc++/impl/codegen/client_context.h |
| 3023 | include/grpc++/impl/codegen/client_unary_call.h |
| 3024 | include/grpc++/impl/codegen/completion_queue.h |
| 3025 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3026 | include/grpc++/impl/codegen/config.h |
| 3027 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3028 | include/grpc++/impl/codegen/create_auth_context.h |
| 3029 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3030 | include/grpc++/impl/codegen/metadata_map.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3031 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3032 | include/grpc++/impl/codegen/rpc_method.h |
| 3033 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3034 | include/grpc++/impl/codegen/security/auth_context.h |
| 3035 | include/grpc++/impl/codegen/serialization_traits.h |
| 3036 | include/grpc++/impl/codegen/server_context.h |
| 3037 | include/grpc++/impl/codegen/server_interface.h |
| 3038 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3039 | include/grpc++/impl/codegen/slice.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3040 | include/grpc++/impl/codegen/status.h |
| 3041 | include/grpc++/impl/codegen/status_code_enum.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3042 | include/grpc++/impl/codegen/string_ref.h |
| 3043 | include/grpc++/impl/codegen/stub_options.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3044 | include/grpc++/impl/codegen/sync_stream.h |
| 3045 | include/grpc++/impl/codegen/time.h |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 3046 | include/grpc/census.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3047 | ) |
| 3048 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3049 | get_filename_component(_path ${_path} PATH) |
| 3050 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3051 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3052 | ) |
| 3053 | endforeach() |
| 3054 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3055 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3056 | if (gRPC_INSTALL) |
| 3057 | install(TARGETS grpc++_cronet EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3058 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3059 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3060 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3061 | ) |
| 3062 | endif() |
| 3063 | |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3064 | |
| 3065 | add_library(grpc++_error_details |
| 3066 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.cc |
| 3067 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.cc |
| 3068 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.h |
| 3069 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.h |
| 3070 | src/cpp/util/error_details.cc |
| 3071 | ) |
| 3072 | |
| 3073 | if(WIN32 AND MSVC) |
| 3074 | set_target_properties(grpc++_error_details PROPERTIES COMPILE_PDB_NAME "grpc++_error_details" |
| 3075 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3076 | ) |
| 3077 | if (gRPC_INSTALL) |
| 3078 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_error_details.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3079 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3080 | ) |
| 3081 | endif() |
| 3082 | endif() |
| 3083 | |
| 3084 | protobuf_generate_grpc_cpp( |
| 3085 | src/proto/grpc/status/status.proto |
| 3086 | ) |
| 3087 | |
| 3088 | target_include_directories(grpc++_error_details |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3089 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3090 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3091 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3092 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3093 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3094 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3095 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3096 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3097 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3098 | ) |
| 3099 | |
| 3100 | target_link_libraries(grpc++_error_details |
| 3101 | ${_gRPC_BASELIB_LIBRARIES} |
| 3102 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3103 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3104 | grpc++ |
| 3105 | ) |
| 3106 | |
| 3107 | foreach(_hdr |
| 3108 | include/grpc++/support/error_details.h |
| 3109 | ) |
| 3110 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3111 | get_filename_component(_path ${_path} PATH) |
| 3112 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3113 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3114 | ) |
| 3115 | endforeach() |
| 3116 | |
| 3117 | |
| 3118 | if (gRPC_INSTALL) |
| 3119 | install(TARGETS grpc++_error_details EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3120 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3121 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3122 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3123 | ) |
| 3124 | endif() |
| 3125 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3126 | if (gRPC_BUILD_TESTS) |
| 3127 | |
| 3128 | add_library(grpc++_proto_reflection_desc_db |
| 3129 | test/cpp/util/proto_reflection_descriptor_database.cc |
| 3130 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3131 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3132 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3133 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3134 | ) |
| 3135 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3136 | if(WIN32 AND MSVC) |
| 3137 | set_target_properties(grpc++_proto_reflection_desc_db PROPERTIES COMPILE_PDB_NAME "grpc++_proto_reflection_desc_db" |
| 3138 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3139 | ) |
| 3140 | if (gRPC_INSTALL) |
| 3141 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_proto_reflection_desc_db.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3142 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3143 | ) |
| 3144 | endif() |
| 3145 | endif() |
| 3146 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3147 | protobuf_generate_grpc_cpp( |
| 3148 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3149 | ) |
| 3150 | |
| 3151 | target_include_directories(grpc++_proto_reflection_desc_db |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3152 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3153 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3154 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3155 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3156 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3157 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3158 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3159 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3160 | PRIVATE third_party/googletest/googletest/include |
| 3161 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3162 | PRIVATE third_party/googletest/googlemock/include |
| 3163 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3164 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3165 | ) |
| 3166 | |
| 3167 | target_link_libraries(grpc++_proto_reflection_desc_db |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3168 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3169 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3170 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3171 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3172 | ) |
| 3173 | |
| 3174 | foreach(_hdr |
| 3175 | include/grpc++/impl/codegen/config_protobuf.h |
| 3176 | ) |
| 3177 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3178 | get_filename_component(_path ${_path} PATH) |
| 3179 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3180 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3181 | ) |
| 3182 | endforeach() |
| 3183 | |
| 3184 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3185 | |
| 3186 | add_library(grpc++_reflection |
| 3187 | src/cpp/ext/proto_server_reflection.cc |
| 3188 | src/cpp/ext/proto_server_reflection_plugin.cc |
| 3189 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3190 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3191 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3192 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3193 | ) |
| 3194 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3195 | if(WIN32 AND MSVC) |
| 3196 | set_target_properties(grpc++_reflection PROPERTIES COMPILE_PDB_NAME "grpc++_reflection" |
| 3197 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3198 | ) |
| 3199 | if (gRPC_INSTALL) |
| 3200 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_reflection.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3201 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3202 | ) |
| 3203 | endif() |
| 3204 | endif() |
| 3205 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3206 | protobuf_generate_grpc_cpp( |
| 3207 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3208 | ) |
| 3209 | |
| 3210 | target_include_directories(grpc++_reflection |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3211 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3212 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3213 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3214 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3215 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3216 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3217 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3218 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3219 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3220 | ) |
| 3221 | |
| 3222 | target_link_libraries(grpc++_reflection |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3223 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3224 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3225 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3226 | grpc |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3227 | ) |
| 3228 | |
| 3229 | foreach(_hdr |
| 3230 | include/grpc++/ext/proto_server_reflection_plugin.h |
| 3231 | ) |
| 3232 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3233 | get_filename_component(_path ${_path} PATH) |
| 3234 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3235 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3236 | ) |
| 3237 | endforeach() |
| 3238 | |
| 3239 | |
| 3240 | if (gRPC_INSTALL) |
| 3241 | install(TARGETS grpc++_reflection EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3242 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3243 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3244 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3245 | ) |
| 3246 | endif() |
| 3247 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3248 | if (gRPC_BUILD_TESTS) |
| 3249 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3250 | add_library(grpc++_test_config |
| 3251 | test/cpp/util/test_config_cc.cc |
| 3252 | ) |
| 3253 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3254 | if(WIN32 AND MSVC) |
| 3255 | set_target_properties(grpc++_test_config PROPERTIES COMPILE_PDB_NAME "grpc++_test_config" |
| 3256 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3257 | ) |
| 3258 | if (gRPC_INSTALL) |
| 3259 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_config.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3260 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3261 | ) |
| 3262 | endif() |
| 3263 | endif() |
| 3264 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3265 | |
| 3266 | target_include_directories(grpc++_test_config |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3267 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3268 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3269 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3270 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3271 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3272 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3273 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3274 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3275 | PRIVATE third_party/googletest/googletest/include |
| 3276 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3277 | PRIVATE third_party/googletest/googlemock/include |
| 3278 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3279 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3280 | ) |
| 3281 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3282 | target_link_libraries(grpc++_test_config |
| 3283 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3284 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3285 | ) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3286 | |
| 3287 | |
| 3288 | endif (gRPC_BUILD_TESTS) |
| 3289 | if (gRPC_BUILD_TESTS) |
| 3290 | |
| 3291 | add_library(grpc++_test_util |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 3292 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.cc |
| 3293 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.cc |
| 3294 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.h |
| 3295 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3296 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 3297 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 3298 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 3299 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 3300 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 3301 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 3302 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 3303 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3304 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_mock.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3305 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc |
| 3306 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 3307 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h |
| 3308 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h |
| 3309 | test/cpp/end2end/test_service_impl.cc |
| 3310 | test/cpp/util/byte_buffer_proto_helper.cc |
| 3311 | test/cpp/util/create_test_channel.cc |
| 3312 | test/cpp/util/string_ref_helper.cc |
| 3313 | test/cpp/util/subprocess.cc |
| 3314 | test/cpp/util/test_credentials_provider.cc |
| 3315 | src/cpp/codegen/codegen_init.cc |
| 3316 | ) |
| 3317 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3318 | if(WIN32 AND MSVC) |
| 3319 | set_target_properties(grpc++_test_util PROPERTIES COMPILE_PDB_NAME "grpc++_test_util" |
| 3320 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3321 | ) |
| 3322 | if (gRPC_INSTALL) |
| 3323 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3324 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3325 | ) |
| 3326 | endif() |
| 3327 | endif() |
| 3328 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3329 | protobuf_generate_grpc_cpp( |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 3330 | src/proto/grpc/health/v1/health.proto |
| 3331 | ) |
| 3332 | protobuf_generate_grpc_cpp( |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3333 | src/proto/grpc/testing/echo_messages.proto |
| 3334 | ) |
| 3335 | protobuf_generate_grpc_cpp( |
| 3336 | src/proto/grpc/testing/echo.proto |
| 3337 | ) |
| 3338 | protobuf_generate_grpc_cpp( |
| 3339 | src/proto/grpc/testing/duplicate/echo_duplicate.proto |
| 3340 | ) |
| 3341 | |
| 3342 | target_include_directories(grpc++_test_util |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3343 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3344 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3345 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3346 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3347 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3348 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3349 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3350 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3351 | PRIVATE third_party/googletest/googletest/include |
| 3352 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3353 | PRIVATE third_party/googletest/googlemock/include |
| 3354 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3355 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3356 | ) |
| 3357 | |
| 3358 | target_link_libraries(grpc++_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3359 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3360 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3361 | grpc++ |
| 3362 | grpc_test_util |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3363 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3364 | ) |
| 3365 | |
| 3366 | foreach(_hdr |
| 3367 | include/grpc++/impl/codegen/async_stream.h |
| 3368 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3369 | include/grpc++/impl/codegen/byte_buffer.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3370 | include/grpc++/impl/codegen/call.h |
| 3371 | include/grpc++/impl/codegen/call_hook.h |
| 3372 | include/grpc++/impl/codegen/channel_interface.h |
| 3373 | include/grpc++/impl/codegen/client_context.h |
| 3374 | include/grpc++/impl/codegen/client_unary_call.h |
| 3375 | include/grpc++/impl/codegen/completion_queue.h |
| 3376 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3377 | include/grpc++/impl/codegen/config.h |
| 3378 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3379 | include/grpc++/impl/codegen/create_auth_context.h |
| 3380 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3381 | include/grpc++/impl/codegen/metadata_map.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3382 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3383 | include/grpc++/impl/codegen/rpc_method.h |
| 3384 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3385 | include/grpc++/impl/codegen/security/auth_context.h |
| 3386 | include/grpc++/impl/codegen/serialization_traits.h |
| 3387 | include/grpc++/impl/codegen/server_context.h |
| 3388 | include/grpc++/impl/codegen/server_interface.h |
| 3389 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3390 | include/grpc++/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3391 | include/grpc++/impl/codegen/status.h |
| 3392 | include/grpc++/impl/codegen/status_code_enum.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3393 | include/grpc++/impl/codegen/string_ref.h |
| 3394 | include/grpc++/impl/codegen/stub_options.h |
| 3395 | include/grpc++/impl/codegen/sync_stream.h |
| 3396 | include/grpc++/impl/codegen/time.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3397 | include/grpc/impl/codegen/byte_buffer.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3398 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3399 | include/grpc/impl/codegen/compression_types.h |
| 3400 | include/grpc/impl/codegen/connectivity_state.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3401 | include/grpc/impl/codegen/grpc_types.h |
| 3402 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3403 | include/grpc/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3404 | include/grpc/impl/codegen/status.h |
| 3405 | include/grpc/impl/codegen/atm.h |
| 3406 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3407 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3408 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3409 | include/grpc/impl/codegen/fork.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3410 | include/grpc/impl/codegen/gpr_slice.h |
| 3411 | include/grpc/impl/codegen/gpr_types.h |
| 3412 | include/grpc/impl/codegen/port_platform.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3413 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3414 | include/grpc/impl/codegen/sync_custom.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3415 | include/grpc/impl/codegen/sync_generic.h |
| 3416 | include/grpc/impl/codegen/sync_posix.h |
| 3417 | include/grpc/impl/codegen/sync_windows.h |
| 3418 | include/grpc++/impl/codegen/proto_utils.h |
| 3419 | include/grpc++/impl/codegen/config_protobuf.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3420 | ) |
| 3421 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3422 | get_filename_component(_path ${_path} PATH) |
| 3423 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3424 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3425 | ) |
| 3426 | endforeach() |
| 3427 | |
| 3428 | endif (gRPC_BUILD_TESTS) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3429 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3430 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3431 | add_library(grpc++_test_util_unsecure |
| 3432 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.cc |
| 3433 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.cc |
| 3434 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.h |
| 3435 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.h |
| 3436 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 3437 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 3438 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 3439 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 3440 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 3441 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 3442 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 3443 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 3444 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_mock.grpc.pb.h |
| 3445 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc |
| 3446 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 3447 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h |
| 3448 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h |
| 3449 | test/cpp/end2end/test_service_impl.cc |
| 3450 | test/cpp/util/byte_buffer_proto_helper.cc |
| 3451 | test/cpp/util/string_ref_helper.cc |
| 3452 | test/cpp/util/subprocess.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3453 | src/cpp/codegen/codegen_init.cc |
| 3454 | ) |
| 3455 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3456 | if(WIN32 AND MSVC) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3457 | set_target_properties(grpc++_test_util_unsecure PROPERTIES COMPILE_PDB_NAME "grpc++_test_util_unsecure" |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3458 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3459 | ) |
| 3460 | if (gRPC_INSTALL) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3461 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_util_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3462 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3463 | ) |
| 3464 | endif() |
| 3465 | endif() |
| 3466 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3467 | protobuf_generate_grpc_cpp( |
| 3468 | src/proto/grpc/health/v1/health.proto |
| 3469 | ) |
| 3470 | protobuf_generate_grpc_cpp( |
| 3471 | src/proto/grpc/testing/echo_messages.proto |
| 3472 | ) |
| 3473 | protobuf_generate_grpc_cpp( |
| 3474 | src/proto/grpc/testing/echo.proto |
| 3475 | ) |
| 3476 | protobuf_generate_grpc_cpp( |
| 3477 | src/proto/grpc/testing/duplicate/echo_duplicate.proto |
| 3478 | ) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3479 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3480 | target_include_directories(grpc++_test_util_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3481 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3482 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3483 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3484 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3485 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3486 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3487 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3488 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3489 | PRIVATE third_party/googletest/googletest/include |
| 3490 | PRIVATE third_party/googletest/googletest |
| 3491 | PRIVATE third_party/googletest/googlemock/include |
| 3492 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3493 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3494 | ) |
| 3495 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3496 | target_link_libraries(grpc++_test_util_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3497 | ${_gRPC_PROTOBUF_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3498 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3499 | grpc++_unsecure |
| 3500 | grpc_test_util_unsecure |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3501 | grpc_unsecure |
| 3502 | ) |
| 3503 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3504 | foreach(_hdr |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3505 | include/grpc++/impl/codegen/async_stream.h |
| 3506 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3507 | include/grpc++/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3508 | include/grpc++/impl/codegen/call.h |
| 3509 | include/grpc++/impl/codegen/call_hook.h |
| 3510 | include/grpc++/impl/codegen/channel_interface.h |
| 3511 | include/grpc++/impl/codegen/client_context.h |
| 3512 | include/grpc++/impl/codegen/client_unary_call.h |
| 3513 | include/grpc++/impl/codegen/completion_queue.h |
| 3514 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3515 | include/grpc++/impl/codegen/config.h |
| 3516 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3517 | include/grpc++/impl/codegen/create_auth_context.h |
| 3518 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3519 | include/grpc++/impl/codegen/metadata_map.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3520 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3521 | include/grpc++/impl/codegen/rpc_method.h |
| 3522 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3523 | include/grpc++/impl/codegen/security/auth_context.h |
| 3524 | include/grpc++/impl/codegen/serialization_traits.h |
| 3525 | include/grpc++/impl/codegen/server_context.h |
| 3526 | include/grpc++/impl/codegen/server_interface.h |
| 3527 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3528 | include/grpc++/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3529 | include/grpc++/impl/codegen/status.h |
| 3530 | include/grpc++/impl/codegen/status_code_enum.h |
| 3531 | include/grpc++/impl/codegen/string_ref.h |
| 3532 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3533 | include/grpc++/impl/codegen/sync_stream.h |
| 3534 | include/grpc++/impl/codegen/time.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3535 | include/grpc/impl/codegen/byte_buffer.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3536 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3537 | include/grpc/impl/codegen/compression_types.h |
| 3538 | include/grpc/impl/codegen/connectivity_state.h |
| 3539 | include/grpc/impl/codegen/grpc_types.h |
| 3540 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3541 | include/grpc/impl/codegen/slice.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3542 | include/grpc/impl/codegen/status.h |
| 3543 | include/grpc/impl/codegen/atm.h |
| 3544 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3545 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3546 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3547 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 3548 | include/grpc/impl/codegen/gpr_slice.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3549 | include/grpc/impl/codegen/gpr_types.h |
| 3550 | include/grpc/impl/codegen/port_platform.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3551 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3552 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3553 | include/grpc/impl/codegen/sync_generic.h |
| 3554 | include/grpc/impl/codegen/sync_posix.h |
| 3555 | include/grpc/impl/codegen/sync_windows.h |
| 3556 | include/grpc++/impl/codegen/proto_utils.h |
| 3557 | include/grpc++/impl/codegen/config_protobuf.h |
| 3558 | ) |
| 3559 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3560 | get_filename_component(_path ${_path} PATH) |
| 3561 | install(FILES ${_hdr} |
| 3562 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
| 3563 | ) |
| 3564 | endforeach() |
| 3565 | |
| 3566 | endif (gRPC_BUILD_TESTS) |
| 3567 | |
| 3568 | add_library(grpc++_unsecure |
| 3569 | src/cpp/client/insecure_credentials.cc |
| 3570 | src/cpp/common/insecure_create_auth_context.cc |
| 3571 | src/cpp/server/insecure_server_credentials.cc |
| 3572 | src/cpp/client/channel_cc.cc |
| 3573 | src/cpp/client/client_context.cc |
| 3574 | src/cpp/client/create_channel.cc |
| 3575 | src/cpp/client/create_channel_internal.cc |
| 3576 | src/cpp/client/create_channel_posix.cc |
| 3577 | src/cpp/client/credentials_cc.cc |
| 3578 | src/cpp/client/generic_stub.cc |
Vijay Pai | 2b226ad | 2018-01-11 16:11:35 -0800 | [diff] [blame] | 3579 | src/cpp/common/alarm.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3580 | src/cpp/common/channel_arguments.cc |
| 3581 | src/cpp/common/channel_filter.cc |
| 3582 | src/cpp/common/completion_queue_cc.cc |
| 3583 | src/cpp/common/core_codegen.cc |
| 3584 | src/cpp/common/resource_quota_cc.cc |
| 3585 | src/cpp/common/rpc_method.cc |
| 3586 | src/cpp/common/version_cc.cc |
| 3587 | src/cpp/server/async_generic_service.cc |
| 3588 | src/cpp/server/channel_argument_option.cc |
| 3589 | src/cpp/server/create_default_thread_pool.cc |
| 3590 | src/cpp/server/dynamic_thread_pool.cc |
| 3591 | src/cpp/server/health/default_health_check_service.cc |
| 3592 | src/cpp/server/health/health.pb.c |
| 3593 | src/cpp/server/health/health_check_service.cc |
| 3594 | src/cpp/server/health/health_check_service_server_builder_option.cc |
| 3595 | src/cpp/server/server_builder.cc |
| 3596 | src/cpp/server/server_cc.cc |
| 3597 | src/cpp/server/server_context.cc |
| 3598 | src/cpp/server/server_credentials.cc |
| 3599 | src/cpp/server/server_posix.cc |
| 3600 | src/cpp/thread_manager/thread_manager.cc |
| 3601 | src/cpp/util/byte_buffer_cc.cc |
| 3602 | src/cpp/util/slice_cc.cc |
| 3603 | src/cpp/util/status.cc |
| 3604 | src/cpp/util/string_ref.cc |
| 3605 | src/cpp/util/time_cc.cc |
| 3606 | src/cpp/codegen/codegen_init.cc |
| 3607 | ) |
| 3608 | |
| 3609 | if(WIN32 AND MSVC) |
| 3610 | set_target_properties(grpc++_unsecure PROPERTIES COMPILE_PDB_NAME "grpc++_unsecure" |
| 3611 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3612 | ) |
| 3613 | if (gRPC_INSTALL) |
| 3614 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_unsecure.pdb |
| 3615 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
| 3616 | ) |
| 3617 | endif() |
| 3618 | endif() |
| 3619 | |
| 3620 | |
| 3621 | target_include_directories(grpc++_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3622 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3623 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3624 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3625 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3626 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3627 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3628 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3629 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3630 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3631 | ) |
| 3632 | |
| 3633 | target_link_libraries(grpc++_unsecure |
| 3634 | ${_gRPC_BASELIB_LIBRARIES} |
| 3635 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3636 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3637 | gpr |
| 3638 | grpc_unsecure |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3639 | ) |
| 3640 | |
| 3641 | foreach(_hdr |
| 3642 | include/grpc++/alarm.h |
| 3643 | include/grpc++/channel.h |
| 3644 | include/grpc++/client_context.h |
| 3645 | include/grpc++/completion_queue.h |
| 3646 | include/grpc++/create_channel.h |
| 3647 | include/grpc++/create_channel_posix.h |
| 3648 | include/grpc++/ext/health_check_service_server_builder_option.h |
| 3649 | include/grpc++/generic/async_generic_service.h |
| 3650 | include/grpc++/generic/generic_stub.h |
| 3651 | include/grpc++/grpc++.h |
| 3652 | include/grpc++/health_check_service_interface.h |
| 3653 | include/grpc++/impl/call.h |
| 3654 | include/grpc++/impl/channel_argument_option.h |
| 3655 | include/grpc++/impl/client_unary_call.h |
| 3656 | include/grpc++/impl/codegen/core_codegen.h |
| 3657 | include/grpc++/impl/grpc_library.h |
| 3658 | include/grpc++/impl/method_handler_impl.h |
| 3659 | include/grpc++/impl/rpc_method.h |
| 3660 | include/grpc++/impl/rpc_service_method.h |
| 3661 | include/grpc++/impl/serialization_traits.h |
| 3662 | include/grpc++/impl/server_builder_option.h |
| 3663 | include/grpc++/impl/server_builder_plugin.h |
| 3664 | include/grpc++/impl/server_initializer.h |
| 3665 | include/grpc++/impl/service_type.h |
| 3666 | include/grpc++/resource_quota.h |
| 3667 | include/grpc++/security/auth_context.h |
| 3668 | include/grpc++/security/auth_metadata_processor.h |
| 3669 | include/grpc++/security/credentials.h |
| 3670 | include/grpc++/security/server_credentials.h |
| 3671 | include/grpc++/server.h |
| 3672 | include/grpc++/server_builder.h |
| 3673 | include/grpc++/server_context.h |
| 3674 | include/grpc++/server_posix.h |
| 3675 | include/grpc++/support/async_stream.h |
| 3676 | include/grpc++/support/async_unary_call.h |
| 3677 | include/grpc++/support/byte_buffer.h |
| 3678 | include/grpc++/support/channel_arguments.h |
| 3679 | include/grpc++/support/config.h |
| 3680 | include/grpc++/support/slice.h |
| 3681 | include/grpc++/support/status.h |
| 3682 | include/grpc++/support/status_code_enum.h |
| 3683 | include/grpc++/support/string_ref.h |
| 3684 | include/grpc++/support/stub_options.h |
| 3685 | include/grpc++/support/sync_stream.h |
| 3686 | include/grpc++/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3687 | include/grpc/support/alloc.h |
| 3688 | include/grpc/support/atm.h |
| 3689 | include/grpc/support/atm_gcc_atomic.h |
| 3690 | include/grpc/support/atm_gcc_sync.h |
| 3691 | include/grpc/support/atm_windows.h |
| 3692 | include/grpc/support/avl.h |
| 3693 | include/grpc/support/cmdline.h |
| 3694 | include/grpc/support/cpu.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3695 | include/grpc/support/host_port.h |
| 3696 | include/grpc/support/log.h |
| 3697 | include/grpc/support/log_windows.h |
| 3698 | include/grpc/support/port_platform.h |
| 3699 | include/grpc/support/string_util.h |
| 3700 | include/grpc/support/subprocess.h |
| 3701 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3702 | include/grpc/support/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3703 | include/grpc/support/sync_generic.h |
| 3704 | include/grpc/support/sync_posix.h |
| 3705 | include/grpc/support/sync_windows.h |
| 3706 | include/grpc/support/thd.h |
| 3707 | include/grpc/support/time.h |
| 3708 | include/grpc/support/tls.h |
| 3709 | include/grpc/support/tls_gcc.h |
| 3710 | include/grpc/support/tls_msvc.h |
| 3711 | include/grpc/support/tls_pthread.h |
| 3712 | include/grpc/support/useful.h |
| 3713 | include/grpc/impl/codegen/atm.h |
| 3714 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3715 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3716 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3717 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3718 | include/grpc/impl/codegen/gpr_slice.h |
| 3719 | include/grpc/impl/codegen/gpr_types.h |
| 3720 | include/grpc/impl/codegen/port_platform.h |
| 3721 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3722 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3723 | include/grpc/impl/codegen/sync_generic.h |
| 3724 | include/grpc/impl/codegen/sync_posix.h |
| 3725 | include/grpc/impl/codegen/sync_windows.h |
| 3726 | include/grpc/byte_buffer.h |
| 3727 | include/grpc/byte_buffer_reader.h |
| 3728 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3729 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3730 | include/grpc/grpc.h |
| 3731 | include/grpc/grpc_posix.h |
| 3732 | include/grpc/grpc_security_constants.h |
| 3733 | include/grpc/load_reporting.h |
| 3734 | include/grpc/slice.h |
| 3735 | include/grpc/slice_buffer.h |
| 3736 | include/grpc/status.h |
| 3737 | include/grpc/support/workaround_list.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3738 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3739 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3740 | include/grpc/impl/codegen/compression_types.h |
| 3741 | include/grpc/impl/codegen/connectivity_state.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3742 | include/grpc/impl/codegen/grpc_types.h |
| 3743 | include/grpc/impl/codegen/propagation_bits.h |
| 3744 | include/grpc/impl/codegen/slice.h |
| 3745 | include/grpc/impl/codegen/status.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3746 | include/grpc++/impl/codegen/async_stream.h |
| 3747 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3748 | include/grpc++/impl/codegen/byte_buffer.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3749 | include/grpc++/impl/codegen/call.h |
| 3750 | include/grpc++/impl/codegen/call_hook.h |
| 3751 | include/grpc++/impl/codegen/channel_interface.h |
| 3752 | include/grpc++/impl/codegen/client_context.h |
| 3753 | include/grpc++/impl/codegen/client_unary_call.h |
| 3754 | include/grpc++/impl/codegen/completion_queue.h |
| 3755 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3756 | include/grpc++/impl/codegen/config.h |
| 3757 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3758 | include/grpc++/impl/codegen/create_auth_context.h |
| 3759 | include/grpc++/impl/codegen/grpc_library.h |
| 3760 | include/grpc++/impl/codegen/metadata_map.h |
| 3761 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3762 | include/grpc++/impl/codegen/rpc_method.h |
| 3763 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3764 | include/grpc++/impl/codegen/security/auth_context.h |
| 3765 | include/grpc++/impl/codegen/serialization_traits.h |
| 3766 | include/grpc++/impl/codegen/server_context.h |
| 3767 | include/grpc++/impl/codegen/server_interface.h |
| 3768 | include/grpc++/impl/codegen/service_type.h |
| 3769 | include/grpc++/impl/codegen/slice.h |
| 3770 | include/grpc++/impl/codegen/status.h |
| 3771 | include/grpc++/impl/codegen/status_code_enum.h |
| 3772 | include/grpc++/impl/codegen/string_ref.h |
| 3773 | include/grpc++/impl/codegen/stub_options.h |
| 3774 | include/grpc++/impl/codegen/sync_stream.h |
| 3775 | include/grpc++/impl/codegen/time.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3776 | ) |
| 3777 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3778 | get_filename_component(_path ${_path} PATH) |
| 3779 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3780 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3781 | ) |
| 3782 | endforeach() |
| 3783 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3784 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3785 | if (gRPC_INSTALL) |
| 3786 | install(TARGETS grpc++_unsecure EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3787 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3788 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3789 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3790 | ) |
| 3791 | endif() |
| 3792 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3793 | if (gRPC_BUILD_TESTS) |
| 3794 | |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3795 | add_library(grpc_benchmark |
Craig Tiller | f09ec59 | 2017-03-03 16:52:37 -0800 | [diff] [blame] | 3796 | test/cpp/microbenchmarks/helpers.cc |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3797 | ) |
| 3798 | |
| 3799 | if(WIN32 AND MSVC) |
| 3800 | set_target_properties(grpc_benchmark PROPERTIES COMPILE_PDB_NAME "grpc_benchmark" |
| 3801 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3802 | ) |
| 3803 | if (gRPC_INSTALL) |
| 3804 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_benchmark.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3805 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3806 | ) |
| 3807 | endif() |
| 3808 | endif() |
| 3809 | |
| 3810 | |
| 3811 | target_include_directories(grpc_benchmark |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3812 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3813 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3814 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3815 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3816 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3817 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3818 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3819 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3820 | PRIVATE third_party/googletest/googletest/include |
| 3821 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3822 | PRIVATE third_party/googletest/googlemock/include |
| 3823 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3824 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3825 | ) |
| 3826 | |
| 3827 | target_link_libraries(grpc_benchmark |
| 3828 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3829 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3830 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3831 | grpc++_unsecure |
| 3832 | grpc_test_util_unsecure |
| 3833 | grpc_unsecure |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3834 | ${_gRPC_GFLAGS_LIBRARIES} |
| 3835 | ) |
| 3836 | |
| 3837 | |
| 3838 | endif (gRPC_BUILD_TESTS) |
| 3839 | if (gRPC_BUILD_TESTS) |
| 3840 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3841 | add_library(grpc_cli_libs |
| 3842 | test/cpp/util/cli_call.cc |
| 3843 | test/cpp/util/cli_credentials.cc |
| 3844 | test/cpp/util/grpc_tool.cc |
| 3845 | test/cpp/util/proto_file_parser.cc |
| 3846 | test/cpp/util/service_describer.cc |
| 3847 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3848 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3849 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3850 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3851 | ) |
| 3852 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3853 | if(WIN32 AND MSVC) |
| 3854 | set_target_properties(grpc_cli_libs PROPERTIES COMPILE_PDB_NAME "grpc_cli_libs" |
| 3855 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3856 | ) |
| 3857 | if (gRPC_INSTALL) |
| 3858 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cli_libs.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3859 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3860 | ) |
| 3861 | endif() |
| 3862 | endif() |
| 3863 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3864 | protobuf_generate_grpc_cpp( |
| 3865 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3866 | ) |
| 3867 | |
| 3868 | target_include_directories(grpc_cli_libs |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3869 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3870 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3871 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3872 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3873 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3874 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3875 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3876 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3877 | PRIVATE third_party/googletest/googletest/include |
| 3878 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3879 | PRIVATE third_party/googletest/googlemock/include |
| 3880 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3881 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3882 | ) |
| 3883 | |
| 3884 | target_link_libraries(grpc_cli_libs |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3885 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3886 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3887 | grpc++_proto_reflection_desc_db |
| 3888 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3889 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3890 | ) |
| 3891 | |
| 3892 | foreach(_hdr |
| 3893 | include/grpc++/impl/codegen/config_protobuf.h |
| 3894 | ) |
| 3895 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3896 | get_filename_component(_path ${_path} PATH) |
| 3897 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3898 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3899 | ) |
| 3900 | endforeach() |
| 3901 | |
| 3902 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3903 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3904 | add_library(grpc_plugin_support |
| 3905 | src/compiler/cpp_generator.cc |
| 3906 | src/compiler/csharp_generator.cc |
| 3907 | src/compiler/node_generator.cc |
| 3908 | src/compiler/objective_c_generator.cc |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 3909 | src/compiler/php_generator.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3910 | src/compiler/python_generator.cc |
| 3911 | src/compiler/ruby_generator.cc |
| 3912 | ) |
| 3913 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3914 | if(WIN32 AND MSVC) |
| 3915 | set_target_properties(grpc_plugin_support PROPERTIES COMPILE_PDB_NAME "grpc_plugin_support" |
| 3916 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3917 | ) |
| 3918 | if (gRPC_INSTALL) |
| 3919 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_plugin_support.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3920 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3921 | ) |
| 3922 | endif() |
| 3923 | endif() |
| 3924 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3925 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3926 | target_include_directories(grpc_plugin_support |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3927 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3928 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3929 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 3930 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 3931 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 3932 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 3933 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 3934 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3935 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3936 | ) |
| 3937 | |
| 3938 | target_link_libraries(grpc_plugin_support |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3939 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3940 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3941 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3942 | ) |
| 3943 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3944 | foreach(_hdr |
| 3945 | include/grpc++/impl/codegen/config_protobuf.h |
| 3946 | ) |
| 3947 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3948 | get_filename_component(_path ${_path} PATH) |
| 3949 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3950 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3951 | ) |
| 3952 | endforeach() |
| 3953 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3954 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3955 | if (gRPC_INSTALL) |
| 3956 | install(TARGETS grpc_plugin_support EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3957 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3958 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3959 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3960 | ) |
| 3961 | endif() |
| 3962 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3963 | if (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3964 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3965 | add_library(http2_client_main |
| 3966 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 3967 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 3968 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 3969 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 3970 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 3971 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 3972 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 3973 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 3974 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 3975 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 3976 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 3977 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 3978 | test/cpp/interop/http2_client.cc |
| 3979 | ) |
| 3980 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3981 | if(WIN32 AND MSVC) |
| 3982 | set_target_properties(http2_client_main PROPERTIES COMPILE_PDB_NAME "http2_client_main" |
| 3983 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3984 | ) |
| 3985 | if (gRPC_INSTALL) |
| 3986 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/http2_client_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3987 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3988 | ) |
| 3989 | endif() |
| 3990 | endif() |
| 3991 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3992 | protobuf_generate_grpc_cpp( |
| 3993 | src/proto/grpc/testing/empty.proto |
| 3994 | ) |
| 3995 | protobuf_generate_grpc_cpp( |
| 3996 | src/proto/grpc/testing/messages.proto |
| 3997 | ) |
| 3998 | protobuf_generate_grpc_cpp( |
| 3999 | src/proto/grpc/testing/test.proto |
| 4000 | ) |
| 4001 | |
| 4002 | target_include_directories(http2_client_main |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4003 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4004 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4005 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4006 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4007 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4008 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4009 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4010 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4011 | PRIVATE third_party/googletest/googletest/include |
| 4012 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4013 | PRIVATE third_party/googletest/googlemock/include |
| 4014 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4015 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4016 | ) |
| 4017 | |
| 4018 | target_link_libraries(http2_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4019 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4020 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4021 | grpc++_test_util |
| 4022 | grpc_test_util |
| 4023 | grpc++ |
| 4024 | grpc |
| 4025 | grpc++_test_config |
| 4026 | ) |
| 4027 | |
| 4028 | |
| 4029 | endif (gRPC_BUILD_TESTS) |
| 4030 | if (gRPC_BUILD_TESTS) |
| 4031 | |
| 4032 | add_library(interop_client_helper |
| 4033 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4034 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4035 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4036 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4037 | test/cpp/interop/client_helper.cc |
| 4038 | ) |
| 4039 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4040 | if(WIN32 AND MSVC) |
| 4041 | set_target_properties(interop_client_helper PROPERTIES COMPILE_PDB_NAME "interop_client_helper" |
| 4042 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4043 | ) |
| 4044 | if (gRPC_INSTALL) |
| 4045 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_helper.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4046 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4047 | ) |
| 4048 | endif() |
| 4049 | endif() |
| 4050 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4051 | protobuf_generate_grpc_cpp( |
| 4052 | src/proto/grpc/testing/messages.proto |
| 4053 | ) |
| 4054 | |
| 4055 | target_include_directories(interop_client_helper |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4056 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4057 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4058 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4059 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4060 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4061 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4062 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4063 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4064 | PRIVATE third_party/googletest/googletest/include |
| 4065 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4066 | PRIVATE third_party/googletest/googlemock/include |
| 4067 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4068 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4069 | ) |
| 4070 | |
| 4071 | target_link_libraries(interop_client_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4072 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4073 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4074 | grpc++_test_util |
| 4075 | grpc_test_util |
| 4076 | grpc++ |
| 4077 | grpc |
| 4078 | gpr |
| 4079 | ) |
| 4080 | |
| 4081 | |
| 4082 | endif (gRPC_BUILD_TESTS) |
| 4083 | if (gRPC_BUILD_TESTS) |
| 4084 | |
| 4085 | add_library(interop_client_main |
| 4086 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 4087 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 4088 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 4089 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 4090 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4091 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4092 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4093 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4094 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 4095 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 4096 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4097 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4098 | test/cpp/interop/client.cc |
| 4099 | test/cpp/interop/interop_client.cc |
| 4100 | ) |
| 4101 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4102 | if(WIN32 AND MSVC) |
| 4103 | set_target_properties(interop_client_main PROPERTIES COMPILE_PDB_NAME "interop_client_main" |
| 4104 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4105 | ) |
| 4106 | if (gRPC_INSTALL) |
| 4107 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4108 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4109 | ) |
| 4110 | endif() |
| 4111 | endif() |
| 4112 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4113 | protobuf_generate_grpc_cpp( |
| 4114 | src/proto/grpc/testing/empty.proto |
| 4115 | ) |
| 4116 | protobuf_generate_grpc_cpp( |
| 4117 | src/proto/grpc/testing/messages.proto |
| 4118 | ) |
| 4119 | protobuf_generate_grpc_cpp( |
| 4120 | src/proto/grpc/testing/test.proto |
| 4121 | ) |
| 4122 | |
| 4123 | target_include_directories(interop_client_main |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4124 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4125 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4126 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4127 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4128 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4129 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4130 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4131 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4132 | PRIVATE third_party/googletest/googletest/include |
| 4133 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4134 | PRIVATE third_party/googletest/googlemock/include |
| 4135 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4136 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4137 | ) |
| 4138 | |
| 4139 | target_link_libraries(interop_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4140 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4141 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4142 | interop_client_helper |
| 4143 | grpc++_test_util |
| 4144 | grpc_test_util |
| 4145 | grpc++ |
| 4146 | grpc |
| 4147 | gpr_test_util |
| 4148 | gpr |
| 4149 | grpc++_test_config |
| 4150 | ) |
| 4151 | |
| 4152 | |
| 4153 | endif (gRPC_BUILD_TESTS) |
| 4154 | if (gRPC_BUILD_TESTS) |
| 4155 | |
| 4156 | add_library(interop_server_helper |
| 4157 | test/cpp/interop/server_helper.cc |
| 4158 | ) |
| 4159 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4160 | if(WIN32 AND MSVC) |
| 4161 | set_target_properties(interop_server_helper PROPERTIES COMPILE_PDB_NAME "interop_server_helper" |
| 4162 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4163 | ) |
| 4164 | if (gRPC_INSTALL) |
| 4165 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_helper.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4166 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4167 | ) |
| 4168 | endif() |
| 4169 | endif() |
| 4170 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4171 | |
| 4172 | target_include_directories(interop_server_helper |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4173 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4174 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4175 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4176 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4177 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4178 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4179 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4180 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4181 | PRIVATE third_party/googletest/googletest/include |
| 4182 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4183 | PRIVATE third_party/googletest/googlemock/include |
| 4184 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4185 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4186 | ) |
| 4187 | |
| 4188 | target_link_libraries(interop_server_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4189 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4190 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4191 | grpc++_test_util |
| 4192 | grpc_test_util |
| 4193 | grpc++ |
| 4194 | grpc |
| 4195 | gpr |
| 4196 | ) |
| 4197 | |
| 4198 | |
| 4199 | endif (gRPC_BUILD_TESTS) |
| 4200 | if (gRPC_BUILD_TESTS) |
| 4201 | |
| 4202 | add_library(interop_server_lib |
| 4203 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 4204 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 4205 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 4206 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 4207 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4208 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4209 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4210 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4211 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 4212 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 4213 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4214 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4215 | test/cpp/interop/interop_server.cc |
| 4216 | ) |
| 4217 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4218 | if(WIN32 AND MSVC) |
| 4219 | set_target_properties(interop_server_lib PROPERTIES COMPILE_PDB_NAME "interop_server_lib" |
| 4220 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4221 | ) |
| 4222 | if (gRPC_INSTALL) |
| 4223 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_lib.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4224 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4225 | ) |
| 4226 | endif() |
| 4227 | endif() |
| 4228 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4229 | protobuf_generate_grpc_cpp( |
| 4230 | src/proto/grpc/testing/empty.proto |
| 4231 | ) |
| 4232 | protobuf_generate_grpc_cpp( |
| 4233 | src/proto/grpc/testing/messages.proto |
| 4234 | ) |
| 4235 | protobuf_generate_grpc_cpp( |
| 4236 | src/proto/grpc/testing/test.proto |
| 4237 | ) |
| 4238 | |
| 4239 | target_include_directories(interop_server_lib |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4240 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4241 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4242 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4243 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4244 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4245 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4246 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4247 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4248 | PRIVATE third_party/googletest/googletest/include |
| 4249 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4250 | PRIVATE third_party/googletest/googlemock/include |
| 4251 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4252 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4253 | ) |
| 4254 | |
| 4255 | target_link_libraries(interop_server_lib |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4256 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4257 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4258 | interop_server_helper |
| 4259 | grpc++_test_util |
| 4260 | grpc_test_util |
| 4261 | grpc++ |
| 4262 | grpc |
| 4263 | gpr_test_util |
| 4264 | gpr |
| 4265 | grpc++_test_config |
| 4266 | ) |
| 4267 | |
| 4268 | |
| 4269 | endif (gRPC_BUILD_TESTS) |
| 4270 | if (gRPC_BUILD_TESTS) |
| 4271 | |
| 4272 | add_library(interop_server_main |
| 4273 | test/cpp/interop/interop_server_bootstrap.cc |
| 4274 | ) |
| 4275 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4276 | if(WIN32 AND MSVC) |
| 4277 | set_target_properties(interop_server_main PROPERTIES COMPILE_PDB_NAME "interop_server_main" |
| 4278 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4279 | ) |
| 4280 | if (gRPC_INSTALL) |
| 4281 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4282 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4283 | ) |
| 4284 | endif() |
| 4285 | endif() |
| 4286 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4287 | |
| 4288 | target_include_directories(interop_server_main |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4289 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4290 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4291 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4292 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4293 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4294 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4295 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4296 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4297 | PRIVATE third_party/googletest/googletest/include |
| 4298 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4299 | PRIVATE third_party/googletest/googlemock/include |
| 4300 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4301 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4302 | ) |
| 4303 | |
| 4304 | target_link_libraries(interop_server_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4305 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4306 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4307 | interop_server_lib |
| 4308 | ) |
| 4309 | |
| 4310 | |
| 4311 | endif (gRPC_BUILD_TESTS) |
| 4312 | if (gRPC_BUILD_TESTS) |
| 4313 | |
| 4314 | add_library(qps |
| 4315 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4316 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4317 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4318 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4319 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 4320 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 4321 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 4322 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 4323 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 4324 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 4325 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 4326 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
| 4327 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 4328 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 4329 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 4330 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 4331 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 4332 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 4333 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 4334 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
Nicolas "Pixel" Noble | b02dd01 | 2017-03-24 18:45:22 +0100 | [diff] [blame] | 4335 | test/cpp/qps/benchmark_config.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4336 | test/cpp/qps/client_async.cc |
| 4337 | test/cpp/qps/client_sync.cc |
| 4338 | test/cpp/qps/driver.cc |
| 4339 | test/cpp/qps/parse_json.cc |
| 4340 | test/cpp/qps/qps_worker.cc |
| 4341 | test/cpp/qps/report.cc |
| 4342 | test/cpp/qps/server_async.cc |
| 4343 | test/cpp/qps/server_sync.cc |
| 4344 | test/cpp/qps/usage_timer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4345 | ) |
| 4346 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4347 | if(WIN32 AND MSVC) |
| 4348 | set_target_properties(qps PROPERTIES COMPILE_PDB_NAME "qps" |
| 4349 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4350 | ) |
| 4351 | if (gRPC_INSTALL) |
| 4352 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qps.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4353 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4354 | ) |
| 4355 | endif() |
| 4356 | endif() |
| 4357 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4358 | protobuf_generate_grpc_cpp( |
| 4359 | src/proto/grpc/testing/messages.proto |
| 4360 | ) |
| 4361 | protobuf_generate_grpc_cpp( |
| 4362 | src/proto/grpc/testing/payloads.proto |
| 4363 | ) |
| 4364 | protobuf_generate_grpc_cpp( |
| 4365 | src/proto/grpc/testing/stats.proto |
| 4366 | ) |
| 4367 | protobuf_generate_grpc_cpp( |
| 4368 | src/proto/grpc/testing/control.proto |
| 4369 | ) |
| 4370 | protobuf_generate_grpc_cpp( |
| 4371 | src/proto/grpc/testing/services.proto |
| 4372 | ) |
| 4373 | |
| 4374 | target_include_directories(qps |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4375 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4376 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4377 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4378 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4379 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4380 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4381 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4382 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4383 | PRIVATE third_party/googletest/googletest/include |
| 4384 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4385 | PRIVATE third_party/googletest/googlemock/include |
| 4386 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4387 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4388 | ) |
| 4389 | |
| 4390 | target_link_libraries(qps |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4391 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4392 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4393 | grpc_test_util |
| 4394 | grpc++_test_util |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 4395 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4396 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 4397 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4398 | ) |
| 4399 | |
| 4400 | |
| 4401 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4402 | |
Jan Tattermusch | c09656c | 2017-01-27 13:36:24 +0100 | [diff] [blame] | 4403 | add_library(grpc_csharp_ext SHARED |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4404 | src/csharp/ext/grpc_csharp_ext.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4405 | ) |
| 4406 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4407 | if(WIN32 AND MSVC) |
| 4408 | set_target_properties(grpc_csharp_ext PROPERTIES COMPILE_PDB_NAME "grpc_csharp_ext" |
| 4409 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4410 | ) |
| 4411 | if (gRPC_INSTALL) |
| 4412 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_csharp_ext.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4413 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4414 | ) |
| 4415 | endif() |
| 4416 | endif() |
| 4417 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4418 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4419 | target_include_directories(grpc_csharp_ext |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4420 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4421 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4422 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4423 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4424 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4425 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4426 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4427 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4428 | ) |
| 4429 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4430 | target_link_libraries(grpc_csharp_ext |
| 4431 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4432 | grpc |
| 4433 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4434 | ) |
| 4435 | |
| 4436 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4437 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4438 | if (gRPC_INSTALL) |
| 4439 | install(TARGETS grpc_csharp_ext EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4440 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 4441 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 4442 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4443 | ) |
| 4444 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4445 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4446 | if (gRPC_BUILD_TESTS) |
| 4447 | |
| 4448 | add_library(bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4449 | test/core/bad_client/bad_client.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4450 | ) |
| 4451 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4452 | if(WIN32 AND MSVC) |
| 4453 | set_target_properties(bad_client_test PROPERTIES COMPILE_PDB_NAME "bad_client_test" |
| 4454 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4455 | ) |
| 4456 | if (gRPC_INSTALL) |
| 4457 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_client_test.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4458 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4459 | ) |
| 4460 | endif() |
| 4461 | endif() |
| 4462 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4463 | |
| 4464 | target_include_directories(bad_client_test |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4465 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4466 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4467 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4468 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4469 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4470 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4471 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4472 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4473 | ) |
| 4474 | |
| 4475 | target_link_libraries(bad_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4476 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4477 | grpc_test_util_unsecure |
| 4478 | grpc_unsecure |
| 4479 | gpr_test_util |
| 4480 | gpr |
| 4481 | ) |
| 4482 | |
| 4483 | |
| 4484 | endif (gRPC_BUILD_TESTS) |
| 4485 | if (gRPC_BUILD_TESTS) |
| 4486 | |
| 4487 | add_library(bad_ssl_test_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4488 | test/core/bad_ssl/server_common.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4489 | ) |
| 4490 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4491 | if(WIN32 AND MSVC) |
| 4492 | set_target_properties(bad_ssl_test_server PROPERTIES COMPILE_PDB_NAME "bad_ssl_test_server" |
| 4493 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4494 | ) |
| 4495 | if (gRPC_INSTALL) |
| 4496 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_ssl_test_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4497 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4498 | ) |
| 4499 | endif() |
| 4500 | endif() |
| 4501 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4502 | |
| 4503 | target_include_directories(bad_ssl_test_server |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4504 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4505 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4506 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4507 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4508 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4509 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4510 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4511 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4512 | ) |
| 4513 | |
| 4514 | target_link_libraries(bad_ssl_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4515 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4516 | grpc_test_util |
| 4517 | grpc |
| 4518 | gpr_test_util |
| 4519 | gpr |
| 4520 | ) |
| 4521 | |
| 4522 | |
| 4523 | endif (gRPC_BUILD_TESTS) |
| 4524 | if (gRPC_BUILD_TESTS) |
| 4525 | |
| 4526 | add_library(end2end_tests |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4527 | test/core/end2end/end2end_tests.cc |
| 4528 | test/core/end2end/end2end_test_utils.cc |
| 4529 | test/core/end2end/tests/authority_not_supported.cc |
| 4530 | test/core/end2end/tests/bad_hostname.cc |
| 4531 | test/core/end2end/tests/bad_ping.cc |
| 4532 | test/core/end2end/tests/binary_metadata.cc |
| 4533 | test/core/end2end/tests/call_creds.cc |
| 4534 | test/core/end2end/tests/cancel_after_accept.cc |
| 4535 | test/core/end2end/tests/cancel_after_client_done.cc |
| 4536 | test/core/end2end/tests/cancel_after_invoke.cc |
| 4537 | test/core/end2end/tests/cancel_after_round_trip.cc |
| 4538 | test/core/end2end/tests/cancel_before_invoke.cc |
| 4539 | test/core/end2end/tests/cancel_in_a_vacuum.cc |
| 4540 | test/core/end2end/tests/cancel_with_status.cc |
| 4541 | test/core/end2end/tests/compressed_payload.cc |
| 4542 | test/core/end2end/tests/connectivity.cc |
| 4543 | test/core/end2end/tests/default_host.cc |
| 4544 | test/core/end2end/tests/disappearing_server.cc |
| 4545 | test/core/end2end/tests/empty_batch.cc |
| 4546 | test/core/end2end/tests/filter_call_init_fails.cc |
| 4547 | test/core/end2end/tests/filter_causes_close.cc |
| 4548 | test/core/end2end/tests/filter_latency.cc |
Ken Payson | b353297 | 2018-01-11 20:25:30 -0800 | [diff] [blame] | 4549 | test/core/end2end/tests/filter_status_code.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4550 | test/core/end2end/tests/graceful_server_shutdown.cc |
| 4551 | test/core/end2end/tests/high_initial_seqno.cc |
| 4552 | test/core/end2end/tests/hpack_size.cc |
| 4553 | test/core/end2end/tests/idempotent_request.cc |
| 4554 | test/core/end2end/tests/invoke_large_request.cc |
| 4555 | test/core/end2end/tests/keepalive_timeout.cc |
| 4556 | test/core/end2end/tests/large_metadata.cc |
| 4557 | test/core/end2end/tests/load_reporting_hook.cc |
| 4558 | test/core/end2end/tests/max_concurrent_streams.cc |
| 4559 | test/core/end2end/tests/max_connection_age.cc |
| 4560 | test/core/end2end/tests/max_connection_idle.cc |
| 4561 | test/core/end2end/tests/max_message_length.cc |
| 4562 | test/core/end2end/tests/negative_deadline.cc |
| 4563 | test/core/end2end/tests/network_status_change.cc |
| 4564 | test/core/end2end/tests/no_logging.cc |
| 4565 | test/core/end2end/tests/no_op.cc |
| 4566 | test/core/end2end/tests/payload.cc |
| 4567 | test/core/end2end/tests/ping.cc |
| 4568 | test/core/end2end/tests/ping_pong_streaming.cc |
| 4569 | test/core/end2end/tests/proxy_auth.cc |
| 4570 | test/core/end2end/tests/registered_call.cc |
| 4571 | test/core/end2end/tests/request_with_flags.cc |
| 4572 | test/core/end2end/tests/request_with_payload.cc |
| 4573 | test/core/end2end/tests/resource_quota_server.cc |
| 4574 | test/core/end2end/tests/server_finishes_request.cc |
| 4575 | test/core/end2end/tests/shutdown_finishes_calls.cc |
| 4576 | test/core/end2end/tests/shutdown_finishes_tags.cc |
| 4577 | test/core/end2end/tests/simple_cacheable_request.cc |
| 4578 | test/core/end2end/tests/simple_delayed_request.cc |
| 4579 | test/core/end2end/tests/simple_metadata.cc |
| 4580 | test/core/end2end/tests/simple_request.cc |
| 4581 | test/core/end2end/tests/stream_compression_compressed_payload.cc |
| 4582 | test/core/end2end/tests/stream_compression_payload.cc |
| 4583 | test/core/end2end/tests/stream_compression_ping_pong_streaming.cc |
| 4584 | test/core/end2end/tests/streaming_error_response.cc |
| 4585 | test/core/end2end/tests/trailing_metadata.cc |
| 4586 | test/core/end2end/tests/workaround_cronet_compression.cc |
| 4587 | test/core/end2end/tests/write_buffering.cc |
| 4588 | test/core/end2end/tests/write_buffering_at_end.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4589 | ) |
| 4590 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4591 | if(WIN32 AND MSVC) |
| 4592 | set_target_properties(end2end_tests PROPERTIES COMPILE_PDB_NAME "end2end_tests" |
| 4593 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4594 | ) |
| 4595 | if (gRPC_INSTALL) |
| 4596 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_tests.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4597 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4598 | ) |
| 4599 | endif() |
| 4600 | endif() |
| 4601 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4602 | |
| 4603 | target_include_directories(end2end_tests |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4604 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4605 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4606 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4607 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4608 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4609 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4610 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4611 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4612 | ) |
| 4613 | |
| 4614 | target_link_libraries(end2end_tests |
| 4615 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4616 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4617 | grpc_test_util |
| 4618 | grpc |
| 4619 | gpr_test_util |
| 4620 | gpr |
| 4621 | ) |
| 4622 | |
| 4623 | |
| 4624 | endif (gRPC_BUILD_TESTS) |
| 4625 | if (gRPC_BUILD_TESTS) |
| 4626 | |
| 4627 | add_library(end2end_nosec_tests |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4628 | test/core/end2end/end2end_nosec_tests.cc |
| 4629 | test/core/end2end/end2end_test_utils.cc |
| 4630 | test/core/end2end/tests/authority_not_supported.cc |
| 4631 | test/core/end2end/tests/bad_hostname.cc |
| 4632 | test/core/end2end/tests/bad_ping.cc |
| 4633 | test/core/end2end/tests/binary_metadata.cc |
| 4634 | test/core/end2end/tests/cancel_after_accept.cc |
| 4635 | test/core/end2end/tests/cancel_after_client_done.cc |
| 4636 | test/core/end2end/tests/cancel_after_invoke.cc |
| 4637 | test/core/end2end/tests/cancel_after_round_trip.cc |
| 4638 | test/core/end2end/tests/cancel_before_invoke.cc |
| 4639 | test/core/end2end/tests/cancel_in_a_vacuum.cc |
| 4640 | test/core/end2end/tests/cancel_with_status.cc |
| 4641 | test/core/end2end/tests/compressed_payload.cc |
| 4642 | test/core/end2end/tests/connectivity.cc |
| 4643 | test/core/end2end/tests/default_host.cc |
| 4644 | test/core/end2end/tests/disappearing_server.cc |
| 4645 | test/core/end2end/tests/empty_batch.cc |
| 4646 | test/core/end2end/tests/filter_call_init_fails.cc |
| 4647 | test/core/end2end/tests/filter_causes_close.cc |
| 4648 | test/core/end2end/tests/filter_latency.cc |
Ken Payson | b353297 | 2018-01-11 20:25:30 -0800 | [diff] [blame] | 4649 | test/core/end2end/tests/filter_status_code.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4650 | test/core/end2end/tests/graceful_server_shutdown.cc |
| 4651 | test/core/end2end/tests/high_initial_seqno.cc |
| 4652 | test/core/end2end/tests/hpack_size.cc |
| 4653 | test/core/end2end/tests/idempotent_request.cc |
| 4654 | test/core/end2end/tests/invoke_large_request.cc |
| 4655 | test/core/end2end/tests/keepalive_timeout.cc |
| 4656 | test/core/end2end/tests/large_metadata.cc |
| 4657 | test/core/end2end/tests/load_reporting_hook.cc |
| 4658 | test/core/end2end/tests/max_concurrent_streams.cc |
| 4659 | test/core/end2end/tests/max_connection_age.cc |
| 4660 | test/core/end2end/tests/max_connection_idle.cc |
| 4661 | test/core/end2end/tests/max_message_length.cc |
| 4662 | test/core/end2end/tests/negative_deadline.cc |
| 4663 | test/core/end2end/tests/network_status_change.cc |
| 4664 | test/core/end2end/tests/no_logging.cc |
| 4665 | test/core/end2end/tests/no_op.cc |
| 4666 | test/core/end2end/tests/payload.cc |
| 4667 | test/core/end2end/tests/ping.cc |
| 4668 | test/core/end2end/tests/ping_pong_streaming.cc |
| 4669 | test/core/end2end/tests/proxy_auth.cc |
| 4670 | test/core/end2end/tests/registered_call.cc |
| 4671 | test/core/end2end/tests/request_with_flags.cc |
| 4672 | test/core/end2end/tests/request_with_payload.cc |
| 4673 | test/core/end2end/tests/resource_quota_server.cc |
| 4674 | test/core/end2end/tests/server_finishes_request.cc |
| 4675 | test/core/end2end/tests/shutdown_finishes_calls.cc |
| 4676 | test/core/end2end/tests/shutdown_finishes_tags.cc |
| 4677 | test/core/end2end/tests/simple_cacheable_request.cc |
| 4678 | test/core/end2end/tests/simple_delayed_request.cc |
| 4679 | test/core/end2end/tests/simple_metadata.cc |
| 4680 | test/core/end2end/tests/simple_request.cc |
| 4681 | test/core/end2end/tests/stream_compression_compressed_payload.cc |
| 4682 | test/core/end2end/tests/stream_compression_payload.cc |
| 4683 | test/core/end2end/tests/stream_compression_ping_pong_streaming.cc |
| 4684 | test/core/end2end/tests/streaming_error_response.cc |
| 4685 | test/core/end2end/tests/trailing_metadata.cc |
| 4686 | test/core/end2end/tests/workaround_cronet_compression.cc |
| 4687 | test/core/end2end/tests/write_buffering.cc |
| 4688 | test/core/end2end/tests/write_buffering_at_end.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4689 | ) |
| 4690 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4691 | if(WIN32 AND MSVC) |
| 4692 | set_target_properties(end2end_nosec_tests PROPERTIES COMPILE_PDB_NAME "end2end_nosec_tests" |
| 4693 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4694 | ) |
| 4695 | if (gRPC_INSTALL) |
| 4696 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_nosec_tests.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4697 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4698 | ) |
| 4699 | endif() |
| 4700 | endif() |
| 4701 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4702 | |
| 4703 | target_include_directories(end2end_nosec_tests |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4704 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4705 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4706 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4707 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4708 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4709 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4710 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4711 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4712 | ) |
| 4713 | |
| 4714 | target_link_libraries(end2end_nosec_tests |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4715 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4716 | grpc_test_util_unsecure |
| 4717 | grpc_unsecure |
| 4718 | gpr_test_util |
| 4719 | gpr |
| 4720 | ) |
| 4721 | |
| 4722 | |
| 4723 | endif (gRPC_BUILD_TESTS) |
| 4724 | |
| 4725 | if (gRPC_BUILD_TESTS) |
| 4726 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4727 | add_executable(algorithm_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4728 | test/core/compression/algorithm_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4729 | ) |
| 4730 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4731 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4732 | target_include_directories(algorithm_test |
| 4733 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4734 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4735 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4736 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4737 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4738 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4739 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4740 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4741 | ) |
| 4742 | |
| 4743 | target_link_libraries(algorithm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4744 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4745 | grpc_test_util |
| 4746 | grpc |
| 4747 | gpr_test_util |
| 4748 | gpr |
| 4749 | ) |
| 4750 | |
| 4751 | endif (gRPC_BUILD_TESTS) |
| 4752 | if (gRPC_BUILD_TESTS) |
| 4753 | |
| 4754 | add_executable(alloc_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 4755 | test/core/gpr/alloc_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4756 | ) |
| 4757 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4758 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4759 | target_include_directories(alloc_test |
| 4760 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4761 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4762 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4763 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4764 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4765 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4766 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4767 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4768 | ) |
| 4769 | |
| 4770 | target_link_libraries(alloc_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4771 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4772 | gpr_test_util |
| 4773 | gpr |
| 4774 | ) |
| 4775 | |
| 4776 | endif (gRPC_BUILD_TESTS) |
| 4777 | if (gRPC_BUILD_TESTS) |
| 4778 | |
| 4779 | add_executable(alpn_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4780 | test/core/transport/chttp2/alpn_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4781 | ) |
| 4782 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4783 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4784 | target_include_directories(alpn_test |
| 4785 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4786 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4787 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4788 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4789 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4790 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4791 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4792 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4793 | ) |
| 4794 | |
| 4795 | target_link_libraries(alpn_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4796 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4797 | grpc_test_util |
| 4798 | grpc |
| 4799 | gpr_test_util |
| 4800 | gpr |
| 4801 | ) |
| 4802 | |
| 4803 | endif (gRPC_BUILD_TESTS) |
| 4804 | if (gRPC_BUILD_TESTS) |
| 4805 | |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 4806 | add_executable(arena_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 4807 | test/core/gpr/arena_test.cc |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 4808 | ) |
| 4809 | |
| 4810 | |
| 4811 | target_include_directories(arena_test |
| 4812 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4813 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4814 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4815 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4816 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4817 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4818 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4819 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 4820 | ) |
| 4821 | |
| 4822 | target_link_libraries(arena_test |
| 4823 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4824 | gpr_test_util |
| 4825 | gpr |
| 4826 | ) |
| 4827 | |
| 4828 | endif (gRPC_BUILD_TESTS) |
| 4829 | if (gRPC_BUILD_TESTS) |
| 4830 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4831 | add_executable(bad_server_response_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4832 | test/core/end2end/bad_server_response_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4833 | ) |
| 4834 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4835 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4836 | target_include_directories(bad_server_response_test |
| 4837 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4838 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4839 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4840 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4841 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4842 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4843 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4844 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4845 | ) |
| 4846 | |
| 4847 | target_link_libraries(bad_server_response_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4848 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4849 | test_tcp_server |
| 4850 | grpc_test_util |
| 4851 | grpc |
| 4852 | gpr_test_util |
| 4853 | gpr |
| 4854 | ) |
| 4855 | |
| 4856 | endif (gRPC_BUILD_TESTS) |
| 4857 | if (gRPC_BUILD_TESTS) |
| 4858 | |
| 4859 | add_executable(bin_decoder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4860 | test/core/transport/chttp2/bin_decoder_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4861 | ) |
| 4862 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4863 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4864 | target_include_directories(bin_decoder_test |
| 4865 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4866 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4867 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4868 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4869 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4870 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4871 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4872 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4873 | ) |
| 4874 | |
| 4875 | target_link_libraries(bin_decoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4876 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4877 | grpc_test_util |
| 4878 | grpc |
| 4879 | ) |
| 4880 | |
| 4881 | endif (gRPC_BUILD_TESTS) |
| 4882 | if (gRPC_BUILD_TESTS) |
| 4883 | |
| 4884 | add_executable(bin_encoder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4885 | test/core/transport/chttp2/bin_encoder_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4886 | ) |
| 4887 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4888 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4889 | target_include_directories(bin_encoder_test |
| 4890 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4891 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4892 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4893 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4894 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4895 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4896 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4897 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4898 | ) |
| 4899 | |
| 4900 | target_link_libraries(bin_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4901 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4902 | grpc_test_util |
| 4903 | grpc |
| 4904 | ) |
| 4905 | |
| 4906 | endif (gRPC_BUILD_TESTS) |
| 4907 | if (gRPC_BUILD_TESTS) |
| 4908 | |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 4909 | add_executable(byte_stream_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4910 | test/core/transport/byte_stream_test.cc |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 4911 | ) |
| 4912 | |
| 4913 | |
| 4914 | target_include_directories(byte_stream_test |
| 4915 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4916 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4917 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4918 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4919 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4920 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4921 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4922 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 4923 | ) |
| 4924 | |
| 4925 | target_link_libraries(byte_stream_test |
| 4926 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4927 | grpc_test_util |
| 4928 | grpc |
| 4929 | gpr_test_util |
| 4930 | gpr |
| 4931 | ) |
| 4932 | |
| 4933 | endif (gRPC_BUILD_TESTS) |
| 4934 | if (gRPC_BUILD_TESTS) |
| 4935 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4936 | add_executable(channel_create_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4937 | test/core/surface/channel_create_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4938 | ) |
| 4939 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4940 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4941 | target_include_directories(channel_create_test |
| 4942 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4943 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4944 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4945 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4946 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4947 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4948 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4949 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4950 | ) |
| 4951 | |
| 4952 | target_link_libraries(channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4953 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4954 | grpc_test_util |
| 4955 | grpc |
| 4956 | gpr_test_util |
| 4957 | gpr |
| 4958 | ) |
| 4959 | |
| 4960 | endif (gRPC_BUILD_TESTS) |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 4961 | |
| 4962 | add_executable(check_epollexclusive |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 4963 | test/build/check_epollexclusive.c |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 4964 | ) |
| 4965 | |
| 4966 | |
| 4967 | target_include_directories(check_epollexclusive |
| 4968 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4969 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4970 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 4971 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 4972 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 4973 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 4974 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 4975 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 4976 | ) |
| 4977 | |
| 4978 | target_link_libraries(check_epollexclusive |
| 4979 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4980 | grpc |
| 4981 | gpr |
| 4982 | ) |
| 4983 | |
| 4984 | |
| 4985 | if (gRPC_INSTALL) |
| 4986 | install(TARGETS check_epollexclusive EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4987 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 4988 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 4989 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 4990 | ) |
| 4991 | endif() |
| 4992 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4993 | if (gRPC_BUILD_TESTS) |
| 4994 | |
| 4995 | add_executable(chttp2_hpack_encoder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4996 | test/core/transport/chttp2/hpack_encoder_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4997 | ) |
| 4998 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4999 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5000 | target_include_directories(chttp2_hpack_encoder_test |
| 5001 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5002 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5003 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5004 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5005 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5006 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5007 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5008 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5009 | ) |
| 5010 | |
| 5011 | target_link_libraries(chttp2_hpack_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5012 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5013 | grpc_test_util |
| 5014 | grpc |
| 5015 | gpr_test_util |
| 5016 | gpr |
| 5017 | ) |
| 5018 | |
| 5019 | endif (gRPC_BUILD_TESTS) |
| 5020 | if (gRPC_BUILD_TESTS) |
| 5021 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5022 | add_executable(chttp2_stream_map_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5023 | test/core/transport/chttp2/stream_map_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5024 | ) |
| 5025 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5026 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5027 | target_include_directories(chttp2_stream_map_test |
| 5028 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5029 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5030 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5031 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5032 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5033 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5034 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5035 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5036 | ) |
| 5037 | |
| 5038 | target_link_libraries(chttp2_stream_map_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5039 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5040 | grpc_test_util |
| 5041 | grpc |
| 5042 | gpr_test_util |
| 5043 | gpr |
| 5044 | ) |
| 5045 | |
| 5046 | endif (gRPC_BUILD_TESTS) |
| 5047 | if (gRPC_BUILD_TESTS) |
| 5048 | |
| 5049 | add_executable(chttp2_varint_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5050 | test/core/transport/chttp2/varint_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5051 | ) |
| 5052 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5053 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5054 | target_include_directories(chttp2_varint_test |
| 5055 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5056 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5057 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5058 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5059 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5060 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5061 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5062 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5063 | ) |
| 5064 | |
| 5065 | target_link_libraries(chttp2_varint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5066 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5067 | grpc_test_util |
| 5068 | grpc |
| 5069 | gpr_test_util |
| 5070 | gpr |
| 5071 | ) |
| 5072 | |
| 5073 | endif (gRPC_BUILD_TESTS) |
| 5074 | if (gRPC_BUILD_TESTS) |
| 5075 | |
| 5076 | add_executable(combiner_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5077 | test/core/iomgr/combiner_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5078 | ) |
| 5079 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5080 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5081 | target_include_directories(combiner_test |
| 5082 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5083 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5084 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5085 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5086 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5087 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5088 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5089 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5090 | ) |
| 5091 | |
| 5092 | target_link_libraries(combiner_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5093 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5094 | grpc_test_util |
| 5095 | grpc |
| 5096 | gpr_test_util |
| 5097 | gpr |
| 5098 | ) |
| 5099 | |
| 5100 | endif (gRPC_BUILD_TESTS) |
| 5101 | if (gRPC_BUILD_TESTS) |
| 5102 | |
| 5103 | add_executable(compression_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5104 | test/core/compression/compression_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5105 | ) |
| 5106 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5107 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5108 | target_include_directories(compression_test |
| 5109 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5110 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5111 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5112 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5113 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5114 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5115 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5116 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5117 | ) |
| 5118 | |
| 5119 | target_link_libraries(compression_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5120 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5121 | grpc_test_util |
| 5122 | grpc |
| 5123 | gpr_test_util |
| 5124 | gpr |
| 5125 | ) |
| 5126 | |
| 5127 | endif (gRPC_BUILD_TESTS) |
| 5128 | if (gRPC_BUILD_TESTS) |
| 5129 | |
| 5130 | add_executable(concurrent_connectivity_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5131 | test/core/surface/concurrent_connectivity_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5132 | ) |
| 5133 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5134 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5135 | target_include_directories(concurrent_connectivity_test |
| 5136 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5137 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5138 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5139 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5140 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5141 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5142 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5143 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5144 | ) |
| 5145 | |
| 5146 | target_link_libraries(concurrent_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5147 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5148 | grpc_test_util |
| 5149 | grpc |
| 5150 | gpr_test_util |
| 5151 | gpr |
| 5152 | ) |
| 5153 | |
| 5154 | endif (gRPC_BUILD_TESTS) |
| 5155 | if (gRPC_BUILD_TESTS) |
| 5156 | |
| 5157 | add_executable(connection_refused_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5158 | test/core/end2end/connection_refused_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5159 | ) |
| 5160 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5161 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5162 | target_include_directories(connection_refused_test |
| 5163 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5164 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5165 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5166 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5167 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5168 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5169 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5170 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5171 | ) |
| 5172 | |
| 5173 | target_link_libraries(connection_refused_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5174 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5175 | grpc_test_util |
| 5176 | grpc |
| 5177 | gpr_test_util |
| 5178 | gpr |
| 5179 | ) |
| 5180 | |
| 5181 | endif (gRPC_BUILD_TESTS) |
| 5182 | if (gRPC_BUILD_TESTS) |
| 5183 | |
| 5184 | add_executable(dns_resolver_connectivity_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5185 | test/core/client_channel/resolvers/dns_resolver_connectivity_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5186 | ) |
| 5187 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5188 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5189 | target_include_directories(dns_resolver_connectivity_test |
| 5190 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5191 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5192 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5193 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5194 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5195 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5196 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5197 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5198 | ) |
| 5199 | |
| 5200 | target_link_libraries(dns_resolver_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5201 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5202 | grpc_test_util |
| 5203 | grpc |
| 5204 | gpr_test_util |
| 5205 | gpr |
| 5206 | ) |
| 5207 | |
| 5208 | endif (gRPC_BUILD_TESTS) |
| 5209 | if (gRPC_BUILD_TESTS) |
| 5210 | |
David Garcia Quintas | 956fe5e | 2018-01-30 15:47:20 -0800 | [diff] [blame] | 5211 | add_executable(dns_resolver_cooldown_test |
| 5212 | test/core/client_channel/resolvers/dns_resolver_cooldown_test.cc |
| 5213 | ) |
| 5214 | |
| 5215 | |
| 5216 | target_include_directories(dns_resolver_cooldown_test |
| 5217 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5218 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5219 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 5220 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5221 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5222 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5223 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5224 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
| 5225 | ) |
| 5226 | |
| 5227 | target_link_libraries(dns_resolver_cooldown_test |
| 5228 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5229 | grpc_test_util |
| 5230 | grpc |
| 5231 | gpr_test_util |
| 5232 | gpr |
| 5233 | ) |
| 5234 | |
| 5235 | endif (gRPC_BUILD_TESTS) |
| 5236 | if (gRPC_BUILD_TESTS) |
| 5237 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5238 | add_executable(dns_resolver_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5239 | test/core/client_channel/resolvers/dns_resolver_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5240 | ) |
| 5241 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5242 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5243 | target_include_directories(dns_resolver_test |
| 5244 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5245 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5246 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5247 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5248 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5249 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5250 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5251 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5252 | ) |
| 5253 | |
| 5254 | target_link_libraries(dns_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5255 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5256 | grpc_test_util |
| 5257 | grpc |
| 5258 | gpr_test_util |
| 5259 | gpr |
| 5260 | ) |
| 5261 | |
| 5262 | endif (gRPC_BUILD_TESTS) |
| 5263 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5264 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5265 | |
| 5266 | add_executable(dualstack_socket_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5267 | test/core/end2end/dualstack_socket_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5268 | ) |
| 5269 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5270 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5271 | target_include_directories(dualstack_socket_test |
| 5272 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5273 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5274 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5275 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5276 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5277 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5278 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5279 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5280 | ) |
| 5281 | |
| 5282 | target_link_libraries(dualstack_socket_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5283 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5284 | grpc_test_util |
| 5285 | grpc |
| 5286 | gpr_test_util |
| 5287 | gpr |
| 5288 | ) |
| 5289 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5290 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5291 | endif (gRPC_BUILD_TESTS) |
| 5292 | if (gRPC_BUILD_TESTS) |
| 5293 | |
| 5294 | add_executable(endpoint_pair_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5295 | test/core/iomgr/endpoint_pair_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5296 | ) |
| 5297 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5298 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5299 | target_include_directories(endpoint_pair_test |
| 5300 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5301 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5302 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5303 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5304 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5305 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5306 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5307 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5308 | ) |
| 5309 | |
| 5310 | target_link_libraries(endpoint_pair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5311 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5312 | grpc_test_util |
| 5313 | grpc |
| 5314 | gpr_test_util |
| 5315 | gpr |
| 5316 | ) |
| 5317 | |
| 5318 | endif (gRPC_BUILD_TESTS) |
| 5319 | if (gRPC_BUILD_TESTS) |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5320 | |
| 5321 | add_executable(error_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5322 | test/core/iomgr/error_test.cc |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5323 | ) |
| 5324 | |
| 5325 | |
| 5326 | target_include_directories(error_test |
| 5327 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5328 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5329 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5330 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5331 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5332 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5333 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5334 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5335 | ) |
| 5336 | |
| 5337 | target_link_libraries(error_test |
| 5338 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5339 | grpc_test_util |
| 5340 | grpc |
| 5341 | gpr_test_util |
| 5342 | gpr |
| 5343 | ) |
| 5344 | |
| 5345 | endif (gRPC_BUILD_TESTS) |
| 5346 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5347 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5348 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5349 | add_executable(ev_epollsig_linux_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5350 | test/core/iomgr/ev_epollsig_linux_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5351 | ) |
| 5352 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5353 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5354 | target_include_directories(ev_epollsig_linux_test |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5355 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5356 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5357 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5358 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5359 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5360 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5361 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5362 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5363 | ) |
| 5364 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5365 | target_link_libraries(ev_epollsig_linux_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5366 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5367 | grpc_test_util |
| 5368 | grpc |
| 5369 | gpr_test_util |
| 5370 | gpr |
| 5371 | ) |
| 5372 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5373 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5374 | endif (gRPC_BUILD_TESTS) |
| 5375 | if (gRPC_BUILD_TESTS) |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5376 | |
| 5377 | add_executable(fake_resolver_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5378 | test/core/client_channel/resolvers/fake_resolver_test.cc |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5379 | ) |
| 5380 | |
| 5381 | |
| 5382 | target_include_directories(fake_resolver_test |
| 5383 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5384 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5385 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5386 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5387 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5388 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5389 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5390 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5391 | ) |
| 5392 | |
| 5393 | target_link_libraries(fake_resolver_test |
| 5394 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5395 | grpc_test_util |
| 5396 | grpc |
| 5397 | gpr_test_util |
| 5398 | gpr |
| 5399 | ) |
| 5400 | |
| 5401 | endif (gRPC_BUILD_TESTS) |
| 5402 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5403 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5404 | |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 5405 | add_executable(fake_transport_security_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5406 | test/core/tsi/fake_transport_security_test.cc |
| 5407 | test/core/tsi/transport_security_test_lib.cc |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 5408 | ) |
| 5409 | |
| 5410 | |
| 5411 | target_include_directories(fake_transport_security_test |
| 5412 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5413 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5414 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5415 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5416 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5417 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5418 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5419 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 5420 | ) |
| 5421 | |
| 5422 | target_link_libraries(fake_transport_security_test |
| 5423 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5424 | gpr_test_util |
| 5425 | gpr |
| 5426 | grpc |
| 5427 | ) |
| 5428 | |
| 5429 | endif() |
| 5430 | endif (gRPC_BUILD_TESTS) |
| 5431 | if (gRPC_BUILD_TESTS) |
| 5432 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 5433 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5434 | add_executable(fd_conservation_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5435 | test/core/iomgr/fd_conservation_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5436 | ) |
| 5437 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5438 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5439 | target_include_directories(fd_conservation_posix_test |
| 5440 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5441 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5442 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5443 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5444 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5445 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5446 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5447 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5448 | ) |
| 5449 | |
| 5450 | target_link_libraries(fd_conservation_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5451 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5452 | grpc_test_util |
| 5453 | grpc |
| 5454 | gpr_test_util |
| 5455 | gpr |
| 5456 | ) |
| 5457 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5458 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5459 | endif (gRPC_BUILD_TESTS) |
| 5460 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5461 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5462 | |
| 5463 | add_executable(fd_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5464 | test/core/iomgr/fd_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5465 | ) |
| 5466 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5467 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5468 | target_include_directories(fd_posix_test |
| 5469 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5470 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5471 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5472 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5473 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5474 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5475 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5476 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5477 | ) |
| 5478 | |
| 5479 | target_link_libraries(fd_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5480 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5481 | grpc_test_util |
| 5482 | grpc |
| 5483 | gpr_test_util |
| 5484 | gpr |
| 5485 | ) |
| 5486 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5487 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5488 | endif (gRPC_BUILD_TESTS) |
| 5489 | if (gRPC_BUILD_TESTS) |
| 5490 | |
| 5491 | add_executable(fling_client |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5492 | test/core/fling/client.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5493 | ) |
| 5494 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5495 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5496 | target_include_directories(fling_client |
| 5497 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5498 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5499 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5500 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5501 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5502 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5503 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5504 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5505 | ) |
| 5506 | |
| 5507 | target_link_libraries(fling_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5508 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5509 | grpc_test_util |
| 5510 | grpc |
| 5511 | gpr_test_util |
| 5512 | gpr |
| 5513 | ) |
| 5514 | |
| 5515 | endif (gRPC_BUILD_TESTS) |
| 5516 | if (gRPC_BUILD_TESTS) |
| 5517 | |
| 5518 | add_executable(fling_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5519 | test/core/fling/server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5520 | ) |
| 5521 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5522 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5523 | target_include_directories(fling_server |
| 5524 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5525 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5526 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5527 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5528 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5529 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5530 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5531 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5532 | ) |
| 5533 | |
| 5534 | target_link_libraries(fling_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5535 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5536 | grpc_test_util |
| 5537 | grpc |
| 5538 | gpr_test_util |
| 5539 | gpr |
| 5540 | ) |
| 5541 | |
| 5542 | endif (gRPC_BUILD_TESTS) |
| 5543 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5544 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5545 | |
| 5546 | add_executable(fling_stream_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5547 | test/core/fling/fling_stream_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5548 | ) |
| 5549 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5550 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5551 | target_include_directories(fling_stream_test |
| 5552 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5553 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5554 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5555 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5556 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5557 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5558 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5559 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5560 | ) |
| 5561 | |
| 5562 | target_link_libraries(fling_stream_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5563 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5564 | grpc_test_util |
| 5565 | grpc |
| 5566 | gpr_test_util |
| 5567 | gpr |
| 5568 | ) |
| 5569 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5570 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5571 | endif (gRPC_BUILD_TESTS) |
| 5572 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5573 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5574 | |
| 5575 | add_executable(fling_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5576 | test/core/fling/fling_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5577 | ) |
| 5578 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5579 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5580 | target_include_directories(fling_test |
| 5581 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5582 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5583 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5584 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5585 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5586 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5587 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5588 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5589 | ) |
| 5590 | |
| 5591 | target_link_libraries(fling_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5592 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5593 | grpc_test_util |
| 5594 | grpc |
| 5595 | gpr_test_util |
| 5596 | gpr |
| 5597 | ) |
| 5598 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5599 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5600 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5601 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5602 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5603 | |
| 5604 | add_executable(goaway_server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5605 | test/core/end2end/goaway_server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5606 | ) |
| 5607 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5608 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5609 | target_include_directories(goaway_server_test |
| 5610 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5611 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5612 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5613 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5614 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5615 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5616 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5617 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5618 | ) |
| 5619 | |
| 5620 | target_link_libraries(goaway_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5621 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5622 | grpc_test_util |
| 5623 | grpc |
| 5624 | gpr_test_util |
| 5625 | gpr |
| 5626 | ) |
| 5627 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5628 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5629 | endif (gRPC_BUILD_TESTS) |
| 5630 | if (gRPC_BUILD_TESTS) |
| 5631 | |
| 5632 | add_executable(gpr_avl_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5633 | test/core/gpr/avl_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5634 | ) |
| 5635 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5636 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5637 | target_include_directories(gpr_avl_test |
| 5638 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5639 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5640 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5641 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5642 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5643 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5644 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5645 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5646 | ) |
| 5647 | |
| 5648 | target_link_libraries(gpr_avl_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5649 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5650 | gpr_test_util |
| 5651 | gpr |
| 5652 | ) |
| 5653 | |
| 5654 | endif (gRPC_BUILD_TESTS) |
| 5655 | if (gRPC_BUILD_TESTS) |
| 5656 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5657 | add_executable(gpr_cmdline_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5658 | test/core/gpr/cmdline_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5659 | ) |
| 5660 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5661 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5662 | target_include_directories(gpr_cmdline_test |
| 5663 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5664 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5665 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5666 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5667 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5668 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5669 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5670 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5671 | ) |
| 5672 | |
| 5673 | target_link_libraries(gpr_cmdline_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5674 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5675 | gpr_test_util |
| 5676 | gpr |
| 5677 | ) |
| 5678 | |
| 5679 | endif (gRPC_BUILD_TESTS) |
| 5680 | if (gRPC_BUILD_TESTS) |
| 5681 | |
| 5682 | add_executable(gpr_cpu_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5683 | test/core/gpr/cpu_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5684 | ) |
| 5685 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5686 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5687 | target_include_directories(gpr_cpu_test |
| 5688 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5689 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5690 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5691 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5692 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5693 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5694 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5695 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5696 | ) |
| 5697 | |
| 5698 | target_link_libraries(gpr_cpu_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5699 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5700 | gpr_test_util |
| 5701 | gpr |
| 5702 | ) |
| 5703 | |
| 5704 | endif (gRPC_BUILD_TESTS) |
| 5705 | if (gRPC_BUILD_TESTS) |
| 5706 | |
| 5707 | add_executable(gpr_env_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5708 | test/core/gpr/env_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5709 | ) |
| 5710 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5711 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5712 | target_include_directories(gpr_env_test |
| 5713 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5714 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5715 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5716 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5717 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5718 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5719 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5720 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5721 | ) |
| 5722 | |
| 5723 | target_link_libraries(gpr_env_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5724 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5725 | gpr_test_util |
| 5726 | gpr |
| 5727 | ) |
| 5728 | |
| 5729 | endif (gRPC_BUILD_TESTS) |
| 5730 | if (gRPC_BUILD_TESTS) |
| 5731 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5732 | add_executable(gpr_host_port_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5733 | test/core/gpr/host_port_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5734 | ) |
| 5735 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5736 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5737 | target_include_directories(gpr_host_port_test |
| 5738 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5739 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5740 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5741 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5742 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5743 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5744 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5745 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5746 | ) |
| 5747 | |
| 5748 | target_link_libraries(gpr_host_port_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5749 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5750 | gpr_test_util |
| 5751 | gpr |
| 5752 | ) |
| 5753 | |
| 5754 | endif (gRPC_BUILD_TESTS) |
| 5755 | if (gRPC_BUILD_TESTS) |
| 5756 | |
| 5757 | add_executable(gpr_log_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5758 | test/core/gpr/log_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5759 | ) |
| 5760 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5761 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5762 | target_include_directories(gpr_log_test |
| 5763 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5764 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5765 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5766 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5767 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5768 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5769 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5770 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5771 | ) |
| 5772 | |
| 5773 | target_link_libraries(gpr_log_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5774 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5775 | gpr_test_util |
| 5776 | gpr |
| 5777 | ) |
| 5778 | |
| 5779 | endif (gRPC_BUILD_TESTS) |
| 5780 | if (gRPC_BUILD_TESTS) |
| 5781 | |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 5782 | add_executable(gpr_manual_constructor_test |
Mark D. Roth | 4f2b0fd | 2018-01-19 12:12:23 -0800 | [diff] [blame] | 5783 | test/core/gprpp/manual_constructor_test.cc |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 5784 | ) |
| 5785 | |
| 5786 | |
| 5787 | target_include_directories(gpr_manual_constructor_test |
| 5788 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5789 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5790 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5791 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5792 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5793 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5794 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5795 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 5796 | ) |
| 5797 | |
| 5798 | target_link_libraries(gpr_manual_constructor_test |
| 5799 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5800 | gpr_test_util |
| 5801 | gpr |
| 5802 | ) |
| 5803 | |
| 5804 | endif (gRPC_BUILD_TESTS) |
| 5805 | if (gRPC_BUILD_TESTS) |
| 5806 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5807 | add_executable(gpr_mpscq_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5808 | test/core/gpr/mpscq_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5809 | ) |
| 5810 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5811 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5812 | target_include_directories(gpr_mpscq_test |
| 5813 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5814 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5815 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5816 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5817 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5818 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5819 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5820 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5821 | ) |
| 5822 | |
| 5823 | target_link_libraries(gpr_mpscq_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5824 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5825 | gpr_test_util |
| 5826 | gpr |
| 5827 | ) |
| 5828 | |
| 5829 | endif (gRPC_BUILD_TESTS) |
| 5830 | if (gRPC_BUILD_TESTS) |
| 5831 | |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 5832 | add_executable(gpr_spinlock_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5833 | test/core/gpr/spinlock_test.cc |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 5834 | ) |
| 5835 | |
| 5836 | |
| 5837 | target_include_directories(gpr_spinlock_test |
| 5838 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5839 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5840 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5841 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5842 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5843 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5844 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5845 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 5846 | ) |
| 5847 | |
| 5848 | target_link_libraries(gpr_spinlock_test |
| 5849 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5850 | gpr_test_util |
| 5851 | gpr |
| 5852 | ) |
| 5853 | |
| 5854 | endif (gRPC_BUILD_TESTS) |
| 5855 | if (gRPC_BUILD_TESTS) |
| 5856 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5857 | add_executable(gpr_string_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5858 | test/core/gpr/string_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5859 | ) |
| 5860 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5861 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5862 | target_include_directories(gpr_string_test |
| 5863 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5864 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5865 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5866 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5867 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5868 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5869 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5870 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5871 | ) |
| 5872 | |
| 5873 | target_link_libraries(gpr_string_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5874 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5875 | gpr_test_util |
| 5876 | gpr |
| 5877 | ) |
| 5878 | |
| 5879 | endif (gRPC_BUILD_TESTS) |
| 5880 | if (gRPC_BUILD_TESTS) |
| 5881 | |
| 5882 | add_executable(gpr_sync_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5883 | test/core/gpr/sync_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5884 | ) |
| 5885 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5886 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5887 | target_include_directories(gpr_sync_test |
| 5888 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5889 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5890 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5891 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5892 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5893 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5894 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5895 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5896 | ) |
| 5897 | |
| 5898 | target_link_libraries(gpr_sync_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5899 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5900 | gpr_test_util |
| 5901 | gpr |
| 5902 | ) |
| 5903 | |
| 5904 | endif (gRPC_BUILD_TESTS) |
| 5905 | if (gRPC_BUILD_TESTS) |
| 5906 | |
| 5907 | add_executable(gpr_thd_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5908 | test/core/gpr/thd_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5909 | ) |
| 5910 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5911 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5912 | target_include_directories(gpr_thd_test |
| 5913 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5914 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5915 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5916 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5917 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5918 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5919 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5920 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5921 | ) |
| 5922 | |
| 5923 | target_link_libraries(gpr_thd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5924 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5925 | gpr_test_util |
| 5926 | gpr |
| 5927 | ) |
| 5928 | |
| 5929 | endif (gRPC_BUILD_TESTS) |
| 5930 | if (gRPC_BUILD_TESTS) |
| 5931 | |
| 5932 | add_executable(gpr_time_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5933 | test/core/gpr/time_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5934 | ) |
| 5935 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5936 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5937 | target_include_directories(gpr_time_test |
| 5938 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5939 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5940 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5941 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5942 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5943 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5944 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5945 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5946 | ) |
| 5947 | |
| 5948 | target_link_libraries(gpr_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5949 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5950 | gpr_test_util |
| 5951 | gpr |
| 5952 | ) |
| 5953 | |
| 5954 | endif (gRPC_BUILD_TESTS) |
| 5955 | if (gRPC_BUILD_TESTS) |
| 5956 | |
| 5957 | add_executable(gpr_tls_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5958 | test/core/gpr/tls_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5959 | ) |
| 5960 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5961 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5962 | target_include_directories(gpr_tls_test |
| 5963 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5964 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5965 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5966 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5967 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5968 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5969 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5970 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5971 | ) |
| 5972 | |
| 5973 | target_link_libraries(gpr_tls_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5974 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5975 | gpr_test_util |
| 5976 | gpr |
| 5977 | ) |
| 5978 | |
| 5979 | endif (gRPC_BUILD_TESTS) |
| 5980 | if (gRPC_BUILD_TESTS) |
| 5981 | |
| 5982 | add_executable(gpr_useful_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 5983 | test/core/gpr/useful_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5984 | ) |
| 5985 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5986 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5987 | target_include_directories(gpr_useful_test |
| 5988 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5989 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5990 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 5991 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 5992 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 5993 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 5994 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 5995 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5996 | ) |
| 5997 | |
| 5998 | target_link_libraries(gpr_useful_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5999 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6000 | gpr_test_util |
| 6001 | gpr |
| 6002 | ) |
| 6003 | |
| 6004 | endif (gRPC_BUILD_TESTS) |
| 6005 | if (gRPC_BUILD_TESTS) |
| 6006 | |
| 6007 | add_executable(grpc_auth_context_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6008 | test/core/security/auth_context_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6009 | ) |
| 6010 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6011 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6012 | target_include_directories(grpc_auth_context_test |
| 6013 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6014 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6015 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6016 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6017 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6018 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6019 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6020 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6021 | ) |
| 6022 | |
| 6023 | target_link_libraries(grpc_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6024 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6025 | grpc_test_util |
| 6026 | grpc |
| 6027 | gpr_test_util |
| 6028 | gpr |
| 6029 | ) |
| 6030 | |
| 6031 | endif (gRPC_BUILD_TESTS) |
| 6032 | if (gRPC_BUILD_TESTS) |
| 6033 | |
| 6034 | add_executable(grpc_b64_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6035 | test/core/slice/b64_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6036 | ) |
| 6037 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6038 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6039 | target_include_directories(grpc_b64_test |
| 6040 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6041 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6042 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6043 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6044 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6045 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6046 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6047 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6048 | ) |
| 6049 | |
| 6050 | target_link_libraries(grpc_b64_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6051 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6052 | grpc_test_util |
| 6053 | grpc |
| 6054 | gpr_test_util |
| 6055 | gpr |
| 6056 | ) |
| 6057 | |
| 6058 | endif (gRPC_BUILD_TESTS) |
| 6059 | if (gRPC_BUILD_TESTS) |
| 6060 | |
| 6061 | add_executable(grpc_byte_buffer_reader_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6062 | test/core/surface/byte_buffer_reader_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6063 | ) |
| 6064 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6065 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6066 | target_include_directories(grpc_byte_buffer_reader_test |
| 6067 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6068 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6069 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6070 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6071 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6072 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6073 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6074 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6075 | ) |
| 6076 | |
| 6077 | target_link_libraries(grpc_byte_buffer_reader_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6078 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6079 | grpc_test_util |
| 6080 | grpc |
| 6081 | gpr_test_util |
| 6082 | gpr |
| 6083 | ) |
| 6084 | |
| 6085 | endif (gRPC_BUILD_TESTS) |
| 6086 | if (gRPC_BUILD_TESTS) |
| 6087 | |
| 6088 | add_executable(grpc_channel_args_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6089 | test/core/channel/channel_args_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6090 | ) |
| 6091 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6092 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6093 | target_include_directories(grpc_channel_args_test |
| 6094 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6095 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6096 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6097 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6098 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6099 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6100 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6101 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6102 | ) |
| 6103 | |
| 6104 | target_link_libraries(grpc_channel_args_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6105 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6106 | grpc_test_util |
| 6107 | grpc |
| 6108 | gpr_test_util |
| 6109 | gpr |
| 6110 | ) |
| 6111 | |
| 6112 | endif (gRPC_BUILD_TESTS) |
| 6113 | if (gRPC_BUILD_TESTS) |
| 6114 | |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6115 | add_executable(grpc_channel_stack_builder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6116 | test/core/channel/channel_stack_builder_test.cc |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6117 | ) |
| 6118 | |
| 6119 | |
| 6120 | target_include_directories(grpc_channel_stack_builder_test |
| 6121 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6122 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6123 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6124 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6125 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6126 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6127 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6128 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6129 | ) |
| 6130 | |
| 6131 | target_link_libraries(grpc_channel_stack_builder_test |
| 6132 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6133 | grpc_test_util |
| 6134 | grpc |
| 6135 | gpr_test_util |
| 6136 | gpr |
| 6137 | ) |
| 6138 | |
| 6139 | endif (gRPC_BUILD_TESTS) |
| 6140 | if (gRPC_BUILD_TESTS) |
| 6141 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6142 | add_executable(grpc_channel_stack_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6143 | test/core/channel/channel_stack_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6144 | ) |
| 6145 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6146 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6147 | target_include_directories(grpc_channel_stack_test |
| 6148 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6149 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6150 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6151 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6152 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6153 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6154 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6155 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6156 | ) |
| 6157 | |
| 6158 | target_link_libraries(grpc_channel_stack_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6159 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6160 | grpc_test_util |
| 6161 | grpc |
| 6162 | gpr_test_util |
| 6163 | gpr |
| 6164 | ) |
| 6165 | |
| 6166 | endif (gRPC_BUILD_TESTS) |
| 6167 | if (gRPC_BUILD_TESTS) |
| 6168 | |
| 6169 | add_executable(grpc_completion_queue_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6170 | test/core/surface/completion_queue_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6171 | ) |
| 6172 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6173 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6174 | target_include_directories(grpc_completion_queue_test |
| 6175 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6176 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6177 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6178 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6179 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6180 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6181 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6182 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6183 | ) |
| 6184 | |
| 6185 | target_link_libraries(grpc_completion_queue_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6186 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6187 | grpc_test_util |
| 6188 | grpc |
| 6189 | gpr_test_util |
| 6190 | gpr |
| 6191 | ) |
| 6192 | |
| 6193 | endif (gRPC_BUILD_TESTS) |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6194 | if (gRPC_BUILD_TESTS) |
| 6195 | |
| 6196 | add_executable(grpc_completion_queue_threading_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6197 | test/core/surface/completion_queue_threading_test.cc |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6198 | ) |
| 6199 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6200 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6201 | target_include_directories(grpc_completion_queue_threading_test |
| 6202 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6203 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6204 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6205 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6206 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6207 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6208 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6209 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6210 | ) |
| 6211 | |
| 6212 | target_link_libraries(grpc_completion_queue_threading_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6213 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6214 | grpc_test_util |
| 6215 | grpc |
| 6216 | gpr_test_util |
| 6217 | gpr |
| 6218 | ) |
| 6219 | |
| 6220 | endif (gRPC_BUILD_TESTS) |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 6221 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6222 | add_executable(grpc_create_jwt |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6223 | test/core/security/create_jwt.cc |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6224 | ) |
| 6225 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6226 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6227 | target_include_directories(grpc_create_jwt |
| 6228 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6229 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6230 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6231 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6232 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6233 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6234 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6235 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6236 | ) |
| 6237 | |
| 6238 | target_link_libraries(grpc_create_jwt |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 6239 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6240 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6241 | grpc |
| 6242 | gpr |
| 6243 | ) |
| 6244 | |
| 6245 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6246 | if (gRPC_INSTALL) |
| 6247 | install(TARGETS grpc_create_jwt EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6248 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6249 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6250 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6251 | ) |
| 6252 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6253 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6254 | if (gRPC_BUILD_TESTS) |
| 6255 | |
| 6256 | add_executable(grpc_credentials_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6257 | test/core/security/credentials_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6258 | ) |
| 6259 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6260 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6261 | target_include_directories(grpc_credentials_test |
| 6262 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6263 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6264 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6265 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6266 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6267 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6268 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6269 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6270 | ) |
| 6271 | |
| 6272 | target_link_libraries(grpc_credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6273 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6274 | grpc_test_util |
| 6275 | grpc |
| 6276 | gpr_test_util |
| 6277 | gpr |
| 6278 | ) |
| 6279 | |
| 6280 | endif (gRPC_BUILD_TESTS) |
| 6281 | if (gRPC_BUILD_TESTS) |
| 6282 | |
| 6283 | add_executable(grpc_fetch_oauth2 |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6284 | test/core/security/fetch_oauth2.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6285 | ) |
| 6286 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6287 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6288 | target_include_directories(grpc_fetch_oauth2 |
| 6289 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6290 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6291 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6292 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6293 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6294 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6295 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6296 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6297 | ) |
| 6298 | |
| 6299 | target_link_libraries(grpc_fetch_oauth2 |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6300 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6301 | grpc_test_util |
| 6302 | grpc |
| 6303 | gpr_test_util |
| 6304 | gpr |
| 6305 | ) |
| 6306 | |
| 6307 | endif (gRPC_BUILD_TESTS) |
| 6308 | if (gRPC_BUILD_TESTS) |
| 6309 | |
| 6310 | add_executable(grpc_invalid_channel_args_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6311 | test/core/surface/invalid_channel_args_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6312 | ) |
| 6313 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6314 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6315 | target_include_directories(grpc_invalid_channel_args_test |
| 6316 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6317 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6318 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6319 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6320 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6321 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6322 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6323 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6324 | ) |
| 6325 | |
| 6326 | target_link_libraries(grpc_invalid_channel_args_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6327 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6328 | grpc_test_util |
| 6329 | grpc |
| 6330 | gpr_test_util |
| 6331 | gpr |
| 6332 | ) |
| 6333 | |
| 6334 | endif (gRPC_BUILD_TESTS) |
| 6335 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6336 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6337 | |
| 6338 | add_executable(grpc_json_token_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6339 | test/core/security/json_token_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6340 | ) |
| 6341 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6342 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6343 | target_include_directories(grpc_json_token_test |
| 6344 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6345 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6346 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6347 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6348 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6349 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6350 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6351 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6352 | ) |
| 6353 | |
| 6354 | target_link_libraries(grpc_json_token_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6355 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6356 | grpc_test_util |
| 6357 | grpc |
| 6358 | gpr_test_util |
| 6359 | gpr |
| 6360 | ) |
| 6361 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6362 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6363 | endif (gRPC_BUILD_TESTS) |
| 6364 | if (gRPC_BUILD_TESTS) |
| 6365 | |
| 6366 | add_executable(grpc_jwt_verifier_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6367 | test/core/security/jwt_verifier_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6368 | ) |
| 6369 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6370 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6371 | target_include_directories(grpc_jwt_verifier_test |
| 6372 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6373 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6374 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6375 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6376 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6377 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6378 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6379 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6380 | ) |
| 6381 | |
| 6382 | target_link_libraries(grpc_jwt_verifier_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6383 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6384 | grpc_test_util |
| 6385 | grpc |
| 6386 | gpr_test_util |
| 6387 | gpr |
| 6388 | ) |
| 6389 | |
| 6390 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6391 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6392 | add_executable(grpc_print_google_default_creds_token |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6393 | test/core/security/print_google_default_creds_token.cc |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6394 | ) |
| 6395 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6396 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6397 | target_include_directories(grpc_print_google_default_creds_token |
| 6398 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6399 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6400 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6401 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6402 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6403 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6404 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6405 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6406 | ) |
| 6407 | |
| 6408 | target_link_libraries(grpc_print_google_default_creds_token |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6409 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6410 | grpc |
| 6411 | gpr |
| 6412 | ) |
| 6413 | |
| 6414 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6415 | if (gRPC_INSTALL) |
| 6416 | install(TARGETS grpc_print_google_default_creds_token EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6417 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6418 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6419 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6420 | ) |
| 6421 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6422 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6423 | if (gRPC_BUILD_TESTS) |
| 6424 | |
| 6425 | add_executable(grpc_security_connector_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6426 | test/core/security/security_connector_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6427 | ) |
| 6428 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6429 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6430 | target_include_directories(grpc_security_connector_test |
| 6431 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6432 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6433 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6434 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6435 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6436 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6437 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6438 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6439 | ) |
| 6440 | |
| 6441 | target_link_libraries(grpc_security_connector_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6442 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6443 | grpc_test_util |
| 6444 | grpc |
| 6445 | gpr_test_util |
| 6446 | gpr |
| 6447 | ) |
| 6448 | |
| 6449 | endif (gRPC_BUILD_TESTS) |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 6450 | if (gRPC_BUILD_TESTS) |
| 6451 | |
| 6452 | add_executable(grpc_ssl_credentials_test |
Yash Tibrewal | af92246 | 2017-10-25 16:29:49 -0700 | [diff] [blame] | 6453 | test/core/security/ssl_credentials_test.cc |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 6454 | ) |
| 6455 | |
| 6456 | |
| 6457 | target_include_directories(grpc_ssl_credentials_test |
| 6458 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6459 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6460 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6461 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6462 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6463 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6464 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6465 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 6466 | ) |
| 6467 | |
| 6468 | target_link_libraries(grpc_ssl_credentials_test |
| 6469 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6470 | grpc_test_util |
| 6471 | grpc |
| 6472 | gpr_test_util |
| 6473 | gpr |
| 6474 | ) |
| 6475 | |
| 6476 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6477 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6478 | add_executable(grpc_verify_jwt |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6479 | test/core/security/verify_jwt.cc |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6480 | ) |
| 6481 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6482 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6483 | target_include_directories(grpc_verify_jwt |
| 6484 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6485 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6486 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6487 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6488 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6489 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6490 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6491 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6492 | ) |
| 6493 | |
| 6494 | target_link_libraries(grpc_verify_jwt |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6495 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6496 | grpc |
| 6497 | gpr |
| 6498 | ) |
| 6499 | |
| 6500 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6501 | if (gRPC_INSTALL) |
| 6502 | install(TARGETS grpc_verify_jwt EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6503 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6504 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6505 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6506 | ) |
| 6507 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6508 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6509 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6510 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6511 | |
| 6512 | add_executable(handshake_client |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6513 | test/core/handshake/client_ssl.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6514 | ) |
| 6515 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6516 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6517 | target_include_directories(handshake_client |
| 6518 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6519 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6520 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6521 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6522 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6523 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6524 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6525 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6526 | ) |
| 6527 | |
| 6528 | target_link_libraries(handshake_client |
| 6529 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6530 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6531 | grpc_test_util |
| 6532 | grpc |
| 6533 | gpr_test_util |
| 6534 | gpr |
| 6535 | ) |
| 6536 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6537 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6538 | endif (gRPC_BUILD_TESTS) |
| 6539 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6540 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6541 | |
| 6542 | add_executable(handshake_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6543 | test/core/handshake/server_ssl.cc |
Alexander Polcyn | 248c4f5 | 2017-11-13 16:31:27 -0800 | [diff] [blame] | 6544 | test/core/handshake/server_ssl_common.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6545 | ) |
| 6546 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6547 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6548 | target_include_directories(handshake_server |
| 6549 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6550 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6551 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6552 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6553 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6554 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6555 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6556 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6557 | ) |
| 6558 | |
| 6559 | target_link_libraries(handshake_server |
| 6560 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6561 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6562 | grpc_test_util |
| 6563 | grpc |
| 6564 | gpr_test_util |
| 6565 | gpr |
| 6566 | ) |
| 6567 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6568 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6569 | endif (gRPC_BUILD_TESTS) |
| 6570 | if (gRPC_BUILD_TESTS) |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 6571 | if(_gRPC_PLATFORM_LINUX) |
| 6572 | |
| 6573 | add_executable(handshake_server_with_readahead_handshaker |
Alexander Polcyn | 248c4f5 | 2017-11-13 16:31:27 -0800 | [diff] [blame] | 6574 | test/core/handshake/readahead_handshaker_server_ssl.cc |
| 6575 | test/core/handshake/server_ssl_common.cc |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 6576 | ) |
| 6577 | |
| 6578 | |
| 6579 | target_include_directories(handshake_server_with_readahead_handshaker |
| 6580 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6581 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6582 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6583 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6584 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6585 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6586 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6587 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 6588 | ) |
| 6589 | |
| 6590 | target_link_libraries(handshake_server_with_readahead_handshaker |
| 6591 | ${_gRPC_SSL_LIBRARIES} |
| 6592 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6593 | grpc_test_util |
| 6594 | grpc |
| 6595 | gpr_test_util |
| 6596 | gpr |
| 6597 | ) |
| 6598 | |
| 6599 | endif() |
| 6600 | endif (gRPC_BUILD_TESTS) |
| 6601 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6602 | |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 6603 | add_executable(histogram_test |
| 6604 | test/core/util/histogram_test.cc |
| 6605 | ) |
| 6606 | |
| 6607 | |
| 6608 | target_include_directories(histogram_test |
| 6609 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6610 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6611 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6612 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6613 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6614 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6615 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6616 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 6617 | ) |
| 6618 | |
| 6619 | target_link_libraries(histogram_test |
| 6620 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6621 | grpc_test_util |
| 6622 | gpr |
| 6623 | ) |
| 6624 | |
| 6625 | endif (gRPC_BUILD_TESTS) |
| 6626 | if (gRPC_BUILD_TESTS) |
| 6627 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6628 | add_executable(hpack_parser_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6629 | test/core/transport/chttp2/hpack_parser_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6630 | ) |
| 6631 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6632 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6633 | target_include_directories(hpack_parser_test |
| 6634 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6635 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6636 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6637 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6638 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6639 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6640 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6641 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6642 | ) |
| 6643 | |
| 6644 | target_link_libraries(hpack_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6645 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6646 | grpc_test_util |
| 6647 | grpc |
| 6648 | gpr_test_util |
| 6649 | gpr |
| 6650 | ) |
| 6651 | |
| 6652 | endif (gRPC_BUILD_TESTS) |
| 6653 | if (gRPC_BUILD_TESTS) |
| 6654 | |
| 6655 | add_executable(hpack_table_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6656 | test/core/transport/chttp2/hpack_table_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6657 | ) |
| 6658 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6659 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6660 | target_include_directories(hpack_table_test |
| 6661 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6662 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6663 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6664 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6665 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6666 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6667 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6668 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6669 | ) |
| 6670 | |
| 6671 | target_link_libraries(hpack_table_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6672 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6673 | grpc_test_util |
| 6674 | grpc |
| 6675 | gpr_test_util |
| 6676 | gpr |
| 6677 | ) |
| 6678 | |
| 6679 | endif (gRPC_BUILD_TESTS) |
| 6680 | if (gRPC_BUILD_TESTS) |
| 6681 | |
| 6682 | add_executable(http_parser_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6683 | test/core/http/parser_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6684 | ) |
| 6685 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6686 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6687 | target_include_directories(http_parser_test |
| 6688 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6689 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6690 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6691 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6692 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6693 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6694 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6695 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6696 | ) |
| 6697 | |
| 6698 | target_link_libraries(http_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6699 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6700 | grpc_test_util |
| 6701 | grpc |
| 6702 | gpr_test_util |
| 6703 | gpr |
| 6704 | ) |
| 6705 | |
| 6706 | endif (gRPC_BUILD_TESTS) |
| 6707 | if (gRPC_BUILD_TESTS) |
| 6708 | |
| 6709 | add_executable(httpcli_format_request_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6710 | test/core/http/format_request_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6711 | ) |
| 6712 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6713 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6714 | target_include_directories(httpcli_format_request_test |
| 6715 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6716 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6717 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6718 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6719 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6720 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6721 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6722 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6723 | ) |
| 6724 | |
| 6725 | target_link_libraries(httpcli_format_request_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6726 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6727 | grpc_test_util |
| 6728 | grpc |
| 6729 | gpr_test_util |
| 6730 | gpr |
| 6731 | ) |
| 6732 | |
| 6733 | endif (gRPC_BUILD_TESTS) |
| 6734 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6735 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6736 | |
| 6737 | add_executable(httpcli_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6738 | test/core/http/httpcli_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6739 | ) |
| 6740 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6741 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6742 | target_include_directories(httpcli_test |
| 6743 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6744 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6745 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6746 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6747 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6748 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6749 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6750 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6751 | ) |
| 6752 | |
| 6753 | target_link_libraries(httpcli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6754 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6755 | grpc_test_util |
| 6756 | grpc |
| 6757 | gpr_test_util |
| 6758 | gpr |
| 6759 | ) |
| 6760 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6761 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6762 | endif (gRPC_BUILD_TESTS) |
| 6763 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6764 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6765 | |
| 6766 | add_executable(httpscli_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6767 | test/core/http/httpscli_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6768 | ) |
| 6769 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6770 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6771 | target_include_directories(httpscli_test |
| 6772 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6773 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6774 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6775 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6776 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6777 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6778 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6779 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6780 | ) |
| 6781 | |
| 6782 | target_link_libraries(httpscli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6783 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6784 | grpc_test_util |
| 6785 | grpc |
| 6786 | gpr_test_util |
| 6787 | gpr |
| 6788 | ) |
| 6789 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6790 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6791 | endif (gRPC_BUILD_TESTS) |
| 6792 | if (gRPC_BUILD_TESTS) |
| 6793 | |
| 6794 | add_executable(init_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6795 | test/core/surface/init_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6796 | ) |
| 6797 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6798 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6799 | target_include_directories(init_test |
| 6800 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6801 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6802 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6803 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6804 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6805 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6806 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6807 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6808 | ) |
| 6809 | |
| 6810 | target_link_libraries(init_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6811 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6812 | grpc_test_util |
| 6813 | grpc |
| 6814 | gpr_test_util |
| 6815 | gpr |
| 6816 | ) |
| 6817 | |
| 6818 | endif (gRPC_BUILD_TESTS) |
| 6819 | if (gRPC_BUILD_TESTS) |
| 6820 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6821 | add_executable(invalid_call_argument_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6822 | test/core/end2end/invalid_call_argument_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6823 | ) |
| 6824 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6825 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6826 | target_include_directories(invalid_call_argument_test |
| 6827 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6828 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6829 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6830 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6831 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6832 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6833 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6834 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6835 | ) |
| 6836 | |
| 6837 | target_link_libraries(invalid_call_argument_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6838 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6839 | grpc_test_util |
| 6840 | grpc |
| 6841 | gpr_test_util |
| 6842 | gpr |
| 6843 | ) |
| 6844 | |
| 6845 | endif (gRPC_BUILD_TESTS) |
| 6846 | if (gRPC_BUILD_TESTS) |
| 6847 | |
| 6848 | add_executable(json_rewrite |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6849 | test/core/json/json_rewrite.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6850 | ) |
| 6851 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6852 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6853 | target_include_directories(json_rewrite |
| 6854 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6855 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6856 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6857 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6858 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6859 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6860 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6861 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6862 | ) |
| 6863 | |
| 6864 | target_link_libraries(json_rewrite |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6865 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6866 | grpc |
| 6867 | gpr |
| 6868 | ) |
| 6869 | |
| 6870 | endif (gRPC_BUILD_TESTS) |
| 6871 | if (gRPC_BUILD_TESTS) |
| 6872 | |
| 6873 | add_executable(json_rewrite_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6874 | test/core/json/json_rewrite_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6875 | ) |
| 6876 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6877 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6878 | target_include_directories(json_rewrite_test |
| 6879 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6880 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6881 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6882 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6883 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6884 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6885 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6886 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6887 | ) |
| 6888 | |
| 6889 | target_link_libraries(json_rewrite_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6890 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6891 | grpc_test_util |
| 6892 | grpc |
| 6893 | gpr_test_util |
| 6894 | gpr |
| 6895 | ) |
| 6896 | |
| 6897 | endif (gRPC_BUILD_TESTS) |
| 6898 | if (gRPC_BUILD_TESTS) |
| 6899 | |
| 6900 | add_executable(json_stream_error_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6901 | test/core/json/json_stream_error_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6902 | ) |
| 6903 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6904 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6905 | target_include_directories(json_stream_error_test |
| 6906 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6907 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6908 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6909 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6910 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6911 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6912 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6913 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6914 | ) |
| 6915 | |
| 6916 | target_link_libraries(json_stream_error_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6917 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6918 | grpc_test_util |
| 6919 | grpc |
| 6920 | gpr_test_util |
| 6921 | gpr |
| 6922 | ) |
| 6923 | |
| 6924 | endif (gRPC_BUILD_TESTS) |
| 6925 | if (gRPC_BUILD_TESTS) |
| 6926 | |
| 6927 | add_executable(json_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6928 | test/core/json/json_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6929 | ) |
| 6930 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6931 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6932 | target_include_directories(json_test |
| 6933 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6934 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6935 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6936 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6937 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6938 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6939 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6940 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6941 | ) |
| 6942 | |
| 6943 | target_link_libraries(json_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6944 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6945 | grpc_test_util |
| 6946 | grpc |
| 6947 | gpr_test_util |
| 6948 | gpr |
| 6949 | ) |
| 6950 | |
| 6951 | endif (gRPC_BUILD_TESTS) |
| 6952 | if (gRPC_BUILD_TESTS) |
| 6953 | |
| 6954 | add_executable(lame_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6955 | test/core/surface/lame_client_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6956 | ) |
| 6957 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6958 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6959 | target_include_directories(lame_client_test |
| 6960 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6961 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6962 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6963 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6964 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6965 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6966 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6967 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6968 | ) |
| 6969 | |
| 6970 | target_link_libraries(lame_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6971 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6972 | grpc_test_util |
| 6973 | grpc |
| 6974 | gpr_test_util |
| 6975 | gpr |
| 6976 | ) |
| 6977 | |
| 6978 | endif (gRPC_BUILD_TESTS) |
| 6979 | if (gRPC_BUILD_TESTS) |
| 6980 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6981 | add_executable(load_file_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6982 | test/core/iomgr/load_file_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6983 | ) |
| 6984 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6985 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6986 | target_include_directories(load_file_test |
| 6987 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6988 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6989 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 6990 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 6991 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 6992 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 6993 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 6994 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6995 | ) |
| 6996 | |
| 6997 | target_link_libraries(load_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6998 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6999 | grpc_test_util |
| 7000 | grpc |
| 7001 | gpr_test_util |
| 7002 | gpr |
| 7003 | ) |
| 7004 | |
| 7005 | endif (gRPC_BUILD_TESTS) |
| 7006 | if (gRPC_BUILD_TESTS) |
| 7007 | |
| 7008 | add_executable(memory_profile_client |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7009 | test/core/memory_usage/client.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7010 | ) |
| 7011 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7012 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7013 | target_include_directories(memory_profile_client |
| 7014 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7015 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7016 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7017 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7018 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7019 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7020 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7021 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7022 | ) |
| 7023 | |
| 7024 | target_link_libraries(memory_profile_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7025 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7026 | grpc_test_util |
| 7027 | grpc |
| 7028 | gpr_test_util |
| 7029 | gpr |
| 7030 | ) |
| 7031 | |
| 7032 | endif (gRPC_BUILD_TESTS) |
| 7033 | if (gRPC_BUILD_TESTS) |
| 7034 | |
| 7035 | add_executable(memory_profile_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7036 | test/core/memory_usage/server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7037 | ) |
| 7038 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7039 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7040 | target_include_directories(memory_profile_server |
| 7041 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7042 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7043 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7044 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7045 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7046 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7047 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7048 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7049 | ) |
| 7050 | |
| 7051 | target_link_libraries(memory_profile_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7052 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7053 | grpc_test_util |
| 7054 | grpc |
| 7055 | gpr_test_util |
| 7056 | gpr |
| 7057 | ) |
| 7058 | |
| 7059 | endif (gRPC_BUILD_TESTS) |
| 7060 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7061 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7062 | |
| 7063 | add_executable(memory_profile_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7064 | test/core/memory_usage/memory_usage_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7065 | ) |
| 7066 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7067 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7068 | target_include_directories(memory_profile_test |
| 7069 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7070 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7071 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7072 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7073 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7074 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7075 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7076 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7077 | ) |
| 7078 | |
| 7079 | target_link_libraries(memory_profile_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7080 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7081 | grpc_test_util |
| 7082 | grpc |
| 7083 | gpr_test_util |
| 7084 | gpr |
| 7085 | ) |
| 7086 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7087 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7088 | endif (gRPC_BUILD_TESTS) |
| 7089 | if (gRPC_BUILD_TESTS) |
| 7090 | |
| 7091 | add_executable(message_compress_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7092 | test/core/compression/message_compress_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7093 | ) |
| 7094 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7095 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7096 | target_include_directories(message_compress_test |
| 7097 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7098 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7099 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7100 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7101 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7102 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7103 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7104 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7105 | ) |
| 7106 | |
| 7107 | target_link_libraries(message_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7108 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7109 | grpc_test_util |
| 7110 | grpc |
| 7111 | gpr_test_util |
| 7112 | gpr |
| 7113 | ) |
| 7114 | |
| 7115 | endif (gRPC_BUILD_TESTS) |
| 7116 | if (gRPC_BUILD_TESTS) |
| 7117 | |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7118 | add_executable(minimal_stack_is_minimal_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7119 | test/core/channel/minimal_stack_is_minimal_test.cc |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7120 | ) |
| 7121 | |
| 7122 | |
| 7123 | target_include_directories(minimal_stack_is_minimal_test |
| 7124 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7125 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7126 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7127 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7128 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7129 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7130 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7131 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7132 | ) |
| 7133 | |
| 7134 | target_link_libraries(minimal_stack_is_minimal_test |
| 7135 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7136 | grpc_test_util |
| 7137 | grpc |
| 7138 | gpr_test_util |
| 7139 | gpr |
| 7140 | ) |
| 7141 | |
| 7142 | endif (gRPC_BUILD_TESTS) |
| 7143 | if (gRPC_BUILD_TESTS) |
| 7144 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7145 | add_executable(multiple_server_queues_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7146 | test/core/end2end/multiple_server_queues_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7147 | ) |
| 7148 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7149 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7150 | target_include_directories(multiple_server_queues_test |
| 7151 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7152 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7153 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7154 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7155 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7156 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7157 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7158 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7159 | ) |
| 7160 | |
| 7161 | target_link_libraries(multiple_server_queues_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7162 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7163 | grpc_test_util |
| 7164 | grpc |
| 7165 | gpr_test_util |
| 7166 | gpr |
| 7167 | ) |
| 7168 | |
| 7169 | endif (gRPC_BUILD_TESTS) |
| 7170 | if (gRPC_BUILD_TESTS) |
| 7171 | |
| 7172 | add_executable(murmur_hash_test |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 7173 | test/core/gpr/murmur_hash_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7174 | ) |
| 7175 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7176 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7177 | target_include_directories(murmur_hash_test |
| 7178 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7179 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7180 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7181 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7182 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7183 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7184 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7185 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7186 | ) |
| 7187 | |
| 7188 | target_link_libraries(murmur_hash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7189 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7190 | gpr_test_util |
| 7191 | gpr |
| 7192 | ) |
| 7193 | |
| 7194 | endif (gRPC_BUILD_TESTS) |
| 7195 | if (gRPC_BUILD_TESTS) |
| 7196 | |
| 7197 | add_executable(no_server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7198 | test/core/end2end/no_server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7199 | ) |
| 7200 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7201 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7202 | target_include_directories(no_server_test |
| 7203 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7204 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7205 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7206 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7207 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7208 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7209 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7210 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7211 | ) |
| 7212 | |
| 7213 | target_link_libraries(no_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7214 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7215 | grpc_test_util |
| 7216 | grpc |
| 7217 | gpr_test_util |
| 7218 | gpr |
| 7219 | ) |
| 7220 | |
| 7221 | endif (gRPC_BUILD_TESTS) |
| 7222 | if (gRPC_BUILD_TESTS) |
| 7223 | |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 7224 | add_executable(num_external_connectivity_watchers_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7225 | test/core/surface/num_external_connectivity_watchers_test.cc |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 7226 | ) |
| 7227 | |
| 7228 | |
| 7229 | target_include_directories(num_external_connectivity_watchers_test |
| 7230 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7231 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7232 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7233 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7234 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7235 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7236 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7237 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 7238 | ) |
| 7239 | |
| 7240 | target_link_libraries(num_external_connectivity_watchers_test |
| 7241 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7242 | grpc_test_util |
| 7243 | grpc |
| 7244 | gpr_test_util |
| 7245 | gpr |
| 7246 | ) |
| 7247 | |
| 7248 | endif (gRPC_BUILD_TESTS) |
| 7249 | if (gRPC_BUILD_TESTS) |
| 7250 | |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7251 | add_executable(parse_address_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7252 | test/core/client_channel/parse_address_test.cc |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7253 | ) |
| 7254 | |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 7255 | |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7256 | target_include_directories(parse_address_test |
| 7257 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7258 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7259 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7260 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7261 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7262 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7263 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7264 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7265 | ) |
| 7266 | |
| 7267 | target_link_libraries(parse_address_test |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 7268 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7269 | grpc_test_util |
| 7270 | grpc |
| 7271 | gpr_test_util |
| 7272 | gpr |
| 7273 | ) |
| 7274 | |
| 7275 | endif (gRPC_BUILD_TESTS) |
| 7276 | if (gRPC_BUILD_TESTS) |
| 7277 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7278 | add_executable(percent_encoding_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7279 | test/core/slice/percent_encoding_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7280 | ) |
| 7281 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7282 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7283 | target_include_directories(percent_encoding_test |
| 7284 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7285 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7286 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7287 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7288 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7289 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7290 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7291 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7292 | ) |
| 7293 | |
| 7294 | target_link_libraries(percent_encoding_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7295 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7296 | grpc_test_util |
| 7297 | grpc |
| 7298 | gpr_test_util |
| 7299 | gpr |
| 7300 | ) |
| 7301 | |
| 7302 | endif (gRPC_BUILD_TESTS) |
| 7303 | if (gRPC_BUILD_TESTS) |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7304 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7305 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7306 | add_executable(pollset_set_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7307 | test/core/iomgr/pollset_set_test.cc |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7308 | ) |
| 7309 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7310 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7311 | target_include_directories(pollset_set_test |
| 7312 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7313 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7314 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7315 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7316 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7317 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7318 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7319 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7320 | ) |
| 7321 | |
| 7322 | target_link_libraries(pollset_set_test |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7323 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7324 | grpc_test_util |
| 7325 | grpc |
| 7326 | gpr_test_util |
| 7327 | gpr |
| 7328 | ) |
| 7329 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7330 | endif() |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7331 | endif (gRPC_BUILD_TESTS) |
| 7332 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7333 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7334 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7335 | add_executable(resolve_address_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7336 | test/core/iomgr/resolve_address_posix_test.cc |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7337 | ) |
| 7338 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7339 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7340 | target_include_directories(resolve_address_posix_test |
| 7341 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7342 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7343 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7344 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7345 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7346 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7347 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7348 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7349 | ) |
| 7350 | |
| 7351 | target_link_libraries(resolve_address_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7352 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7353 | grpc_test_util |
| 7354 | grpc |
| 7355 | gpr_test_util |
| 7356 | gpr |
| 7357 | ) |
| 7358 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7359 | endif() |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7360 | endif (gRPC_BUILD_TESTS) |
| 7361 | if (gRPC_BUILD_TESTS) |
| 7362 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7363 | add_executable(resolve_address_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7364 | test/core/iomgr/resolve_address_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7365 | ) |
| 7366 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7367 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7368 | target_include_directories(resolve_address_test |
| 7369 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7370 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7371 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7372 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7373 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7374 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7375 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7376 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7377 | ) |
| 7378 | |
| 7379 | target_link_libraries(resolve_address_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7380 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7381 | grpc_test_util |
| 7382 | grpc |
| 7383 | gpr_test_util |
| 7384 | gpr |
| 7385 | ) |
| 7386 | |
| 7387 | endif (gRPC_BUILD_TESTS) |
| 7388 | if (gRPC_BUILD_TESTS) |
| 7389 | |
| 7390 | add_executable(resource_quota_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7391 | test/core/iomgr/resource_quota_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7392 | ) |
| 7393 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7394 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7395 | target_include_directories(resource_quota_test |
| 7396 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7397 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7398 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7399 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7400 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7401 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7402 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7403 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7404 | ) |
| 7405 | |
| 7406 | target_link_libraries(resource_quota_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7407 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7408 | grpc_test_util |
| 7409 | grpc |
| 7410 | gpr_test_util |
| 7411 | gpr |
| 7412 | ) |
| 7413 | |
| 7414 | endif (gRPC_BUILD_TESTS) |
| 7415 | if (gRPC_BUILD_TESTS) |
| 7416 | |
| 7417 | add_executable(secure_channel_create_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7418 | test/core/surface/secure_channel_create_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7419 | ) |
| 7420 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7421 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7422 | target_include_directories(secure_channel_create_test |
| 7423 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7424 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7425 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7426 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7427 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7428 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7429 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7430 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7431 | ) |
| 7432 | |
| 7433 | target_link_libraries(secure_channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7434 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7435 | grpc_test_util |
| 7436 | grpc |
| 7437 | gpr_test_util |
| 7438 | gpr |
| 7439 | ) |
| 7440 | |
| 7441 | endif (gRPC_BUILD_TESTS) |
| 7442 | if (gRPC_BUILD_TESTS) |
| 7443 | |
| 7444 | add_executable(secure_endpoint_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7445 | test/core/security/secure_endpoint_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7446 | ) |
| 7447 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7448 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7449 | target_include_directories(secure_endpoint_test |
| 7450 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7451 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7452 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7453 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7454 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7455 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7456 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7457 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7458 | ) |
| 7459 | |
| 7460 | target_link_libraries(secure_endpoint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7461 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7462 | grpc_test_util |
| 7463 | grpc |
| 7464 | gpr_test_util |
| 7465 | gpr |
| 7466 | ) |
| 7467 | |
| 7468 | endif (gRPC_BUILD_TESTS) |
| 7469 | if (gRPC_BUILD_TESTS) |
| 7470 | |
| 7471 | add_executable(sequential_connectivity_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7472 | test/core/surface/sequential_connectivity_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7473 | ) |
| 7474 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7475 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7476 | target_include_directories(sequential_connectivity_test |
| 7477 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7478 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7479 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7480 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7481 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7482 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7483 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7484 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7485 | ) |
| 7486 | |
| 7487 | target_link_libraries(sequential_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7488 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7489 | grpc_test_util |
| 7490 | grpc |
| 7491 | gpr_test_util |
| 7492 | gpr |
| 7493 | ) |
| 7494 | |
| 7495 | endif (gRPC_BUILD_TESTS) |
| 7496 | if (gRPC_BUILD_TESTS) |
| 7497 | |
| 7498 | add_executable(server_chttp2_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7499 | test/core/surface/server_chttp2_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7500 | ) |
| 7501 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7502 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7503 | target_include_directories(server_chttp2_test |
| 7504 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7505 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7506 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7507 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7508 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7509 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7510 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7511 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7512 | ) |
| 7513 | |
| 7514 | target_link_libraries(server_chttp2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7515 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7516 | grpc_test_util |
| 7517 | grpc |
| 7518 | gpr_test_util |
| 7519 | gpr |
| 7520 | ) |
| 7521 | |
| 7522 | endif (gRPC_BUILD_TESTS) |
| 7523 | if (gRPC_BUILD_TESTS) |
| 7524 | |
| 7525 | add_executable(server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7526 | test/core/surface/server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7527 | ) |
| 7528 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7529 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7530 | target_include_directories(server_test |
| 7531 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7532 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7533 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7534 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7535 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7536 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7537 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7538 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7539 | ) |
| 7540 | |
| 7541 | target_link_libraries(server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7542 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7543 | grpc_test_util |
| 7544 | grpc |
| 7545 | gpr_test_util |
| 7546 | gpr |
| 7547 | ) |
| 7548 | |
| 7549 | endif (gRPC_BUILD_TESTS) |
| 7550 | if (gRPC_BUILD_TESTS) |
| 7551 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7552 | add_executable(slice_buffer_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7553 | test/core/slice/slice_buffer_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7554 | ) |
| 7555 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7556 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7557 | target_include_directories(slice_buffer_test |
| 7558 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7559 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7560 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7561 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7562 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7563 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7564 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7565 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7566 | ) |
| 7567 | |
| 7568 | target_link_libraries(slice_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7569 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7570 | grpc_test_util |
| 7571 | grpc |
| 7572 | gpr_test_util |
| 7573 | gpr |
| 7574 | ) |
| 7575 | |
| 7576 | endif (gRPC_BUILD_TESTS) |
| 7577 | if (gRPC_BUILD_TESTS) |
| 7578 | |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 7579 | add_executable(slice_hash_table_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7580 | test/core/slice/slice_hash_table_test.cc |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 7581 | ) |
| 7582 | |
| 7583 | |
| 7584 | target_include_directories(slice_hash_table_test |
| 7585 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7586 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7587 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7588 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7589 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7590 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7591 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7592 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 7593 | ) |
| 7594 | |
| 7595 | target_link_libraries(slice_hash_table_test |
| 7596 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7597 | grpc_test_util |
| 7598 | grpc |
| 7599 | gpr_test_util |
| 7600 | gpr |
| 7601 | ) |
| 7602 | |
| 7603 | endif (gRPC_BUILD_TESTS) |
| 7604 | if (gRPC_BUILD_TESTS) |
| 7605 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7606 | add_executable(slice_string_helpers_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7607 | test/core/slice/slice_string_helpers_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7608 | ) |
| 7609 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7610 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7611 | target_include_directories(slice_string_helpers_test |
| 7612 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7613 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7614 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7615 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7616 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7617 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7618 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7619 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7620 | ) |
| 7621 | |
| 7622 | target_link_libraries(slice_string_helpers_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7623 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7624 | grpc_test_util |
| 7625 | grpc |
| 7626 | gpr_test_util |
| 7627 | gpr |
| 7628 | ) |
| 7629 | |
| 7630 | endif (gRPC_BUILD_TESTS) |
| 7631 | if (gRPC_BUILD_TESTS) |
| 7632 | |
| 7633 | add_executable(slice_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7634 | test/core/slice/slice_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7635 | ) |
| 7636 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7637 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7638 | target_include_directories(slice_test |
| 7639 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7640 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7641 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7642 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7643 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7644 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7645 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7646 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7647 | ) |
| 7648 | |
| 7649 | target_link_libraries(slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7650 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7651 | grpc_test_util |
| 7652 | grpc |
| 7653 | gpr_test_util |
| 7654 | gpr |
| 7655 | ) |
| 7656 | |
| 7657 | endif (gRPC_BUILD_TESTS) |
| 7658 | if (gRPC_BUILD_TESTS) |
| 7659 | |
| 7660 | add_executable(sockaddr_resolver_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7661 | test/core/client_channel/resolvers/sockaddr_resolver_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7662 | ) |
| 7663 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7664 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7665 | target_include_directories(sockaddr_resolver_test |
| 7666 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7667 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7668 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7669 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7670 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7671 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7672 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7673 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7674 | ) |
| 7675 | |
| 7676 | target_link_libraries(sockaddr_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7677 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7678 | grpc_test_util |
| 7679 | grpc |
| 7680 | gpr_test_util |
| 7681 | gpr |
| 7682 | ) |
| 7683 | |
| 7684 | endif (gRPC_BUILD_TESTS) |
| 7685 | if (gRPC_BUILD_TESTS) |
| 7686 | |
| 7687 | add_executable(sockaddr_utils_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7688 | test/core/iomgr/sockaddr_utils_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7689 | ) |
| 7690 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7691 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7692 | target_include_directories(sockaddr_utils_test |
| 7693 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7694 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7695 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7696 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7697 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7698 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7699 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7700 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7701 | ) |
| 7702 | |
| 7703 | target_link_libraries(sockaddr_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7704 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7705 | grpc_test_util |
| 7706 | grpc |
| 7707 | gpr_test_util |
| 7708 | gpr |
| 7709 | ) |
| 7710 | |
| 7711 | endif (gRPC_BUILD_TESTS) |
| 7712 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7713 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7714 | |
| 7715 | add_executable(socket_utils_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7716 | test/core/iomgr/socket_utils_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7717 | ) |
| 7718 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7719 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7720 | target_include_directories(socket_utils_test |
| 7721 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7722 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7723 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7724 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7725 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7726 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7727 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7728 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7729 | ) |
| 7730 | |
| 7731 | target_link_libraries(socket_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7732 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7733 | grpc_test_util |
| 7734 | grpc |
| 7735 | gpr_test_util |
| 7736 | gpr |
| 7737 | ) |
| 7738 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7739 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7740 | endif (gRPC_BUILD_TESTS) |
| 7741 | if (gRPC_BUILD_TESTS) |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 7742 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 7743 | |
| 7744 | add_executable(ssl_transport_security_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7745 | test/core/tsi/ssl_transport_security_test.cc |
| 7746 | test/core/tsi/transport_security_test_lib.cc |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 7747 | ) |
| 7748 | |
| 7749 | |
| 7750 | target_include_directories(ssl_transport_security_test |
| 7751 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7752 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7753 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7754 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7755 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7756 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7757 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7758 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 7759 | ) |
| 7760 | |
| 7761 | target_link_libraries(ssl_transport_security_test |
| 7762 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7763 | gpr_test_util |
| 7764 | gpr |
| 7765 | grpc |
| 7766 | ) |
| 7767 | |
| 7768 | endif() |
| 7769 | endif (gRPC_BUILD_TESTS) |
| 7770 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7771 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 7772 | add_executable(status_conversion_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7773 | test/core/transport/status_conversion_test.cc |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 7774 | ) |
| 7775 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7776 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 7777 | target_include_directories(status_conversion_test |
| 7778 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7779 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7780 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7781 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7782 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7783 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7784 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7785 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 7786 | ) |
| 7787 | |
| 7788 | target_link_libraries(status_conversion_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7789 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 7790 | grpc_test_util |
| 7791 | grpc |
| 7792 | gpr_test_util |
| 7793 | gpr |
| 7794 | ) |
| 7795 | |
| 7796 | endif (gRPC_BUILD_TESTS) |
| 7797 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 7798 | |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 7799 | add_executable(stream_compression_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7800 | test/core/compression/stream_compression_test.cc |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 7801 | ) |
| 7802 | |
| 7803 | |
| 7804 | target_include_directories(stream_compression_test |
| 7805 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7806 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7807 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7808 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7809 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7810 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7811 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7812 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 7813 | ) |
| 7814 | |
| 7815 | target_link_libraries(stream_compression_test |
| 7816 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7817 | grpc_test_util |
| 7818 | grpc |
| 7819 | gpr_test_util |
| 7820 | gpr |
| 7821 | ) |
| 7822 | |
| 7823 | endif (gRPC_BUILD_TESTS) |
| 7824 | if (gRPC_BUILD_TESTS) |
| 7825 | |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 7826 | add_executable(stream_owned_slice_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7827 | test/core/transport/stream_owned_slice_test.cc |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 7828 | ) |
| 7829 | |
| 7830 | |
| 7831 | target_include_directories(stream_owned_slice_test |
| 7832 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7833 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7834 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7835 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7836 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7837 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7838 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7839 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 7840 | ) |
| 7841 | |
| 7842 | target_link_libraries(stream_owned_slice_test |
| 7843 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7844 | grpc_test_util |
| 7845 | grpc |
| 7846 | gpr_test_util |
| 7847 | gpr |
| 7848 | ) |
| 7849 | |
| 7850 | endif (gRPC_BUILD_TESTS) |
| 7851 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7852 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 7853 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7854 | add_executable(tcp_client_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7855 | test/core/iomgr/tcp_client_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7856 | ) |
| 7857 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7858 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7859 | target_include_directories(tcp_client_posix_test |
| 7860 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7861 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7862 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7863 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7864 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7865 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7866 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7867 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7868 | ) |
| 7869 | |
| 7870 | target_link_libraries(tcp_client_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7871 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7872 | grpc_test_util |
| 7873 | grpc |
| 7874 | gpr_test_util |
| 7875 | gpr |
| 7876 | ) |
| 7877 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7878 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7879 | endif (gRPC_BUILD_TESTS) |
| 7880 | if (gRPC_BUILD_TESTS) |
| 7881 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7882 | add_executable(tcp_client_uv_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7883 | test/core/iomgr/tcp_client_uv_test.cc |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7884 | ) |
| 7885 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 7886 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7887 | target_include_directories(tcp_client_uv_test |
| 7888 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7889 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7890 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7891 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7892 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7893 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7894 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7895 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7896 | ) |
| 7897 | |
| 7898 | target_link_libraries(tcp_client_uv_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 7899 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7900 | grpc_test_util |
| 7901 | grpc |
| 7902 | gpr_test_util |
| 7903 | gpr |
| 7904 | ) |
| 7905 | |
| 7906 | endif (gRPC_BUILD_TESTS) |
| 7907 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7908 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7909 | |
| 7910 | add_executable(tcp_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7911 | test/core/iomgr/tcp_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7912 | ) |
| 7913 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7914 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7915 | target_include_directories(tcp_posix_test |
| 7916 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7917 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7918 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7919 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7920 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7921 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7922 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7923 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7924 | ) |
| 7925 | |
| 7926 | target_link_libraries(tcp_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7927 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7928 | grpc_test_util |
| 7929 | grpc |
| 7930 | gpr_test_util |
| 7931 | gpr |
| 7932 | ) |
| 7933 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7934 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7935 | endif (gRPC_BUILD_TESTS) |
| 7936 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7937 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7938 | |
| 7939 | add_executable(tcp_server_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7940 | test/core/iomgr/tcp_server_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7941 | ) |
| 7942 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7943 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7944 | target_include_directories(tcp_server_posix_test |
| 7945 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7946 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7947 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7948 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7949 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7950 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7951 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7952 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7953 | ) |
| 7954 | |
| 7955 | target_link_libraries(tcp_server_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7956 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7957 | grpc_test_util |
| 7958 | grpc |
| 7959 | gpr_test_util |
| 7960 | gpr |
| 7961 | ) |
| 7962 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7963 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7964 | endif (gRPC_BUILD_TESTS) |
| 7965 | if (gRPC_BUILD_TESTS) |
| 7966 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7967 | add_executable(tcp_server_uv_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7968 | test/core/iomgr/tcp_server_uv_test.cc |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7969 | ) |
| 7970 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 7971 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7972 | target_include_directories(tcp_server_uv_test |
| 7973 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7974 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7975 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 7976 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 7977 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 7978 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 7979 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 7980 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7981 | ) |
| 7982 | |
| 7983 | target_link_libraries(tcp_server_uv_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 7984 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 7985 | grpc_test_util |
| 7986 | grpc |
| 7987 | gpr_test_util |
| 7988 | gpr |
| 7989 | ) |
| 7990 | |
| 7991 | endif (gRPC_BUILD_TESTS) |
| 7992 | if (gRPC_BUILD_TESTS) |
| 7993 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7994 | add_executable(time_averaged_stats_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7995 | test/core/iomgr/time_averaged_stats_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7996 | ) |
| 7997 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7998 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7999 | target_include_directories(time_averaged_stats_test |
| 8000 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8001 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8002 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8003 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8004 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8005 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8006 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8007 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8008 | ) |
| 8009 | |
| 8010 | target_link_libraries(time_averaged_stats_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8011 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8012 | grpc_test_util |
| 8013 | grpc |
| 8014 | gpr_test_util |
| 8015 | gpr |
| 8016 | ) |
| 8017 | |
| 8018 | endif (gRPC_BUILD_TESTS) |
| 8019 | if (gRPC_BUILD_TESTS) |
| 8020 | |
| 8021 | add_executable(timeout_encoding_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8022 | test/core/transport/timeout_encoding_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8023 | ) |
| 8024 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8025 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8026 | target_include_directories(timeout_encoding_test |
| 8027 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8028 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8029 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8030 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8031 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8032 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8033 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8034 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8035 | ) |
| 8036 | |
| 8037 | target_link_libraries(timeout_encoding_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8038 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8039 | grpc_test_util |
| 8040 | grpc |
| 8041 | gpr_test_util |
| 8042 | gpr |
| 8043 | ) |
| 8044 | |
| 8045 | endif (gRPC_BUILD_TESTS) |
| 8046 | if (gRPC_BUILD_TESTS) |
| 8047 | |
| 8048 | add_executable(timer_heap_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8049 | test/core/iomgr/timer_heap_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8050 | ) |
| 8051 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8052 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8053 | target_include_directories(timer_heap_test |
| 8054 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8055 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8056 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8057 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8058 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8059 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8060 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8061 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8062 | ) |
| 8063 | |
| 8064 | target_link_libraries(timer_heap_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8065 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8066 | grpc_test_util |
| 8067 | grpc |
| 8068 | gpr_test_util |
| 8069 | gpr |
| 8070 | ) |
| 8071 | |
| 8072 | endif (gRPC_BUILD_TESTS) |
| 8073 | if (gRPC_BUILD_TESTS) |
| 8074 | |
| 8075 | add_executable(timer_list_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8076 | test/core/iomgr/timer_list_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8077 | ) |
| 8078 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8079 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8080 | target_include_directories(timer_list_test |
| 8081 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8082 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8083 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8084 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8085 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8086 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8087 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8088 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8089 | ) |
| 8090 | |
| 8091 | target_link_libraries(timer_list_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8092 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8093 | grpc_test_util |
| 8094 | grpc |
| 8095 | gpr_test_util |
| 8096 | gpr |
| 8097 | ) |
| 8098 | |
| 8099 | endif (gRPC_BUILD_TESTS) |
| 8100 | if (gRPC_BUILD_TESTS) |
| 8101 | |
| 8102 | add_executable(transport_connectivity_state_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8103 | test/core/transport/connectivity_state_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8104 | ) |
| 8105 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8106 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8107 | target_include_directories(transport_connectivity_state_test |
| 8108 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8109 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8110 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8111 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8112 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8113 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8114 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8115 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8116 | ) |
| 8117 | |
| 8118 | target_link_libraries(transport_connectivity_state_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8119 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8120 | grpc_test_util |
| 8121 | grpc |
| 8122 | gpr_test_util |
| 8123 | gpr |
| 8124 | ) |
| 8125 | |
| 8126 | endif (gRPC_BUILD_TESTS) |
| 8127 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 48bed5e | 2017-10-16 15:42:41 -0700 | [diff] [blame] | 8128 | |
| 8129 | add_executable(transport_metadata_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8130 | test/core/transport/metadata_test.cc |
Craig Tiller | 48bed5e | 2017-10-16 15:42:41 -0700 | [diff] [blame] | 8131 | ) |
| 8132 | |
| 8133 | |
| 8134 | target_include_directories(transport_metadata_test |
| 8135 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8136 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8137 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8138 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8139 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8140 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8141 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8142 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 48bed5e | 2017-10-16 15:42:41 -0700 | [diff] [blame] | 8143 | ) |
| 8144 | |
| 8145 | target_link_libraries(transport_metadata_test |
| 8146 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8147 | grpc_test_util |
| 8148 | grpc |
| 8149 | gpr_test_util |
| 8150 | gpr |
| 8151 | ) |
| 8152 | |
| 8153 | endif (gRPC_BUILD_TESTS) |
| 8154 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8155 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8156 | |
| 8157 | add_executable(transport_security_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8158 | test/core/tsi/transport_security_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8159 | ) |
| 8160 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8161 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8162 | target_include_directories(transport_security_test |
| 8163 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8164 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8165 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8166 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8167 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8168 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8169 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8170 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8171 | ) |
| 8172 | |
| 8173 | target_link_libraries(transport_security_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8174 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8175 | grpc_test_util |
| 8176 | grpc |
| 8177 | gpr_test_util |
| 8178 | gpr |
| 8179 | ) |
| 8180 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8181 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8182 | endif (gRPC_BUILD_TESTS) |
| 8183 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8184 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8185 | |
| 8186 | add_executable(udp_server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8187 | test/core/iomgr/udp_server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8188 | ) |
| 8189 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8190 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8191 | target_include_directories(udp_server_test |
| 8192 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8193 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8194 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8195 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8196 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8197 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8198 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8199 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8200 | ) |
| 8201 | |
| 8202 | target_link_libraries(udp_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8203 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8204 | grpc_test_util |
| 8205 | grpc |
| 8206 | gpr_test_util |
| 8207 | gpr |
| 8208 | ) |
| 8209 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8210 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8211 | endif (gRPC_BUILD_TESTS) |
| 8212 | if (gRPC_BUILD_TESTS) |
| 8213 | |
| 8214 | add_executable(uri_parser_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8215 | test/core/client_channel/uri_parser_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8216 | ) |
| 8217 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8218 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8219 | target_include_directories(uri_parser_test |
| 8220 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8221 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8222 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8223 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8224 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8225 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8226 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8227 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8228 | ) |
| 8229 | |
| 8230 | target_link_libraries(uri_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8231 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8232 | grpc_test_util |
| 8233 | grpc |
| 8234 | gpr_test_util |
| 8235 | gpr |
| 8236 | ) |
| 8237 | |
| 8238 | endif (gRPC_BUILD_TESTS) |
| 8239 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8240 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8241 | |
| 8242 | add_executable(wakeup_fd_cv_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8243 | test/core/iomgr/wakeup_fd_cv_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8244 | ) |
| 8245 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8246 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8247 | target_include_directories(wakeup_fd_cv_test |
| 8248 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8249 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8250 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8251 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8252 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8253 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8254 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8255 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8256 | ) |
| 8257 | |
| 8258 | target_link_libraries(wakeup_fd_cv_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8259 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8260 | grpc_test_util |
| 8261 | grpc |
| 8262 | gpr_test_util |
| 8263 | gpr |
| 8264 | ) |
| 8265 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8266 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8267 | endif (gRPC_BUILD_TESTS) |
| 8268 | if (gRPC_BUILD_TESTS) |
| 8269 | |
Vijay Pai | 2b226ad | 2018-01-11 16:11:35 -0800 | [diff] [blame] | 8270 | add_executable(alarm_test |
| 8271 | test/cpp/common/alarm_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8272 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8273 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8274 | ) |
| 8275 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8276 | |
Vijay Pai | 2b226ad | 2018-01-11 16:11:35 -0800 | [diff] [blame] | 8277 | target_include_directories(alarm_test |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8278 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8279 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8280 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8281 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8282 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8283 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8284 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8285 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8286 | PRIVATE third_party/googletest/googletest/include |
| 8287 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8288 | PRIVATE third_party/googletest/googlemock/include |
| 8289 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8290 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8291 | ) |
| 8292 | |
Vijay Pai | 2b226ad | 2018-01-11 16:11:35 -0800 | [diff] [blame] | 8293 | target_link_libraries(alarm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8294 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8295 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8296 | grpc++_test_util_unsecure |
| 8297 | grpc_test_util_unsecure |
| 8298 | grpc++_unsecure |
| 8299 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8300 | gpr_test_util |
| 8301 | gpr |
| 8302 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8303 | ) |
| 8304 | |
| 8305 | endif (gRPC_BUILD_TESTS) |
| 8306 | if (gRPC_BUILD_TESTS) |
| 8307 | |
| 8308 | add_executable(async_end2end_test |
| 8309 | test/cpp/end2end/async_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8310 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8311 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8312 | ) |
| 8313 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8314 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8315 | target_include_directories(async_end2end_test |
| 8316 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8317 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8318 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8319 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8320 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8321 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8322 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8323 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8324 | PRIVATE third_party/googletest/googletest/include |
| 8325 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8326 | PRIVATE third_party/googletest/googlemock/include |
| 8327 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8328 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8329 | ) |
| 8330 | |
| 8331 | target_link_libraries(async_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8332 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8333 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8334 | grpc++_test_util |
| 8335 | grpc_test_util |
| 8336 | grpc++ |
| 8337 | grpc |
| 8338 | gpr_test_util |
| 8339 | gpr |
| 8340 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8341 | ) |
| 8342 | |
| 8343 | endif (gRPC_BUILD_TESTS) |
| 8344 | if (gRPC_BUILD_TESTS) |
| 8345 | |
| 8346 | add_executable(auth_property_iterator_test |
| 8347 | test/cpp/common/auth_property_iterator_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8348 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8349 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8350 | ) |
| 8351 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8352 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8353 | target_include_directories(auth_property_iterator_test |
| 8354 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8355 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8356 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8357 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8358 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8359 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8360 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8361 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8362 | PRIVATE third_party/googletest/googletest/include |
| 8363 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8364 | PRIVATE third_party/googletest/googlemock/include |
| 8365 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8366 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8367 | ) |
| 8368 | |
| 8369 | target_link_libraries(auth_property_iterator_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8370 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8371 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8372 | grpc++_test_util |
| 8373 | grpc_test_util |
| 8374 | grpc++ |
| 8375 | grpc |
| 8376 | gpr_test_util |
| 8377 | gpr |
| 8378 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8379 | ) |
| 8380 | |
| 8381 | endif (gRPC_BUILD_TESTS) |
| 8382 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 8383 | |
David Garcia Quintas | 460b5e0 | 2017-12-04 16:12:16 -0800 | [diff] [blame] | 8384 | add_executable(backoff_test |
| 8385 | test/core/backoff/backoff_test.cc |
| 8386 | third_party/googletest/googletest/src/gtest-all.cc |
| 8387 | third_party/googletest/googlemock/src/gmock-all.cc |
| 8388 | ) |
| 8389 | |
| 8390 | |
| 8391 | target_include_directories(backoff_test |
| 8392 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8393 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
David Garcia Quintas | 9c8ea03 | 2017-12-15 13:24:55 -0800 | [diff] [blame] | 8394 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8395 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8396 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8397 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8398 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8399 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
David Garcia Quintas | 460b5e0 | 2017-12-04 16:12:16 -0800 | [diff] [blame] | 8400 | PRIVATE third_party/googletest/googletest/include |
| 8401 | PRIVATE third_party/googletest/googletest |
| 8402 | PRIVATE third_party/googletest/googlemock/include |
| 8403 | PRIVATE third_party/googletest/googlemock |
| 8404 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8405 | ) |
| 8406 | |
| 8407 | target_link_libraries(backoff_test |
| 8408 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8409 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8410 | grpc_test_util |
| 8411 | grpc |
| 8412 | gpr_test_util |
| 8413 | gpr |
| 8414 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8415 | ) |
| 8416 | |
| 8417 | endif (gRPC_BUILD_TESTS) |
| 8418 | if (gRPC_BUILD_TESTS) |
| 8419 | |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 8420 | add_executable(bdp_estimator_test |
| 8421 | test/core/transport/bdp_estimator_test.cc |
| 8422 | third_party/googletest/googletest/src/gtest-all.cc |
| 8423 | third_party/googletest/googlemock/src/gmock-all.cc |
| 8424 | ) |
| 8425 | |
| 8426 | |
| 8427 | target_include_directories(bdp_estimator_test |
| 8428 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8429 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8430 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8431 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8432 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8433 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8434 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8435 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 8436 | PRIVATE third_party/googletest/googletest/include |
| 8437 | PRIVATE third_party/googletest/googletest |
| 8438 | PRIVATE third_party/googletest/googlemock/include |
| 8439 | PRIVATE third_party/googletest/googlemock |
| 8440 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8441 | ) |
| 8442 | |
| 8443 | target_link_libraries(bdp_estimator_test |
| 8444 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8445 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8446 | grpc++_test_util |
| 8447 | grpc++ |
| 8448 | grpc_test_util |
| 8449 | grpc |
| 8450 | gpr_test_util |
| 8451 | gpr |
| 8452 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8453 | ) |
| 8454 | |
| 8455 | endif (gRPC_BUILD_TESTS) |
| 8456 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8457 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8458 | |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8459 | add_executable(bm_arena |
| 8460 | test/cpp/microbenchmarks/bm_arena.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8461 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8462 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8463 | ) |
| 8464 | |
| 8465 | |
| 8466 | target_include_directories(bm_arena |
| 8467 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8468 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8469 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8470 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8471 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8472 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8473 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8474 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8475 | PRIVATE third_party/googletest/googletest/include |
| 8476 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8477 | PRIVATE third_party/googletest/googlemock/include |
| 8478 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8479 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8480 | ) |
| 8481 | |
| 8482 | target_link_libraries(bm_arena |
| 8483 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8484 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8485 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8486 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8487 | grpc++_test_util_unsecure |
| 8488 | grpc_test_util_unsecure |
| 8489 | grpc++_unsecure |
| 8490 | grpc_unsecure |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8491 | gpr_test_util |
| 8492 | gpr |
| 8493 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8494 | ) |
| 8495 | |
| 8496 | endif() |
| 8497 | endif (gRPC_BUILD_TESTS) |
| 8498 | if (gRPC_BUILD_TESTS) |
| 8499 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8500 | |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8501 | add_executable(bm_call_create |
| 8502 | test/cpp/microbenchmarks/bm_call_create.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8503 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8504 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8505 | ) |
| 8506 | |
| 8507 | |
| 8508 | target_include_directories(bm_call_create |
| 8509 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8510 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8511 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8512 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8513 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8514 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8515 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8516 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8517 | PRIVATE third_party/googletest/googletest/include |
| 8518 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8519 | PRIVATE third_party/googletest/googlemock/include |
| 8520 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8521 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8522 | ) |
| 8523 | |
| 8524 | target_link_libraries(bm_call_create |
| 8525 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8526 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 8527 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8528 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8529 | grpc++_test_util_unsecure |
| 8530 | grpc_test_util_unsecure |
| 8531 | grpc++_unsecure |
| 8532 | grpc_unsecure |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8533 | gpr_test_util |
| 8534 | gpr |
| 8535 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8536 | ) |
| 8537 | |
| 8538 | endif() |
| 8539 | endif (gRPC_BUILD_TESTS) |
| 8540 | if (gRPC_BUILD_TESTS) |
| 8541 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8542 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 8543 | add_executable(bm_chttp2_hpack |
| 8544 | test/cpp/microbenchmarks/bm_chttp2_hpack.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8545 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8546 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8547 | ) |
| 8548 | |
| 8549 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 8550 | target_include_directories(bm_chttp2_hpack |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8551 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8552 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8553 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8554 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8555 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8556 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8557 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8558 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8559 | PRIVATE third_party/googletest/googletest/include |
| 8560 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8561 | PRIVATE third_party/googletest/googlemock/include |
| 8562 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8563 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8564 | ) |
| 8565 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 8566 | target_link_libraries(bm_chttp2_hpack |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8567 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8568 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 8569 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8570 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8571 | grpc++_test_util_unsecure |
| 8572 | grpc_test_util_unsecure |
| 8573 | grpc++_unsecure |
| 8574 | grpc_unsecure |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8575 | gpr_test_util |
| 8576 | gpr |
| 8577 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8578 | ) |
| 8579 | |
| 8580 | endif() |
| 8581 | endif (gRPC_BUILD_TESTS) |
| 8582 | if (gRPC_BUILD_TESTS) |
| 8583 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8584 | |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 8585 | add_executable(bm_chttp2_transport |
| 8586 | test/cpp/microbenchmarks/bm_chttp2_transport.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8587 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8588 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 8589 | ) |
| 8590 | |
| 8591 | |
| 8592 | target_include_directories(bm_chttp2_transport |
| 8593 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8594 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8595 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8596 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8597 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8598 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8599 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8600 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8601 | PRIVATE third_party/googletest/googletest/include |
| 8602 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8603 | PRIVATE third_party/googletest/googlemock/include |
| 8604 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 8605 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8606 | ) |
| 8607 | |
| 8608 | target_link_libraries(bm_chttp2_transport |
| 8609 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8610 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8611 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8612 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8613 | grpc++_test_util_unsecure |
| 8614 | grpc_test_util_unsecure |
| 8615 | grpc++_unsecure |
| 8616 | grpc_unsecure |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 8617 | gpr_test_util |
| 8618 | gpr |
| 8619 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8620 | ) |
| 8621 | |
| 8622 | endif() |
| 8623 | endif (gRPC_BUILD_TESTS) |
| 8624 | if (gRPC_BUILD_TESTS) |
| 8625 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8626 | |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 8627 | add_executable(bm_closure |
| 8628 | test/cpp/microbenchmarks/bm_closure.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8629 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8630 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 8631 | ) |
| 8632 | |
| 8633 | |
| 8634 | target_include_directories(bm_closure |
| 8635 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8636 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8637 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8638 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8639 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8640 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8641 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8642 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8643 | PRIVATE third_party/googletest/googletest/include |
| 8644 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8645 | PRIVATE third_party/googletest/googlemock/include |
| 8646 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 8647 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8648 | ) |
| 8649 | |
| 8650 | target_link_libraries(bm_closure |
| 8651 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8652 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 8653 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8654 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8655 | grpc++_test_util_unsecure |
| 8656 | grpc_test_util_unsecure |
| 8657 | grpc++_unsecure |
| 8658 | grpc_unsecure |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 8659 | gpr_test_util |
| 8660 | gpr |
| 8661 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8662 | ) |
| 8663 | |
| 8664 | endif() |
| 8665 | endif (gRPC_BUILD_TESTS) |
| 8666 | if (gRPC_BUILD_TESTS) |
| 8667 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8668 | |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 8669 | add_executable(bm_cq |
| 8670 | test/cpp/microbenchmarks/bm_cq.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8671 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8672 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 8673 | ) |
| 8674 | |
| 8675 | |
| 8676 | target_include_directories(bm_cq |
| 8677 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8678 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8679 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8680 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8681 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8682 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8683 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8684 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8685 | PRIVATE third_party/googletest/googletest/include |
| 8686 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8687 | PRIVATE third_party/googletest/googlemock/include |
| 8688 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 8689 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8690 | ) |
| 8691 | |
| 8692 | target_link_libraries(bm_cq |
| 8693 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8694 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 8695 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8696 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8697 | grpc++_test_util_unsecure |
| 8698 | grpc_test_util_unsecure |
| 8699 | grpc++_unsecure |
| 8700 | grpc_unsecure |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 8701 | gpr_test_util |
| 8702 | gpr |
| 8703 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8704 | ) |
| 8705 | |
| 8706 | endif() |
| 8707 | endif (gRPC_BUILD_TESTS) |
| 8708 | if (gRPC_BUILD_TESTS) |
| 8709 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8710 | |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 8711 | add_executable(bm_cq_multiple_threads |
| 8712 | test/cpp/microbenchmarks/bm_cq_multiple_threads.cc |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 8713 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8714 | third_party/googletest/googlemock/src/gmock-all.cc |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 8715 | ) |
| 8716 | |
| 8717 | |
| 8718 | target_include_directories(bm_cq_multiple_threads |
| 8719 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8720 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8721 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8722 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8723 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8724 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8725 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8726 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 8727 | PRIVATE third_party/googletest/googletest/include |
| 8728 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8729 | PRIVATE third_party/googletest/googlemock/include |
| 8730 | PRIVATE third_party/googletest/googlemock |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 8731 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8732 | ) |
| 8733 | |
| 8734 | target_link_libraries(bm_cq_multiple_threads |
| 8735 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8736 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8737 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8738 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8739 | grpc++_test_util_unsecure |
| 8740 | grpc_test_util_unsecure |
| 8741 | grpc++_unsecure |
| 8742 | grpc_unsecure |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 8743 | gpr_test_util |
| 8744 | gpr |
| 8745 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8746 | ) |
| 8747 | |
| 8748 | endif() |
| 8749 | endif (gRPC_BUILD_TESTS) |
| 8750 | if (gRPC_BUILD_TESTS) |
| 8751 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8752 | |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 8753 | add_executable(bm_error |
| 8754 | test/cpp/microbenchmarks/bm_error.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8755 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8756 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 8757 | ) |
| 8758 | |
| 8759 | |
| 8760 | target_include_directories(bm_error |
| 8761 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8762 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8763 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8764 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8765 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8766 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8767 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8768 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8769 | PRIVATE third_party/googletest/googletest/include |
| 8770 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8771 | PRIVATE third_party/googletest/googlemock/include |
| 8772 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 8773 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8774 | ) |
| 8775 | |
| 8776 | target_link_libraries(bm_error |
| 8777 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8778 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 8779 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8780 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8781 | grpc++_test_util_unsecure |
| 8782 | grpc_test_util_unsecure |
| 8783 | grpc++_unsecure |
| 8784 | grpc_unsecure |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 8785 | gpr_test_util |
| 8786 | gpr |
| 8787 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8788 | ) |
| 8789 | |
| 8790 | endif() |
| 8791 | endif (gRPC_BUILD_TESTS) |
| 8792 | if (gRPC_BUILD_TESTS) |
| 8793 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8794 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 8795 | add_executable(bm_fullstack_streaming_ping_pong |
| 8796 | test/cpp/microbenchmarks/bm_fullstack_streaming_ping_pong.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8797 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8798 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8799 | ) |
| 8800 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8801 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 8802 | target_include_directories(bm_fullstack_streaming_ping_pong |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8803 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8804 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8805 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8806 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8807 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8808 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8809 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8810 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8811 | PRIVATE third_party/googletest/googletest/include |
| 8812 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8813 | PRIVATE third_party/googletest/googlemock/include |
| 8814 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8815 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8816 | ) |
| 8817 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 8818 | target_link_libraries(bm_fullstack_streaming_ping_pong |
| 8819 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8820 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8821 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8822 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8823 | grpc++_test_util_unsecure |
| 8824 | grpc_test_util_unsecure |
| 8825 | grpc++_unsecure |
| 8826 | grpc_unsecure |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 8827 | gpr_test_util |
| 8828 | gpr |
| 8829 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8830 | ) |
| 8831 | |
| 8832 | endif() |
| 8833 | endif (gRPC_BUILD_TESTS) |
| 8834 | if (gRPC_BUILD_TESTS) |
| 8835 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8836 | |
| 8837 | add_executable(bm_fullstack_streaming_pump |
| 8838 | test/cpp/microbenchmarks/bm_fullstack_streaming_pump.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8839 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8840 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 8841 | ) |
| 8842 | |
| 8843 | |
| 8844 | target_include_directories(bm_fullstack_streaming_pump |
| 8845 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8846 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8847 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8848 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8849 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8850 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8851 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8852 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8853 | PRIVATE third_party/googletest/googletest/include |
| 8854 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8855 | PRIVATE third_party/googletest/googlemock/include |
| 8856 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 8857 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8858 | ) |
| 8859 | |
| 8860 | target_link_libraries(bm_fullstack_streaming_pump |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8861 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8862 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 8863 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8864 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8865 | grpc++_test_util_unsecure |
| 8866 | grpc_test_util_unsecure |
| 8867 | grpc++_unsecure |
| 8868 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8869 | gpr_test_util |
| 8870 | gpr |
| 8871 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8872 | ) |
| 8873 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8874 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8875 | endif (gRPC_BUILD_TESTS) |
| 8876 | if (gRPC_BUILD_TESTS) |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 8877 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8878 | |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 8879 | add_executable(bm_fullstack_trickle |
| 8880 | test/cpp/microbenchmarks/bm_fullstack_trickle.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8881 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8882 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 8883 | ) |
| 8884 | |
| 8885 | |
| 8886 | target_include_directories(bm_fullstack_trickle |
| 8887 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8888 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8889 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8890 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8891 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8892 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8893 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8894 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8895 | PRIVATE third_party/googletest/googletest/include |
| 8896 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8897 | PRIVATE third_party/googletest/googlemock/include |
| 8898 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 8899 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8900 | ) |
| 8901 | |
| 8902 | target_link_libraries(bm_fullstack_trickle |
| 8903 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8904 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8905 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8906 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8907 | grpc++_test_util_unsecure |
| 8908 | grpc_test_util_unsecure |
| 8909 | grpc++_unsecure |
| 8910 | grpc_unsecure |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 8911 | gpr_test_util |
| 8912 | gpr |
ncteisen | c302eb9 | 2017-08-18 12:27:34 -0700 | [diff] [blame] | 8913 | grpc++_test_config |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 8914 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8915 | ) |
| 8916 | |
| 8917 | endif() |
| 8918 | endif (gRPC_BUILD_TESTS) |
| 8919 | if (gRPC_BUILD_TESTS) |
| 8920 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8921 | |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 8922 | add_executable(bm_fullstack_unary_ping_pong |
| 8923 | test/cpp/microbenchmarks/bm_fullstack_unary_ping_pong.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8924 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8925 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 8926 | ) |
| 8927 | |
| 8928 | |
| 8929 | target_include_directories(bm_fullstack_unary_ping_pong |
| 8930 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8931 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8932 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8933 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8934 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8935 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8936 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8937 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8938 | PRIVATE third_party/googletest/googletest/include |
| 8939 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8940 | PRIVATE third_party/googletest/googlemock/include |
| 8941 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 8942 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8943 | ) |
| 8944 | |
| 8945 | target_link_libraries(bm_fullstack_unary_ping_pong |
| 8946 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8947 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8948 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8949 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8950 | grpc++_test_util_unsecure |
| 8951 | grpc_test_util_unsecure |
| 8952 | grpc++_unsecure |
| 8953 | grpc_unsecure |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 8954 | gpr_test_util |
| 8955 | gpr |
| 8956 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8957 | ) |
| 8958 | |
| 8959 | endif() |
| 8960 | endif (gRPC_BUILD_TESTS) |
| 8961 | if (gRPC_BUILD_TESTS) |
| 8962 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8963 | |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 8964 | add_executable(bm_metadata |
| 8965 | test/cpp/microbenchmarks/bm_metadata.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8966 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8967 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 8968 | ) |
| 8969 | |
| 8970 | |
| 8971 | target_include_directories(bm_metadata |
| 8972 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8973 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8974 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8975 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 8976 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 8977 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 8978 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 8979 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8980 | PRIVATE third_party/googletest/googletest/include |
| 8981 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8982 | PRIVATE third_party/googletest/googlemock/include |
| 8983 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 8984 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8985 | ) |
| 8986 | |
| 8987 | target_link_libraries(bm_metadata |
| 8988 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8989 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 8990 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 8991 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8992 | grpc++_test_util_unsecure |
| 8993 | grpc_test_util_unsecure |
| 8994 | grpc++_unsecure |
| 8995 | grpc_unsecure |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 8996 | gpr_test_util |
| 8997 | gpr |
| 8998 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8999 | ) |
| 9000 | |
| 9001 | endif() |
| 9002 | endif (gRPC_BUILD_TESTS) |
| 9003 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9004 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9005 | |
| 9006 | add_executable(bm_pollset |
| 9007 | test/cpp/microbenchmarks/bm_pollset.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9008 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9009 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9010 | ) |
| 9011 | |
| 9012 | |
| 9013 | target_include_directories(bm_pollset |
| 9014 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9015 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9016 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9017 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9018 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9019 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9020 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9021 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9022 | PRIVATE third_party/googletest/googletest/include |
| 9023 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9024 | PRIVATE third_party/googletest/googlemock/include |
| 9025 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9026 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9027 | ) |
| 9028 | |
| 9029 | target_link_libraries(bm_pollset |
| 9030 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9031 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9032 | grpc_benchmark |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9033 | ${_gRPC_BENCHMARK_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9034 | grpc++_test_util_unsecure |
| 9035 | grpc_test_util_unsecure |
| 9036 | grpc++_unsecure |
| 9037 | grpc_unsecure |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9038 | gpr_test_util |
| 9039 | gpr |
| 9040 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9041 | ) |
| 9042 | |
| 9043 | endif() |
| 9044 | endif (gRPC_BUILD_TESTS) |
| 9045 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9046 | |
| 9047 | add_executable(channel_arguments_test |
| 9048 | test/cpp/common/channel_arguments_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9049 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9050 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9051 | ) |
| 9052 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9053 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9054 | target_include_directories(channel_arguments_test |
| 9055 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9056 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9057 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9058 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9059 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9060 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9061 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9062 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9063 | PRIVATE third_party/googletest/googletest/include |
| 9064 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9065 | PRIVATE third_party/googletest/googlemock/include |
| 9066 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9067 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9068 | ) |
| 9069 | |
| 9070 | target_link_libraries(channel_arguments_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9071 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9072 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9073 | grpc++ |
| 9074 | grpc |
| 9075 | gpr |
| 9076 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9077 | ) |
| 9078 | |
| 9079 | endif (gRPC_BUILD_TESTS) |
| 9080 | if (gRPC_BUILD_TESTS) |
| 9081 | |
| 9082 | add_executable(channel_filter_test |
| 9083 | test/cpp/common/channel_filter_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9084 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9085 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9086 | ) |
| 9087 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9088 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9089 | target_include_directories(channel_filter_test |
| 9090 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9091 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9092 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9093 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9094 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9095 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9096 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9097 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9098 | PRIVATE third_party/googletest/googletest/include |
| 9099 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9100 | PRIVATE third_party/googletest/googlemock/include |
| 9101 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9102 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9103 | ) |
| 9104 | |
| 9105 | target_link_libraries(channel_filter_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9106 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9107 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9108 | grpc++ |
| 9109 | grpc |
| 9110 | gpr |
| 9111 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9112 | ) |
| 9113 | |
| 9114 | endif (gRPC_BUILD_TESTS) |
| 9115 | if (gRPC_BUILD_TESTS) |
| 9116 | |
Mark D. Roth | b9f34ac | 2017-11-21 15:47:12 -0800 | [diff] [blame] | 9117 | add_executable(chttp2_settings_timeout_test |
| 9118 | test/core/transport/chttp2/settings_timeout_test.cc |
| 9119 | third_party/googletest/googletest/src/gtest-all.cc |
| 9120 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9121 | ) |
| 9122 | |
| 9123 | |
| 9124 | target_include_directories(chttp2_settings_timeout_test |
| 9125 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9126 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9127 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9128 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9129 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9130 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9131 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9132 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Mark D. Roth | b9f34ac | 2017-11-21 15:47:12 -0800 | [diff] [blame] | 9133 | PRIVATE third_party/googletest/googletest/include |
| 9134 | PRIVATE third_party/googletest/googletest |
| 9135 | PRIVATE third_party/googletest/googlemock/include |
| 9136 | PRIVATE third_party/googletest/googlemock |
| 9137 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9138 | ) |
| 9139 | |
| 9140 | target_link_libraries(chttp2_settings_timeout_test |
| 9141 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9142 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9143 | grpc_test_util |
| 9144 | grpc |
| 9145 | gpr_test_util |
| 9146 | gpr |
| 9147 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9148 | ) |
| 9149 | |
| 9150 | endif (gRPC_BUILD_TESTS) |
| 9151 | if (gRPC_BUILD_TESTS) |
| 9152 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9153 | add_executable(cli_call_test |
| 9154 | test/cpp/util/cli_call_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9155 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9156 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9157 | ) |
| 9158 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9159 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9160 | target_include_directories(cli_call_test |
| 9161 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9162 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9163 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9164 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9165 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9166 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9167 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9168 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9169 | PRIVATE third_party/googletest/googletest/include |
| 9170 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9171 | PRIVATE third_party/googletest/googlemock/include |
| 9172 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9173 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9174 | ) |
| 9175 | |
| 9176 | target_link_libraries(cli_call_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9177 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9178 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9179 | grpc_cli_libs |
| 9180 | grpc++_test_util |
| 9181 | grpc_test_util |
| 9182 | grpc++ |
| 9183 | grpc |
| 9184 | gpr_test_util |
| 9185 | gpr |
| 9186 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9187 | ) |
| 9188 | |
| 9189 | endif (gRPC_BUILD_TESTS) |
| 9190 | if (gRPC_BUILD_TESTS) |
Juanli Shen | e5d2139 | 2017-11-14 16:07:23 -0800 | [diff] [blame] | 9191 | |
| 9192 | add_executable(client_channel_stress_test |
| 9193 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 9194 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 9195 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 9196 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h |
| 9197 | test/cpp/client/client_channel_stress_test.cc |
| 9198 | third_party/googletest/googletest/src/gtest-all.cc |
| 9199 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9200 | ) |
| 9201 | |
| 9202 | protobuf_generate_grpc_cpp( |
| 9203 | src/proto/grpc/lb/v1/load_balancer.proto |
| 9204 | ) |
| 9205 | |
| 9206 | target_include_directories(client_channel_stress_test |
| 9207 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9208 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9209 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9210 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9211 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9212 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9213 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9214 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Juanli Shen | e5d2139 | 2017-11-14 16:07:23 -0800 | [diff] [blame] | 9215 | PRIVATE third_party/googletest/googletest/include |
| 9216 | PRIVATE third_party/googletest/googletest |
| 9217 | PRIVATE third_party/googletest/googlemock/include |
| 9218 | PRIVATE third_party/googletest/googlemock |
| 9219 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9220 | ) |
| 9221 | |
| 9222 | target_link_libraries(client_channel_stress_test |
| 9223 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9224 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9225 | grpc++_test_util |
| 9226 | grpc_test_util |
| 9227 | grpc++ |
| 9228 | grpc |
| 9229 | gpr_test_util |
| 9230 | gpr |
| 9231 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9232 | ) |
| 9233 | |
| 9234 | endif (gRPC_BUILD_TESTS) |
| 9235 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9236 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9237 | |
| 9238 | add_executable(client_crash_test |
| 9239 | test/cpp/end2end/client_crash_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9240 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9241 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9242 | ) |
| 9243 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9244 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9245 | target_include_directories(client_crash_test |
| 9246 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9247 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9248 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9249 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9250 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9251 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9252 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9253 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9254 | PRIVATE third_party/googletest/googletest/include |
| 9255 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9256 | PRIVATE third_party/googletest/googlemock/include |
| 9257 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9258 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9259 | ) |
| 9260 | |
| 9261 | target_link_libraries(client_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9262 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9263 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9264 | grpc++_test_util |
| 9265 | grpc_test_util |
| 9266 | grpc++ |
| 9267 | grpc |
| 9268 | gpr_test_util |
| 9269 | gpr |
| 9270 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9271 | ) |
| 9272 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9273 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9274 | endif (gRPC_BUILD_TESTS) |
| 9275 | if (gRPC_BUILD_TESTS) |
| 9276 | |
| 9277 | add_executable(client_crash_test_server |
| 9278 | test/cpp/end2end/client_crash_test_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9279 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9280 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9281 | ) |
| 9282 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9283 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9284 | target_include_directories(client_crash_test_server |
| 9285 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9286 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9287 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9288 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9289 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9290 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9291 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9292 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9293 | PRIVATE third_party/googletest/googletest/include |
| 9294 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9295 | PRIVATE third_party/googletest/googlemock/include |
| 9296 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9297 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9298 | ) |
| 9299 | |
| 9300 | target_link_libraries(client_crash_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9301 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9302 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9303 | grpc++_test_util |
| 9304 | grpc_test_util |
| 9305 | grpc++ |
| 9306 | grpc |
| 9307 | gpr_test_util |
| 9308 | gpr |
| 9309 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9310 | ) |
| 9311 | |
| 9312 | endif (gRPC_BUILD_TESTS) |
| 9313 | if (gRPC_BUILD_TESTS) |
| 9314 | |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 9315 | add_executable(client_lb_end2end_test |
| 9316 | test/cpp/end2end/client_lb_end2end_test.cc |
| 9317 | third_party/googletest/googletest/src/gtest-all.cc |
| 9318 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9319 | ) |
| 9320 | |
| 9321 | |
| 9322 | target_include_directories(client_lb_end2end_test |
| 9323 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9324 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9325 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9326 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9327 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9328 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9329 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9330 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 9331 | PRIVATE third_party/googletest/googletest/include |
| 9332 | PRIVATE third_party/googletest/googletest |
| 9333 | PRIVATE third_party/googletest/googlemock/include |
| 9334 | PRIVATE third_party/googletest/googlemock |
| 9335 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9336 | ) |
| 9337 | |
| 9338 | target_link_libraries(client_lb_end2end_test |
| 9339 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9340 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9341 | grpc++_test_util |
| 9342 | grpc_test_util |
| 9343 | grpc++ |
| 9344 | grpc |
| 9345 | gpr_test_util |
| 9346 | gpr |
| 9347 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9348 | ) |
| 9349 | |
| 9350 | endif (gRPC_BUILD_TESTS) |
| 9351 | if (gRPC_BUILD_TESTS) |
| 9352 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9353 | add_executable(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9354 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 9355 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 9356 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 9357 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 9358 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 9359 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 9360 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 9361 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 9362 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 9363 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 9364 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 9365 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 9366 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 9367 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 9368 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 9369 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
| 9370 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 9371 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 9372 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 9373 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9374 | test/cpp/codegen/codegen_test_full.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9375 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9376 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9377 | ) |
| 9378 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9379 | protobuf_generate_grpc_cpp( |
| 9380 | src/proto/grpc/testing/control.proto |
| 9381 | ) |
| 9382 | protobuf_generate_grpc_cpp( |
| 9383 | src/proto/grpc/testing/messages.proto |
| 9384 | ) |
| 9385 | protobuf_generate_grpc_cpp( |
| 9386 | src/proto/grpc/testing/payloads.proto |
| 9387 | ) |
| 9388 | protobuf_generate_grpc_cpp( |
| 9389 | src/proto/grpc/testing/services.proto |
| 9390 | ) |
| 9391 | protobuf_generate_grpc_cpp( |
| 9392 | src/proto/grpc/testing/stats.proto |
| 9393 | ) |
| 9394 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9395 | target_include_directories(codegen_test_full |
| 9396 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9397 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9398 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9399 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9400 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9401 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9402 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9403 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9404 | PRIVATE third_party/googletest/googletest/include |
| 9405 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9406 | PRIVATE third_party/googletest/googlemock/include |
| 9407 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9408 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9409 | ) |
| 9410 | |
| 9411 | target_link_libraries(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9412 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9413 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 9414 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9415 | grpc++ |
| 9416 | grpc |
| 9417 | gpr |
| 9418 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9419 | ) |
| 9420 | |
| 9421 | endif (gRPC_BUILD_TESTS) |
| 9422 | if (gRPC_BUILD_TESTS) |
| 9423 | |
| 9424 | add_executable(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9425 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 9426 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 9427 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 9428 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 9429 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 9430 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 9431 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 9432 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 9433 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 9434 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 9435 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 9436 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 9437 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 9438 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 9439 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 9440 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
| 9441 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 9442 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 9443 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 9444 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9445 | test/cpp/codegen/codegen_test_minimal.cc |
| 9446 | src/cpp/codegen/codegen_init.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9447 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9448 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9449 | ) |
| 9450 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9451 | protobuf_generate_grpc_cpp( |
| 9452 | src/proto/grpc/testing/control.proto |
| 9453 | ) |
| 9454 | protobuf_generate_grpc_cpp( |
| 9455 | src/proto/grpc/testing/messages.proto |
| 9456 | ) |
| 9457 | protobuf_generate_grpc_cpp( |
| 9458 | src/proto/grpc/testing/payloads.proto |
| 9459 | ) |
| 9460 | protobuf_generate_grpc_cpp( |
| 9461 | src/proto/grpc/testing/services.proto |
| 9462 | ) |
| 9463 | protobuf_generate_grpc_cpp( |
| 9464 | src/proto/grpc/testing/stats.proto |
| 9465 | ) |
| 9466 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9467 | target_include_directories(codegen_test_minimal |
| 9468 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9469 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9470 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9471 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9472 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9473 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9474 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9475 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9476 | PRIVATE third_party/googletest/googletest/include |
| 9477 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9478 | PRIVATE third_party/googletest/googlemock/include |
| 9479 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9480 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9481 | ) |
| 9482 | |
| 9483 | target_link_libraries(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9484 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9485 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 9486 | grpc++_core_stats |
Vijay Pai | c0e6701 | 2017-03-17 20:00:55 -0700 | [diff] [blame] | 9487 | grpc |
| 9488 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9489 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9490 | ) |
| 9491 | |
| 9492 | endif (gRPC_BUILD_TESTS) |
| 9493 | if (gRPC_BUILD_TESTS) |
| 9494 | |
| 9495 | add_executable(credentials_test |
| 9496 | test/cpp/client/credentials_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9497 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9498 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9499 | ) |
| 9500 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9501 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9502 | target_include_directories(credentials_test |
| 9503 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9504 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9505 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9506 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9507 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9508 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9509 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9510 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9511 | PRIVATE third_party/googletest/googletest/include |
| 9512 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9513 | PRIVATE third_party/googletest/googlemock/include |
| 9514 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9515 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9516 | ) |
| 9517 | |
| 9518 | target_link_libraries(credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9519 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9520 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9521 | grpc++ |
| 9522 | grpc |
| 9523 | gpr |
| 9524 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9525 | ) |
| 9526 | |
| 9527 | endif (gRPC_BUILD_TESTS) |
| 9528 | if (gRPC_BUILD_TESTS) |
| 9529 | |
| 9530 | add_executable(cxx_byte_buffer_test |
| 9531 | test/cpp/util/byte_buffer_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9532 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9533 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9534 | ) |
| 9535 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9536 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9537 | target_include_directories(cxx_byte_buffer_test |
| 9538 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9539 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9540 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9541 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9542 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9543 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9544 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9545 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9546 | PRIVATE third_party/googletest/googletest/include |
| 9547 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9548 | PRIVATE third_party/googletest/googlemock/include |
| 9549 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9550 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9551 | ) |
| 9552 | |
| 9553 | target_link_libraries(cxx_byte_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9554 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9555 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9556 | grpc_test_util |
| 9557 | grpc++ |
| 9558 | grpc |
| 9559 | gpr_test_util |
| 9560 | gpr |
| 9561 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9562 | ) |
| 9563 | |
| 9564 | endif (gRPC_BUILD_TESTS) |
| 9565 | if (gRPC_BUILD_TESTS) |
| 9566 | |
| 9567 | add_executable(cxx_slice_test |
| 9568 | test/cpp/util/slice_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9569 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9570 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9571 | ) |
| 9572 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9573 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9574 | target_include_directories(cxx_slice_test |
| 9575 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9576 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9577 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9578 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9579 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9580 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9581 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9582 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9583 | PRIVATE third_party/googletest/googletest/include |
| 9584 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9585 | PRIVATE third_party/googletest/googlemock/include |
| 9586 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9587 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9588 | ) |
| 9589 | |
| 9590 | target_link_libraries(cxx_slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9591 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9592 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9593 | grpc_test_util |
| 9594 | grpc++ |
| 9595 | grpc |
| 9596 | gpr_test_util |
| 9597 | gpr |
| 9598 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9599 | ) |
| 9600 | |
| 9601 | endif (gRPC_BUILD_TESTS) |
| 9602 | if (gRPC_BUILD_TESTS) |
| 9603 | |
| 9604 | add_executable(cxx_string_ref_test |
| 9605 | test/cpp/util/string_ref_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9606 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9607 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9608 | ) |
| 9609 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9610 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9611 | target_include_directories(cxx_string_ref_test |
| 9612 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9613 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9614 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9615 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9616 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9617 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9618 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9619 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9620 | PRIVATE third_party/googletest/googletest/include |
| 9621 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9622 | PRIVATE third_party/googletest/googlemock/include |
| 9623 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9624 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9625 | ) |
| 9626 | |
| 9627 | target_link_libraries(cxx_string_ref_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9628 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9629 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9630 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 9631 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9632 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9633 | ) |
| 9634 | |
| 9635 | endif (gRPC_BUILD_TESTS) |
| 9636 | if (gRPC_BUILD_TESTS) |
| 9637 | |
| 9638 | add_executable(cxx_time_test |
| 9639 | test/cpp/util/time_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9640 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9641 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9642 | ) |
| 9643 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9644 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9645 | target_include_directories(cxx_time_test |
| 9646 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9647 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9648 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9649 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9650 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9651 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9652 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9653 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9654 | PRIVATE third_party/googletest/googletest/include |
| 9655 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9656 | PRIVATE third_party/googletest/googlemock/include |
| 9657 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9658 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9659 | ) |
| 9660 | |
| 9661 | target_link_libraries(cxx_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9662 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9663 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9664 | grpc_test_util |
| 9665 | grpc++ |
| 9666 | grpc |
| 9667 | gpr_test_util |
| 9668 | gpr |
| 9669 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9670 | ) |
| 9671 | |
| 9672 | endif (gRPC_BUILD_TESTS) |
| 9673 | if (gRPC_BUILD_TESTS) |
| 9674 | |
| 9675 | add_executable(end2end_test |
| 9676 | test/cpp/end2end/end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9677 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9678 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9679 | ) |
| 9680 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9681 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9682 | target_include_directories(end2end_test |
| 9683 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9684 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9685 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9686 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9687 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9688 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9689 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9690 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9691 | PRIVATE third_party/googletest/googletest/include |
| 9692 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9693 | PRIVATE third_party/googletest/googlemock/include |
| 9694 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9695 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9696 | ) |
| 9697 | |
| 9698 | target_link_libraries(end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9699 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9700 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9701 | grpc++_test_util |
| 9702 | grpc_test_util |
| 9703 | grpc++ |
| 9704 | grpc |
| 9705 | gpr_test_util |
| 9706 | gpr |
| 9707 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9708 | ) |
| 9709 | |
| 9710 | endif (gRPC_BUILD_TESTS) |
| 9711 | if (gRPC_BUILD_TESTS) |
| 9712 | |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 9713 | add_executable(error_details_test |
| 9714 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 9715 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 9716 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 9717 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 9718 | test/cpp/util/error_details_test.cc |
| 9719 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9720 | third_party/googletest/googlemock/src/gmock-all.cc |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 9721 | ) |
| 9722 | |
| 9723 | protobuf_generate_grpc_cpp( |
| 9724 | src/proto/grpc/testing/echo_messages.proto |
| 9725 | ) |
| 9726 | |
| 9727 | target_include_directories(error_details_test |
| 9728 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9729 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9730 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9731 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9732 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9733 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9734 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9735 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 9736 | PRIVATE third_party/googletest/googletest/include |
| 9737 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9738 | PRIVATE third_party/googletest/googlemock/include |
| 9739 | PRIVATE third_party/googletest/googlemock |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 9740 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9741 | ) |
| 9742 | |
| 9743 | target_link_libraries(error_details_test |
| 9744 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9745 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9746 | grpc++_error_details |
| 9747 | grpc++ |
| 9748 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9749 | ) |
| 9750 | |
| 9751 | endif (gRPC_BUILD_TESTS) |
| 9752 | if (gRPC_BUILD_TESTS) |
| 9753 | |
Vijay Pai | 8fc3715 | 2017-12-18 14:33:51 -0800 | [diff] [blame] | 9754 | add_executable(exception_test |
| 9755 | test/cpp/end2end/exception_test.cc |
| 9756 | third_party/googletest/googletest/src/gtest-all.cc |
| 9757 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9758 | ) |
| 9759 | |
| 9760 | |
| 9761 | target_include_directories(exception_test |
| 9762 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9763 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9764 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9765 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9766 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9767 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9768 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9769 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Vijay Pai | 8fc3715 | 2017-12-18 14:33:51 -0800 | [diff] [blame] | 9770 | PRIVATE third_party/googletest/googletest/include |
| 9771 | PRIVATE third_party/googletest/googletest |
| 9772 | PRIVATE third_party/googletest/googlemock/include |
| 9773 | PRIVATE third_party/googletest/googlemock |
| 9774 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9775 | ) |
| 9776 | |
| 9777 | target_link_libraries(exception_test |
| 9778 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9779 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9780 | grpc++_test_util |
| 9781 | grpc_test_util |
| 9782 | grpc++ |
| 9783 | grpc |
| 9784 | gpr_test_util |
| 9785 | gpr |
| 9786 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9787 | ) |
| 9788 | |
| 9789 | endif (gRPC_BUILD_TESTS) |
| 9790 | if (gRPC_BUILD_TESTS) |
| 9791 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9792 | add_executable(filter_end2end_test |
| 9793 | test/cpp/end2end/filter_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9794 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9795 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9796 | ) |
| 9797 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9798 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9799 | target_include_directories(filter_end2end_test |
| 9800 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9801 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9802 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9803 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9804 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9805 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9806 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9807 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9808 | PRIVATE third_party/googletest/googletest/include |
| 9809 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9810 | PRIVATE third_party/googletest/googlemock/include |
| 9811 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9812 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9813 | ) |
| 9814 | |
| 9815 | target_link_libraries(filter_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9816 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9817 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9818 | grpc++_test_util |
| 9819 | grpc_test_util |
| 9820 | grpc++ |
| 9821 | grpc |
| 9822 | gpr_test_util |
| 9823 | gpr |
| 9824 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9825 | ) |
| 9826 | |
| 9827 | endif (gRPC_BUILD_TESTS) |
| 9828 | if (gRPC_BUILD_TESTS) |
| 9829 | |
| 9830 | add_executable(generic_end2end_test |
| 9831 | test/cpp/end2end/generic_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9832 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9833 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9834 | ) |
| 9835 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9836 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9837 | target_include_directories(generic_end2end_test |
| 9838 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9839 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9840 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9841 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9842 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9843 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9844 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9845 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9846 | PRIVATE third_party/googletest/googletest/include |
| 9847 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9848 | PRIVATE third_party/googletest/googlemock/include |
| 9849 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9850 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9851 | ) |
| 9852 | |
| 9853 | target_link_libraries(generic_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9854 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9855 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9856 | grpc++_test_util |
| 9857 | grpc_test_util |
| 9858 | grpc++ |
| 9859 | grpc |
| 9860 | gpr_test_util |
| 9861 | gpr |
| 9862 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9863 | ) |
| 9864 | |
| 9865 | endif (gRPC_BUILD_TESTS) |
| 9866 | if (gRPC_BUILD_TESTS) |
| 9867 | |
| 9868 | add_executable(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9869 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.cc |
| 9870 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.grpc.pb.cc |
| 9871 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.h |
| 9872 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9873 | test/cpp/codegen/golden_file_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9874 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9875 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9876 | ) |
| 9877 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9878 | protobuf_generate_grpc_cpp( |
| 9879 | src/proto/grpc/testing/compiler_test.proto |
| 9880 | ) |
| 9881 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9882 | target_include_directories(golden_file_test |
| 9883 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9884 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9885 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9886 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9887 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9888 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9889 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9890 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9891 | PRIVATE third_party/googletest/googletest/include |
| 9892 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9893 | PRIVATE third_party/googletest/googlemock/include |
| 9894 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9895 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9896 | ) |
| 9897 | |
| 9898 | target_link_libraries(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9899 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9900 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9901 | grpc++ |
| 9902 | grpc |
| 9903 | gpr |
| 9904 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9905 | ) |
| 9906 | |
| 9907 | endif (gRPC_BUILD_TESTS) |
| 9908 | if (gRPC_BUILD_TESTS) |
| 9909 | |
| 9910 | add_executable(grpc_cli |
| 9911 | test/cpp/util/grpc_cli.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9912 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9913 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9914 | ) |
| 9915 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9916 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9917 | target_include_directories(grpc_cli |
| 9918 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9919 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9920 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9921 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9922 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9923 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9924 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9925 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9926 | PRIVATE third_party/googletest/googletest/include |
| 9927 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9928 | PRIVATE third_party/googletest/googlemock/include |
| 9929 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9930 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9931 | ) |
| 9932 | |
| 9933 | target_link_libraries(grpc_cli |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9934 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9935 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9936 | grpc_cli_libs |
| 9937 | grpc++_proto_reflection_desc_db |
| 9938 | grpc++ |
| 9939 | grpc |
| 9940 | gpr |
| 9941 | grpc++_test_config |
| 9942 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9943 | ) |
| 9944 | |
| 9945 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 9946 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 9947 | add_executable(grpc_cpp_plugin |
| 9948 | src/compiler/cpp_plugin.cc |
| 9949 | ) |
| 9950 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9951 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 9952 | target_include_directories(grpc_cpp_plugin |
| 9953 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9954 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9955 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9956 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9957 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9958 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9959 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9960 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9961 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 9962 | ) |
| 9963 | |
| 9964 | target_link_libraries(grpc_cpp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 9965 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9966 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9967 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 9968 | grpc_plugin_support |
| 9969 | ) |
| 9970 | |
| 9971 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 9972 | if (gRPC_INSTALL) |
| 9973 | install(TARGETS grpc_cpp_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 9974 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 9975 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 9976 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 9977 | ) |
| 9978 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 9979 | |
| 9980 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 9981 | add_executable(grpc_csharp_plugin |
| 9982 | src/compiler/csharp_plugin.cc |
| 9983 | ) |
| 9984 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9985 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 9986 | target_include_directories(grpc_csharp_plugin |
| 9987 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9988 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9989 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 9990 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 9991 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 9992 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 9993 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 9994 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9995 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 9996 | ) |
| 9997 | |
| 9998 | target_link_libraries(grpc_csharp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 9999 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10000 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10001 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10002 | grpc_plugin_support |
| 10003 | ) |
| 10004 | |
| 10005 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10006 | if (gRPC_INSTALL) |
| 10007 | install(TARGETS grpc_csharp_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10008 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10009 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10010 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10011 | ) |
| 10012 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10013 | |
| 10014 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10015 | add_executable(grpc_node_plugin |
| 10016 | src/compiler/node_plugin.cc |
| 10017 | ) |
| 10018 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10019 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10020 | target_include_directories(grpc_node_plugin |
| 10021 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10022 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10023 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10024 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10025 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10026 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10027 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10028 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10029 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10030 | ) |
| 10031 | |
| 10032 | target_link_libraries(grpc_node_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10033 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10034 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10035 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10036 | grpc_plugin_support |
| 10037 | ) |
| 10038 | |
| 10039 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10040 | if (gRPC_INSTALL) |
| 10041 | install(TARGETS grpc_node_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10042 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10043 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10044 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10045 | ) |
| 10046 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10047 | |
| 10048 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10049 | add_executable(grpc_objective_c_plugin |
| 10050 | src/compiler/objective_c_plugin.cc |
| 10051 | ) |
| 10052 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10053 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10054 | target_include_directories(grpc_objective_c_plugin |
| 10055 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10056 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10057 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10058 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10059 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10060 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10061 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10062 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10063 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10064 | ) |
| 10065 | |
| 10066 | target_link_libraries(grpc_objective_c_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10067 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10068 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10069 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10070 | grpc_plugin_support |
| 10071 | ) |
| 10072 | |
| 10073 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10074 | if (gRPC_INSTALL) |
| 10075 | install(TARGETS grpc_objective_c_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10076 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10077 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10078 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10079 | ) |
| 10080 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10081 | |
| 10082 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10083 | add_executable(grpc_php_plugin |
| 10084 | src/compiler/php_plugin.cc |
| 10085 | ) |
| 10086 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10087 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10088 | target_include_directories(grpc_php_plugin |
| 10089 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10090 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10091 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10092 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10093 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10094 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10095 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10096 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10097 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10098 | ) |
| 10099 | |
| 10100 | target_link_libraries(grpc_php_plugin |
| 10101 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10102 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10103 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10104 | grpc_plugin_support |
| 10105 | ) |
| 10106 | |
| 10107 | |
| 10108 | if (gRPC_INSTALL) |
| 10109 | install(TARGETS grpc_php_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10110 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10111 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10112 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10113 | ) |
| 10114 | endif() |
| 10115 | |
| 10116 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10117 | add_executable(grpc_python_plugin |
| 10118 | src/compiler/python_plugin.cc |
| 10119 | ) |
| 10120 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10121 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10122 | target_include_directories(grpc_python_plugin |
| 10123 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10124 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10125 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10126 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10127 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10128 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10129 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10130 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10131 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10132 | ) |
| 10133 | |
| 10134 | target_link_libraries(grpc_python_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10135 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10136 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10137 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10138 | grpc_plugin_support |
| 10139 | ) |
| 10140 | |
| 10141 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10142 | if (gRPC_INSTALL) |
| 10143 | install(TARGETS grpc_python_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10144 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10145 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10146 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10147 | ) |
| 10148 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10149 | |
| 10150 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10151 | add_executable(grpc_ruby_plugin |
| 10152 | src/compiler/ruby_plugin.cc |
| 10153 | ) |
| 10154 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10155 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10156 | target_include_directories(grpc_ruby_plugin |
| 10157 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10158 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10159 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10160 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10161 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10162 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10163 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10164 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10165 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10166 | ) |
| 10167 | |
| 10168 | target_link_libraries(grpc_ruby_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10169 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10170 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10171 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10172 | grpc_plugin_support |
| 10173 | ) |
| 10174 | |
| 10175 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10176 | if (gRPC_INSTALL) |
| 10177 | install(TARGETS grpc_ruby_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10178 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10179 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10180 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10181 | ) |
| 10182 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10183 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10184 | if (gRPC_BUILD_TESTS) |
| 10185 | |
| 10186 | add_executable(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10187 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 10188 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 10189 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 10190 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 10191 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 10192 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 10193 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 10194 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10195 | test/cpp/util/grpc_tool_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10196 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10197 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10198 | ) |
| 10199 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10200 | protobuf_generate_grpc_cpp( |
| 10201 | src/proto/grpc/testing/echo.proto |
| 10202 | ) |
| 10203 | protobuf_generate_grpc_cpp( |
| 10204 | src/proto/grpc/testing/echo_messages.proto |
| 10205 | ) |
| 10206 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10207 | target_include_directories(grpc_tool_test |
| 10208 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10209 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10210 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10211 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10212 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10213 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10214 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10215 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10216 | PRIVATE third_party/googletest/googletest/include |
| 10217 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10218 | PRIVATE third_party/googletest/googlemock/include |
| 10219 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10220 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10221 | ) |
| 10222 | |
| 10223 | target_link_libraries(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10224 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10225 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10226 | grpc_cli_libs |
| 10227 | grpc++_proto_reflection_desc_db |
| 10228 | grpc++_reflection |
| 10229 | grpc++_test_util |
| 10230 | grpc_test_util |
| 10231 | grpc++ |
| 10232 | grpc |
| 10233 | gpr_test_util |
| 10234 | gpr |
| 10235 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10236 | ) |
| 10237 | |
| 10238 | endif (gRPC_BUILD_TESTS) |
| 10239 | if (gRPC_BUILD_TESTS) |
| 10240 | |
| 10241 | add_executable(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10242 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10243 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10244 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10245 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10246 | test/cpp/grpclb/grpclb_api_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10247 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10248 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10249 | ) |
| 10250 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10251 | protobuf_generate_grpc_cpp( |
| 10252 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10253 | ) |
| 10254 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10255 | target_include_directories(grpclb_api_test |
| 10256 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10257 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10258 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10259 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10260 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10261 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10262 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10263 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10264 | PRIVATE third_party/googletest/googletest/include |
| 10265 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10266 | PRIVATE third_party/googletest/googlemock/include |
| 10267 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10268 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10269 | ) |
| 10270 | |
| 10271 | target_link_libraries(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10272 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10273 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10274 | grpc++_test_util |
| 10275 | grpc_test_util |
| 10276 | grpc++ |
| 10277 | grpc |
| 10278 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10279 | ) |
| 10280 | |
| 10281 | endif (gRPC_BUILD_TESTS) |
| 10282 | if (gRPC_BUILD_TESTS) |
| 10283 | |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 10284 | add_executable(grpclb_end2end_test |
| 10285 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10286 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10287 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10288 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h |
| 10289 | test/cpp/end2end/grpclb_end2end_test.cc |
| 10290 | third_party/googletest/googletest/src/gtest-all.cc |
| 10291 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10292 | ) |
| 10293 | |
| 10294 | protobuf_generate_grpc_cpp( |
| 10295 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10296 | ) |
| 10297 | |
| 10298 | target_include_directories(grpclb_end2end_test |
| 10299 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10300 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10301 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10302 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10303 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10304 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10305 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10306 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 10307 | PRIVATE third_party/googletest/googletest/include |
| 10308 | PRIVATE third_party/googletest/googletest |
| 10309 | PRIVATE third_party/googletest/googlemock/include |
| 10310 | PRIVATE third_party/googletest/googlemock |
| 10311 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10312 | ) |
| 10313 | |
| 10314 | target_link_libraries(grpclb_end2end_test |
| 10315 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10316 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10317 | grpc++_test_util |
| 10318 | grpc_test_util |
| 10319 | grpc++ |
| 10320 | grpc |
| 10321 | gpr_test_util |
| 10322 | gpr |
| 10323 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10324 | ) |
| 10325 | |
| 10326 | endif (gRPC_BUILD_TESTS) |
| 10327 | if (gRPC_BUILD_TESTS) |
| 10328 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10329 | add_executable(grpclb_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10330 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10331 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10332 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10333 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10334 | test/cpp/grpclb/grpclb_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10335 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10336 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10337 | ) |
| 10338 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10339 | protobuf_generate_grpc_cpp( |
| 10340 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10341 | ) |
| 10342 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10343 | target_include_directories(grpclb_test |
| 10344 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10345 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10346 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10347 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10348 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10349 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10350 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10351 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10352 | PRIVATE third_party/googletest/googletest/include |
| 10353 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10354 | PRIVATE third_party/googletest/googlemock/include |
| 10355 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10356 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10357 | ) |
| 10358 | |
| 10359 | target_link_libraries(grpclb_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10360 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10361 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10362 | grpc++_test_util |
| 10363 | grpc_test_util |
Jan Tattermusch | 1c6a144 | 2017-01-13 14:17:40 +0100 | [diff] [blame] | 10364 | grpc++ |
| 10365 | grpc |
| 10366 | gpr_test_util |
| 10367 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10368 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10369 | ) |
| 10370 | |
| 10371 | endif (gRPC_BUILD_TESTS) |
| 10372 | if (gRPC_BUILD_TESTS) |
| 10373 | |
Vijay Pai | fed1391 | 2017-10-11 00:07:00 -0700 | [diff] [blame] | 10374 | add_executable(h2_ssl_cert_test |
| 10375 | test/core/end2end/h2_ssl_cert_test.cc |
| 10376 | third_party/googletest/googletest/src/gtest-all.cc |
| 10377 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10378 | ) |
| 10379 | |
| 10380 | |
| 10381 | target_include_directories(h2_ssl_cert_test |
| 10382 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10383 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10384 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10385 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10386 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10387 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10388 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10389 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Vijay Pai | fed1391 | 2017-10-11 00:07:00 -0700 | [diff] [blame] | 10390 | PRIVATE third_party/googletest/googletest/include |
| 10391 | PRIVATE third_party/googletest/googletest |
| 10392 | PRIVATE third_party/googletest/googlemock/include |
| 10393 | PRIVATE third_party/googletest/googlemock |
| 10394 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10395 | ) |
| 10396 | |
| 10397 | target_link_libraries(h2_ssl_cert_test |
| 10398 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10399 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10400 | grpc_test_util |
| 10401 | grpc++ |
| 10402 | grpc |
| 10403 | gpr_test_util |
| 10404 | gpr |
| 10405 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10406 | ) |
| 10407 | |
| 10408 | endif (gRPC_BUILD_TESTS) |
| 10409 | if (gRPC_BUILD_TESTS) |
| 10410 | |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10411 | add_executable(health_service_end2end_test |
| 10412 | test/cpp/end2end/health_service_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10413 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10414 | third_party/googletest/googlemock/src/gmock-all.cc |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10415 | ) |
| 10416 | |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10417 | |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10418 | target_include_directories(health_service_end2end_test |
| 10419 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10420 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10421 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10422 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10423 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10424 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10425 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10426 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10427 | PRIVATE third_party/googletest/googletest/include |
| 10428 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10429 | PRIVATE third_party/googletest/googlemock/include |
| 10430 | PRIVATE third_party/googletest/googlemock |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10431 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10432 | ) |
| 10433 | |
| 10434 | target_link_libraries(health_service_end2end_test |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10435 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10436 | ${_gRPC_ALLTARGETS_LIBRARIES} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10437 | grpc++_test_util |
| 10438 | grpc_test_util |
| 10439 | grpc++ |
| 10440 | grpc |
| 10441 | gpr_test_util |
| 10442 | gpr |
| 10443 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10444 | ) |
| 10445 | |
| 10446 | endif (gRPC_BUILD_TESTS) |
| 10447 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10448 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10449 | |
| 10450 | add_executable(http2_client |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10451 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10452 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10453 | ) |
| 10454 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10455 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10456 | target_include_directories(http2_client |
| 10457 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10458 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10459 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10460 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10461 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10462 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10463 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10464 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10465 | PRIVATE third_party/googletest/googletest/include |
| 10466 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10467 | PRIVATE third_party/googletest/googlemock/include |
| 10468 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10469 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10470 | ) |
| 10471 | |
| 10472 | target_link_libraries(http2_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10473 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10474 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10475 | http2_client_main |
| 10476 | grpc++_test_util |
| 10477 | grpc_test_util |
| 10478 | grpc++ |
| 10479 | grpc |
| 10480 | grpc++_test_config |
| 10481 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10482 | ) |
| 10483 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10484 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10485 | endif (gRPC_BUILD_TESTS) |
| 10486 | if (gRPC_BUILD_TESTS) |
| 10487 | |
| 10488 | add_executable(hybrid_end2end_test |
| 10489 | test/cpp/end2end/hybrid_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10490 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10491 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10492 | ) |
| 10493 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10494 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10495 | target_include_directories(hybrid_end2end_test |
| 10496 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10497 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10498 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10499 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10500 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10501 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10502 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10503 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10504 | PRIVATE third_party/googletest/googletest/include |
| 10505 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10506 | PRIVATE third_party/googletest/googlemock/include |
| 10507 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10508 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10509 | ) |
| 10510 | |
| 10511 | target_link_libraries(hybrid_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10512 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10513 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10514 | grpc++_test_util |
| 10515 | grpc_test_util |
| 10516 | grpc++ |
| 10517 | grpc |
| 10518 | gpr_test_util |
| 10519 | gpr |
| 10520 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10521 | ) |
| 10522 | |
| 10523 | endif (gRPC_BUILD_TESTS) |
| 10524 | if (gRPC_BUILD_TESTS) |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 10525 | |
| 10526 | add_executable(inlined_vector_test |
Mark D. Roth | 4f2b0fd | 2018-01-19 12:12:23 -0800 | [diff] [blame] | 10527 | test/core/gprpp/inlined_vector_test.cc |
Mark D. Roth | dbdf495 | 2018-01-18 11:21:12 -0800 | [diff] [blame] | 10528 | third_party/googletest/googletest/src/gtest-all.cc |
| 10529 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10530 | ) |
| 10531 | |
| 10532 | |
| 10533 | target_include_directories(inlined_vector_test |
| 10534 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10535 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10536 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 10537 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10538 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10539 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10540 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10541 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
| 10542 | PRIVATE third_party/googletest/googletest/include |
| 10543 | PRIVATE third_party/googletest/googletest |
| 10544 | PRIVATE third_party/googletest/googlemock/include |
| 10545 | PRIVATE third_party/googletest/googlemock |
| 10546 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10547 | ) |
| 10548 | |
| 10549 | target_link_libraries(inlined_vector_test |
| 10550 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10551 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10552 | grpc_test_util |
| 10553 | grpc++ |
| 10554 | grpc |
| 10555 | gpr_test_util |
| 10556 | gpr |
| 10557 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10558 | ) |
| 10559 | |
| 10560 | endif (gRPC_BUILD_TESTS) |
| 10561 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10562 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10563 | |
Vijay Pai | 088112f | 2017-08-24 10:42:27 -0700 | [diff] [blame] | 10564 | add_executable(inproc_sync_unary_ping_pong_test |
| 10565 | test/cpp/qps/inproc_sync_unary_ping_pong_test.cc |
| 10566 | third_party/googletest/googletest/src/gtest-all.cc |
| 10567 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10568 | ) |
| 10569 | |
| 10570 | |
| 10571 | target_include_directories(inproc_sync_unary_ping_pong_test |
| 10572 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10573 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10574 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10575 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10576 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10577 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10578 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10579 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Vijay Pai | 088112f | 2017-08-24 10:42:27 -0700 | [diff] [blame] | 10580 | PRIVATE third_party/googletest/googletest/include |
| 10581 | PRIVATE third_party/googletest/googletest |
| 10582 | PRIVATE third_party/googletest/googlemock/include |
| 10583 | PRIVATE third_party/googletest/googlemock |
| 10584 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10585 | ) |
| 10586 | |
| 10587 | target_link_libraries(inproc_sync_unary_ping_pong_test |
| 10588 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10589 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10590 | qps |
| 10591 | grpc++_core_stats |
| 10592 | grpc++_test_util |
| 10593 | grpc_test_util |
| 10594 | grpc++ |
| 10595 | grpc |
| 10596 | gpr_test_util |
| 10597 | gpr |
| 10598 | grpc++_test_config |
| 10599 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10600 | ) |
| 10601 | |
| 10602 | endif() |
| 10603 | endif (gRPC_BUILD_TESTS) |
| 10604 | if (gRPC_BUILD_TESTS) |
| 10605 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 10606 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10607 | add_executable(interop_client |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10608 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10609 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10610 | ) |
| 10611 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10612 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10613 | target_include_directories(interop_client |
| 10614 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10615 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10616 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10617 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10618 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10619 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10620 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10621 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10622 | PRIVATE third_party/googletest/googletest/include |
| 10623 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10624 | PRIVATE third_party/googletest/googlemock/include |
| 10625 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10626 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10627 | ) |
| 10628 | |
| 10629 | target_link_libraries(interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10630 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10631 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10632 | interop_client_main |
| 10633 | interop_client_helper |
| 10634 | grpc++_test_util |
| 10635 | grpc_test_util |
| 10636 | grpc++ |
| 10637 | grpc |
| 10638 | gpr_test_util |
| 10639 | gpr |
| 10640 | grpc++_test_config |
| 10641 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10642 | ) |
| 10643 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10644 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10645 | endif (gRPC_BUILD_TESTS) |
| 10646 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10647 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10648 | |
| 10649 | add_executable(interop_server |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10650 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10651 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10652 | ) |
| 10653 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10654 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10655 | target_include_directories(interop_server |
| 10656 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10657 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10658 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10659 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10660 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10661 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10662 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10663 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10664 | PRIVATE third_party/googletest/googletest/include |
| 10665 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10666 | PRIVATE third_party/googletest/googlemock/include |
| 10667 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10668 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10669 | ) |
| 10670 | |
| 10671 | target_link_libraries(interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10672 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10673 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10674 | interop_server_main |
| 10675 | interop_server_helper |
| 10676 | interop_server_lib |
| 10677 | grpc++_test_util |
| 10678 | grpc_test_util |
| 10679 | grpc++ |
| 10680 | grpc |
| 10681 | gpr_test_util |
| 10682 | gpr |
| 10683 | grpc++_test_config |
| 10684 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10685 | ) |
| 10686 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10687 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10688 | endif (gRPC_BUILD_TESTS) |
| 10689 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10690 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10691 | |
| 10692 | add_executable(interop_test |
| 10693 | test/cpp/interop/interop_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10694 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10695 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10696 | ) |
| 10697 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10698 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10699 | target_include_directories(interop_test |
| 10700 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10701 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10702 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10703 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10704 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10705 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10706 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10707 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10708 | PRIVATE third_party/googletest/googletest/include |
| 10709 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10710 | PRIVATE third_party/googletest/googlemock/include |
| 10711 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10712 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10713 | ) |
| 10714 | |
| 10715 | target_link_libraries(interop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10716 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10717 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10718 | grpc_test_util |
| 10719 | grpc |
| 10720 | gpr_test_util |
| 10721 | gpr |
| 10722 | grpc++_test_config |
| 10723 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10724 | ) |
| 10725 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10726 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10727 | endif (gRPC_BUILD_TESTS) |
| 10728 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10729 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10730 | |
| 10731 | add_executable(json_run_localhost |
| 10732 | test/cpp/qps/json_run_localhost.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10733 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10734 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10735 | ) |
| 10736 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10737 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10738 | target_include_directories(json_run_localhost |
| 10739 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10740 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10741 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10742 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10743 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10744 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10745 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10746 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10747 | PRIVATE third_party/googletest/googletest/include |
| 10748 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10749 | PRIVATE third_party/googletest/googlemock/include |
| 10750 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10751 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10752 | ) |
| 10753 | |
| 10754 | target_link_libraries(json_run_localhost |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10755 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10756 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10757 | grpc++_test_util |
| 10758 | grpc_test_util |
| 10759 | grpc++ |
| 10760 | grpc |
| 10761 | gpr_test_util |
| 10762 | gpr |
| 10763 | grpc++_test_config |
| 10764 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10765 | ) |
| 10766 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10767 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10768 | endif (gRPC_BUILD_TESTS) |
| 10769 | if (gRPC_BUILD_TESTS) |
| 10770 | |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 10771 | add_executable(memory_test |
Mark D. Roth | 4f2b0fd | 2018-01-19 12:12:23 -0800 | [diff] [blame] | 10772 | test/core/gprpp/memory_test.cc |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 10773 | third_party/googletest/googletest/src/gtest-all.cc |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 10774 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 10775 | ) |
| 10776 | |
| 10777 | |
| 10778 | target_include_directories(memory_test |
| 10779 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10780 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10781 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10782 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10783 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10784 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10785 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10786 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 10787 | PRIVATE third_party/googletest/googletest/include |
| 10788 | PRIVATE third_party/googletest/googletest |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 10789 | PRIVATE third_party/googletest/googlemock/include |
| 10790 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 10791 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10792 | ) |
| 10793 | |
| 10794 | target_link_libraries(memory_test |
| 10795 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10796 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10797 | grpc_test_util |
| 10798 | grpc++ |
| 10799 | grpc |
| 10800 | gpr_test_util |
| 10801 | gpr |
| 10802 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10803 | ) |
| 10804 | |
| 10805 | endif (gRPC_BUILD_TESTS) |
| 10806 | if (gRPC_BUILD_TESTS) |
| 10807 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10808 | add_executable(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10809 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 10810 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 10811 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 10812 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10813 | test/cpp/interop/metrics_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10814 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10815 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10816 | ) |
| 10817 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10818 | protobuf_generate_grpc_cpp( |
| 10819 | src/proto/grpc/testing/metrics.proto |
| 10820 | ) |
| 10821 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10822 | target_include_directories(metrics_client |
| 10823 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10824 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10825 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10826 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10827 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10828 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10829 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10830 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10831 | PRIVATE third_party/googletest/googletest/include |
| 10832 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10833 | PRIVATE third_party/googletest/googlemock/include |
| 10834 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10835 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10836 | ) |
| 10837 | |
| 10838 | target_link_libraries(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10839 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10840 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10841 | grpc++ |
| 10842 | grpc |
| 10843 | gpr |
| 10844 | grpc++_test_config |
| 10845 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10846 | ) |
| 10847 | |
| 10848 | endif (gRPC_BUILD_TESTS) |
| 10849 | if (gRPC_BUILD_TESTS) |
| 10850 | |
| 10851 | add_executable(mock_test |
| 10852 | test/cpp/end2end/mock_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10853 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10854 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10855 | ) |
| 10856 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10857 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10858 | target_include_directories(mock_test |
| 10859 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10860 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10861 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10862 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10863 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10864 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10865 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10866 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10867 | PRIVATE third_party/googletest/googletest/include |
| 10868 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10869 | PRIVATE third_party/googletest/googlemock/include |
| 10870 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10871 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10872 | ) |
| 10873 | |
| 10874 | target_link_libraries(mock_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10875 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10876 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10877 | grpc++_test_util |
| 10878 | grpc_test_util |
| 10879 | grpc++ |
| 10880 | grpc |
| 10881 | gpr_test_util |
| 10882 | gpr |
| 10883 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10884 | ) |
| 10885 | |
| 10886 | endif (gRPC_BUILD_TESTS) |
| 10887 | if (gRPC_BUILD_TESTS) |
| 10888 | |
| 10889 | add_executable(noop-benchmark |
| 10890 | test/cpp/microbenchmarks/noop-benchmark.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10891 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10892 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10893 | ) |
| 10894 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10895 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10896 | target_include_directories(noop-benchmark |
| 10897 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10898 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10899 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10900 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10901 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10902 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10903 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10904 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10905 | PRIVATE third_party/googletest/googletest/include |
| 10906 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10907 | PRIVATE third_party/googletest/googlemock/include |
| 10908 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10909 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10910 | ) |
| 10911 | |
| 10912 | target_link_libraries(noop-benchmark |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10913 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10914 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10915 | ${_gRPC_BENCHMARK_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10916 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10917 | ) |
| 10918 | |
| 10919 | endif (gRPC_BUILD_TESTS) |
| 10920 | if (gRPC_BUILD_TESTS) |
| 10921 | |
Mark D. Roth | 324703d | 2018-01-11 07:41:31 -0800 | [diff] [blame] | 10922 | add_executable(orphanable_test |
Mark D. Roth | 4f2b0fd | 2018-01-19 12:12:23 -0800 | [diff] [blame] | 10923 | test/core/gprpp/orphanable_test.cc |
Mark D. Roth | 324703d | 2018-01-11 07:41:31 -0800 | [diff] [blame] | 10924 | third_party/googletest/googletest/src/gtest-all.cc |
| 10925 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10926 | ) |
| 10927 | |
| 10928 | |
| 10929 | target_include_directories(orphanable_test |
| 10930 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10931 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10932 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Mark D. Roth | d9c288b | 2018-01-17 09:10:06 -0800 | [diff] [blame] | 10933 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10934 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10935 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10936 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10937 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Mark D. Roth | 324703d | 2018-01-11 07:41:31 -0800 | [diff] [blame] | 10938 | PRIVATE third_party/googletest/googletest/include |
| 10939 | PRIVATE third_party/googletest/googletest |
| 10940 | PRIVATE third_party/googletest/googlemock/include |
| 10941 | PRIVATE third_party/googletest/googlemock |
| 10942 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10943 | ) |
| 10944 | |
| 10945 | target_link_libraries(orphanable_test |
| 10946 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10947 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10948 | grpc_test_util |
| 10949 | grpc++ |
| 10950 | grpc |
| 10951 | gpr_test_util |
| 10952 | gpr |
| 10953 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10954 | ) |
| 10955 | |
| 10956 | endif (gRPC_BUILD_TESTS) |
| 10957 | if (gRPC_BUILD_TESTS) |
| 10958 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10959 | add_executable(proto_server_reflection_test |
| 10960 | test/cpp/end2end/proto_server_reflection_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10961 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10962 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10963 | ) |
| 10964 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10965 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10966 | target_include_directories(proto_server_reflection_test |
| 10967 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10968 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10969 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 10970 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 10971 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 10972 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 10973 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 10974 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10975 | PRIVATE third_party/googletest/googletest/include |
| 10976 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10977 | PRIVATE third_party/googletest/googlemock/include |
| 10978 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10979 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10980 | ) |
| 10981 | |
| 10982 | target_link_libraries(proto_server_reflection_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10983 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10984 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10985 | grpc++_proto_reflection_desc_db |
| 10986 | grpc++_reflection |
| 10987 | grpc++_test_util |
| 10988 | grpc_test_util |
| 10989 | grpc++ |
| 10990 | grpc |
| 10991 | gpr_test_util |
| 10992 | gpr |
| 10993 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10994 | ) |
| 10995 | |
| 10996 | endif (gRPC_BUILD_TESTS) |
| 10997 | if (gRPC_BUILD_TESTS) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 10998 | |
| 10999 | add_executable(proto_utils_test |
| 11000 | test/cpp/codegen/proto_utils_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11001 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11002 | third_party/googletest/googlemock/src/gmock-all.cc |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11003 | ) |
| 11004 | |
| 11005 | |
| 11006 | target_include_directories(proto_utils_test |
| 11007 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11008 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11009 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11010 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11011 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11012 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11013 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11014 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11015 | PRIVATE third_party/googletest/googletest/include |
| 11016 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11017 | PRIVATE third_party/googletest/googlemock/include |
| 11018 | PRIVATE third_party/googletest/googlemock |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11019 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11020 | ) |
| 11021 | |
| 11022 | target_link_libraries(proto_utils_test |
| 11023 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11024 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11025 | grpc++ |
| 11026 | grpc |
| 11027 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11028 | ) |
| 11029 | |
| 11030 | endif (gRPC_BUILD_TESTS) |
| 11031 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11032 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11033 | |
| 11034 | add_executable(qps_interarrival_test |
| 11035 | test/cpp/qps/qps_interarrival_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11036 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11037 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11038 | ) |
| 11039 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11040 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11041 | target_include_directories(qps_interarrival_test |
| 11042 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11043 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11044 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11045 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11046 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11047 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11048 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11049 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11050 | PRIVATE third_party/googletest/googletest/include |
| 11051 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11052 | PRIVATE third_party/googletest/googlemock/include |
| 11053 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11054 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11055 | ) |
| 11056 | |
| 11057 | target_link_libraries(qps_interarrival_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11058 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11059 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11060 | qps |
| 11061 | grpc++_test_util |
| 11062 | grpc_test_util |
| 11063 | grpc++ |
| 11064 | grpc |
| 11065 | gpr_test_util |
| 11066 | gpr |
yang-g | fdcb774 | 2017-07-13 10:25:42 -0700 | [diff] [blame] | 11067 | grpc++_test_config |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11068 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11069 | ) |
| 11070 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11071 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11072 | endif (gRPC_BUILD_TESTS) |
| 11073 | if (gRPC_BUILD_TESTS) |
| 11074 | |
| 11075 | add_executable(qps_json_driver |
| 11076 | test/cpp/qps/qps_json_driver.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11077 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11078 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11079 | ) |
| 11080 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11081 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11082 | target_include_directories(qps_json_driver |
| 11083 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11084 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11085 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11086 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11087 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11088 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11089 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11090 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11091 | PRIVATE third_party/googletest/googletest/include |
| 11092 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11093 | PRIVATE third_party/googletest/googlemock/include |
| 11094 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11095 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11096 | ) |
| 11097 | |
| 11098 | target_link_libraries(qps_json_driver |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11099 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11100 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11101 | qps |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 11102 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11103 | grpc++_test_util |
| 11104 | grpc_test_util |
| 11105 | grpc++ |
| 11106 | grpc |
| 11107 | gpr_test_util |
| 11108 | gpr |
| 11109 | grpc++_test_config |
| 11110 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11111 | ) |
| 11112 | |
| 11113 | endif (gRPC_BUILD_TESTS) |
| 11114 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11115 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11116 | |
| 11117 | add_executable(qps_openloop_test |
| 11118 | test/cpp/qps/qps_openloop_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11119 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11120 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11121 | ) |
| 11122 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11123 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11124 | target_include_directories(qps_openloop_test |
| 11125 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11126 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11127 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11128 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11129 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11130 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11131 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11132 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11133 | PRIVATE third_party/googletest/googletest/include |
| 11134 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11135 | PRIVATE third_party/googletest/googlemock/include |
| 11136 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11137 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11138 | ) |
| 11139 | |
| 11140 | target_link_libraries(qps_openloop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11141 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11142 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11143 | qps |
Craig Tiller | c75f986 | 2017-09-05 11:34:57 -0700 | [diff] [blame] | 11144 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11145 | grpc++_test_util |
| 11146 | grpc_test_util |
| 11147 | grpc++ |
| 11148 | grpc |
| 11149 | gpr_test_util |
| 11150 | gpr |
| 11151 | grpc++_test_config |
| 11152 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11153 | ) |
| 11154 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11155 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11156 | endif (gRPC_BUILD_TESTS) |
| 11157 | if (gRPC_BUILD_TESTS) |
| 11158 | |
| 11159 | add_executable(qps_worker |
| 11160 | test/cpp/qps/worker.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11161 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11162 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11163 | ) |
| 11164 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11165 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11166 | target_include_directories(qps_worker |
| 11167 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11168 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11169 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11170 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11171 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11172 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11173 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11174 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11175 | PRIVATE third_party/googletest/googletest/include |
| 11176 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11177 | PRIVATE third_party/googletest/googlemock/include |
| 11178 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11179 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11180 | ) |
| 11181 | |
| 11182 | target_link_libraries(qps_worker |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11183 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11184 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11185 | qps |
Craig Tiller | c75f986 | 2017-09-05 11:34:57 -0700 | [diff] [blame] | 11186 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11187 | grpc++_test_util |
| 11188 | grpc_test_util |
| 11189 | grpc++ |
| 11190 | grpc |
| 11191 | gpr_test_util |
| 11192 | gpr |
| 11193 | grpc++_test_config |
| 11194 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11195 | ) |
| 11196 | |
| 11197 | endif (gRPC_BUILD_TESTS) |
| 11198 | if (gRPC_BUILD_TESTS) |
| 11199 | |
| 11200 | add_executable(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11201 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 11202 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 11203 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 11204 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 11205 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 11206 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 11207 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 11208 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 11209 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 11210 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 11211 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 11212 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11213 | test/cpp/interop/reconnect_interop_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11214 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11215 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11216 | ) |
| 11217 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11218 | protobuf_generate_grpc_cpp( |
| 11219 | src/proto/grpc/testing/empty.proto |
| 11220 | ) |
| 11221 | protobuf_generate_grpc_cpp( |
| 11222 | src/proto/grpc/testing/messages.proto |
| 11223 | ) |
| 11224 | protobuf_generate_grpc_cpp( |
| 11225 | src/proto/grpc/testing/test.proto |
| 11226 | ) |
| 11227 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11228 | target_include_directories(reconnect_interop_client |
| 11229 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11230 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11231 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11232 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11233 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11234 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11235 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11236 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11237 | PRIVATE third_party/googletest/googletest/include |
| 11238 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11239 | PRIVATE third_party/googletest/googlemock/include |
| 11240 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11241 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11242 | ) |
| 11243 | |
| 11244 | target_link_libraries(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11245 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11246 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11247 | grpc++_test_util |
| 11248 | grpc_test_util |
| 11249 | grpc++ |
| 11250 | grpc |
| 11251 | gpr_test_util |
| 11252 | gpr |
| 11253 | grpc++_test_config |
| 11254 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11255 | ) |
| 11256 | |
| 11257 | endif (gRPC_BUILD_TESTS) |
| 11258 | if (gRPC_BUILD_TESTS) |
| 11259 | |
| 11260 | add_executable(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11261 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 11262 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 11263 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 11264 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 11265 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 11266 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 11267 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 11268 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 11269 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 11270 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 11271 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 11272 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11273 | test/cpp/interop/reconnect_interop_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11274 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11275 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11276 | ) |
| 11277 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11278 | protobuf_generate_grpc_cpp( |
| 11279 | src/proto/grpc/testing/empty.proto |
| 11280 | ) |
| 11281 | protobuf_generate_grpc_cpp( |
| 11282 | src/proto/grpc/testing/messages.proto |
| 11283 | ) |
| 11284 | protobuf_generate_grpc_cpp( |
| 11285 | src/proto/grpc/testing/test.proto |
| 11286 | ) |
| 11287 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11288 | target_include_directories(reconnect_interop_server |
| 11289 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11290 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11291 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11292 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11293 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11294 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11295 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11296 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11297 | PRIVATE third_party/googletest/googletest/include |
| 11298 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11299 | PRIVATE third_party/googletest/googlemock/include |
| 11300 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11301 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11302 | ) |
| 11303 | |
| 11304 | target_link_libraries(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11305 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11306 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11307 | reconnect_server |
| 11308 | test_tcp_server |
| 11309 | grpc++_test_util |
| 11310 | grpc_test_util |
| 11311 | grpc++ |
| 11312 | grpc |
| 11313 | gpr_test_util |
| 11314 | gpr |
| 11315 | grpc++_test_config |
| 11316 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11317 | ) |
| 11318 | |
| 11319 | endif (gRPC_BUILD_TESTS) |
| 11320 | if (gRPC_BUILD_TESTS) |
| 11321 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11322 | add_executable(ref_counted_ptr_test |
Mark D. Roth | 4f2b0fd | 2018-01-19 12:12:23 -0800 | [diff] [blame] | 11323 | test/core/gprpp/ref_counted_ptr_test.cc |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 11324 | third_party/googletest/googletest/src/gtest-all.cc |
| 11325 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11326 | ) |
| 11327 | |
| 11328 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11329 | target_include_directories(ref_counted_ptr_test |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 11330 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11331 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11332 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11333 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11334 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11335 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11336 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11337 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 11338 | PRIVATE third_party/googletest/googletest/include |
| 11339 | PRIVATE third_party/googletest/googletest |
| 11340 | PRIVATE third_party/googletest/googlemock/include |
| 11341 | PRIVATE third_party/googletest/googlemock |
| 11342 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11343 | ) |
| 11344 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11345 | target_link_libraries(ref_counted_ptr_test |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 11346 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11347 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11348 | grpc_test_util |
| 11349 | grpc++ |
| 11350 | grpc |
| 11351 | gpr_test_util |
| 11352 | gpr |
| 11353 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11354 | ) |
| 11355 | |
| 11356 | endif (gRPC_BUILD_TESTS) |
| 11357 | if (gRPC_BUILD_TESTS) |
| 11358 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11359 | add_executable(ref_counted_test |
Mark D. Roth | 4f2b0fd | 2018-01-19 12:12:23 -0800 | [diff] [blame] | 11360 | test/core/gprpp/ref_counted_test.cc |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 11361 | third_party/googletest/googletest/src/gtest-all.cc |
| 11362 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11363 | ) |
| 11364 | |
| 11365 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11366 | target_include_directories(ref_counted_test |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 11367 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11368 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11369 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11370 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11371 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11372 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11373 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11374 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 11375 | PRIVATE third_party/googletest/googletest/include |
| 11376 | PRIVATE third_party/googletest/googletest |
| 11377 | PRIVATE third_party/googletest/googlemock/include |
| 11378 | PRIVATE third_party/googletest/googlemock |
| 11379 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11380 | ) |
| 11381 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11382 | target_link_libraries(ref_counted_test |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 11383 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11384 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11385 | grpc_test_util |
| 11386 | grpc++ |
| 11387 | grpc |
| 11388 | gpr_test_util |
| 11389 | gpr |
| 11390 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11391 | ) |
| 11392 | |
| 11393 | endif (gRPC_BUILD_TESTS) |
| 11394 | if (gRPC_BUILD_TESTS) |
| 11395 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11396 | add_executable(secure_auth_context_test |
| 11397 | test/cpp/common/secure_auth_context_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11398 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11399 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11400 | ) |
| 11401 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11402 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11403 | target_include_directories(secure_auth_context_test |
| 11404 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11405 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11406 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11407 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11408 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11409 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11410 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11411 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11412 | PRIVATE third_party/googletest/googletest/include |
| 11413 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11414 | PRIVATE third_party/googletest/googlemock/include |
| 11415 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11416 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11417 | ) |
| 11418 | |
| 11419 | target_link_libraries(secure_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11420 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11421 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11422 | grpc++_test_util |
| 11423 | grpc_test_util |
| 11424 | grpc++ |
| 11425 | grpc |
| 11426 | gpr_test_util |
| 11427 | gpr |
| 11428 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11429 | ) |
| 11430 | |
| 11431 | endif (gRPC_BUILD_TESTS) |
| 11432 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11433 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11434 | |
| 11435 | add_executable(secure_sync_unary_ping_pong_test |
| 11436 | test/cpp/qps/secure_sync_unary_ping_pong_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11437 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11438 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11439 | ) |
| 11440 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11441 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11442 | target_include_directories(secure_sync_unary_ping_pong_test |
| 11443 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11444 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11445 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11446 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11447 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11448 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11449 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11450 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11451 | PRIVATE third_party/googletest/googletest/include |
| 11452 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11453 | PRIVATE third_party/googletest/googlemock/include |
| 11454 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11455 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11456 | ) |
| 11457 | |
| 11458 | target_link_libraries(secure_sync_unary_ping_pong_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11459 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11460 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11461 | qps |
Craig Tiller | c75f986 | 2017-09-05 11:34:57 -0700 | [diff] [blame] | 11462 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11463 | grpc++_test_util |
| 11464 | grpc_test_util |
| 11465 | grpc++ |
| 11466 | grpc |
| 11467 | gpr_test_util |
| 11468 | gpr |
yang-g | fdcb774 | 2017-07-13 10:25:42 -0700 | [diff] [blame] | 11469 | grpc++_test_config |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11470 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11471 | ) |
| 11472 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11473 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11474 | endif (gRPC_BUILD_TESTS) |
| 11475 | if (gRPC_BUILD_TESTS) |
| 11476 | |
| 11477 | add_executable(server_builder_plugin_test |
| 11478 | test/cpp/end2end/server_builder_plugin_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11479 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11480 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11481 | ) |
| 11482 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11483 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11484 | target_include_directories(server_builder_plugin_test |
| 11485 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11486 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11487 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11488 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11489 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11490 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11491 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11492 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11493 | PRIVATE third_party/googletest/googletest/include |
| 11494 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11495 | PRIVATE third_party/googletest/googlemock/include |
| 11496 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11497 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11498 | ) |
| 11499 | |
| 11500 | target_link_libraries(server_builder_plugin_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11501 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11502 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11503 | grpc++_test_util |
| 11504 | grpc_test_util |
| 11505 | grpc++ |
| 11506 | grpc |
| 11507 | gpr_test_util |
| 11508 | gpr |
| 11509 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11510 | ) |
| 11511 | |
| 11512 | endif (gRPC_BUILD_TESTS) |
| 11513 | if (gRPC_BUILD_TESTS) |
| 11514 | |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11515 | add_executable(server_builder_test |
| 11516 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 11517 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 11518 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 11519 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 11520 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 11521 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 11522 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 11523 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 11524 | test/cpp/server/server_builder_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11525 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11526 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11527 | ) |
| 11528 | |
| 11529 | protobuf_generate_grpc_cpp( |
| 11530 | src/proto/grpc/testing/echo_messages.proto |
| 11531 | ) |
| 11532 | protobuf_generate_grpc_cpp( |
| 11533 | src/proto/grpc/testing/echo.proto |
| 11534 | ) |
| 11535 | |
| 11536 | target_include_directories(server_builder_test |
| 11537 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11538 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11539 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11540 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11541 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11542 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11543 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11544 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11545 | PRIVATE third_party/googletest/googletest/include |
| 11546 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11547 | PRIVATE third_party/googletest/googlemock/include |
| 11548 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11549 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11550 | ) |
| 11551 | |
| 11552 | target_link_libraries(server_builder_test |
| 11553 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11554 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 11555 | grpc++_test_util_unsecure |
| 11556 | grpc_test_util_unsecure |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11557 | gpr_test_util |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 11558 | grpc++_unsecure |
| 11559 | grpc_unsecure |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11560 | gpr |
| 11561 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11562 | ) |
| 11563 | |
| 11564 | endif (gRPC_BUILD_TESTS) |
| 11565 | if (gRPC_BUILD_TESTS) |
| 11566 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11567 | add_executable(server_context_test_spouse_test |
| 11568 | test/cpp/test/server_context_test_spouse_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11569 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11570 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11571 | ) |
| 11572 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11573 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11574 | target_include_directories(server_context_test_spouse_test |
| 11575 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11576 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11577 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11578 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11579 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11580 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11581 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11582 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11583 | PRIVATE third_party/googletest/googletest/include |
| 11584 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11585 | PRIVATE third_party/googletest/googlemock/include |
| 11586 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11587 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11588 | ) |
| 11589 | |
| 11590 | target_link_libraries(server_context_test_spouse_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11591 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11592 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11593 | grpc_test_util |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11594 | grpc++ |
| 11595 | grpc |
| 11596 | gpr_test_util |
| 11597 | gpr |
| 11598 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11599 | ) |
| 11600 | |
| 11601 | endif (gRPC_BUILD_TESTS) |
| 11602 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11603 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11604 | |
| 11605 | add_executable(server_crash_test |
| 11606 | test/cpp/end2end/server_crash_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11607 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11608 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11609 | ) |
| 11610 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11611 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11612 | target_include_directories(server_crash_test |
| 11613 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11614 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11615 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11616 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11617 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11618 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11619 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11620 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11621 | PRIVATE third_party/googletest/googletest/include |
| 11622 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11623 | PRIVATE third_party/googletest/googlemock/include |
| 11624 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11625 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11626 | ) |
| 11627 | |
| 11628 | target_link_libraries(server_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11629 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11630 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11631 | grpc++_test_util |
| 11632 | grpc_test_util |
| 11633 | grpc++ |
| 11634 | grpc |
| 11635 | gpr_test_util |
| 11636 | gpr |
| 11637 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11638 | ) |
| 11639 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11640 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11641 | endif (gRPC_BUILD_TESTS) |
| 11642 | if (gRPC_BUILD_TESTS) |
| 11643 | |
| 11644 | add_executable(server_crash_test_client |
| 11645 | test/cpp/end2end/server_crash_test_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11646 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11647 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11648 | ) |
| 11649 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11650 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11651 | target_include_directories(server_crash_test_client |
| 11652 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11653 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11654 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11655 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11656 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11657 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11658 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11659 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11660 | PRIVATE third_party/googletest/googletest/include |
| 11661 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11662 | PRIVATE third_party/googletest/googlemock/include |
| 11663 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11664 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11665 | ) |
| 11666 | |
| 11667 | target_link_libraries(server_crash_test_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11668 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11669 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11670 | grpc++_test_util |
| 11671 | grpc_test_util |
| 11672 | grpc++ |
| 11673 | grpc |
| 11674 | gpr_test_util |
| 11675 | gpr |
| 11676 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11677 | ) |
| 11678 | |
| 11679 | endif (gRPC_BUILD_TESTS) |
| 11680 | if (gRPC_BUILD_TESTS) |
| 11681 | |
yang-g | 98cd36e | 2018-01-18 15:34:01 -0800 | [diff] [blame] | 11682 | add_executable(server_early_return_test |
| 11683 | test/cpp/end2end/server_early_return_test.cc |
| 11684 | third_party/googletest/googletest/src/gtest-all.cc |
| 11685 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11686 | ) |
| 11687 | |
| 11688 | |
| 11689 | target_include_directories(server_early_return_test |
| 11690 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11691 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11692 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
| 11693 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11694 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11695 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11696 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11697 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
| 11698 | PRIVATE third_party/googletest/googletest/include |
| 11699 | PRIVATE third_party/googletest/googletest |
| 11700 | PRIVATE third_party/googletest/googlemock/include |
| 11701 | PRIVATE third_party/googletest/googlemock |
| 11702 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11703 | ) |
| 11704 | |
| 11705 | target_link_libraries(server_early_return_test |
| 11706 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11707 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11708 | grpc++_test_util |
| 11709 | grpc_test_util |
| 11710 | grpc++ |
| 11711 | grpc |
| 11712 | gpr_test_util |
| 11713 | gpr |
| 11714 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11715 | ) |
| 11716 | |
| 11717 | endif (gRPC_BUILD_TESTS) |
| 11718 | if (gRPC_BUILD_TESTS) |
| 11719 | |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 11720 | add_executable(server_request_call_test |
| 11721 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 11722 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 11723 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 11724 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 11725 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 11726 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 11727 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 11728 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 11729 | test/cpp/server/server_request_call_test.cc |
| 11730 | third_party/googletest/googletest/src/gtest-all.cc |
| 11731 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11732 | ) |
| 11733 | |
| 11734 | protobuf_generate_grpc_cpp( |
| 11735 | src/proto/grpc/testing/echo_messages.proto |
| 11736 | ) |
| 11737 | protobuf_generate_grpc_cpp( |
| 11738 | src/proto/grpc/testing/echo.proto |
| 11739 | ) |
| 11740 | |
| 11741 | target_include_directories(server_request_call_test |
| 11742 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11743 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11744 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11745 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11746 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11747 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11748 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11749 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 11750 | PRIVATE third_party/googletest/googletest/include |
| 11751 | PRIVATE third_party/googletest/googletest |
| 11752 | PRIVATE third_party/googletest/googlemock/include |
| 11753 | PRIVATE third_party/googletest/googlemock |
| 11754 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11755 | ) |
| 11756 | |
| 11757 | target_link_libraries(server_request_call_test |
| 11758 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11759 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 11760 | grpc++_test_util_unsecure |
| 11761 | grpc_test_util_unsecure |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 11762 | gpr_test_util |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 11763 | grpc++_unsecure |
| 11764 | grpc_unsecure |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 11765 | gpr |
| 11766 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11767 | ) |
| 11768 | |
| 11769 | endif (gRPC_BUILD_TESTS) |
| 11770 | if (gRPC_BUILD_TESTS) |
| 11771 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11772 | add_executable(shutdown_test |
| 11773 | test/cpp/end2end/shutdown_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11774 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11775 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11776 | ) |
| 11777 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11778 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11779 | target_include_directories(shutdown_test |
| 11780 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11781 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11782 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11783 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11784 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11785 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11786 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11787 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11788 | PRIVATE third_party/googletest/googletest/include |
| 11789 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11790 | PRIVATE third_party/googletest/googlemock/include |
| 11791 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11792 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11793 | ) |
| 11794 | |
| 11795 | target_link_libraries(shutdown_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11796 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11797 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11798 | grpc++_test_util |
| 11799 | grpc_test_util |
| 11800 | grpc++ |
| 11801 | grpc |
| 11802 | gpr_test_util |
| 11803 | gpr |
| 11804 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11805 | ) |
| 11806 | |
| 11807 | endif (gRPC_BUILD_TESTS) |
| 11808 | if (gRPC_BUILD_TESTS) |
| 11809 | |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 11810 | add_executable(stats_test |
| 11811 | test/core/debug/stats_test.cc |
| 11812 | third_party/googletest/googletest/src/gtest-all.cc |
| 11813 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11814 | ) |
| 11815 | |
| 11816 | |
| 11817 | target_include_directories(stats_test |
| 11818 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11819 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11820 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11821 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11822 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11823 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11824 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11825 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 11826 | PRIVATE third_party/googletest/googletest/include |
| 11827 | PRIVATE third_party/googletest/googletest |
| 11828 | PRIVATE third_party/googletest/googlemock/include |
| 11829 | PRIVATE third_party/googletest/googlemock |
| 11830 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11831 | ) |
| 11832 | |
| 11833 | target_link_libraries(stats_test |
| 11834 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11835 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11836 | grpc++_test_util |
| 11837 | grpc_test_util |
| 11838 | grpc |
| 11839 | gpr_test_util |
| 11840 | gpr |
| 11841 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11842 | ) |
| 11843 | |
| 11844 | endif (gRPC_BUILD_TESTS) |
| 11845 | if (gRPC_BUILD_TESTS) |
| 11846 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11847 | add_executable(status_test |
| 11848 | test/cpp/util/status_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11849 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11850 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11851 | ) |
| 11852 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11853 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11854 | target_include_directories(status_test |
| 11855 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11856 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11857 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11858 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11859 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11860 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11861 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11862 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11863 | PRIVATE third_party/googletest/googletest/include |
| 11864 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11865 | PRIVATE third_party/googletest/googlemock/include |
| 11866 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11867 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11868 | ) |
| 11869 | |
| 11870 | target_link_libraries(status_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11871 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11872 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11873 | grpc_test_util |
| 11874 | grpc++ |
| 11875 | grpc |
| 11876 | gpr_test_util |
| 11877 | gpr |
| 11878 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11879 | ) |
| 11880 | |
| 11881 | endif (gRPC_BUILD_TESTS) |
| 11882 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11883 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11884 | |
| 11885 | add_executable(streaming_throughput_test |
| 11886 | test/cpp/end2end/streaming_throughput_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11887 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11888 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11889 | ) |
| 11890 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11891 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11892 | target_include_directories(streaming_throughput_test |
| 11893 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11894 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11895 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11896 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11897 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11898 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11899 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11900 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11901 | PRIVATE third_party/googletest/googletest/include |
| 11902 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11903 | PRIVATE third_party/googletest/googlemock/include |
| 11904 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11905 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11906 | ) |
| 11907 | |
| 11908 | target_link_libraries(streaming_throughput_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11909 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11910 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11911 | grpc++_test_util |
| 11912 | grpc_test_util |
| 11913 | grpc++ |
| 11914 | grpc |
| 11915 | gpr_test_util |
| 11916 | gpr |
| 11917 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11918 | ) |
| 11919 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11920 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11921 | endif (gRPC_BUILD_TESTS) |
| 11922 | if (gRPC_BUILD_TESTS) |
| 11923 | |
| 11924 | add_executable(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11925 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 11926 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 11927 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 11928 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 11929 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 11930 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 11931 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 11932 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 11933 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 11934 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 11935 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 11936 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
| 11937 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 11938 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 11939 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 11940 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11941 | test/cpp/interop/interop_client.cc |
| 11942 | test/cpp/interop/stress_interop_client.cc |
| 11943 | test/cpp/interop/stress_test.cc |
| 11944 | test/cpp/util/metrics_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11945 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11946 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11947 | ) |
| 11948 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11949 | protobuf_generate_grpc_cpp( |
| 11950 | src/proto/grpc/testing/empty.proto |
| 11951 | ) |
| 11952 | protobuf_generate_grpc_cpp( |
| 11953 | src/proto/grpc/testing/messages.proto |
| 11954 | ) |
| 11955 | protobuf_generate_grpc_cpp( |
| 11956 | src/proto/grpc/testing/metrics.proto |
| 11957 | ) |
| 11958 | protobuf_generate_grpc_cpp( |
| 11959 | src/proto/grpc/testing/test.proto |
| 11960 | ) |
| 11961 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11962 | target_include_directories(stress_test |
| 11963 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11964 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11965 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 11966 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 11967 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 11968 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 11969 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 11970 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11971 | PRIVATE third_party/googletest/googletest/include |
| 11972 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11973 | PRIVATE third_party/googletest/googlemock/include |
| 11974 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11975 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11976 | ) |
| 11977 | |
| 11978 | target_link_libraries(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11979 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11980 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11981 | grpc++_test_util |
| 11982 | grpc_test_util |
| 11983 | grpc++ |
| 11984 | grpc |
| 11985 | gpr_test_util |
| 11986 | gpr |
| 11987 | grpc++_test_config |
| 11988 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11989 | ) |
| 11990 | |
| 11991 | endif (gRPC_BUILD_TESTS) |
| 11992 | if (gRPC_BUILD_TESTS) |
| 11993 | |
| 11994 | add_executable(thread_manager_test |
| 11995 | test/cpp/thread_manager/thread_manager_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11996 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11997 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11998 | ) |
| 11999 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12000 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12001 | target_include_directories(thread_manager_test |
| 12002 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12003 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12004 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12005 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12006 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12007 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12008 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12009 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12010 | PRIVATE third_party/googletest/googletest/include |
| 12011 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12012 | PRIVATE third_party/googletest/googlemock/include |
| 12013 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12014 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12015 | ) |
| 12016 | |
| 12017 | target_link_libraries(thread_manager_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12018 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12019 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 12020 | grpc++_unsecure |
| 12021 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12022 | gpr |
| 12023 | grpc++_test_config |
| 12024 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12025 | ) |
| 12026 | |
| 12027 | endif (gRPC_BUILD_TESTS) |
| 12028 | if (gRPC_BUILD_TESTS) |
| 12029 | |
| 12030 | add_executable(thread_stress_test |
| 12031 | test/cpp/end2end/thread_stress_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12032 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12033 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12034 | ) |
| 12035 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12036 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12037 | target_include_directories(thread_stress_test |
| 12038 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12039 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12040 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12041 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12042 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12043 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12044 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12045 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12046 | PRIVATE third_party/googletest/googletest/include |
| 12047 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12048 | PRIVATE third_party/googletest/googlemock/include |
| 12049 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12050 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12051 | ) |
| 12052 | |
| 12053 | target_link_libraries(thread_stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12054 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12055 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 12056 | grpc++_test_util_unsecure |
| 12057 | grpc_test_util_unsecure |
| 12058 | grpc++_unsecure |
| 12059 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12060 | gpr_test_util |
| 12061 | gpr |
| 12062 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12063 | ) |
| 12064 | |
| 12065 | endif (gRPC_BUILD_TESTS) |
| 12066 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 12067 | |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 12068 | add_executable(transport_pid_controller_test |
| 12069 | test/core/transport/pid_controller_test.cc |
| 12070 | third_party/googletest/googletest/src/gtest-all.cc |
| 12071 | third_party/googletest/googlemock/src/gmock-all.cc |
| 12072 | ) |
| 12073 | |
| 12074 | |
| 12075 | target_include_directories(transport_pid_controller_test |
| 12076 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12077 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12078 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12079 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12080 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12081 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12082 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12083 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 12084 | PRIVATE third_party/googletest/googletest/include |
| 12085 | PRIVATE third_party/googletest/googletest |
| 12086 | PRIVATE third_party/googletest/googlemock/include |
| 12087 | PRIVATE third_party/googletest/googlemock |
| 12088 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12089 | ) |
| 12090 | |
| 12091 | target_link_libraries(transport_pid_controller_test |
| 12092 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12093 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12094 | grpc++_test_util |
| 12095 | grpc++ |
| 12096 | grpc_test_util |
| 12097 | grpc |
| 12098 | gpr_test_util |
| 12099 | gpr |
| 12100 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12101 | ) |
| 12102 | |
| 12103 | endif (gRPC_BUILD_TESTS) |
| 12104 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 12105 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12106 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12107 | add_executable(writes_per_rpc_test |
| 12108 | test/cpp/performance/writes_per_rpc_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12109 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12110 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12111 | ) |
| 12112 | |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12113 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12114 | target_include_directories(writes_per_rpc_test |
| 12115 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12116 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12117 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12118 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12119 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12120 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12121 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12122 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12123 | PRIVATE third_party/googletest/googletest/include |
| 12124 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12125 | PRIVATE third_party/googletest/googlemock/include |
| 12126 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12127 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12128 | ) |
| 12129 | |
| 12130 | target_link_libraries(writes_per_rpc_test |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12131 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12132 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12133 | grpc++_test_util |
| 12134 | grpc_test_util |
| 12135 | grpc++ |
| 12136 | grpc |
| 12137 | gpr_test_util |
| 12138 | gpr |
| 12139 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12140 | ) |
| 12141 | |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 12142 | endif() |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12143 | endif (gRPC_BUILD_TESTS) |
| 12144 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12145 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12146 | add_executable(public_headers_must_be_c89 |
| 12147 | test/core/surface/public_headers_must_be_c89.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12148 | ) |
| 12149 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12150 | |
| 12151 | target_include_directories(public_headers_must_be_c89 |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12152 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12153 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12154 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12155 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12156 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12157 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12158 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12159 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12160 | ) |
| 12161 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12162 | target_link_libraries(public_headers_must_be_c89 |
| 12163 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12164 | grpc |
| 12165 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12166 | ) |
| 12167 | |
| 12168 | endif (gRPC_BUILD_TESTS) |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 12169 | |
| 12170 | add_executable(gen_hpack_tables |
| 12171 | tools/codegen/core/gen_hpack_tables.cc |
| 12172 | ) |
| 12173 | |
| 12174 | |
| 12175 | target_include_directories(gen_hpack_tables |
| 12176 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12177 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12178 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12179 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12180 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12181 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12182 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12183 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 12184 | ) |
| 12185 | |
| 12186 | target_link_libraries(gen_hpack_tables |
| 12187 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12188 | gpr |
| 12189 | grpc |
| 12190 | ) |
| 12191 | |
| 12192 | |
| 12193 | if (gRPC_INSTALL) |
| 12194 | install(TARGETS gen_hpack_tables EXPORT gRPCTargets |
| 12195 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 12196 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12197 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12198 | ) |
| 12199 | endif() |
| 12200 | |
| 12201 | |
| 12202 | add_executable(gen_legal_metadata_characters |
| 12203 | tools/codegen/core/gen_legal_metadata_characters.cc |
| 12204 | ) |
| 12205 | |
| 12206 | |
| 12207 | target_include_directories(gen_legal_metadata_characters |
| 12208 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12209 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12210 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12211 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12212 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12213 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12214 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12215 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 12216 | ) |
| 12217 | |
| 12218 | target_link_libraries(gen_legal_metadata_characters |
| 12219 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12220 | ) |
| 12221 | |
| 12222 | |
| 12223 | if (gRPC_INSTALL) |
| 12224 | install(TARGETS gen_legal_metadata_characters EXPORT gRPCTargets |
| 12225 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 12226 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12227 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12228 | ) |
| 12229 | endif() |
| 12230 | |
| 12231 | |
| 12232 | add_executable(gen_percent_encoding_tables |
| 12233 | tools/codegen/core/gen_percent_encoding_tables.cc |
| 12234 | ) |
| 12235 | |
| 12236 | |
| 12237 | target_include_directories(gen_percent_encoding_tables |
| 12238 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12239 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12240 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12241 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12242 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12243 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12244 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12245 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 12246 | ) |
| 12247 | |
| 12248 | target_link_libraries(gen_percent_encoding_tables |
| 12249 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12250 | ) |
| 12251 | |
| 12252 | |
| 12253 | if (gRPC_INSTALL) |
| 12254 | install(TARGETS gen_percent_encoding_tables EXPORT gRPCTargets |
| 12255 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 12256 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12257 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12258 | ) |
| 12259 | endif() |
| 12260 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12261 | if (gRPC_BUILD_TESTS) |
| 12262 | |
| 12263 | add_executable(badreq_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12264 | test/core/bad_client/tests/badreq.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12265 | ) |
| 12266 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12267 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12268 | target_include_directories(badreq_bad_client_test |
| 12269 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12270 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12271 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12272 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12273 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12274 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12275 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12276 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12277 | ) |
| 12278 | |
| 12279 | target_link_libraries(badreq_bad_client_test |
| 12280 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12281 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12282 | bad_client_test |
| 12283 | grpc_test_util_unsecure |
| 12284 | grpc_unsecure |
| 12285 | gpr_test_util |
| 12286 | gpr |
| 12287 | ) |
| 12288 | |
| 12289 | endif (gRPC_BUILD_TESTS) |
| 12290 | if (gRPC_BUILD_TESTS) |
| 12291 | |
| 12292 | add_executable(connection_prefix_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12293 | test/core/bad_client/tests/connection_prefix.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12294 | ) |
| 12295 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12296 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12297 | target_include_directories(connection_prefix_bad_client_test |
| 12298 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12299 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12300 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12301 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12302 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12303 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12304 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12305 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12306 | ) |
| 12307 | |
| 12308 | target_link_libraries(connection_prefix_bad_client_test |
| 12309 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12310 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12311 | bad_client_test |
| 12312 | grpc_test_util_unsecure |
| 12313 | grpc_unsecure |
| 12314 | gpr_test_util |
| 12315 | gpr |
| 12316 | ) |
| 12317 | |
| 12318 | endif (gRPC_BUILD_TESTS) |
| 12319 | if (gRPC_BUILD_TESTS) |
| 12320 | |
| 12321 | add_executable(head_of_line_blocking_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12322 | test/core/bad_client/tests/head_of_line_blocking.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12323 | ) |
| 12324 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12325 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12326 | target_include_directories(head_of_line_blocking_bad_client_test |
| 12327 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12328 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12329 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12330 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12331 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12332 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12333 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12334 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12335 | ) |
| 12336 | |
| 12337 | target_link_libraries(head_of_line_blocking_bad_client_test |
| 12338 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12339 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12340 | bad_client_test |
| 12341 | grpc_test_util_unsecure |
| 12342 | grpc_unsecure |
| 12343 | gpr_test_util |
| 12344 | gpr |
| 12345 | ) |
| 12346 | |
| 12347 | endif (gRPC_BUILD_TESTS) |
| 12348 | if (gRPC_BUILD_TESTS) |
| 12349 | |
| 12350 | add_executable(headers_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12351 | test/core/bad_client/tests/headers.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12352 | ) |
| 12353 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12354 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12355 | target_include_directories(headers_bad_client_test |
| 12356 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12357 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12358 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12359 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12360 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12361 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12362 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12363 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12364 | ) |
| 12365 | |
| 12366 | target_link_libraries(headers_bad_client_test |
| 12367 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12368 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12369 | bad_client_test |
| 12370 | grpc_test_util_unsecure |
| 12371 | grpc_unsecure |
| 12372 | gpr_test_util |
| 12373 | gpr |
| 12374 | ) |
| 12375 | |
| 12376 | endif (gRPC_BUILD_TESTS) |
| 12377 | if (gRPC_BUILD_TESTS) |
| 12378 | |
| 12379 | add_executable(initial_settings_frame_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12380 | test/core/bad_client/tests/initial_settings_frame.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12381 | ) |
| 12382 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12383 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12384 | target_include_directories(initial_settings_frame_bad_client_test |
| 12385 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12386 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12387 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12388 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12389 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12390 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12391 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12392 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12393 | ) |
| 12394 | |
| 12395 | target_link_libraries(initial_settings_frame_bad_client_test |
| 12396 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12397 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12398 | bad_client_test |
| 12399 | grpc_test_util_unsecure |
| 12400 | grpc_unsecure |
| 12401 | gpr_test_util |
| 12402 | gpr |
| 12403 | ) |
| 12404 | |
| 12405 | endif (gRPC_BUILD_TESTS) |
| 12406 | if (gRPC_BUILD_TESTS) |
| 12407 | |
Yash Tibrewal | 1791df0 | 2018-01-19 18:23:20 -0800 | [diff] [blame] | 12408 | add_executable(large_metadata_bad_client_test |
| 12409 | test/core/bad_client/tests/large_metadata.cc |
| 12410 | ) |
| 12411 | |
| 12412 | |
| 12413 | target_include_directories(large_metadata_bad_client_test |
| 12414 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12415 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12416 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Yash Tibrewal | ea318b6 | 2018-01-24 10:59:26 -0800 | [diff] [blame] | 12417 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12418 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12419 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12420 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12421 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Yash Tibrewal | 1791df0 | 2018-01-19 18:23:20 -0800 | [diff] [blame] | 12422 | ) |
| 12423 | |
| 12424 | target_link_libraries(large_metadata_bad_client_test |
| 12425 | ${_gRPC_SSL_LIBRARIES} |
| 12426 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12427 | bad_client_test |
| 12428 | grpc_test_util_unsecure |
| 12429 | grpc_unsecure |
| 12430 | gpr_test_util |
| 12431 | gpr |
| 12432 | ) |
| 12433 | |
| 12434 | endif (gRPC_BUILD_TESTS) |
| 12435 | if (gRPC_BUILD_TESTS) |
| 12436 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12437 | add_executable(server_registered_method_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12438 | test/core/bad_client/tests/server_registered_method.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12439 | ) |
| 12440 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12441 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12442 | target_include_directories(server_registered_method_bad_client_test |
| 12443 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12444 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12445 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12446 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12447 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12448 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12449 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12450 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12451 | ) |
| 12452 | |
| 12453 | target_link_libraries(server_registered_method_bad_client_test |
| 12454 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12455 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12456 | bad_client_test |
| 12457 | grpc_test_util_unsecure |
| 12458 | grpc_unsecure |
| 12459 | gpr_test_util |
| 12460 | gpr |
| 12461 | ) |
| 12462 | |
| 12463 | endif (gRPC_BUILD_TESTS) |
| 12464 | if (gRPC_BUILD_TESTS) |
| 12465 | |
| 12466 | add_executable(simple_request_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12467 | test/core/bad_client/tests/simple_request.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12468 | ) |
| 12469 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12470 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12471 | target_include_directories(simple_request_bad_client_test |
| 12472 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12473 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12474 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12475 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12476 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12477 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12478 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12479 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12480 | ) |
| 12481 | |
| 12482 | target_link_libraries(simple_request_bad_client_test |
| 12483 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12484 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12485 | bad_client_test |
| 12486 | grpc_test_util_unsecure |
| 12487 | grpc_unsecure |
| 12488 | gpr_test_util |
| 12489 | gpr |
| 12490 | ) |
| 12491 | |
| 12492 | endif (gRPC_BUILD_TESTS) |
| 12493 | if (gRPC_BUILD_TESTS) |
| 12494 | |
| 12495 | add_executable(unknown_frame_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12496 | test/core/bad_client/tests/unknown_frame.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12497 | ) |
| 12498 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12499 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12500 | target_include_directories(unknown_frame_bad_client_test |
| 12501 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12502 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12503 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12504 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12505 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12506 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12507 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12508 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12509 | ) |
| 12510 | |
| 12511 | target_link_libraries(unknown_frame_bad_client_test |
| 12512 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12513 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12514 | bad_client_test |
| 12515 | grpc_test_util_unsecure |
| 12516 | grpc_unsecure |
| 12517 | gpr_test_util |
| 12518 | gpr |
| 12519 | ) |
| 12520 | |
| 12521 | endif (gRPC_BUILD_TESTS) |
| 12522 | if (gRPC_BUILD_TESTS) |
| 12523 | |
| 12524 | add_executable(window_overflow_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12525 | test/core/bad_client/tests/window_overflow.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12526 | ) |
| 12527 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12528 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12529 | target_include_directories(window_overflow_bad_client_test |
| 12530 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12531 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12532 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12533 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12534 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12535 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12536 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12537 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12538 | ) |
| 12539 | |
| 12540 | target_link_libraries(window_overflow_bad_client_test |
| 12541 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12542 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12543 | bad_client_test |
| 12544 | grpc_test_util_unsecure |
| 12545 | grpc_unsecure |
| 12546 | gpr_test_util |
| 12547 | gpr |
| 12548 | ) |
| 12549 | |
| 12550 | endif (gRPC_BUILD_TESTS) |
| 12551 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12552 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12553 | |
| 12554 | add_executable(bad_ssl_cert_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12555 | test/core/bad_ssl/servers/cert.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12556 | ) |
| 12557 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12558 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12559 | target_include_directories(bad_ssl_cert_server |
| 12560 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12561 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12562 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12563 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12564 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12565 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12566 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12567 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12568 | ) |
| 12569 | |
| 12570 | target_link_libraries(bad_ssl_cert_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12571 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12572 | bad_ssl_test_server |
| 12573 | grpc_test_util |
| 12574 | grpc |
| 12575 | gpr_test_util |
| 12576 | gpr |
| 12577 | ) |
| 12578 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12579 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12580 | endif (gRPC_BUILD_TESTS) |
| 12581 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12582 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12583 | |
| 12584 | add_executable(bad_ssl_cert_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12585 | test/core/bad_ssl/bad_ssl_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12586 | ) |
| 12587 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12588 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12589 | target_include_directories(bad_ssl_cert_test |
| 12590 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12591 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12592 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12593 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12594 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12595 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12596 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12597 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12598 | ) |
| 12599 | |
| 12600 | target_link_libraries(bad_ssl_cert_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12601 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12602 | grpc_test_util |
| 12603 | grpc |
| 12604 | gpr_test_util |
| 12605 | gpr |
| 12606 | ) |
| 12607 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12608 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12609 | endif (gRPC_BUILD_TESTS) |
| 12610 | if (gRPC_BUILD_TESTS) |
| 12611 | |
| 12612 | add_executable(h2_census_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12613 | test/core/end2end/fixtures/h2_census.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12614 | ) |
| 12615 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12616 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12617 | target_include_directories(h2_census_test |
| 12618 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12619 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12620 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12621 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12622 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12623 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12624 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12625 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12626 | ) |
| 12627 | |
| 12628 | target_link_libraries(h2_census_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12629 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12630 | end2end_tests |
| 12631 | grpc_test_util |
| 12632 | grpc |
| 12633 | gpr_test_util |
| 12634 | gpr |
| 12635 | ) |
| 12636 | |
| 12637 | endif (gRPC_BUILD_TESTS) |
| 12638 | if (gRPC_BUILD_TESTS) |
| 12639 | |
| 12640 | add_executable(h2_compress_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12641 | test/core/end2end/fixtures/h2_compress.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12642 | ) |
| 12643 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12644 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12645 | target_include_directories(h2_compress_test |
| 12646 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12647 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12648 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12649 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12650 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12651 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12652 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12653 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12654 | ) |
| 12655 | |
| 12656 | target_link_libraries(h2_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12657 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12658 | end2end_tests |
| 12659 | grpc_test_util |
| 12660 | grpc |
| 12661 | gpr_test_util |
| 12662 | gpr |
| 12663 | ) |
| 12664 | |
| 12665 | endif (gRPC_BUILD_TESTS) |
| 12666 | if (gRPC_BUILD_TESTS) |
| 12667 | |
| 12668 | add_executable(h2_fakesec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12669 | test/core/end2end/fixtures/h2_fakesec.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12670 | ) |
| 12671 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12672 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12673 | target_include_directories(h2_fakesec_test |
| 12674 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12675 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12676 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12677 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12678 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12679 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12680 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12681 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12682 | ) |
| 12683 | |
| 12684 | target_link_libraries(h2_fakesec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12685 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12686 | end2end_tests |
| 12687 | grpc_test_util |
| 12688 | grpc |
| 12689 | gpr_test_util |
| 12690 | gpr |
| 12691 | ) |
| 12692 | |
| 12693 | endif (gRPC_BUILD_TESTS) |
| 12694 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12695 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12696 | |
| 12697 | add_executable(h2_fd_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12698 | test/core/end2end/fixtures/h2_fd.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12699 | ) |
| 12700 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12701 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12702 | target_include_directories(h2_fd_test |
| 12703 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12704 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12705 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12706 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12707 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12708 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12709 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12710 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12711 | ) |
| 12712 | |
| 12713 | target_link_libraries(h2_fd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12714 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12715 | end2end_tests |
| 12716 | grpc_test_util |
| 12717 | grpc |
| 12718 | gpr_test_util |
| 12719 | gpr |
| 12720 | ) |
| 12721 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12722 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12723 | endif (gRPC_BUILD_TESTS) |
| 12724 | if (gRPC_BUILD_TESTS) |
| 12725 | |
| 12726 | add_executable(h2_full_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12727 | test/core/end2end/fixtures/h2_full.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12728 | ) |
| 12729 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12730 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12731 | target_include_directories(h2_full_test |
| 12732 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12733 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12734 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12735 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12736 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12737 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12738 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12739 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12740 | ) |
| 12741 | |
| 12742 | target_link_libraries(h2_full_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12743 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12744 | end2end_tests |
| 12745 | grpc_test_util |
| 12746 | grpc |
| 12747 | gpr_test_util |
| 12748 | gpr |
| 12749 | ) |
| 12750 | |
| 12751 | endif (gRPC_BUILD_TESTS) |
| 12752 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12753 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12754 | |
| 12755 | add_executable(h2_full+pipe_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12756 | test/core/end2end/fixtures/h2_full+pipe.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12757 | ) |
| 12758 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12759 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12760 | target_include_directories(h2_full+pipe_test |
| 12761 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12762 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12763 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12764 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12765 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12766 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12767 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12768 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12769 | ) |
| 12770 | |
| 12771 | target_link_libraries(h2_full+pipe_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12772 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12773 | end2end_tests |
| 12774 | grpc_test_util |
| 12775 | grpc |
| 12776 | gpr_test_util |
| 12777 | gpr |
| 12778 | ) |
| 12779 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12780 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12781 | endif (gRPC_BUILD_TESTS) |
| 12782 | if (gRPC_BUILD_TESTS) |
| 12783 | |
| 12784 | add_executable(h2_full+trace_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12785 | test/core/end2end/fixtures/h2_full+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12786 | ) |
| 12787 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12788 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12789 | target_include_directories(h2_full+trace_test |
| 12790 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12791 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12792 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12793 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12794 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12795 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12796 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12797 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12798 | ) |
| 12799 | |
| 12800 | target_link_libraries(h2_full+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12801 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12802 | end2end_tests |
| 12803 | grpc_test_util |
| 12804 | grpc |
| 12805 | gpr_test_util |
| 12806 | gpr |
| 12807 | ) |
| 12808 | |
| 12809 | endif (gRPC_BUILD_TESTS) |
| 12810 | if (gRPC_BUILD_TESTS) |
| 12811 | |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 12812 | add_executable(h2_full+workarounds_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12813 | test/core/end2end/fixtures/h2_full+workarounds.cc |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 12814 | ) |
| 12815 | |
| 12816 | |
| 12817 | target_include_directories(h2_full+workarounds_test |
| 12818 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12819 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12820 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12821 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12822 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12823 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12824 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12825 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 12826 | ) |
| 12827 | |
| 12828 | target_link_libraries(h2_full+workarounds_test |
| 12829 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12830 | end2end_tests |
| 12831 | grpc_test_util |
| 12832 | grpc |
| 12833 | gpr_test_util |
| 12834 | gpr |
| 12835 | ) |
| 12836 | |
| 12837 | endif (gRPC_BUILD_TESTS) |
| 12838 | if (gRPC_BUILD_TESTS) |
| 12839 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12840 | add_executable(h2_http_proxy_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12841 | test/core/end2end/fixtures/h2_http_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12842 | ) |
| 12843 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12844 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12845 | target_include_directories(h2_http_proxy_test |
| 12846 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12847 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12848 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12849 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12850 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12851 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12852 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12853 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12854 | ) |
| 12855 | |
| 12856 | target_link_libraries(h2_http_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12857 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12858 | end2end_tests |
| 12859 | grpc_test_util |
| 12860 | grpc |
| 12861 | gpr_test_util |
| 12862 | gpr |
| 12863 | ) |
| 12864 | |
| 12865 | endif (gRPC_BUILD_TESTS) |
| 12866 | if (gRPC_BUILD_TESTS) |
| 12867 | |
| 12868 | add_executable(h2_load_reporting_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12869 | test/core/end2end/fixtures/h2_load_reporting.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12870 | ) |
| 12871 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12872 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12873 | target_include_directories(h2_load_reporting_test |
| 12874 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12875 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12876 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12877 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12878 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12879 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12880 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12881 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12882 | ) |
| 12883 | |
| 12884 | target_link_libraries(h2_load_reporting_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12885 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12886 | end2end_tests |
| 12887 | grpc_test_util |
| 12888 | grpc |
| 12889 | gpr_test_util |
| 12890 | gpr |
| 12891 | ) |
| 12892 | |
| 12893 | endif (gRPC_BUILD_TESTS) |
| 12894 | if (gRPC_BUILD_TESTS) |
| 12895 | |
| 12896 | add_executable(h2_oauth2_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12897 | test/core/end2end/fixtures/h2_oauth2.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12898 | ) |
| 12899 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12900 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12901 | target_include_directories(h2_oauth2_test |
| 12902 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12903 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12904 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12905 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12906 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12907 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12908 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12909 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12910 | ) |
| 12911 | |
| 12912 | target_link_libraries(h2_oauth2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12913 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12914 | end2end_tests |
| 12915 | grpc_test_util |
| 12916 | grpc |
| 12917 | gpr_test_util |
| 12918 | gpr |
| 12919 | ) |
| 12920 | |
| 12921 | endif (gRPC_BUILD_TESTS) |
| 12922 | if (gRPC_BUILD_TESTS) |
| 12923 | |
| 12924 | add_executable(h2_proxy_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12925 | test/core/end2end/fixtures/h2_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12926 | ) |
| 12927 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12928 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12929 | target_include_directories(h2_proxy_test |
| 12930 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12931 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12932 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12933 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12934 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12935 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12936 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12937 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12938 | ) |
| 12939 | |
| 12940 | target_link_libraries(h2_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12941 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12942 | end2end_tests |
| 12943 | grpc_test_util |
| 12944 | grpc |
| 12945 | gpr_test_util |
| 12946 | gpr |
| 12947 | ) |
| 12948 | |
| 12949 | endif (gRPC_BUILD_TESTS) |
| 12950 | if (gRPC_BUILD_TESTS) |
| 12951 | |
| 12952 | add_executable(h2_sockpair_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12953 | test/core/end2end/fixtures/h2_sockpair.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12954 | ) |
| 12955 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12956 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12957 | target_include_directories(h2_sockpair_test |
| 12958 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12959 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12960 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12961 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12962 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12963 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12964 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12965 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12966 | ) |
| 12967 | |
| 12968 | target_link_libraries(h2_sockpair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12969 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12970 | end2end_tests |
| 12971 | grpc_test_util |
| 12972 | grpc |
| 12973 | gpr_test_util |
| 12974 | gpr |
| 12975 | ) |
| 12976 | |
| 12977 | endif (gRPC_BUILD_TESTS) |
| 12978 | if (gRPC_BUILD_TESTS) |
| 12979 | |
| 12980 | add_executable(h2_sockpair+trace_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12981 | test/core/end2end/fixtures/h2_sockpair+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12982 | ) |
| 12983 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12984 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12985 | target_include_directories(h2_sockpair+trace_test |
| 12986 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12987 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12988 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 12989 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 12990 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 12991 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 12992 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 12993 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12994 | ) |
| 12995 | |
| 12996 | target_link_libraries(h2_sockpair+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12997 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12998 | end2end_tests |
| 12999 | grpc_test_util |
| 13000 | grpc |
| 13001 | gpr_test_util |
| 13002 | gpr |
| 13003 | ) |
| 13004 | |
| 13005 | endif (gRPC_BUILD_TESTS) |
| 13006 | if (gRPC_BUILD_TESTS) |
| 13007 | |
| 13008 | add_executable(h2_sockpair_1byte_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13009 | test/core/end2end/fixtures/h2_sockpair_1byte.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13010 | ) |
| 13011 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13012 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13013 | target_include_directories(h2_sockpair_1byte_test |
| 13014 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13015 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13016 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13017 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13018 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13019 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13020 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13021 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13022 | ) |
| 13023 | |
| 13024 | target_link_libraries(h2_sockpair_1byte_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13025 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13026 | end2end_tests |
| 13027 | grpc_test_util |
| 13028 | grpc |
| 13029 | gpr_test_util |
| 13030 | gpr |
| 13031 | ) |
| 13032 | |
| 13033 | endif (gRPC_BUILD_TESTS) |
| 13034 | if (gRPC_BUILD_TESTS) |
| 13035 | |
| 13036 | add_executable(h2_ssl_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13037 | test/core/end2end/fixtures/h2_ssl.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13038 | ) |
| 13039 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13040 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13041 | target_include_directories(h2_ssl_test |
| 13042 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13043 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13044 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13045 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13046 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13047 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13048 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13049 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13050 | ) |
| 13051 | |
| 13052 | target_link_libraries(h2_ssl_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13053 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13054 | end2end_tests |
| 13055 | grpc_test_util |
| 13056 | grpc |
| 13057 | gpr_test_util |
| 13058 | gpr |
| 13059 | ) |
| 13060 | |
| 13061 | endif (gRPC_BUILD_TESTS) |
| 13062 | if (gRPC_BUILD_TESTS) |
| 13063 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13064 | add_executable(h2_ssl_proxy_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13065 | test/core/end2end/fixtures/h2_ssl_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13066 | ) |
| 13067 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13068 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13069 | target_include_directories(h2_ssl_proxy_test |
| 13070 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13071 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13072 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13073 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13074 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13075 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13076 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13077 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13078 | ) |
| 13079 | |
| 13080 | target_link_libraries(h2_ssl_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13081 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13082 | end2end_tests |
| 13083 | grpc_test_util |
| 13084 | grpc |
| 13085 | gpr_test_util |
| 13086 | gpr |
| 13087 | ) |
| 13088 | |
| 13089 | endif (gRPC_BUILD_TESTS) |
| 13090 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13091 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13092 | |
| 13093 | add_executable(h2_uds_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13094 | test/core/end2end/fixtures/h2_uds.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13095 | ) |
| 13096 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13097 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13098 | target_include_directories(h2_uds_test |
| 13099 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13100 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13101 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13102 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13103 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13104 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13105 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13106 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13107 | ) |
| 13108 | |
| 13109 | target_link_libraries(h2_uds_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13110 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13111 | end2end_tests |
| 13112 | grpc_test_util |
| 13113 | grpc |
| 13114 | gpr_test_util |
| 13115 | gpr |
| 13116 | ) |
| 13117 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13118 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13119 | endif (gRPC_BUILD_TESTS) |
| 13120 | if (gRPC_BUILD_TESTS) |
| 13121 | |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13122 | add_executable(inproc_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13123 | test/core/end2end/fixtures/inproc.cc |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13124 | ) |
| 13125 | |
| 13126 | |
| 13127 | target_include_directories(inproc_test |
| 13128 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13129 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13130 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13131 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13132 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13133 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13134 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13135 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13136 | ) |
| 13137 | |
| 13138 | target_link_libraries(inproc_test |
| 13139 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13140 | end2end_tests |
| 13141 | grpc_test_util |
| 13142 | grpc |
| 13143 | gpr_test_util |
| 13144 | gpr |
| 13145 | ) |
| 13146 | |
| 13147 | endif (gRPC_BUILD_TESTS) |
| 13148 | if (gRPC_BUILD_TESTS) |
| 13149 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13150 | add_executable(h2_census_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13151 | test/core/end2end/fixtures/h2_census.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13152 | ) |
| 13153 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13154 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13155 | target_include_directories(h2_census_nosec_test |
| 13156 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13157 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13158 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13159 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13160 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13161 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13162 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13163 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13164 | ) |
| 13165 | |
| 13166 | target_link_libraries(h2_census_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13167 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13168 | end2end_nosec_tests |
| 13169 | grpc_test_util_unsecure |
| 13170 | grpc_unsecure |
| 13171 | gpr_test_util |
| 13172 | gpr |
| 13173 | ) |
| 13174 | |
| 13175 | endif (gRPC_BUILD_TESTS) |
| 13176 | if (gRPC_BUILD_TESTS) |
| 13177 | |
| 13178 | add_executable(h2_compress_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13179 | test/core/end2end/fixtures/h2_compress.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13180 | ) |
| 13181 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13182 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13183 | target_include_directories(h2_compress_nosec_test |
| 13184 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13185 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13186 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13187 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13188 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13189 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13190 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13191 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13192 | ) |
| 13193 | |
| 13194 | target_link_libraries(h2_compress_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13195 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13196 | end2end_nosec_tests |
| 13197 | grpc_test_util_unsecure |
| 13198 | grpc_unsecure |
| 13199 | gpr_test_util |
| 13200 | gpr |
| 13201 | ) |
| 13202 | |
| 13203 | endif (gRPC_BUILD_TESTS) |
| 13204 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13205 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13206 | |
| 13207 | add_executable(h2_fd_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13208 | test/core/end2end/fixtures/h2_fd.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13209 | ) |
| 13210 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13211 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13212 | target_include_directories(h2_fd_nosec_test |
| 13213 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13214 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13215 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13216 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13217 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13218 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13219 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13220 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13221 | ) |
| 13222 | |
| 13223 | target_link_libraries(h2_fd_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13224 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13225 | end2end_nosec_tests |
| 13226 | grpc_test_util_unsecure |
| 13227 | grpc_unsecure |
| 13228 | gpr_test_util |
| 13229 | gpr |
| 13230 | ) |
| 13231 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13232 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13233 | endif (gRPC_BUILD_TESTS) |
| 13234 | if (gRPC_BUILD_TESTS) |
| 13235 | |
| 13236 | add_executable(h2_full_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13237 | test/core/end2end/fixtures/h2_full.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13238 | ) |
| 13239 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13240 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13241 | target_include_directories(h2_full_nosec_test |
| 13242 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13243 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13244 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13245 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13246 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13247 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13248 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13249 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13250 | ) |
| 13251 | |
| 13252 | target_link_libraries(h2_full_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13253 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13254 | end2end_nosec_tests |
| 13255 | grpc_test_util_unsecure |
| 13256 | grpc_unsecure |
| 13257 | gpr_test_util |
| 13258 | gpr |
| 13259 | ) |
| 13260 | |
| 13261 | endif (gRPC_BUILD_TESTS) |
| 13262 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13263 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13264 | |
| 13265 | add_executable(h2_full+pipe_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13266 | test/core/end2end/fixtures/h2_full+pipe.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13267 | ) |
| 13268 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13269 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13270 | target_include_directories(h2_full+pipe_nosec_test |
| 13271 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13272 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13273 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13274 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13275 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13276 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13277 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13278 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13279 | ) |
| 13280 | |
| 13281 | target_link_libraries(h2_full+pipe_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13282 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13283 | end2end_nosec_tests |
| 13284 | grpc_test_util_unsecure |
| 13285 | grpc_unsecure |
| 13286 | gpr_test_util |
| 13287 | gpr |
| 13288 | ) |
| 13289 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13290 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13291 | endif (gRPC_BUILD_TESTS) |
| 13292 | if (gRPC_BUILD_TESTS) |
| 13293 | |
| 13294 | add_executable(h2_full+trace_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13295 | test/core/end2end/fixtures/h2_full+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13296 | ) |
| 13297 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13298 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13299 | target_include_directories(h2_full+trace_nosec_test |
| 13300 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13301 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13302 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13303 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13304 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13305 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13306 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13307 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13308 | ) |
| 13309 | |
| 13310 | target_link_libraries(h2_full+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13311 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13312 | end2end_nosec_tests |
| 13313 | grpc_test_util_unsecure |
| 13314 | grpc_unsecure |
| 13315 | gpr_test_util |
| 13316 | gpr |
| 13317 | ) |
| 13318 | |
| 13319 | endif (gRPC_BUILD_TESTS) |
| 13320 | if (gRPC_BUILD_TESTS) |
| 13321 | |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13322 | add_executable(h2_full+workarounds_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13323 | test/core/end2end/fixtures/h2_full+workarounds.cc |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13324 | ) |
| 13325 | |
| 13326 | |
| 13327 | target_include_directories(h2_full+workarounds_nosec_test |
| 13328 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13329 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13330 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13331 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13332 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13333 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13334 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13335 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13336 | ) |
| 13337 | |
| 13338 | target_link_libraries(h2_full+workarounds_nosec_test |
| 13339 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13340 | end2end_nosec_tests |
| 13341 | grpc_test_util_unsecure |
| 13342 | grpc_unsecure |
| 13343 | gpr_test_util |
| 13344 | gpr |
| 13345 | ) |
| 13346 | |
| 13347 | endif (gRPC_BUILD_TESTS) |
| 13348 | if (gRPC_BUILD_TESTS) |
| 13349 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13350 | add_executable(h2_http_proxy_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13351 | test/core/end2end/fixtures/h2_http_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13352 | ) |
| 13353 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13354 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13355 | target_include_directories(h2_http_proxy_nosec_test |
| 13356 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13357 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13358 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13359 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13360 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13361 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13362 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13363 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13364 | ) |
| 13365 | |
| 13366 | target_link_libraries(h2_http_proxy_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13367 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13368 | end2end_nosec_tests |
| 13369 | grpc_test_util_unsecure |
| 13370 | grpc_unsecure |
| 13371 | gpr_test_util |
| 13372 | gpr |
| 13373 | ) |
| 13374 | |
| 13375 | endif (gRPC_BUILD_TESTS) |
| 13376 | if (gRPC_BUILD_TESTS) |
| 13377 | |
| 13378 | add_executable(h2_load_reporting_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13379 | test/core/end2end/fixtures/h2_load_reporting.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13380 | ) |
| 13381 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13382 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13383 | target_include_directories(h2_load_reporting_nosec_test |
| 13384 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13385 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13386 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13387 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13388 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13389 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13390 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13391 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13392 | ) |
| 13393 | |
| 13394 | target_link_libraries(h2_load_reporting_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13395 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13396 | end2end_nosec_tests |
| 13397 | grpc_test_util_unsecure |
| 13398 | grpc_unsecure |
| 13399 | gpr_test_util |
| 13400 | gpr |
| 13401 | ) |
| 13402 | |
| 13403 | endif (gRPC_BUILD_TESTS) |
| 13404 | if (gRPC_BUILD_TESTS) |
| 13405 | |
| 13406 | add_executable(h2_proxy_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13407 | test/core/end2end/fixtures/h2_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13408 | ) |
| 13409 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13410 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13411 | target_include_directories(h2_proxy_nosec_test |
| 13412 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13413 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13414 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13415 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13416 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13417 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13418 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13419 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13420 | ) |
| 13421 | |
| 13422 | target_link_libraries(h2_proxy_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13423 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13424 | end2end_nosec_tests |
| 13425 | grpc_test_util_unsecure |
| 13426 | grpc_unsecure |
| 13427 | gpr_test_util |
| 13428 | gpr |
| 13429 | ) |
| 13430 | |
| 13431 | endif (gRPC_BUILD_TESTS) |
| 13432 | if (gRPC_BUILD_TESTS) |
| 13433 | |
| 13434 | add_executable(h2_sockpair_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13435 | test/core/end2end/fixtures/h2_sockpair.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13436 | ) |
| 13437 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13438 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13439 | target_include_directories(h2_sockpair_nosec_test |
| 13440 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13441 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13442 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13443 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13444 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13445 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13446 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13447 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13448 | ) |
| 13449 | |
| 13450 | target_link_libraries(h2_sockpair_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13451 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13452 | end2end_nosec_tests |
| 13453 | grpc_test_util_unsecure |
| 13454 | grpc_unsecure |
| 13455 | gpr_test_util |
| 13456 | gpr |
| 13457 | ) |
| 13458 | |
| 13459 | endif (gRPC_BUILD_TESTS) |
| 13460 | if (gRPC_BUILD_TESTS) |
| 13461 | |
| 13462 | add_executable(h2_sockpair+trace_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13463 | test/core/end2end/fixtures/h2_sockpair+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13464 | ) |
| 13465 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13466 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13467 | target_include_directories(h2_sockpair+trace_nosec_test |
| 13468 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13469 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13470 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13471 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13472 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13473 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13474 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13475 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13476 | ) |
| 13477 | |
| 13478 | target_link_libraries(h2_sockpair+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13479 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13480 | end2end_nosec_tests |
| 13481 | grpc_test_util_unsecure |
| 13482 | grpc_unsecure |
| 13483 | gpr_test_util |
| 13484 | gpr |
| 13485 | ) |
| 13486 | |
| 13487 | endif (gRPC_BUILD_TESTS) |
| 13488 | if (gRPC_BUILD_TESTS) |
| 13489 | |
| 13490 | add_executable(h2_sockpair_1byte_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13491 | test/core/end2end/fixtures/h2_sockpair_1byte.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13492 | ) |
| 13493 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13494 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13495 | target_include_directories(h2_sockpair_1byte_nosec_test |
| 13496 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13497 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13498 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13499 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13500 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13501 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13502 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13503 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13504 | ) |
| 13505 | |
| 13506 | target_link_libraries(h2_sockpair_1byte_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13507 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13508 | end2end_nosec_tests |
| 13509 | grpc_test_util_unsecure |
| 13510 | grpc_unsecure |
| 13511 | gpr_test_util |
| 13512 | gpr |
| 13513 | ) |
| 13514 | |
| 13515 | endif (gRPC_BUILD_TESTS) |
| 13516 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13517 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13518 | |
| 13519 | add_executable(h2_uds_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13520 | test/core/end2end/fixtures/h2_uds.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13521 | ) |
| 13522 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13523 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13524 | target_include_directories(h2_uds_nosec_test |
| 13525 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13526 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13527 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13528 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13529 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13530 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13531 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13532 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13533 | ) |
| 13534 | |
| 13535 | target_link_libraries(h2_uds_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13536 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13537 | end2end_nosec_tests |
| 13538 | grpc_test_util_unsecure |
| 13539 | grpc_unsecure |
| 13540 | gpr_test_util |
| 13541 | gpr |
| 13542 | ) |
| 13543 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13544 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13545 | endif (gRPC_BUILD_TESTS) |
| 13546 | if (gRPC_BUILD_TESTS) |
| 13547 | |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13548 | add_executable(inproc_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13549 | test/core/end2end/fixtures/inproc.cc |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13550 | ) |
| 13551 | |
| 13552 | |
| 13553 | target_include_directories(inproc_nosec_test |
| 13554 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13555 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13556 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13557 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13558 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13559 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13560 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13561 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13562 | ) |
| 13563 | |
| 13564 | target_link_libraries(inproc_nosec_test |
| 13565 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13566 | end2end_nosec_tests |
| 13567 | grpc_test_util_unsecure |
| 13568 | grpc_unsecure |
| 13569 | gpr_test_util |
| 13570 | gpr |
| 13571 | ) |
| 13572 | |
| 13573 | endif (gRPC_BUILD_TESTS) |
| 13574 | if (gRPC_BUILD_TESTS) |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 13575 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 13576 | |
| 13577 | add_executable(resolver_component_test_unsecure |
| 13578 | test/cpp/naming/resolver_component_test.cc |
| 13579 | third_party/googletest/googletest/src/gtest-all.cc |
| 13580 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13581 | ) |
| 13582 | |
| 13583 | |
| 13584 | target_include_directories(resolver_component_test_unsecure |
| 13585 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13586 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13587 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13588 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13589 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13590 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13591 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13592 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 13593 | PRIVATE third_party/googletest/googletest/include |
| 13594 | PRIVATE third_party/googletest/googletest |
| 13595 | PRIVATE third_party/googletest/googlemock/include |
| 13596 | PRIVATE third_party/googletest/googlemock |
| 13597 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13598 | ) |
| 13599 | |
| 13600 | target_link_libraries(resolver_component_test_unsecure |
| 13601 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13602 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13603 | grpc++_test_util_unsecure |
| 13604 | grpc_test_util_unsecure |
| 13605 | gpr_test_util |
| 13606 | grpc++_unsecure |
| 13607 | grpc_unsecure |
| 13608 | gpr |
| 13609 | grpc++_test_config |
| 13610 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13611 | ) |
| 13612 | |
| 13613 | endif() |
| 13614 | endif (gRPC_BUILD_TESTS) |
| 13615 | if (gRPC_BUILD_TESTS) |
| 13616 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 13617 | |
| 13618 | add_executable(resolver_component_test |
| 13619 | test/cpp/naming/resolver_component_test.cc |
| 13620 | third_party/googletest/googletest/src/gtest-all.cc |
| 13621 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13622 | ) |
| 13623 | |
| 13624 | |
| 13625 | target_include_directories(resolver_component_test |
| 13626 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13627 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13628 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13629 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13630 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13631 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13632 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13633 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 13634 | PRIVATE third_party/googletest/googletest/include |
| 13635 | PRIVATE third_party/googletest/googletest |
| 13636 | PRIVATE third_party/googletest/googlemock/include |
| 13637 | PRIVATE third_party/googletest/googlemock |
| 13638 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13639 | ) |
| 13640 | |
| 13641 | target_link_libraries(resolver_component_test |
| 13642 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13643 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13644 | grpc++_test_util |
| 13645 | grpc_test_util |
| 13646 | gpr_test_util |
| 13647 | grpc++ |
| 13648 | grpc |
| 13649 | gpr |
| 13650 | grpc++_test_config |
| 13651 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13652 | ) |
| 13653 | |
| 13654 | endif() |
| 13655 | endif (gRPC_BUILD_TESTS) |
| 13656 | if (gRPC_BUILD_TESTS) |
| 13657 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 13658 | |
| 13659 | add_executable(resolver_component_tests_runner_invoker_unsecure |
| 13660 | test/cpp/naming/resolver_component_tests_runner_invoker.cc |
| 13661 | third_party/googletest/googletest/src/gtest-all.cc |
| 13662 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13663 | ) |
| 13664 | |
| 13665 | |
| 13666 | target_include_directories(resolver_component_tests_runner_invoker_unsecure |
| 13667 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13668 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13669 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13670 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13671 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13672 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13673 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13674 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 13675 | PRIVATE third_party/googletest/googletest/include |
| 13676 | PRIVATE third_party/googletest/googletest |
| 13677 | PRIVATE third_party/googletest/googlemock/include |
| 13678 | PRIVATE third_party/googletest/googlemock |
| 13679 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13680 | ) |
| 13681 | |
| 13682 | target_link_libraries(resolver_component_tests_runner_invoker_unsecure |
| 13683 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13684 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13685 | grpc++_test_util |
| 13686 | grpc_test_util |
| 13687 | gpr_test_util |
| 13688 | grpc++ |
| 13689 | grpc |
| 13690 | gpr |
| 13691 | grpc++_test_config |
| 13692 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13693 | ) |
| 13694 | |
| 13695 | endif() |
| 13696 | endif (gRPC_BUILD_TESTS) |
| 13697 | if (gRPC_BUILD_TESTS) |
| 13698 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 13699 | |
| 13700 | add_executable(resolver_component_tests_runner_invoker |
| 13701 | test/cpp/naming/resolver_component_tests_runner_invoker.cc |
| 13702 | third_party/googletest/googletest/src/gtest-all.cc |
| 13703 | third_party/googletest/googlemock/src/gmock-all.cc |
| 13704 | ) |
| 13705 | |
| 13706 | |
| 13707 | target_include_directories(resolver_component_tests_runner_invoker |
| 13708 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13709 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13710 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13711 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13712 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13713 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13714 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13715 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 13716 | PRIVATE third_party/googletest/googletest/include |
| 13717 | PRIVATE third_party/googletest/googletest |
| 13718 | PRIVATE third_party/googletest/googlemock/include |
| 13719 | PRIVATE third_party/googletest/googlemock |
| 13720 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 13721 | ) |
| 13722 | |
| 13723 | target_link_libraries(resolver_component_tests_runner_invoker |
| 13724 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 13725 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13726 | grpc++_test_util |
| 13727 | grpc_test_util |
| 13728 | gpr_test_util |
| 13729 | grpc++ |
| 13730 | grpc |
| 13731 | gpr |
| 13732 | grpc++_test_config |
| 13733 | ${_gRPC_GFLAGS_LIBRARIES} |
| 13734 | ) |
| 13735 | |
| 13736 | endif() |
| 13737 | endif (gRPC_BUILD_TESTS) |
| 13738 | if (gRPC_BUILD_TESTS) |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13739 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13740 | add_executable(api_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13741 | test/core/end2end/fuzzers/api_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13742 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13743 | ) |
| 13744 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13745 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13746 | target_include_directories(api_fuzzer_one_entry |
| 13747 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13748 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13749 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13750 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13751 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13752 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13753 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13754 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13755 | ) |
| 13756 | |
| 13757 | target_link_libraries(api_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13758 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13759 | grpc_test_util |
| 13760 | grpc |
| 13761 | gpr_test_util |
| 13762 | gpr |
| 13763 | ) |
| 13764 | |
| 13765 | endif (gRPC_BUILD_TESTS) |
| 13766 | if (gRPC_BUILD_TESTS) |
| 13767 | |
| 13768 | add_executable(client_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13769 | test/core/end2end/fuzzers/client_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13770 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13771 | ) |
| 13772 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13773 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13774 | target_include_directories(client_fuzzer_one_entry |
| 13775 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13776 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13777 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13778 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13779 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13780 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13781 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13782 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13783 | ) |
| 13784 | |
| 13785 | target_link_libraries(client_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13786 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13787 | grpc_test_util |
| 13788 | grpc |
| 13789 | gpr_test_util |
| 13790 | gpr |
| 13791 | ) |
| 13792 | |
| 13793 | endif (gRPC_BUILD_TESTS) |
| 13794 | if (gRPC_BUILD_TESTS) |
| 13795 | |
| 13796 | add_executable(hpack_parser_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13797 | test/core/transport/chttp2/hpack_parser_fuzzer_test.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13798 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13799 | ) |
| 13800 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13801 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13802 | target_include_directories(hpack_parser_fuzzer_test_one_entry |
| 13803 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13804 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13805 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13806 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13807 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13808 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13809 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13810 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13811 | ) |
| 13812 | |
| 13813 | target_link_libraries(hpack_parser_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13814 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13815 | grpc_test_util |
| 13816 | grpc |
| 13817 | gpr_test_util |
| 13818 | gpr |
| 13819 | ) |
| 13820 | |
| 13821 | endif (gRPC_BUILD_TESTS) |
| 13822 | if (gRPC_BUILD_TESTS) |
| 13823 | |
| 13824 | add_executable(http_request_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13825 | test/core/http/request_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13826 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13827 | ) |
| 13828 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13829 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13830 | target_include_directories(http_request_fuzzer_test_one_entry |
| 13831 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13832 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13833 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13834 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13835 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13836 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13837 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13838 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13839 | ) |
| 13840 | |
| 13841 | target_link_libraries(http_request_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13842 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13843 | grpc_test_util |
| 13844 | grpc |
| 13845 | gpr_test_util |
| 13846 | gpr |
| 13847 | ) |
| 13848 | |
| 13849 | endif (gRPC_BUILD_TESTS) |
| 13850 | if (gRPC_BUILD_TESTS) |
| 13851 | |
| 13852 | add_executable(http_response_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13853 | test/core/http/response_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13854 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13855 | ) |
| 13856 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13857 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13858 | target_include_directories(http_response_fuzzer_test_one_entry |
| 13859 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13860 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13861 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13862 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13863 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13864 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13865 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13866 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13867 | ) |
| 13868 | |
| 13869 | target_link_libraries(http_response_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13870 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13871 | grpc_test_util |
| 13872 | grpc |
| 13873 | gpr_test_util |
| 13874 | gpr |
| 13875 | ) |
| 13876 | |
| 13877 | endif (gRPC_BUILD_TESTS) |
| 13878 | if (gRPC_BUILD_TESTS) |
| 13879 | |
| 13880 | add_executable(json_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13881 | test/core/json/fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13882 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13883 | ) |
| 13884 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13885 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13886 | target_include_directories(json_fuzzer_test_one_entry |
| 13887 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13888 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13889 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13890 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13891 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13892 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13893 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13894 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13895 | ) |
| 13896 | |
| 13897 | target_link_libraries(json_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13898 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13899 | grpc_test_util |
| 13900 | grpc |
| 13901 | gpr_test_util |
| 13902 | gpr |
| 13903 | ) |
| 13904 | |
| 13905 | endif (gRPC_BUILD_TESTS) |
| 13906 | if (gRPC_BUILD_TESTS) |
| 13907 | |
| 13908 | add_executable(nanopb_fuzzer_response_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13909 | test/core/nanopb/fuzzer_response.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13910 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13911 | ) |
| 13912 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13913 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13914 | target_include_directories(nanopb_fuzzer_response_test_one_entry |
| 13915 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13916 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13917 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13918 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13919 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13920 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13921 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13922 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13923 | ) |
| 13924 | |
| 13925 | target_link_libraries(nanopb_fuzzer_response_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13926 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13927 | grpc_test_util |
| 13928 | grpc |
| 13929 | gpr_test_util |
| 13930 | gpr |
| 13931 | ) |
| 13932 | |
| 13933 | endif (gRPC_BUILD_TESTS) |
| 13934 | if (gRPC_BUILD_TESTS) |
| 13935 | |
| 13936 | add_executable(nanopb_fuzzer_serverlist_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13937 | test/core/nanopb/fuzzer_serverlist.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13938 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13939 | ) |
| 13940 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13941 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13942 | target_include_directories(nanopb_fuzzer_serverlist_test_one_entry |
| 13943 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13944 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13945 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13946 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13947 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13948 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13949 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13950 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13951 | ) |
| 13952 | |
| 13953 | target_link_libraries(nanopb_fuzzer_serverlist_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13954 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13955 | grpc_test_util |
| 13956 | grpc |
| 13957 | gpr_test_util |
| 13958 | gpr |
| 13959 | ) |
| 13960 | |
| 13961 | endif (gRPC_BUILD_TESTS) |
| 13962 | if (gRPC_BUILD_TESTS) |
| 13963 | |
| 13964 | add_executable(percent_decode_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13965 | test/core/slice/percent_decode_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13966 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13967 | ) |
| 13968 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13969 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13970 | target_include_directories(percent_decode_fuzzer_one_entry |
| 13971 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13972 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13973 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 13974 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 13975 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 13976 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 13977 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 13978 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13979 | ) |
| 13980 | |
| 13981 | target_link_libraries(percent_decode_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13982 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13983 | grpc_test_util |
| 13984 | grpc |
| 13985 | gpr_test_util |
| 13986 | gpr |
| 13987 | ) |
| 13988 | |
| 13989 | endif (gRPC_BUILD_TESTS) |
| 13990 | if (gRPC_BUILD_TESTS) |
| 13991 | |
| 13992 | add_executable(percent_encode_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13993 | test/core/slice/percent_encode_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 13994 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13995 | ) |
| 13996 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13997 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13998 | target_include_directories(percent_encode_fuzzer_one_entry |
| 13999 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14000 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14001 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14002 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14003 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14004 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14005 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14006 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14007 | ) |
| 14008 | |
| 14009 | target_link_libraries(percent_encode_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14010 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14011 | grpc_test_util |
| 14012 | grpc |
| 14013 | gpr_test_util |
| 14014 | gpr |
| 14015 | ) |
| 14016 | |
| 14017 | endif (gRPC_BUILD_TESTS) |
| 14018 | if (gRPC_BUILD_TESTS) |
| 14019 | |
| 14020 | add_executable(server_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14021 | test/core/end2end/fuzzers/server_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14022 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14023 | ) |
| 14024 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14025 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14026 | target_include_directories(server_fuzzer_one_entry |
| 14027 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14028 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14029 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14030 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14031 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14032 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14033 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14034 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14035 | ) |
| 14036 | |
| 14037 | target_link_libraries(server_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14038 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14039 | grpc_test_util |
| 14040 | grpc |
| 14041 | gpr_test_util |
| 14042 | gpr |
| 14043 | ) |
| 14044 | |
| 14045 | endif (gRPC_BUILD_TESTS) |
| 14046 | if (gRPC_BUILD_TESTS) |
| 14047 | |
| 14048 | add_executable(ssl_server_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14049 | test/core/security/ssl_server_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14050 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14051 | ) |
| 14052 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14053 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14054 | target_include_directories(ssl_server_fuzzer_one_entry |
| 14055 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14056 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14057 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14058 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14059 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14060 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14061 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14062 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14063 | ) |
| 14064 | |
| 14065 | target_link_libraries(ssl_server_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14066 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14067 | grpc_test_util |
| 14068 | grpc |
| 14069 | gpr_test_util |
| 14070 | gpr |
| 14071 | ) |
| 14072 | |
| 14073 | endif (gRPC_BUILD_TESTS) |
| 14074 | if (gRPC_BUILD_TESTS) |
| 14075 | |
| 14076 | add_executable(uri_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14077 | test/core/client_channel/uri_fuzzer_test.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14078 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14079 | ) |
| 14080 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14081 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14082 | target_include_directories(uri_fuzzer_test_one_entry |
| 14083 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14084 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14085 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 41e58b4 | 2018-01-16 17:58:05 +0100 | [diff] [blame] | 14086 | PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR} |
| 14087 | PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR} |
| 14088 | PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} |
| 14089 | PRIVATE ${_gRPC_CARES_INCLUDE_DIR} |
| 14090 | PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14091 | ) |
| 14092 | |
| 14093 | target_link_libraries(uri_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14094 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14095 | grpc_test_util |
| 14096 | grpc |
| 14097 | gpr_test_util |
| 14098 | gpr |
| 14099 | ) |
| 14100 | |
| 14101 | endif (gRPC_BUILD_TESTS) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 14102 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 14103 | |
| 14104 | |
| 14105 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 14106 | |
| 14107 | |
| 14108 | |
Alex Merry | b5984fa | 2017-05-15 21:04:16 +0100 | [diff] [blame] | 14109 | if (gRPC_INSTALL) |
| 14110 | install(EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 14111 | DESTINATION ${gRPC_INSTALL_CMAKEDIR} |
Alex Merry | b5984fa | 2017-05-15 21:04:16 +0100 | [diff] [blame] | 14112 | NAMESPACE gRPC:: |
| 14113 | ) |
| 14114 | endif() |
| 14115 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 14116 | foreach(_config gRPCConfig gRPCConfigVersion) |
Jan Tattermusch | 9d1d052 | 2017-08-25 14:26:47 +0200 | [diff] [blame] | 14117 | configure_file(cmake/${_config}.cmake.in |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 14118 | ${_config}.cmake @ONLY) |
| 14119 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${_config}.cmake |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 14120 | DESTINATION ${gRPC_INSTALL_CMAKEDIR} |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 14121 | ) |
| 14122 | endforeach() |