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 | 14e96f9 | 2017-11-27 17:00:13 -0800 | [diff] [blame] | 27 | set(PACKAGE_VERSION "1.9.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 | |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 33 | set(gRPC_INSTALL_BINDIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE PATH "Installation directory for executables") |
| 34 | set(gRPC_INSTALL_LIBDIR "${CMAKE_INSTALL_PREFIX}/lib" CACHE PATH "Installation directory for libraries") |
| 35 | set(gRPC_INSTALL_INCLUDEDIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "Installation directory for headers") |
| 36 | set(gRPC_INSTALL_CMAKEDIR "${CMAKE_INSTALL_PREFIX}/lib/cmake/${PACKAGE_NAME}" CACHE PATH "Installation directory for cmake config files") |
| 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 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 49 | set(gRPC_ZLIB_PROVIDER "module" CACHE STRING "Provider of zlib library") |
| 50 | set_property(CACHE gRPC_ZLIB_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 51 | |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 52 | set(gRPC_CARES_PROVIDER "module" CACHE STRING "Provider of c-ares library") |
| 53 | set_property(CACHE gRPC_CARES_PROVIDER PROPERTY STRINGS "module" "package") |
| 54 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 55 | set(gRPC_SSL_PROVIDER "module" CACHE STRING "Provider of ssl library") |
| 56 | set_property(CACHE gRPC_SSL_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | a72712e | 2016-07-06 10:30:25 +0100 | [diff] [blame] | 57 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 58 | set(gRPC_PROTOBUF_PROVIDER "module" CACHE STRING "Provider of protobuf library") |
| 59 | set_property(CACHE gRPC_PROTOBUF_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 60 | |
Kamil Skalski | 6ba7d53 | 2017-06-28 19:42:26 +0100 | [diff] [blame] | 61 | set(gRPC_PROTOBUF_PACKAGE_TYPE "" CACHE STRING "Algorithm for searching protobuf package") |
| 62 | set_property(CACHE gRPC_PROTOBUF_PACKAGE_TYPE PROPERTY STRINGS "CONFIG" "MODULE") |
| 63 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 64 | set(gRPC_GFLAGS_PROVIDER "module" CACHE STRING "Provider of gflags library") |
| 65 | set_property(CACHE gRPC_GFLAGS_PROVIDER PROPERTY STRINGS "module" "package") |
| 66 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 67 | set(gRPC_BENCHMARK_PROVIDER "module" CACHE STRING "Provider of benchmark library") |
| 68 | set_property(CACHE gRPC_BENCHMARK_PROVIDER PROPERTY STRINGS "module" "package") |
| 69 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 70 | 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] | 71 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 72 | if(UNIX) |
| 73 | if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") |
| 74 | set(_gRPC_PLATFORM_LINUX ON) |
| 75 | elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") |
| 76 | set(_gRPC_PLATFORM_MAC ON) |
| 77 | else() |
| 78 | set(_gRPC_PLATFORM_POSIX ON) |
| 79 | endif() |
| 80 | endif() |
| 81 | if(WIN32) |
| 82 | set(_gRPC_PLATFORM_WINDOWS ON) |
| 83 | endif() |
| 84 | |
Jan Tattermusch | c09656c | 2017-01-27 13:36:24 +0100 | [diff] [blame] | 85 | set(CMAKE_POSITION_INDEPENDENT_CODE TRUE) |
| 86 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 87 | if (MSVC) |
Jan Tattermusch | 5140791 | 2017-02-02 20:44:22 +0100 | [diff] [blame] | 88 | include(cmake/msvc_static_runtime.cmake) |
Jan Tattermusch | 3aab96f | 2017-01-11 16:12:46 +0100 | [diff] [blame] | 89 | 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] | 90 | # needed to compile protobuf |
| 91 | add_definitions(/wd4065 /wd4506) |
| 92 | # TODO(jtattermusch): revisit C4267 occurrences throughout the code |
| 93 | add_definitions(/wd4267) |
Jan Tattermusch | 07d2092 | 2017-08-23 16:05:43 +0200 | [diff] [blame] | 94 | # TODO(jtattermusch): needed to build boringssl with VS2017, revisit later |
| 95 | add_definitions(/wd4987 /wd4774 /wd4819 /wd4996 /wd4619) |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 96 | endif() |
| 97 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 98 | if (gRPC_USE_PROTO_LITE) |
| 99 | set(_gRPC_PROTOBUF_LIBRARY_NAME "libprotobuf-lite") |
Tamas Berghammer | 2391156 | 2016-07-27 15:24:05 +0100 | [diff] [blame] | 100 | add_definitions("-DGRPC_USE_PROTO_LITE") |
| 101 | else() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 102 | set(_gRPC_PROTOBUF_LIBRARY_NAME "libprotobuf") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 103 | endif() |
| 104 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 105 | if("${gRPC_ZLIB_PROVIDER}" STREQUAL "module") |
| 106 | if(NOT ZLIB_ROOT_DIR) |
| 107 | set(ZLIB_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zlib) |
| 108 | endif() |
| 109 | set(ZLIB_INCLUDE_DIR "${ZLIB_ROOT_DIR}") |
| 110 | if(EXISTS "${ZLIB_ROOT_DIR}/CMakeLists.txt") |
Jan Tattermusch | 74c74fb | 2017-06-19 16:14:50 +0200 | [diff] [blame] | 111 | # TODO(jtattermusch): workaround for https://github.com/madler/zlib/issues/218 |
| 112 | include_directories(${ZLIB_INCLUDE_DIR}) |
| 113 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 114 | add_subdirectory(${ZLIB_ROOT_DIR} third_party/zlib) |
| 115 | if(TARGET zlibstatic) |
| 116 | set(_gRPC_ZLIB_LIBRARIES zlibstatic) |
| 117 | endif() |
| 118 | else() |
| 119 | message(WARNING "gRPC_ZLIB_PROVIDER is \"module\" but ZLIB_ROOT_DIR is wrong") |
| 120 | endif() |
Alex Merry | c17eb5c | 2017-05-15 21:17:29 +0100 | [diff] [blame] | 121 | if(gRPC_INSTALL) |
| 122 | message(WARNING "gRPC_INSTALL will be forced to FALSE because gRPC_ZLIB_PROVIDER is \"module\"") |
| 123 | set(gRPC_INSTALL FALSE) |
| 124 | endif() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 125 | elseif("${gRPC_ZLIB_PROVIDER}" STREQUAL "package") |
Jan Tattermusch | ae6fd66 | 2017-08-28 12:21:46 +0200 | [diff] [blame] | 126 | find_package(ZLIB REQUIRED) |
| 127 | set(_gRPC_ZLIB_LIBRARIES ${ZLIB_LIBRARIES}) |
Konstantin Podsvirov | dd33148 | 2016-07-28 00:00:25 +0300 | [diff] [blame] | 128 | set(_gRPC_FIND_ZLIB "if(NOT ZLIB_FOUND)\n find_package(ZLIB)\nendif()") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 129 | endif() |
| 130 | |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 131 | if("${gRPC_CARES_PROVIDER}" STREQUAL "module") |
| 132 | if(NOT CARES_ROOT_DIR) |
Jan Tattermusch | ba2801f | 2017-08-28 18:07:05 +0200 | [diff] [blame] | 133 | set(CARES_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/cares/cares) |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 134 | endif() |
Jay Lee | bfcbad3 | 2017-09-12 11:52:16 +0800 | [diff] [blame] | 135 | set(CARES_SHARED OFF CACHE BOOL "disable shared library") |
| 136 | set(CARES_STATIC ON CACHE BOOL "link cares statically") |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 137 | set(CARES_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/third_party/cares/cares") |
Jan Tattermusch | ba2801f | 2017-08-28 18:07:05 +0200 | [diff] [blame] | 138 | add_subdirectory(third_party/cares/cares) |
Jan Tattermusch | 1d93e22 | 2017-08-28 20:43:27 +0200 | [diff] [blame] | 139 | if(TARGET c-ares) |
| 140 | set(_gRPC_CARES_LIBRARIES c-ares) |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 141 | endif() |
Alex Merry | c17eb5c | 2017-05-15 21:17:29 +0100 | [diff] [blame] | 142 | if(gRPC_INSTALL) |
| 143 | message(WARNING "gRPC_INSTALL will be forced to FALSE because gRPC_CARES_PROVIDER is \"module\"") |
| 144 | set(gRPC_INSTALL FALSE) |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 145 | endif() |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 146 | elseif("${gRPC_CARES_PROVIDER}" STREQUAL "package") |
Jan Tattermusch | ae6fd66 | 2017-08-28 12:21:46 +0200 | [diff] [blame] | 147 | find_package(c-ares REQUIRED CONFIG) |
Alex Merry | 8ced27a36 | 2017-05-15 21:56:44 +0100 | [diff] [blame] | 148 | if(TARGET c-ares::cares) |
| 149 | set(_gRPC_CARES_LIBRARIES c-ares::cares) |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 150 | endif() |
Alex Merry | 8ced27a36 | 2017-05-15 21:56:44 +0100 | [diff] [blame] | 151 | set(_gRPC_FIND_CARES "if(NOT c-ares_FOUND)\n find_package(c-ares CONFIG)\nendif()") |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 152 | endif() |
| 153 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 154 | if("${gRPC_PROTOBUF_PROVIDER}" STREQUAL "module") |
| 155 | # Building the protobuf tests require gmock what is not part of a standard protobuf checkout. |
| 156 | # Disable them unless they are explicitly requested from the cmake command line (when we assume |
| 157 | # gmock is downloaded to the right location inside protobuf). |
| 158 | if(NOT protobuf_BUILD_TESTS) |
| 159 | set(protobuf_BUILD_TESTS OFF CACHE BOOL "Build protobuf tests") |
| 160 | endif() |
Jan Tattermusch | b70df57 | 2017-06-19 16:37:15 +0200 | [diff] [blame] | 161 | # Disable building protobuf with zlib. Building protobuf with zlib breaks |
| 162 | # the build if zlib is not installed on the system. |
| 163 | if(NOT protobuf_WITH_ZLIB) |
| 164 | set(protobuf_WITH_ZLIB OFF CACHE BOOL "Build protobuf with zlib.") |
| 165 | endif() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 166 | if(NOT PROTOBUF_ROOT_DIR) |
| 167 | set(PROTOBUF_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/protobuf) |
| 168 | endif() |
yang-g | 66d40c6 | 2017-04-12 10:18:10 -0700 | [diff] [blame] | 169 | set(PROTOBUF_WELLKNOWN_IMPORT_DIR ${PROTOBUF_ROOT_DIR}/src) |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 170 | if(EXISTS "${PROTOBUF_ROOT_DIR}/cmake/CMakeLists.txt") |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 171 | set(protobuf_MSVC_STATIC_RUNTIME OFF CACHE BOOL "Link static runtime libraries") |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 172 | add_subdirectory(${PROTOBUF_ROOT_DIR}/cmake third_party/protobuf) |
| 173 | if(TARGET ${_gRPC_PROTOBUF_LIBRARY_NAME}) |
| 174 | set(_gRPC_PROTOBUF_LIBRARIES ${_gRPC_PROTOBUF_LIBRARY_NAME}) |
| 175 | endif() |
| 176 | if(TARGET libprotoc) |
| 177 | set(_gRPC_PROTOBUF_PROTOC_LIBRARIES libprotoc) |
| 178 | endif() |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 179 | if(TARGET protoc) |
| 180 | set(_gRPC_PROTOBUF_PROTOC protoc) |
Jan Tattermusch | 210f2a5 | 2017-08-24 17:51:47 +0200 | [diff] [blame] | 181 | set(_gRPC_PROTOBUF_PROTOC_EXECUTABLE $<TARGET_FILE:protoc>) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 182 | endif() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 183 | else() |
| 184 | message(WARNING "gRPC_PROTOBUF_PROVIDER is \"module\" but PROTOBUF_ROOT_DIR is wrong") |
| 185 | endif() |
Alex Merry | c17eb5c | 2017-05-15 21:17:29 +0100 | [diff] [blame] | 186 | if(gRPC_INSTALL) |
| 187 | message(WARNING "gRPC_INSTALL will be forced to FALSE because gRPC_PROTOBUF_PROVIDER is \"module\"") |
| 188 | set(gRPC_INSTALL FALSE) |
| 189 | endif() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 190 | elseif("${gRPC_PROTOBUF_PROVIDER}" STREQUAL "package") |
Jan Tattermusch | ae6fd66 | 2017-08-28 12:21:46 +0200 | [diff] [blame] | 191 | find_package(Protobuf REQUIRED ${gRPC_PROTOBUF_PACKAGE_TYPE}) |
Kamil Skalski | 6ba7d53 | 2017-06-28 19:42:26 +0100 | [diff] [blame] | 192 | if(Protobuf_FOUND OR PROTOBUF_FOUND) |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 193 | if(TARGET protobuf::${_gRPC_PROTOBUF_LIBRARY_NAME}) |
| 194 | set(_gRPC_PROTOBUF_LIBRARIES protobuf::${_gRPC_PROTOBUF_LIBRARY_NAME}) |
Kamil Skalski | 6ba7d53 | 2017-06-28 19:42:26 +0100 | [diff] [blame] | 195 | else() |
| 196 | set(_gRPC_PROTOBUF_LIBRARIES ${PROTOBUF_LIBRARIES}) |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 197 | endif() |
| 198 | if(TARGET protobuf::libprotoc) |
| 199 | set(_gRPC_PROTOBUF_PROTOC_LIBRARIES protobuf::libprotoc) |
Kamil Skalski | 6ba7d53 | 2017-06-28 19:42:26 +0100 | [diff] [blame] | 200 | else() |
| 201 | set(_gRPC_PROTOBUF_PROTOC_LIBRARIES ${PROTOBUF_PROTOC_LIBRARIES}) |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 202 | endif() |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 203 | if(TARGET protobuf::protoc) |
| 204 | set(_gRPC_PROTOBUF_PROTOC protobuf::protoc) |
Jan Tattermusch | 210f2a5 | 2017-08-24 17:51:47 +0200 | [diff] [blame] | 205 | set(_gRPC_PROTOBUF_PROTOC_EXECUTABLE $<TARGET_FILE:protobuf::protoc>) |
Kamil Skalski | 6ba7d53 | 2017-06-28 19:42:26 +0100 | [diff] [blame] | 206 | else() |
| 207 | set(_gRPC_PROTOBUF_PROTOC ${PROTOBUF_PROTOC_EXECUTABLE}) |
Jan Tattermusch | 210f2a5 | 2017-08-24 17:51:47 +0200 | [diff] [blame] | 208 | set(_gRPC_PROTOBUF_PROTOC_EXECUTABLE ${PROTOBUF_PROTOC_EXECUTABLE}) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 209 | endif() |
Kamil Skalski | 6ba7d53 | 2017-06-28 19:42:26 +0100 | [diff] [blame] | 210 | set(_gRPC_FIND_PROTOBUF "if(NOT Protobuf_FOUND AND NOT PROTOBUF_FOUND)\n find_package(Protobuf ${gRPC_PROTOBUF_PACKAGE_TYPE})\nendif()") |
| 211 | endif() |
| 212 | if(PROTOBUF_FOUND) |
| 213 | include_directories(${PROTOBUF_INCLUDE_DIRS}) |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 214 | endif() |
yang-g | 66d40c6 | 2017-04-12 10:18:10 -0700 | [diff] [blame] | 215 | set(PROTOBUF_WELLKNOWN_IMPORT_DIR /usr/local/include) |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 216 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 217 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 218 | if("${gRPC_SSL_PROVIDER}" STREQUAL "module") |
| 219 | if(NOT BORINGSSL_ROOT_DIR) |
| 220 | set(BORINGSSL_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/boringssl) |
| 221 | endif() |
| 222 | if(EXISTS "${BORINGSSL_ROOT_DIR}/CMakeLists.txt") |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 223 | set(OPENSSL_NO_ASM ON) # make boringssl buildable with Visual Studio |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 224 | add_subdirectory(${BORINGSSL_ROOT_DIR} third_party/boringssl) |
| 225 | if(TARGET ssl) |
| 226 | set(_gRPC_SSL_LIBRARIES ssl) |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 227 | set(_gRPC_SSL_INCLUDE_DIR ${BORINGSSL_ROOT_DIR}/include) |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 228 | endif() |
| 229 | else() |
| 230 | message(WARNING "gRPC_SSL_PROVIDER is \"module\" but BORINGSSL_ROOT_DIR is wrong") |
| 231 | endif() |
Alex Merry | c17eb5c | 2017-05-15 21:17:29 +0100 | [diff] [blame] | 232 | if(gRPC_INSTALL) |
| 233 | message(WARNING "gRPC_INSTALL will be forced to FALSE because gRPC_SSL_PROVIDER is \"module\"") |
| 234 | set(gRPC_INSTALL FALSE) |
| 235 | endif() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 236 | elseif("${gRPC_SSL_PROVIDER}" STREQUAL "package") |
Jan Tattermusch | ae6fd66 | 2017-08-28 12:21:46 +0200 | [diff] [blame] | 237 | find_package(OpenSSL REQUIRED) |
| 238 | set(_gRPC_SSL_LIBRARIES ${OPENSSL_LIBRARIES}) |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 239 | set(_gRPC_SSL_INCLUDE_DIR ${OPENSSL_INCLUDE_DIR}) |
Jan Tattermusch | ae6fd66 | 2017-08-28 12:21:46 +0200 | [diff] [blame] | 240 | set(_gRPC_FIND_SSL "if(NOT OPENSSL_FOUND)\n find_package(OpenSSL)\nendif()") |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 241 | endif() |
| 242 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 243 | if("${gRPC_GFLAGS_PROVIDER}" STREQUAL "module") |
| 244 | if(NOT GFLAGS_ROOT_DIR) |
| 245 | set(GFLAGS_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/gflags) |
| 246 | endif() |
| 247 | if(EXISTS "${GFLAGS_ROOT_DIR}/CMakeLists.txt") |
| 248 | add_subdirectory(${GFLAGS_ROOT_DIR} third_party/gflags) |
| 249 | if(TARGET gflags_static) |
| 250 | set(_gRPC_GFLAGS_LIBRARIES gflags_static) |
| 251 | endif() |
| 252 | else() |
| 253 | message(WARNING "gRPC_GFLAGS_PROVIDER is \"module\" but GFLAGS_ROOT_DIR is wrong") |
| 254 | endif() |
| 255 | elseif("${gRPC_GFLAGS_PROVIDER}" STREQUAL "package") |
| 256 | find_package(gflags) |
| 257 | if(TARGET gflags::gflags) |
| 258 | set(_gRPC_GFLAGS_LIBRARIES gflags::gflags) |
| 259 | endif() |
| 260 | set(_gRPC_FIND_GFLAGS "if(NOT gflags_FOUND)\n find_package(gflags)\nendif()") |
| 261 | endif() |
| 262 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 263 | if("${gRPC_BENCHMARK_PROVIDER}" STREQUAL "module") |
| 264 | if(NOT BENCHMARK_ROOT_DIR) |
| 265 | set(BENCHMARK_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/benchmark) |
| 266 | endif() |
| 267 | if(EXISTS "${BENCHMARK_ROOT_DIR}/CMakeLists.txt") |
| 268 | add_subdirectory(${BENCHMARK_ROOT_DIR} third_party/benchmark) |
| 269 | if(TARGET benchmark) |
| 270 | set(_gRPC_BENCHMARK_LIBRARIES benchmark) |
| 271 | endif() |
| 272 | else() |
| 273 | message(WARNING "gRPC_BENCHMARK_PROVIDER is \"module\" but BENCHMARK_ROOT_DIR is wrong") |
| 274 | endif() |
| 275 | elseif("${gRPC_BENCHMARK_PROVIDER}" STREQUAL "package") |
| 276 | find_package(benchmark) |
| 277 | if(TARGET benchmark::benchmark) |
| 278 | set(_gRPC_BENCHMARK_LIBRARIES benchmark::benchmark) |
| 279 | endif() |
| 280 | set(_gRPC_FIND_BENCHMARK "if(NOT benchmark_FOUND)\n find_package(benchmark)\nendif()") |
| 281 | endif() |
| 282 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 283 | if(NOT MSVC) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 284 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 285 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") |
| 286 | endif() |
| 287 | |
Mehrdad Afshari | 79ec0ff | 2017-04-19 03:14:26 -0700 | [diff] [blame] | 288 | if(_gRPC_PLATFORM_MAC) |
| 289 | set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} m pthread) |
| 290 | elseif(UNIX) |
| 291 | set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} rt m pthread) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 292 | endif() |
| 293 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 294 | if(WIN32 AND MSVC) |
| 295 | set(_gRPC_BASELIB_LIBRARIES wsock32 ws2_32) |
Tamas Berghammer | 2391156 | 2016-07-27 15:24:05 +0100 | [diff] [blame] | 296 | endif() |
| 297 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 298 | # Create directory for generated .proto files |
| 299 | set(_gRPC_PROTO_GENS_DIR ${CMAKE_BINARY_DIR}/gens) |
| 300 | file(MAKE_DIRECTORY ${_gRPC_PROTO_GENS_DIR}) |
| 301 | |
| 302 | # protobuf_generate_grpc_cpp |
| 303 | # -------------------------- |
| 304 | # |
| 305 | # Add custom commands to process ``.proto`` files to C++ using protoc and |
| 306 | # GRPC plugin:: |
| 307 | # |
| 308 | # protobuf_generate_grpc_cpp [<ARGN>...] |
| 309 | # |
| 310 | # ``ARGN`` |
| 311 | # ``.proto`` files |
| 312 | # |
| 313 | function(protobuf_generate_grpc_cpp) |
| 314 | if(NOT ARGN) |
| 315 | message(SEND_ERROR "Error: PROTOBUF_GENERATE_GRPC_CPP() called without any proto files") |
| 316 | return() |
| 317 | endif() |
| 318 | |
yang-g | 66d40c6 | 2017-04-12 10:18:10 -0700 | [diff] [blame] | 319 | set(_protobuf_include_path -I . -I ${PROTOBUF_WELLKNOWN_IMPORT_DIR}) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 320 | foreach(FIL ${ARGN}) |
| 321 | get_filename_component(ABS_FIL ${FIL} ABSOLUTE) |
| 322 | get_filename_component(FIL_WE ${FIL} NAME_WE) |
Jan Tattermusch | ecc457b | 2017-04-07 14:06:16 +0200 | [diff] [blame] | 323 | file(RELATIVE_PATH REL_FIL ${CMAKE_CURRENT_SOURCE_DIR} ${ABS_FIL}) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 324 | get_filename_component(REL_DIR ${REL_FIL} DIRECTORY) |
| 325 | set(RELFIL_WE "${REL_DIR}/${FIL_WE}") |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 326 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 327 | add_custom_command( |
| 328 | OUTPUT "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.cc" |
| 329 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.h" |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 330 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}_mock.grpc.pb.h" |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 331 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.cc" |
| 332 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.h" |
Jan Tattermusch | 210f2a5 | 2017-08-24 17:51:47 +0200 | [diff] [blame] | 333 | COMMAND ${_gRPC_PROTOBUF_PROTOC_EXECUTABLE} |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 334 | ARGS --grpc_out=generate_mock_code=true:${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 335 | --cpp_out=${_gRPC_PROTO_GENS_DIR} |
| 336 | --plugin=protoc-gen-grpc=$<TARGET_FILE:grpc_cpp_plugin> |
| 337 | ${_protobuf_include_path} |
| 338 | ${REL_FIL} |
| 339 | DEPENDS ${ABS_FIL} ${_gRPC_PROTOBUF_PROTOC} grpc_cpp_plugin |
Jan Tattermusch | ecc457b | 2017-04-07 14:06:16 +0200 | [diff] [blame] | 340 | WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 341 | COMMENT "Running gRPC C++ protocol buffer compiler on ${FIL}" |
| 342 | VERBATIM) |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 343 | |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 344 | 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] | 345 | endforeach() |
| 346 | endfunction() |
| 347 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 348 | add_custom_target(plugins |
| 349 | DEPENDS |
| 350 | grpc_cpp_plugin |
| 351 | grpc_csharp_plugin |
| 352 | grpc_node_plugin |
| 353 | grpc_objective_c_plugin |
| 354 | grpc_php_plugin |
| 355 | grpc_python_plugin |
| 356 | grpc_ruby_plugin |
| 357 | ) |
| 358 | |
| 359 | add_custom_target(tools_c |
| 360 | DEPENDS |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 361 | check_epollexclusive |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 362 | grpc_create_jwt |
| 363 | grpc_print_google_default_creds_token |
| 364 | grpc_verify_jwt |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 365 | gen_hpack_tables |
| 366 | gen_legal_metadata_characters |
| 367 | gen_percent_encoding_tables |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 368 | ) |
| 369 | |
| 370 | add_custom_target(tools_cxx |
| 371 | DEPENDS |
| 372 | ) |
| 373 | |
| 374 | add_custom_target(tools |
| 375 | DEPENDS tools_c tools_cxx) |
| 376 | |
| 377 | if (gRPC_BUILD_TESTS) |
| 378 | add_custom_target(buildtests_c) |
| 379 | add_dependencies(buildtests_c alarm_test) |
| 380 | add_dependencies(buildtests_c algorithm_test) |
| 381 | add_dependencies(buildtests_c alloc_test) |
| 382 | add_dependencies(buildtests_c alpn_test) |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 383 | add_dependencies(buildtests_c arena_test) |
Craig Tiller | c0df1c0 | 2017-07-17 16:12:33 -0700 | [diff] [blame] | 384 | add_dependencies(buildtests_c backoff_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 385 | add_dependencies(buildtests_c bad_server_response_test) |
| 386 | add_dependencies(buildtests_c bin_decoder_test) |
| 387 | add_dependencies(buildtests_c bin_encoder_test) |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 388 | add_dependencies(buildtests_c byte_stream_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 389 | add_dependencies(buildtests_c channel_create_test) |
| 390 | add_dependencies(buildtests_c chttp2_hpack_encoder_test) |
| 391 | add_dependencies(buildtests_c chttp2_stream_map_test) |
| 392 | add_dependencies(buildtests_c chttp2_varint_test) |
| 393 | add_dependencies(buildtests_c combiner_test) |
| 394 | add_dependencies(buildtests_c compression_test) |
| 395 | add_dependencies(buildtests_c concurrent_connectivity_test) |
| 396 | add_dependencies(buildtests_c connection_refused_test) |
| 397 | add_dependencies(buildtests_c dns_resolver_connectivity_test) |
| 398 | add_dependencies(buildtests_c dns_resolver_test) |
| 399 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 400 | add_dependencies(buildtests_c dualstack_socket_test) |
| 401 | endif() |
| 402 | add_dependencies(buildtests_c endpoint_pair_test) |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 403 | add_dependencies(buildtests_c error_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 404 | if(_gRPC_PLATFORM_LINUX) |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 405 | add_dependencies(buildtests_c ev_epollsig_linux_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 406 | endif() |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 407 | add_dependencies(buildtests_c fake_resolver_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 408 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 409 | add_dependencies(buildtests_c fake_transport_security_test) |
| 410 | endif() |
| 411 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 412 | add_dependencies(buildtests_c fd_conservation_posix_test) |
| 413 | endif() |
| 414 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 415 | add_dependencies(buildtests_c fd_posix_test) |
| 416 | endif() |
| 417 | add_dependencies(buildtests_c fling_client) |
| 418 | add_dependencies(buildtests_c fling_server) |
| 419 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 420 | add_dependencies(buildtests_c fling_stream_test) |
| 421 | endif() |
| 422 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 423 | add_dependencies(buildtests_c fling_test) |
| 424 | endif() |
| 425 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 426 | add_dependencies(buildtests_c goaway_server_test) |
| 427 | endif() |
| 428 | add_dependencies(buildtests_c gpr_avl_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 429 | add_dependencies(buildtests_c gpr_cmdline_test) |
| 430 | add_dependencies(buildtests_c gpr_cpu_test) |
| 431 | add_dependencies(buildtests_c gpr_env_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 432 | add_dependencies(buildtests_c gpr_host_port_test) |
| 433 | add_dependencies(buildtests_c gpr_log_test) |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 434 | add_dependencies(buildtests_c gpr_manual_constructor_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 435 | add_dependencies(buildtests_c gpr_mpscq_test) |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 436 | add_dependencies(buildtests_c gpr_spinlock_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 437 | add_dependencies(buildtests_c gpr_string_test) |
| 438 | add_dependencies(buildtests_c gpr_sync_test) |
| 439 | add_dependencies(buildtests_c gpr_thd_test) |
| 440 | add_dependencies(buildtests_c gpr_time_test) |
| 441 | add_dependencies(buildtests_c gpr_tls_test) |
| 442 | add_dependencies(buildtests_c gpr_useful_test) |
| 443 | add_dependencies(buildtests_c grpc_auth_context_test) |
| 444 | add_dependencies(buildtests_c grpc_b64_test) |
| 445 | add_dependencies(buildtests_c grpc_byte_buffer_reader_test) |
| 446 | add_dependencies(buildtests_c grpc_channel_args_test) |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 447 | add_dependencies(buildtests_c grpc_channel_stack_builder_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 448 | add_dependencies(buildtests_c grpc_channel_stack_test) |
| 449 | add_dependencies(buildtests_c grpc_completion_queue_test) |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 450 | add_dependencies(buildtests_c grpc_completion_queue_threading_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 451 | add_dependencies(buildtests_c grpc_credentials_test) |
| 452 | add_dependencies(buildtests_c grpc_fetch_oauth2) |
| 453 | add_dependencies(buildtests_c grpc_invalid_channel_args_test) |
| 454 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 455 | add_dependencies(buildtests_c grpc_json_token_test) |
| 456 | endif() |
| 457 | add_dependencies(buildtests_c grpc_jwt_verifier_test) |
| 458 | add_dependencies(buildtests_c grpc_security_connector_test) |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 459 | add_dependencies(buildtests_c grpc_ssl_credentials_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 460 | if(_gRPC_PLATFORM_LINUX) |
| 461 | add_dependencies(buildtests_c handshake_client) |
| 462 | endif() |
| 463 | if(_gRPC_PLATFORM_LINUX) |
| 464 | add_dependencies(buildtests_c handshake_server) |
| 465 | endif() |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 466 | if(_gRPC_PLATFORM_LINUX) |
| 467 | add_dependencies(buildtests_c handshake_server_with_readahead_handshaker) |
| 468 | endif() |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 469 | add_dependencies(buildtests_c histogram_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 470 | add_dependencies(buildtests_c hpack_parser_test) |
| 471 | add_dependencies(buildtests_c hpack_table_test) |
| 472 | add_dependencies(buildtests_c http_parser_test) |
| 473 | add_dependencies(buildtests_c httpcli_format_request_test) |
| 474 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 475 | add_dependencies(buildtests_c httpcli_test) |
| 476 | endif() |
| 477 | if(_gRPC_PLATFORM_LINUX) |
| 478 | add_dependencies(buildtests_c httpscli_test) |
| 479 | endif() |
| 480 | add_dependencies(buildtests_c init_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 481 | add_dependencies(buildtests_c invalid_call_argument_test) |
| 482 | add_dependencies(buildtests_c json_rewrite) |
| 483 | add_dependencies(buildtests_c json_rewrite_test) |
| 484 | add_dependencies(buildtests_c json_stream_error_test) |
| 485 | add_dependencies(buildtests_c json_test) |
| 486 | add_dependencies(buildtests_c lame_client_test) |
| 487 | add_dependencies(buildtests_c lb_policies_test) |
| 488 | add_dependencies(buildtests_c load_file_test) |
| 489 | add_dependencies(buildtests_c memory_profile_client) |
| 490 | add_dependencies(buildtests_c memory_profile_server) |
| 491 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 492 | add_dependencies(buildtests_c memory_profile_test) |
| 493 | endif() |
| 494 | add_dependencies(buildtests_c message_compress_test) |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 495 | add_dependencies(buildtests_c minimal_stack_is_minimal_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 496 | add_dependencies(buildtests_c multiple_server_queues_test) |
| 497 | add_dependencies(buildtests_c murmur_hash_test) |
| 498 | add_dependencies(buildtests_c no_server_test) |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 499 | add_dependencies(buildtests_c num_external_connectivity_watchers_test) |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 500 | add_dependencies(buildtests_c parse_address_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 501 | add_dependencies(buildtests_c percent_encoding_test) |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 502 | if(_gRPC_PLATFORM_LINUX) |
| 503 | add_dependencies(buildtests_c pollset_set_test) |
| 504 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 505 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 506 | add_dependencies(buildtests_c resolve_address_posix_test) |
| 507 | endif() |
| 508 | add_dependencies(buildtests_c resolve_address_test) |
| 509 | add_dependencies(buildtests_c resource_quota_test) |
| 510 | add_dependencies(buildtests_c secure_channel_create_test) |
| 511 | add_dependencies(buildtests_c secure_endpoint_test) |
| 512 | add_dependencies(buildtests_c sequential_connectivity_test) |
| 513 | add_dependencies(buildtests_c server_chttp2_test) |
| 514 | add_dependencies(buildtests_c server_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 515 | add_dependencies(buildtests_c slice_buffer_test) |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 516 | add_dependencies(buildtests_c slice_hash_table_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 517 | add_dependencies(buildtests_c slice_string_helpers_test) |
| 518 | add_dependencies(buildtests_c slice_test) |
| 519 | add_dependencies(buildtests_c sockaddr_resolver_test) |
| 520 | add_dependencies(buildtests_c sockaddr_utils_test) |
| 521 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 522 | add_dependencies(buildtests_c socket_utils_test) |
| 523 | endif() |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 524 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 525 | add_dependencies(buildtests_c ssl_transport_security_test) |
| 526 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 527 | add_dependencies(buildtests_c status_conversion_test) |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 528 | add_dependencies(buildtests_c stream_compression_test) |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 529 | add_dependencies(buildtests_c stream_owned_slice_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 530 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 531 | add_dependencies(buildtests_c tcp_client_posix_test) |
| 532 | endif() |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 533 | add_dependencies(buildtests_c tcp_client_uv_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 534 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 535 | add_dependencies(buildtests_c tcp_posix_test) |
| 536 | endif() |
| 537 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 538 | add_dependencies(buildtests_c tcp_server_posix_test) |
| 539 | endif() |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 540 | add_dependencies(buildtests_c tcp_server_uv_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 541 | add_dependencies(buildtests_c time_averaged_stats_test) |
| 542 | add_dependencies(buildtests_c timeout_encoding_test) |
| 543 | add_dependencies(buildtests_c timer_heap_test) |
| 544 | add_dependencies(buildtests_c timer_list_test) |
| 545 | add_dependencies(buildtests_c transport_connectivity_state_test) |
Craig Tiller | 48bed5e | 2017-10-16 15:42:41 -0700 | [diff] [blame] | 546 | add_dependencies(buildtests_c transport_metadata_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 547 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 548 | add_dependencies(buildtests_c transport_security_test) |
| 549 | endif() |
| 550 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 551 | add_dependencies(buildtests_c udp_server_test) |
| 552 | endif() |
| 553 | add_dependencies(buildtests_c uri_parser_test) |
| 554 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 555 | add_dependencies(buildtests_c wakeup_fd_cv_test) |
| 556 | endif() |
| 557 | add_dependencies(buildtests_c public_headers_must_be_c89) |
| 558 | add_dependencies(buildtests_c badreq_bad_client_test) |
| 559 | add_dependencies(buildtests_c connection_prefix_bad_client_test) |
| 560 | add_dependencies(buildtests_c head_of_line_blocking_bad_client_test) |
| 561 | add_dependencies(buildtests_c headers_bad_client_test) |
| 562 | add_dependencies(buildtests_c initial_settings_frame_bad_client_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 563 | add_dependencies(buildtests_c server_registered_method_bad_client_test) |
| 564 | add_dependencies(buildtests_c simple_request_bad_client_test) |
| 565 | add_dependencies(buildtests_c unknown_frame_bad_client_test) |
| 566 | add_dependencies(buildtests_c window_overflow_bad_client_test) |
| 567 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 568 | add_dependencies(buildtests_c bad_ssl_cert_server) |
| 569 | endif() |
| 570 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 571 | add_dependencies(buildtests_c bad_ssl_cert_test) |
| 572 | endif() |
| 573 | add_dependencies(buildtests_c h2_census_test) |
| 574 | add_dependencies(buildtests_c h2_compress_test) |
| 575 | add_dependencies(buildtests_c h2_fakesec_test) |
| 576 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 577 | add_dependencies(buildtests_c h2_fd_test) |
| 578 | endif() |
| 579 | add_dependencies(buildtests_c h2_full_test) |
| 580 | if(_gRPC_PLATFORM_LINUX) |
| 581 | add_dependencies(buildtests_c h2_full+pipe_test) |
| 582 | endif() |
| 583 | add_dependencies(buildtests_c h2_full+trace_test) |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 584 | add_dependencies(buildtests_c h2_full+workarounds_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 585 | add_dependencies(buildtests_c h2_http_proxy_test) |
| 586 | add_dependencies(buildtests_c h2_load_reporting_test) |
| 587 | add_dependencies(buildtests_c h2_oauth2_test) |
| 588 | add_dependencies(buildtests_c h2_proxy_test) |
| 589 | add_dependencies(buildtests_c h2_sockpair_test) |
| 590 | add_dependencies(buildtests_c h2_sockpair+trace_test) |
| 591 | add_dependencies(buildtests_c h2_sockpair_1byte_test) |
| 592 | add_dependencies(buildtests_c h2_ssl_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 593 | add_dependencies(buildtests_c h2_ssl_proxy_test) |
| 594 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 595 | add_dependencies(buildtests_c h2_uds_test) |
| 596 | endif() |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 597 | add_dependencies(buildtests_c inproc_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 598 | add_dependencies(buildtests_c h2_census_nosec_test) |
| 599 | add_dependencies(buildtests_c h2_compress_nosec_test) |
| 600 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 601 | add_dependencies(buildtests_c h2_fd_nosec_test) |
| 602 | endif() |
| 603 | add_dependencies(buildtests_c h2_full_nosec_test) |
| 604 | if(_gRPC_PLATFORM_LINUX) |
| 605 | add_dependencies(buildtests_c h2_full+pipe_nosec_test) |
| 606 | endif() |
| 607 | add_dependencies(buildtests_c h2_full+trace_nosec_test) |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 608 | add_dependencies(buildtests_c h2_full+workarounds_nosec_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 609 | add_dependencies(buildtests_c h2_http_proxy_nosec_test) |
| 610 | add_dependencies(buildtests_c h2_load_reporting_nosec_test) |
| 611 | add_dependencies(buildtests_c h2_proxy_nosec_test) |
| 612 | add_dependencies(buildtests_c h2_sockpair_nosec_test) |
| 613 | add_dependencies(buildtests_c h2_sockpair+trace_nosec_test) |
| 614 | add_dependencies(buildtests_c h2_sockpair_1byte_nosec_test) |
| 615 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 616 | add_dependencies(buildtests_c h2_uds_nosec_test) |
| 617 | endif() |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 618 | add_dependencies(buildtests_c inproc_nosec_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 619 | add_dependencies(buildtests_c api_fuzzer_one_entry) |
| 620 | add_dependencies(buildtests_c client_fuzzer_one_entry) |
| 621 | add_dependencies(buildtests_c hpack_parser_fuzzer_test_one_entry) |
| 622 | add_dependencies(buildtests_c http_request_fuzzer_test_one_entry) |
| 623 | add_dependencies(buildtests_c http_response_fuzzer_test_one_entry) |
| 624 | add_dependencies(buildtests_c json_fuzzer_test_one_entry) |
| 625 | add_dependencies(buildtests_c nanopb_fuzzer_response_test_one_entry) |
| 626 | add_dependencies(buildtests_c nanopb_fuzzer_serverlist_test_one_entry) |
| 627 | add_dependencies(buildtests_c percent_decode_fuzzer_one_entry) |
| 628 | add_dependencies(buildtests_c percent_encode_fuzzer_one_entry) |
| 629 | add_dependencies(buildtests_c server_fuzzer_one_entry) |
| 630 | add_dependencies(buildtests_c ssl_server_fuzzer_one_entry) |
| 631 | add_dependencies(buildtests_c uri_fuzzer_test_one_entry) |
| 632 | |
| 633 | add_custom_target(buildtests_cxx) |
| 634 | add_dependencies(buildtests_cxx alarm_cpp_test) |
| 635 | add_dependencies(buildtests_cxx async_end2end_test) |
| 636 | add_dependencies(buildtests_cxx auth_property_iterator_test) |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 637 | add_dependencies(buildtests_cxx bdp_estimator_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 638 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 639 | add_dependencies(buildtests_cxx bm_arena) |
| 640 | endif() |
| 641 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 642 | add_dependencies(buildtests_cxx bm_call_create) |
| 643 | endif() |
| 644 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 645 | add_dependencies(buildtests_cxx bm_chttp2_hpack) |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 646 | endif() |
| 647 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 648 | add_dependencies(buildtests_cxx bm_chttp2_transport) |
| 649 | endif() |
| 650 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 651 | add_dependencies(buildtests_cxx bm_closure) |
| 652 | endif() |
| 653 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 654 | add_dependencies(buildtests_cxx bm_cq) |
| 655 | endif() |
| 656 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 657 | add_dependencies(buildtests_cxx bm_cq_multiple_threads) |
| 658 | endif() |
| 659 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 660 | add_dependencies(buildtests_cxx bm_error) |
| 661 | endif() |
| 662 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 663 | add_dependencies(buildtests_cxx bm_fullstack_streaming_ping_pong) |
| 664 | endif() |
| 665 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 666 | add_dependencies(buildtests_cxx bm_fullstack_streaming_pump) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 667 | endif() |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 668 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 669 | add_dependencies(buildtests_cxx bm_fullstack_trickle) |
| 670 | endif() |
| 671 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 672 | add_dependencies(buildtests_cxx bm_fullstack_unary_ping_pong) |
| 673 | endif() |
| 674 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 675 | add_dependencies(buildtests_cxx bm_metadata) |
| 676 | endif() |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 677 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 678 | add_dependencies(buildtests_cxx bm_pollset) |
| 679 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 680 | add_dependencies(buildtests_cxx channel_arguments_test) |
| 681 | add_dependencies(buildtests_cxx channel_filter_test) |
Mark D. Roth | b9f34ac | 2017-11-21 15:47:12 -0800 | [diff] [blame] | 682 | add_dependencies(buildtests_cxx chttp2_settings_timeout_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 683 | add_dependencies(buildtests_cxx cli_call_test) |
Juanli Shen | e5d2139 | 2017-11-14 16:07:23 -0800 | [diff] [blame] | 684 | add_dependencies(buildtests_cxx client_channel_stress_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 685 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 686 | add_dependencies(buildtests_cxx client_crash_test) |
| 687 | endif() |
| 688 | add_dependencies(buildtests_cxx client_crash_test_server) |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 689 | add_dependencies(buildtests_cxx client_lb_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 690 | add_dependencies(buildtests_cxx codegen_test_full) |
| 691 | add_dependencies(buildtests_cxx codegen_test_minimal) |
| 692 | add_dependencies(buildtests_cxx credentials_test) |
| 693 | add_dependencies(buildtests_cxx cxx_byte_buffer_test) |
| 694 | add_dependencies(buildtests_cxx cxx_slice_test) |
| 695 | add_dependencies(buildtests_cxx cxx_string_ref_test) |
| 696 | add_dependencies(buildtests_cxx cxx_time_test) |
| 697 | add_dependencies(buildtests_cxx end2end_test) |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 698 | add_dependencies(buildtests_cxx error_details_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 699 | add_dependencies(buildtests_cxx filter_end2end_test) |
| 700 | add_dependencies(buildtests_cxx generic_end2end_test) |
| 701 | add_dependencies(buildtests_cxx golden_file_test) |
| 702 | add_dependencies(buildtests_cxx grpc_cli) |
| 703 | add_dependencies(buildtests_cxx grpc_tool_test) |
| 704 | add_dependencies(buildtests_cxx grpclb_api_test) |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 705 | add_dependencies(buildtests_cxx grpclb_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 706 | add_dependencies(buildtests_cxx grpclb_test) |
Vijay Pai | fed1391 | 2017-10-11 00:07:00 -0700 | [diff] [blame] | 707 | add_dependencies(buildtests_cxx h2_ssl_cert_test) |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 708 | add_dependencies(buildtests_cxx health_service_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 709 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 710 | add_dependencies(buildtests_cxx http2_client) |
| 711 | endif() |
| 712 | add_dependencies(buildtests_cxx hybrid_end2end_test) |
| 713 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Vijay Pai | 088112f | 2017-08-24 10:42:27 -0700 | [diff] [blame] | 714 | add_dependencies(buildtests_cxx inproc_sync_unary_ping_pong_test) |
| 715 | endif() |
| 716 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 717 | add_dependencies(buildtests_cxx interop_client) |
| 718 | endif() |
| 719 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 720 | add_dependencies(buildtests_cxx interop_server) |
| 721 | endif() |
| 722 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 723 | add_dependencies(buildtests_cxx interop_test) |
| 724 | endif() |
| 725 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 726 | add_dependencies(buildtests_cxx json_run_localhost) |
| 727 | endif() |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 728 | add_dependencies(buildtests_cxx memory_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 729 | add_dependencies(buildtests_cxx metrics_client) |
| 730 | add_dependencies(buildtests_cxx mock_test) |
| 731 | add_dependencies(buildtests_cxx noop-benchmark) |
| 732 | add_dependencies(buildtests_cxx proto_server_reflection_test) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 733 | add_dependencies(buildtests_cxx proto_utils_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 734 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 735 | add_dependencies(buildtests_cxx qps_interarrival_test) |
| 736 | endif() |
| 737 | add_dependencies(buildtests_cxx qps_json_driver) |
| 738 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 739 | add_dependencies(buildtests_cxx qps_openloop_test) |
| 740 | endif() |
| 741 | add_dependencies(buildtests_cxx qps_worker) |
| 742 | add_dependencies(buildtests_cxx reconnect_interop_client) |
| 743 | add_dependencies(buildtests_cxx reconnect_interop_server) |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 744 | add_dependencies(buildtests_cxx ref_counted_ptr_test) |
| 745 | add_dependencies(buildtests_cxx ref_counted_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 746 | add_dependencies(buildtests_cxx secure_auth_context_test) |
| 747 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 748 | add_dependencies(buildtests_cxx secure_sync_unary_ping_pong_test) |
| 749 | endif() |
| 750 | add_dependencies(buildtests_cxx server_builder_plugin_test) |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 751 | add_dependencies(buildtests_cxx server_builder_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 752 | add_dependencies(buildtests_cxx server_context_test_spouse_test) |
| 753 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 754 | add_dependencies(buildtests_cxx server_crash_test) |
| 755 | endif() |
| 756 | add_dependencies(buildtests_cxx server_crash_test_client) |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 757 | add_dependencies(buildtests_cxx server_request_call_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 758 | add_dependencies(buildtests_cxx shutdown_test) |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 759 | add_dependencies(buildtests_cxx stats_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 760 | add_dependencies(buildtests_cxx status_test) |
| 761 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 762 | add_dependencies(buildtests_cxx streaming_throughput_test) |
| 763 | endif() |
| 764 | add_dependencies(buildtests_cxx stress_test) |
| 765 | add_dependencies(buildtests_cxx thread_manager_test) |
| 766 | add_dependencies(buildtests_cxx thread_stress_test) |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 767 | add_dependencies(buildtests_cxx transport_pid_controller_test) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 768 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 769 | add_dependencies(buildtests_cxx writes_per_rpc_test) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 770 | endif() |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 771 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 772 | add_dependencies(buildtests_cxx resolver_component_test_unsecure) |
| 773 | endif() |
| 774 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 775 | add_dependencies(buildtests_cxx resolver_component_test) |
| 776 | endif() |
| 777 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 778 | add_dependencies(buildtests_cxx resolver_component_tests_runner_invoker_unsecure) |
| 779 | endif() |
| 780 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 781 | add_dependencies(buildtests_cxx resolver_component_tests_runner_invoker) |
| 782 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 783 | |
| 784 | add_custom_target(buildtests |
| 785 | DEPENDS buildtests_c buildtests_cxx) |
| 786 | endif (gRPC_BUILD_TESTS) |
| 787 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 788 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 789 | add_library(gpr |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 790 | src/core/lib/profiling/basic_timers.cc |
| 791 | src/core/lib/profiling/stap_timers.cc |
| 792 | src/core/lib/support/alloc.cc |
| 793 | src/core/lib/support/arena.cc |
| 794 | src/core/lib/support/atm.cc |
| 795 | src/core/lib/support/avl.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 796 | src/core/lib/support/cmdline.cc |
| 797 | src/core/lib/support/cpu_iphone.cc |
| 798 | src/core/lib/support/cpu_linux.cc |
| 799 | src/core/lib/support/cpu_posix.cc |
| 800 | src/core/lib/support/cpu_windows.cc |
| 801 | src/core/lib/support/env_linux.cc |
| 802 | src/core/lib/support/env_posix.cc |
| 803 | src/core/lib/support/env_windows.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 804 | src/core/lib/support/fork.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 805 | src/core/lib/support/host_port.cc |
| 806 | src/core/lib/support/log.cc |
| 807 | src/core/lib/support/log_android.cc |
| 808 | src/core/lib/support/log_linux.cc |
| 809 | src/core/lib/support/log_posix.cc |
| 810 | src/core/lib/support/log_windows.cc |
| 811 | src/core/lib/support/mpscq.cc |
| 812 | src/core/lib/support/murmur_hash.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 813 | src/core/lib/support/string.cc |
| 814 | src/core/lib/support/string_posix.cc |
| 815 | src/core/lib/support/string_util_windows.cc |
| 816 | src/core/lib/support/string_windows.cc |
| 817 | src/core/lib/support/subprocess_posix.cc |
| 818 | src/core/lib/support/subprocess_windows.cc |
| 819 | src/core/lib/support/sync.cc |
| 820 | src/core/lib/support/sync_posix.cc |
| 821 | src/core/lib/support/sync_windows.cc |
| 822 | src/core/lib/support/thd.cc |
| 823 | src/core/lib/support/thd_posix.cc |
| 824 | src/core/lib/support/thd_windows.cc |
| 825 | src/core/lib/support/time.cc |
| 826 | src/core/lib/support/time_posix.cc |
| 827 | src/core/lib/support/time_precise.cc |
| 828 | src/core/lib/support/time_windows.cc |
| 829 | src/core/lib/support/tls_pthread.cc |
| 830 | src/core/lib/support/tmpfile_msys.cc |
| 831 | src/core/lib/support/tmpfile_posix.cc |
| 832 | src/core/lib/support/tmpfile_windows.cc |
| 833 | src/core/lib/support/wrap_memcpy.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 834 | ) |
| 835 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 836 | if(WIN32 AND MSVC) |
| 837 | set_target_properties(gpr PROPERTIES COMPILE_PDB_NAME "gpr" |
| 838 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 839 | ) |
| 840 | if (gRPC_INSTALL) |
| 841 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 842 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 843 | ) |
| 844 | endif() |
| 845 | endif() |
| 846 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 847 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 848 | target_include_directories(gpr |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 849 | 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] | 850 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 851 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 852 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 853 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 854 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 855 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 856 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 857 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 858 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 859 | ) |
| 860 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 861 | target_link_libraries(gpr |
| 862 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 863 | ) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 864 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 865 | foreach(_hdr |
| 866 | include/grpc/support/alloc.h |
| 867 | include/grpc/support/atm.h |
| 868 | include/grpc/support/atm_gcc_atomic.h |
| 869 | include/grpc/support/atm_gcc_sync.h |
| 870 | include/grpc/support/atm_windows.h |
| 871 | include/grpc/support/avl.h |
| 872 | include/grpc/support/cmdline.h |
| 873 | include/grpc/support/cpu.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 874 | include/grpc/support/host_port.h |
| 875 | include/grpc/support/log.h |
| 876 | include/grpc/support/log_windows.h |
| 877 | include/grpc/support/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 878 | include/grpc/support/string_util.h |
| 879 | include/grpc/support/subprocess.h |
| 880 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 881 | include/grpc/support/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 882 | include/grpc/support/sync_generic.h |
| 883 | include/grpc/support/sync_posix.h |
| 884 | include/grpc/support/sync_windows.h |
| 885 | include/grpc/support/thd.h |
| 886 | include/grpc/support/time.h |
| 887 | include/grpc/support/tls.h |
| 888 | include/grpc/support/tls_gcc.h |
| 889 | include/grpc/support/tls_msvc.h |
| 890 | include/grpc/support/tls_pthread.h |
| 891 | include/grpc/support/useful.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 892 | include/grpc/impl/codegen/atm.h |
| 893 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 894 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 895 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 896 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 897 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 898 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 899 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 900 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 901 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 902 | include/grpc/impl/codegen/sync_generic.h |
| 903 | include/grpc/impl/codegen/sync_posix.h |
| 904 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 905 | ) |
| 906 | string(REPLACE "include/" "" _path ${_hdr}) |
| 907 | get_filename_component(_path ${_path} PATH) |
| 908 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 909 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 910 | ) |
| 911 | endforeach() |
| 912 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 913 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 914 | if (gRPC_INSTALL) |
| 915 | install(TARGETS gpr EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 916 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 917 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 918 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 919 | ) |
| 920 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 921 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 922 | if (gRPC_BUILD_TESTS) |
| 923 | |
| 924 | add_library(gpr_test_util |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 925 | test/core/util/test_config.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 926 | ) |
| 927 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 928 | if(WIN32 AND MSVC) |
| 929 | set_target_properties(gpr_test_util PROPERTIES COMPILE_PDB_NAME "gpr_test_util" |
| 930 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 931 | ) |
| 932 | if (gRPC_INSTALL) |
| 933 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 934 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 935 | ) |
| 936 | endif() |
| 937 | endif() |
| 938 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 939 | |
| 940 | target_include_directories(gpr_test_util |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 941 | 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] | 942 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 943 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 944 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 945 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 946 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 947 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 948 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 949 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 950 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 951 | ) |
| 952 | |
| 953 | target_link_libraries(gpr_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 954 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 955 | gpr |
| 956 | ) |
| 957 | |
| 958 | |
| 959 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 960 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 961 | add_library(grpc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 962 | src/core/lib/surface/init.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 963 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 964 | src/core/lib/channel/channel_args.cc |
| 965 | src/core/lib/channel/channel_stack.cc |
| 966 | src/core/lib/channel/channel_stack_builder.cc |
| 967 | src/core/lib/channel/connected_channel.cc |
| 968 | src/core/lib/channel/handshaker.cc |
| 969 | src/core/lib/channel/handshaker_factory.cc |
| 970 | src/core/lib/channel/handshaker_registry.cc |
| 971 | src/core/lib/compression/compression.cc |
| 972 | src/core/lib/compression/message_compress.cc |
| 973 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 974 | src/core/lib/compression/stream_compression_gzip.cc |
| 975 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 976 | src/core/lib/debug/stats.cc |
| 977 | src/core/lib/debug/stats_data.cc |
| 978 | src/core/lib/http/format_request.cc |
| 979 | src/core/lib/http/httpcli.cc |
| 980 | src/core/lib/http/parser.cc |
| 981 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 982 | src/core/lib/iomgr/combiner.cc |
| 983 | src/core/lib/iomgr/endpoint.cc |
| 984 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 985 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 986 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 987 | src/core/lib/iomgr/error.cc |
| 988 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 989 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 990 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 991 | src/core/lib/iomgr/ev_poll_posix.cc |
| 992 | src/core/lib/iomgr/ev_posix.cc |
| 993 | src/core/lib/iomgr/ev_windows.cc |
| 994 | src/core/lib/iomgr/exec_ctx.cc |
| 995 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 996 | src/core/lib/iomgr/fork_posix.cc |
| 997 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 998 | src/core/lib/iomgr/gethostname_fallback.cc |
| 999 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 1000 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 1001 | src/core/lib/iomgr/iocp_windows.cc |
| 1002 | src/core/lib/iomgr/iomgr.cc |
| 1003 | src/core/lib/iomgr/iomgr_posix.cc |
| 1004 | src/core/lib/iomgr/iomgr_uv.cc |
| 1005 | src/core/lib/iomgr/iomgr_windows.cc |
| 1006 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 1007 | src/core/lib/iomgr/load_file.cc |
| 1008 | src/core/lib/iomgr/lockfree_event.cc |
| 1009 | src/core/lib/iomgr/network_status_tracker.cc |
| 1010 | src/core/lib/iomgr/polling_entity.cc |
| 1011 | src/core/lib/iomgr/pollset_set_uv.cc |
| 1012 | src/core/lib/iomgr/pollset_set_windows.cc |
| 1013 | src/core/lib/iomgr/pollset_uv.cc |
| 1014 | src/core/lib/iomgr/pollset_windows.cc |
| 1015 | src/core/lib/iomgr/resolve_address_posix.cc |
| 1016 | src/core/lib/iomgr/resolve_address_uv.cc |
| 1017 | src/core/lib/iomgr/resolve_address_windows.cc |
| 1018 | src/core/lib/iomgr/resource_quota.cc |
| 1019 | src/core/lib/iomgr/sockaddr_utils.cc |
| 1020 | src/core/lib/iomgr/socket_factory_posix.cc |
| 1021 | src/core/lib/iomgr/socket_mutator.cc |
| 1022 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 1023 | src/core/lib/iomgr/socket_utils_linux.cc |
| 1024 | src/core/lib/iomgr/socket_utils_posix.cc |
| 1025 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 1026 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1027 | src/core/lib/iomgr/socket_windows.cc |
| 1028 | src/core/lib/iomgr/tcp_client_posix.cc |
| 1029 | src/core/lib/iomgr/tcp_client_uv.cc |
| 1030 | src/core/lib/iomgr/tcp_client_windows.cc |
| 1031 | src/core/lib/iomgr/tcp_posix.cc |
| 1032 | src/core/lib/iomgr/tcp_server_posix.cc |
| 1033 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 1034 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 1035 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 1036 | src/core/lib/iomgr/tcp_server_uv.cc |
| 1037 | src/core/lib/iomgr/tcp_server_windows.cc |
| 1038 | src/core/lib/iomgr/tcp_uv.cc |
| 1039 | src/core/lib/iomgr/tcp_windows.cc |
| 1040 | src/core/lib/iomgr/time_averaged_stats.cc |
| 1041 | src/core/lib/iomgr/timer_generic.cc |
| 1042 | src/core/lib/iomgr/timer_heap.cc |
| 1043 | src/core/lib/iomgr/timer_manager.cc |
| 1044 | src/core/lib/iomgr/timer_uv.cc |
| 1045 | src/core/lib/iomgr/udp_server.cc |
| 1046 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 1047 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 1048 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 1049 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 1050 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 1051 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 1052 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 1053 | src/core/lib/json/json.cc |
| 1054 | src/core/lib/json/json_reader.cc |
| 1055 | src/core/lib/json/json_string.cc |
| 1056 | src/core/lib/json/json_writer.cc |
| 1057 | src/core/lib/slice/b64.cc |
| 1058 | src/core/lib/slice/percent_encoding.cc |
| 1059 | src/core/lib/slice/slice.cc |
| 1060 | src/core/lib/slice/slice_buffer.cc |
| 1061 | src/core/lib/slice/slice_hash_table.cc |
| 1062 | src/core/lib/slice/slice_intern.cc |
| 1063 | src/core/lib/slice/slice_string_helpers.cc |
| 1064 | src/core/lib/surface/alarm.cc |
| 1065 | src/core/lib/surface/api_trace.cc |
| 1066 | src/core/lib/surface/byte_buffer.cc |
| 1067 | src/core/lib/surface/byte_buffer_reader.cc |
| 1068 | src/core/lib/surface/call.cc |
| 1069 | src/core/lib/surface/call_details.cc |
| 1070 | src/core/lib/surface/call_log_batch.cc |
| 1071 | src/core/lib/surface/channel.cc |
| 1072 | src/core/lib/surface/channel_init.cc |
| 1073 | src/core/lib/surface/channel_ping.cc |
| 1074 | src/core/lib/surface/channel_stack_type.cc |
| 1075 | src/core/lib/surface/completion_queue.cc |
| 1076 | src/core/lib/surface/completion_queue_factory.cc |
| 1077 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1078 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1079 | src/core/lib/surface/metadata_array.cc |
| 1080 | src/core/lib/surface/server.cc |
| 1081 | src/core/lib/surface/validate_metadata.cc |
| 1082 | src/core/lib/surface/version.cc |
| 1083 | src/core/lib/transport/bdp_estimator.cc |
| 1084 | src/core/lib/transport/byte_stream.cc |
| 1085 | src/core/lib/transport/connectivity_state.cc |
| 1086 | src/core/lib/transport/error_utils.cc |
| 1087 | src/core/lib/transport/metadata.cc |
| 1088 | src/core/lib/transport/metadata_batch.cc |
| 1089 | src/core/lib/transport/pid_controller.cc |
| 1090 | src/core/lib/transport/service_config.cc |
| 1091 | src/core/lib/transport/static_metadata.cc |
| 1092 | src/core/lib/transport/status_conversion.cc |
| 1093 | src/core/lib/transport/timeout_encoding.cc |
| 1094 | src/core/lib/transport/transport.cc |
| 1095 | src/core/lib/transport/transport_op_string.cc |
| 1096 | src/core/lib/debug/trace.cc |
| 1097 | src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.cc |
| 1098 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 1099 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 1100 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 1101 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 1102 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 1103 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 1104 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 1105 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 1106 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 1107 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 1108 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 1109 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 1110 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 1111 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 1112 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 1113 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 1114 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 1115 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 1116 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 1117 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 1118 | src/core/ext/transport/chttp2/transport/varint.cc |
| 1119 | src/core/ext/transport/chttp2/transport/writing.cc |
| 1120 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 1121 | src/core/ext/filters/http/client/http_client_filter.cc |
| 1122 | src/core/ext/filters/http/http_filters_plugin.cc |
| 1123 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 1124 | src/core/ext/filters/http/server/http_server_filter.cc |
| 1125 | src/core/lib/http/httpcli_security_connector.cc |
| 1126 | src/core/lib/security/context/security_context.cc |
| 1127 | src/core/lib/security/credentials/composite/composite_credentials.cc |
| 1128 | src/core/lib/security/credentials/credentials.cc |
| 1129 | src/core/lib/security/credentials/credentials_metadata.cc |
| 1130 | src/core/lib/security/credentials/fake/fake_credentials.cc |
| 1131 | src/core/lib/security/credentials/google_default/credentials_generic.cc |
| 1132 | src/core/lib/security/credentials/google_default/google_default_credentials.cc |
| 1133 | src/core/lib/security/credentials/iam/iam_credentials.cc |
| 1134 | src/core/lib/security/credentials/jwt/json_token.cc |
| 1135 | src/core/lib/security/credentials/jwt/jwt_credentials.cc |
| 1136 | src/core/lib/security/credentials/jwt/jwt_verifier.cc |
| 1137 | src/core/lib/security/credentials/oauth2/oauth2_credentials.cc |
| 1138 | src/core/lib/security/credentials/plugin/plugin_credentials.cc |
| 1139 | src/core/lib/security/credentials/ssl/ssl_credentials.cc |
| 1140 | src/core/lib/security/transport/client_auth_filter.cc |
| 1141 | src/core/lib/security/transport/lb_targets_info.cc |
| 1142 | src/core/lib/security/transport/secure_endpoint.cc |
| 1143 | src/core/lib/security/transport/security_connector.cc |
| 1144 | src/core/lib/security/transport/security_handshaker.cc |
| 1145 | src/core/lib/security/transport/server_auth_filter.cc |
| 1146 | src/core/lib/security/transport/tsi_error.cc |
| 1147 | src/core/lib/security/util/json_util.cc |
| 1148 | src/core/lib/surface/init_secure.cc |
| 1149 | src/core/tsi/fake_transport_security.cc |
| 1150 | src/core/tsi/gts_transport_security.cc |
| 1151 | src/core/tsi/ssl_transport_security.cc |
| 1152 | src/core/tsi/transport_security_grpc.cc |
| 1153 | src/core/tsi/transport_security.cc |
| 1154 | src/core/tsi/transport_security_adapter.cc |
| 1155 | src/core/ext/transport/chttp2/server/chttp2_server.cc |
| 1156 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 1157 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1158 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 1159 | src/core/ext/filters/client_channel/client_channel.cc |
| 1160 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 1161 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 1162 | src/core/ext/filters/client_channel/connector.cc |
| 1163 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 1164 | src/core/ext/filters/client_channel/http_proxy.cc |
| 1165 | src/core/ext/filters/client_channel/lb_policy.cc |
| 1166 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 1167 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 1168 | src/core/ext/filters/client_channel/parse_address.cc |
| 1169 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 1170 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1171 | src/core/ext/filters/client_channel/resolver.cc |
| 1172 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 1173 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1174 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1175 | src/core/ext/filters/client_channel/subchannel.cc |
| 1176 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1177 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1178 | src/core/ext/filters/deadline/deadline_filter.cc |
| 1179 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
| 1180 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc |
| 1181 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc |
| 1182 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 1183 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
| 1184 | src/core/ext/transport/inproc/inproc_plugin.cc |
| 1185 | src/core/ext/transport/inproc/inproc_transport.cc |
| 1186 | src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc |
| 1187 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc |
| 1188 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc |
| 1189 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc |
| 1190 | 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] | 1191 | 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] | 1192 | third_party/nanopb/pb_common.c |
| 1193 | third_party/nanopb/pb_decode.c |
| 1194 | third_party/nanopb/pb_encode.c |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1195 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
| 1196 | 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] | 1197 | src/core/ext/filters/client_channel/lb_policy/subchannel_list.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1198 | src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc |
| 1199 | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc |
| 1200 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc |
| 1201 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc |
| 1202 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc |
| 1203 | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc |
| 1204 | src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc |
| 1205 | src/core/ext/filters/load_reporting/server_load_reporting_filter.cc |
| 1206 | src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1207 | src/core/ext/census/grpc_context.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1208 | src/core/ext/filters/max_age/max_age_filter.cc |
| 1209 | src/core/ext/filters/message_size/message_size_filter.cc |
| 1210 | src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc |
| 1211 | src/core/ext/filters/workarounds/workaround_utils.cc |
Yash Tibrewal | 1c9b584 | 2017-09-21 15:49:55 -0700 | [diff] [blame] | 1212 | src/core/plugin_registry/grpc_plugin_registry.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1213 | ) |
| 1214 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1215 | if(WIN32 AND MSVC) |
| 1216 | set_target_properties(grpc PROPERTIES COMPILE_PDB_NAME "grpc" |
| 1217 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1218 | ) |
| 1219 | if (gRPC_INSTALL) |
| 1220 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1221 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1222 | ) |
| 1223 | endif() |
| 1224 | endif() |
| 1225 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1226 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1227 | target_include_directories(grpc |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1228 | 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] | 1229 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 1230 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1231 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1232 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1233 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1234 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1235 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1236 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1237 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1238 | ) |
| 1239 | |
| 1240 | target_link_libraries(grpc |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1241 | ${_gRPC_BASELIB_LIBRARIES} |
| 1242 | ${_gRPC_SSL_LIBRARIES} |
| 1243 | ${_gRPC_ZLIB_LIBRARIES} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1244 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1245 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1246 | gpr |
| 1247 | ) |
| 1248 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1249 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 1250 | include/grpc/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1251 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1252 | include/grpc/impl/codegen/compression_types.h |
| 1253 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 1254 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1255 | include/grpc/impl/codegen/grpc_types.h |
| 1256 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1257 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1258 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1259 | include/grpc/impl/codegen/atm.h |
| 1260 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1261 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1262 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1263 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1264 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1265 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1266 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1267 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1268 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1269 | include/grpc/impl/codegen/sync_generic.h |
| 1270 | include/grpc/impl/codegen/sync_posix.h |
| 1271 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1272 | include/grpc/grpc_security.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 1273 | include/grpc/byte_buffer.h |
| 1274 | include/grpc/byte_buffer_reader.h |
| 1275 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1276 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 1277 | include/grpc/grpc.h |
| 1278 | include/grpc/grpc_posix.h |
| 1279 | include/grpc/grpc_security_constants.h |
| 1280 | include/grpc/load_reporting.h |
| 1281 | include/grpc/slice.h |
| 1282 | include/grpc/slice_buffer.h |
| 1283 | include/grpc/status.h |
| 1284 | include/grpc/support/workaround_list.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1285 | include/grpc/census.h |
| 1286 | ) |
| 1287 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1288 | get_filename_component(_path ${_path} PATH) |
| 1289 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1290 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1291 | ) |
| 1292 | endforeach() |
| 1293 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1294 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1295 | if (gRPC_INSTALL) |
| 1296 | install(TARGETS grpc EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1297 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 1298 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 1299 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1300 | ) |
| 1301 | endif() |
| 1302 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1303 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1304 | add_library(grpc_cronet |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1305 | src/core/lib/surface/init.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 1306 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1307 | src/core/lib/channel/channel_args.cc |
| 1308 | src/core/lib/channel/channel_stack.cc |
| 1309 | src/core/lib/channel/channel_stack_builder.cc |
| 1310 | src/core/lib/channel/connected_channel.cc |
| 1311 | src/core/lib/channel/handshaker.cc |
| 1312 | src/core/lib/channel/handshaker_factory.cc |
| 1313 | src/core/lib/channel/handshaker_registry.cc |
| 1314 | src/core/lib/compression/compression.cc |
| 1315 | src/core/lib/compression/message_compress.cc |
| 1316 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 1317 | src/core/lib/compression/stream_compression_gzip.cc |
| 1318 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1319 | src/core/lib/debug/stats.cc |
| 1320 | src/core/lib/debug/stats_data.cc |
| 1321 | src/core/lib/http/format_request.cc |
| 1322 | src/core/lib/http/httpcli.cc |
| 1323 | src/core/lib/http/parser.cc |
| 1324 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1325 | src/core/lib/iomgr/combiner.cc |
| 1326 | src/core/lib/iomgr/endpoint.cc |
| 1327 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 1328 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 1329 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 1330 | src/core/lib/iomgr/error.cc |
| 1331 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 1332 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 1333 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 1334 | src/core/lib/iomgr/ev_poll_posix.cc |
| 1335 | src/core/lib/iomgr/ev_posix.cc |
| 1336 | src/core/lib/iomgr/ev_windows.cc |
| 1337 | src/core/lib/iomgr/exec_ctx.cc |
| 1338 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 1339 | src/core/lib/iomgr/fork_posix.cc |
| 1340 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1341 | src/core/lib/iomgr/gethostname_fallback.cc |
| 1342 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 1343 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 1344 | src/core/lib/iomgr/iocp_windows.cc |
| 1345 | src/core/lib/iomgr/iomgr.cc |
| 1346 | src/core/lib/iomgr/iomgr_posix.cc |
| 1347 | src/core/lib/iomgr/iomgr_uv.cc |
| 1348 | src/core/lib/iomgr/iomgr_windows.cc |
| 1349 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 1350 | src/core/lib/iomgr/load_file.cc |
| 1351 | src/core/lib/iomgr/lockfree_event.cc |
| 1352 | src/core/lib/iomgr/network_status_tracker.cc |
| 1353 | src/core/lib/iomgr/polling_entity.cc |
| 1354 | src/core/lib/iomgr/pollset_set_uv.cc |
| 1355 | src/core/lib/iomgr/pollset_set_windows.cc |
| 1356 | src/core/lib/iomgr/pollset_uv.cc |
| 1357 | src/core/lib/iomgr/pollset_windows.cc |
| 1358 | src/core/lib/iomgr/resolve_address_posix.cc |
| 1359 | src/core/lib/iomgr/resolve_address_uv.cc |
| 1360 | src/core/lib/iomgr/resolve_address_windows.cc |
| 1361 | src/core/lib/iomgr/resource_quota.cc |
| 1362 | src/core/lib/iomgr/sockaddr_utils.cc |
| 1363 | src/core/lib/iomgr/socket_factory_posix.cc |
| 1364 | src/core/lib/iomgr/socket_mutator.cc |
| 1365 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 1366 | src/core/lib/iomgr/socket_utils_linux.cc |
| 1367 | src/core/lib/iomgr/socket_utils_posix.cc |
| 1368 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 1369 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1370 | src/core/lib/iomgr/socket_windows.cc |
| 1371 | src/core/lib/iomgr/tcp_client_posix.cc |
| 1372 | src/core/lib/iomgr/tcp_client_uv.cc |
| 1373 | src/core/lib/iomgr/tcp_client_windows.cc |
| 1374 | src/core/lib/iomgr/tcp_posix.cc |
| 1375 | src/core/lib/iomgr/tcp_server_posix.cc |
| 1376 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 1377 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 1378 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 1379 | src/core/lib/iomgr/tcp_server_uv.cc |
| 1380 | src/core/lib/iomgr/tcp_server_windows.cc |
| 1381 | src/core/lib/iomgr/tcp_uv.cc |
| 1382 | src/core/lib/iomgr/tcp_windows.cc |
| 1383 | src/core/lib/iomgr/time_averaged_stats.cc |
| 1384 | src/core/lib/iomgr/timer_generic.cc |
| 1385 | src/core/lib/iomgr/timer_heap.cc |
| 1386 | src/core/lib/iomgr/timer_manager.cc |
| 1387 | src/core/lib/iomgr/timer_uv.cc |
| 1388 | src/core/lib/iomgr/udp_server.cc |
| 1389 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 1390 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 1391 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 1392 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 1393 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 1394 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 1395 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 1396 | src/core/lib/json/json.cc |
| 1397 | src/core/lib/json/json_reader.cc |
| 1398 | src/core/lib/json/json_string.cc |
| 1399 | src/core/lib/json/json_writer.cc |
| 1400 | src/core/lib/slice/b64.cc |
| 1401 | src/core/lib/slice/percent_encoding.cc |
| 1402 | src/core/lib/slice/slice.cc |
| 1403 | src/core/lib/slice/slice_buffer.cc |
| 1404 | src/core/lib/slice/slice_hash_table.cc |
| 1405 | src/core/lib/slice/slice_intern.cc |
| 1406 | src/core/lib/slice/slice_string_helpers.cc |
| 1407 | src/core/lib/surface/alarm.cc |
| 1408 | src/core/lib/surface/api_trace.cc |
| 1409 | src/core/lib/surface/byte_buffer.cc |
| 1410 | src/core/lib/surface/byte_buffer_reader.cc |
| 1411 | src/core/lib/surface/call.cc |
| 1412 | src/core/lib/surface/call_details.cc |
| 1413 | src/core/lib/surface/call_log_batch.cc |
| 1414 | src/core/lib/surface/channel.cc |
| 1415 | src/core/lib/surface/channel_init.cc |
| 1416 | src/core/lib/surface/channel_ping.cc |
| 1417 | src/core/lib/surface/channel_stack_type.cc |
| 1418 | src/core/lib/surface/completion_queue.cc |
| 1419 | src/core/lib/surface/completion_queue_factory.cc |
| 1420 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1421 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1422 | src/core/lib/surface/metadata_array.cc |
| 1423 | src/core/lib/surface/server.cc |
| 1424 | src/core/lib/surface/validate_metadata.cc |
| 1425 | src/core/lib/surface/version.cc |
| 1426 | src/core/lib/transport/bdp_estimator.cc |
| 1427 | src/core/lib/transport/byte_stream.cc |
| 1428 | src/core/lib/transport/connectivity_state.cc |
| 1429 | src/core/lib/transport/error_utils.cc |
| 1430 | src/core/lib/transport/metadata.cc |
| 1431 | src/core/lib/transport/metadata_batch.cc |
| 1432 | src/core/lib/transport/pid_controller.cc |
| 1433 | src/core/lib/transport/service_config.cc |
| 1434 | src/core/lib/transport/static_metadata.cc |
| 1435 | src/core/lib/transport/status_conversion.cc |
| 1436 | src/core/lib/transport/timeout_encoding.cc |
| 1437 | src/core/lib/transport/transport.cc |
| 1438 | src/core/lib/transport/transport_op_string.cc |
| 1439 | src/core/lib/debug/trace.cc |
| 1440 | src/core/ext/transport/cronet/client/secure/cronet_channel_create.cc |
| 1441 | src/core/ext/transport/cronet/transport/cronet_api_dummy.cc |
| 1442 | src/core/ext/transport/cronet/transport/cronet_transport.cc |
| 1443 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc |
| 1444 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 1445 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 1446 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 1447 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 1448 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 1449 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 1450 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 1451 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 1452 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 1453 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 1454 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 1455 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 1456 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 1457 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 1458 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 1459 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 1460 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 1461 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 1462 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 1463 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 1464 | src/core/ext/transport/chttp2/transport/varint.cc |
| 1465 | src/core/ext/transport/chttp2/transport/writing.cc |
| 1466 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 1467 | src/core/ext/filters/http/client/http_client_filter.cc |
| 1468 | src/core/ext/filters/http/http_filters_plugin.cc |
| 1469 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 1470 | src/core/ext/filters/http/server/http_server_filter.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 1471 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1472 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 1473 | src/core/ext/filters/client_channel/client_channel.cc |
| 1474 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 1475 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 1476 | src/core/ext/filters/client_channel/connector.cc |
| 1477 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 1478 | src/core/ext/filters/client_channel/http_proxy.cc |
| 1479 | src/core/ext/filters/client_channel/lb_policy.cc |
| 1480 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 1481 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 1482 | src/core/ext/filters/client_channel/parse_address.cc |
| 1483 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 1484 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1485 | src/core/ext/filters/client_channel/resolver.cc |
| 1486 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 1487 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1488 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1489 | src/core/ext/filters/client_channel/subchannel.cc |
| 1490 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1491 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1492 | src/core/ext/filters/deadline/deadline_filter.cc |
| 1493 | src/core/lib/http/httpcli_security_connector.cc |
| 1494 | src/core/lib/security/context/security_context.cc |
| 1495 | src/core/lib/security/credentials/composite/composite_credentials.cc |
| 1496 | src/core/lib/security/credentials/credentials.cc |
| 1497 | src/core/lib/security/credentials/credentials_metadata.cc |
| 1498 | src/core/lib/security/credentials/fake/fake_credentials.cc |
| 1499 | src/core/lib/security/credentials/google_default/credentials_generic.cc |
| 1500 | src/core/lib/security/credentials/google_default/google_default_credentials.cc |
| 1501 | src/core/lib/security/credentials/iam/iam_credentials.cc |
| 1502 | src/core/lib/security/credentials/jwt/json_token.cc |
| 1503 | src/core/lib/security/credentials/jwt/jwt_credentials.cc |
| 1504 | src/core/lib/security/credentials/jwt/jwt_verifier.cc |
| 1505 | src/core/lib/security/credentials/oauth2/oauth2_credentials.cc |
| 1506 | src/core/lib/security/credentials/plugin/plugin_credentials.cc |
| 1507 | src/core/lib/security/credentials/ssl/ssl_credentials.cc |
| 1508 | src/core/lib/security/transport/client_auth_filter.cc |
| 1509 | src/core/lib/security/transport/lb_targets_info.cc |
| 1510 | src/core/lib/security/transport/secure_endpoint.cc |
| 1511 | src/core/lib/security/transport/security_connector.cc |
| 1512 | src/core/lib/security/transport/security_handshaker.cc |
| 1513 | src/core/lib/security/transport/server_auth_filter.cc |
| 1514 | src/core/lib/security/transport/tsi_error.cc |
| 1515 | src/core/lib/security/util/json_util.cc |
| 1516 | src/core/lib/surface/init_secure.cc |
| 1517 | src/core/tsi/fake_transport_security.cc |
| 1518 | src/core/tsi/gts_transport_security.cc |
| 1519 | src/core/tsi/ssl_transport_security.cc |
| 1520 | src/core/tsi/transport_security_grpc.cc |
| 1521 | src/core/tsi/transport_security.cc |
| 1522 | src/core/tsi/transport_security_adapter.cc |
| 1523 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
| 1524 | src/core/ext/filters/load_reporting/server_load_reporting_filter.cc |
| 1525 | src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc |
Yash Tibrewal | 1c9b584 | 2017-09-21 15:49:55 -0700 | [diff] [blame] | 1526 | src/core/plugin_registry/grpc_cronet_plugin_registry.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1527 | ) |
| 1528 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1529 | if(WIN32 AND MSVC) |
| 1530 | set_target_properties(grpc_cronet PROPERTIES COMPILE_PDB_NAME "grpc_cronet" |
| 1531 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1532 | ) |
| 1533 | if (gRPC_INSTALL) |
| 1534 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cronet.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1535 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1536 | ) |
| 1537 | endif() |
| 1538 | endif() |
| 1539 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1540 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1541 | target_include_directories(grpc_cronet |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1542 | 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] | 1543 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 1544 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1545 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1546 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1547 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1548 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1549 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1550 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1551 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1552 | ) |
| 1553 | |
| 1554 | target_link_libraries(grpc_cronet |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1555 | ${_gRPC_BASELIB_LIBRARIES} |
| 1556 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 807693b | 2017-06-12 10:15:27 +0200 | [diff] [blame] | 1557 | ${_gRPC_ZLIB_LIBRARIES} |
| 1558 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1559 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1560 | gpr |
| 1561 | ) |
| 1562 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1563 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 1564 | include/grpc/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1565 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1566 | include/grpc/impl/codegen/compression_types.h |
| 1567 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 1568 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1569 | include/grpc/impl/codegen/grpc_types.h |
| 1570 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1571 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1572 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1573 | include/grpc/impl/codegen/atm.h |
| 1574 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1575 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1576 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1577 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1578 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1579 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1580 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1581 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1582 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1583 | include/grpc/impl/codegen/sync_generic.h |
| 1584 | include/grpc/impl/codegen/sync_posix.h |
| 1585 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1586 | include/grpc/grpc_cronet.h |
| 1587 | include/grpc/grpc_security.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 1588 | include/grpc/grpc_security_constants.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1589 | ) |
| 1590 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1591 | get_filename_component(_path ${_path} PATH) |
| 1592 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1593 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1594 | ) |
| 1595 | endforeach() |
| 1596 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1597 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1598 | if (gRPC_INSTALL) |
| 1599 | install(TARGETS grpc_cronet EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1600 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 1601 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 1602 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1603 | ) |
| 1604 | endif() |
| 1605 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1606 | if (gRPC_BUILD_TESTS) |
| 1607 | |
| 1608 | add_library(grpc_test_util |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1609 | test/core/end2end/data/client_certs.cc |
| 1610 | test/core/end2end/data/server1_cert.cc |
| 1611 | test/core/end2end/data/server1_key.cc |
| 1612 | test/core/end2end/data/test_root_cert.cc |
| 1613 | test/core/security/oauth2_utils.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1614 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1615 | test/core/end2end/cq_verifier.cc |
| 1616 | test/core/end2end/fixtures/http_proxy_fixture.cc |
| 1617 | test/core/end2end/fixtures/proxy.cc |
| 1618 | test/core/iomgr/endpoint_tests.cc |
Craig Tiller | 9222606 | 2017-10-08 21:16:12 -0700 | [diff] [blame] | 1619 | test/core/util/debugger_macros.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1620 | test/core/util/grpc_profiler.cc |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 1621 | test/core/util/histogram.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1622 | test/core/util/memory_counters.cc |
| 1623 | test/core/util/mock_endpoint.cc |
| 1624 | test/core/util/parse_hexstring.cc |
| 1625 | test/core/util/passthru_endpoint.cc |
| 1626 | test/core/util/port.cc |
Adele Zhou | 5b7cdef | 2017-11-29 16:25:17 -0800 | [diff] [blame] | 1627 | test/core/util/port_isolated_runtime_environment.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1628 | test/core/util/port_server_client.cc |
| 1629 | test/core/util/slice_splitter.cc |
ncteisen | aa3b197 | 2017-11-17 15:56:27 -0800 | [diff] [blame] | 1630 | test/core/util/tracer_util.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1631 | test/core/util/trickle_endpoint.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 1632 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1633 | src/core/lib/channel/channel_args.cc |
| 1634 | src/core/lib/channel/channel_stack.cc |
| 1635 | src/core/lib/channel/channel_stack_builder.cc |
| 1636 | src/core/lib/channel/connected_channel.cc |
| 1637 | src/core/lib/channel/handshaker.cc |
| 1638 | src/core/lib/channel/handshaker_factory.cc |
| 1639 | src/core/lib/channel/handshaker_registry.cc |
| 1640 | src/core/lib/compression/compression.cc |
| 1641 | src/core/lib/compression/message_compress.cc |
| 1642 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 1643 | src/core/lib/compression/stream_compression_gzip.cc |
| 1644 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1645 | src/core/lib/debug/stats.cc |
| 1646 | src/core/lib/debug/stats_data.cc |
| 1647 | src/core/lib/http/format_request.cc |
| 1648 | src/core/lib/http/httpcli.cc |
| 1649 | src/core/lib/http/parser.cc |
| 1650 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1651 | src/core/lib/iomgr/combiner.cc |
| 1652 | src/core/lib/iomgr/endpoint.cc |
| 1653 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 1654 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 1655 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 1656 | src/core/lib/iomgr/error.cc |
| 1657 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 1658 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 1659 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 1660 | src/core/lib/iomgr/ev_poll_posix.cc |
| 1661 | src/core/lib/iomgr/ev_posix.cc |
| 1662 | src/core/lib/iomgr/ev_windows.cc |
| 1663 | src/core/lib/iomgr/exec_ctx.cc |
| 1664 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 1665 | src/core/lib/iomgr/fork_posix.cc |
| 1666 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1667 | src/core/lib/iomgr/gethostname_fallback.cc |
| 1668 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 1669 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 1670 | src/core/lib/iomgr/iocp_windows.cc |
| 1671 | src/core/lib/iomgr/iomgr.cc |
| 1672 | src/core/lib/iomgr/iomgr_posix.cc |
| 1673 | src/core/lib/iomgr/iomgr_uv.cc |
| 1674 | src/core/lib/iomgr/iomgr_windows.cc |
| 1675 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 1676 | src/core/lib/iomgr/load_file.cc |
| 1677 | src/core/lib/iomgr/lockfree_event.cc |
| 1678 | src/core/lib/iomgr/network_status_tracker.cc |
| 1679 | src/core/lib/iomgr/polling_entity.cc |
| 1680 | src/core/lib/iomgr/pollset_set_uv.cc |
| 1681 | src/core/lib/iomgr/pollset_set_windows.cc |
| 1682 | src/core/lib/iomgr/pollset_uv.cc |
| 1683 | src/core/lib/iomgr/pollset_windows.cc |
| 1684 | src/core/lib/iomgr/resolve_address_posix.cc |
| 1685 | src/core/lib/iomgr/resolve_address_uv.cc |
| 1686 | src/core/lib/iomgr/resolve_address_windows.cc |
| 1687 | src/core/lib/iomgr/resource_quota.cc |
| 1688 | src/core/lib/iomgr/sockaddr_utils.cc |
| 1689 | src/core/lib/iomgr/socket_factory_posix.cc |
| 1690 | src/core/lib/iomgr/socket_mutator.cc |
| 1691 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 1692 | src/core/lib/iomgr/socket_utils_linux.cc |
| 1693 | src/core/lib/iomgr/socket_utils_posix.cc |
| 1694 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 1695 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1696 | src/core/lib/iomgr/socket_windows.cc |
| 1697 | src/core/lib/iomgr/tcp_client_posix.cc |
| 1698 | src/core/lib/iomgr/tcp_client_uv.cc |
| 1699 | src/core/lib/iomgr/tcp_client_windows.cc |
| 1700 | src/core/lib/iomgr/tcp_posix.cc |
| 1701 | src/core/lib/iomgr/tcp_server_posix.cc |
| 1702 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 1703 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 1704 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 1705 | src/core/lib/iomgr/tcp_server_uv.cc |
| 1706 | src/core/lib/iomgr/tcp_server_windows.cc |
| 1707 | src/core/lib/iomgr/tcp_uv.cc |
| 1708 | src/core/lib/iomgr/tcp_windows.cc |
| 1709 | src/core/lib/iomgr/time_averaged_stats.cc |
| 1710 | src/core/lib/iomgr/timer_generic.cc |
| 1711 | src/core/lib/iomgr/timer_heap.cc |
| 1712 | src/core/lib/iomgr/timer_manager.cc |
| 1713 | src/core/lib/iomgr/timer_uv.cc |
| 1714 | src/core/lib/iomgr/udp_server.cc |
| 1715 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 1716 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 1717 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 1718 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 1719 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 1720 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 1721 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 1722 | src/core/lib/json/json.cc |
| 1723 | src/core/lib/json/json_reader.cc |
| 1724 | src/core/lib/json/json_string.cc |
| 1725 | src/core/lib/json/json_writer.cc |
| 1726 | src/core/lib/slice/b64.cc |
| 1727 | src/core/lib/slice/percent_encoding.cc |
| 1728 | src/core/lib/slice/slice.cc |
| 1729 | src/core/lib/slice/slice_buffer.cc |
| 1730 | src/core/lib/slice/slice_hash_table.cc |
| 1731 | src/core/lib/slice/slice_intern.cc |
| 1732 | src/core/lib/slice/slice_string_helpers.cc |
| 1733 | src/core/lib/surface/alarm.cc |
| 1734 | src/core/lib/surface/api_trace.cc |
| 1735 | src/core/lib/surface/byte_buffer.cc |
| 1736 | src/core/lib/surface/byte_buffer_reader.cc |
| 1737 | src/core/lib/surface/call.cc |
| 1738 | src/core/lib/surface/call_details.cc |
| 1739 | src/core/lib/surface/call_log_batch.cc |
| 1740 | src/core/lib/surface/channel.cc |
| 1741 | src/core/lib/surface/channel_init.cc |
| 1742 | src/core/lib/surface/channel_ping.cc |
| 1743 | src/core/lib/surface/channel_stack_type.cc |
| 1744 | src/core/lib/surface/completion_queue.cc |
| 1745 | src/core/lib/surface/completion_queue_factory.cc |
| 1746 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1747 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1748 | src/core/lib/surface/metadata_array.cc |
| 1749 | src/core/lib/surface/server.cc |
| 1750 | src/core/lib/surface/validate_metadata.cc |
| 1751 | src/core/lib/surface/version.cc |
| 1752 | src/core/lib/transport/bdp_estimator.cc |
| 1753 | src/core/lib/transport/byte_stream.cc |
| 1754 | src/core/lib/transport/connectivity_state.cc |
| 1755 | src/core/lib/transport/error_utils.cc |
| 1756 | src/core/lib/transport/metadata.cc |
| 1757 | src/core/lib/transport/metadata_batch.cc |
| 1758 | src/core/lib/transport/pid_controller.cc |
| 1759 | src/core/lib/transport/service_config.cc |
| 1760 | src/core/lib/transport/static_metadata.cc |
| 1761 | src/core/lib/transport/status_conversion.cc |
| 1762 | src/core/lib/transport/timeout_encoding.cc |
| 1763 | src/core/lib/transport/transport.cc |
| 1764 | src/core/lib/transport/transport_op_string.cc |
| 1765 | src/core/lib/debug/trace.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 1766 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1767 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 1768 | src/core/ext/filters/client_channel/client_channel.cc |
| 1769 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 1770 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 1771 | src/core/ext/filters/client_channel/connector.cc |
| 1772 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 1773 | src/core/ext/filters/client_channel/http_proxy.cc |
| 1774 | src/core/ext/filters/client_channel/lb_policy.cc |
| 1775 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 1776 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 1777 | src/core/ext/filters/client_channel/parse_address.cc |
| 1778 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 1779 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1780 | src/core/ext/filters/client_channel/resolver.cc |
| 1781 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 1782 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1783 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1784 | src/core/ext/filters/client_channel/subchannel.cc |
| 1785 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1786 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1787 | src/core/ext/filters/deadline/deadline_filter.cc |
| 1788 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 1789 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 1790 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 1791 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 1792 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 1793 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 1794 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 1795 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 1796 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 1797 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 1798 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 1799 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 1800 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 1801 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 1802 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 1803 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 1804 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 1805 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 1806 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 1807 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 1808 | src/core/ext/transport/chttp2/transport/varint.cc |
| 1809 | src/core/ext/transport/chttp2/transport/writing.cc |
| 1810 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 1811 | src/core/ext/filters/http/client/http_client_filter.cc |
| 1812 | src/core/ext/filters/http/http_filters_plugin.cc |
| 1813 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 1814 | src/core/ext/filters/http/server/http_server_filter.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1815 | ) |
| 1816 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1817 | if(WIN32 AND MSVC) |
| 1818 | set_target_properties(grpc_test_util PROPERTIES COMPILE_PDB_NAME "grpc_test_util" |
| 1819 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1820 | ) |
| 1821 | if (gRPC_INSTALL) |
| 1822 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1823 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1824 | ) |
| 1825 | endif() |
| 1826 | endif() |
| 1827 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1828 | |
| 1829 | target_include_directories(grpc_test_util |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1830 | 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] | 1831 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 1832 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1833 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 1834 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1835 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1836 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 1837 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1838 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1839 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 1840 | ) |
| 1841 | |
| 1842 | target_link_libraries(grpc_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1843 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1844 | gpr_test_util |
| 1845 | gpr |
| 1846 | grpc |
| 1847 | ) |
| 1848 | |
| 1849 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 1850 | include/grpc/impl/codegen/byte_buffer.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1851 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1852 | include/grpc/impl/codegen/compression_types.h |
| 1853 | include/grpc/impl/codegen/connectivity_state.h |
| 1854 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 1855 | include/grpc/impl/codegen/grpc_types.h |
| 1856 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1857 | include/grpc/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1858 | include/grpc/impl/codegen/status.h |
| 1859 | include/grpc/impl/codegen/atm.h |
| 1860 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1861 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1862 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 1863 | include/grpc/impl/codegen/fork.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1864 | include/grpc/impl/codegen/gpr_slice.h |
| 1865 | include/grpc/impl/codegen/gpr_types.h |
| 1866 | include/grpc/impl/codegen/port_platform.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1867 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1868 | include/grpc/impl/codegen/sync_custom.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1869 | include/grpc/impl/codegen/sync_generic.h |
| 1870 | include/grpc/impl/codegen/sync_posix.h |
| 1871 | include/grpc/impl/codegen/sync_windows.h |
| 1872 | ) |
| 1873 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1874 | get_filename_component(_path ${_path} PATH) |
| 1875 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1876 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1877 | ) |
| 1878 | endforeach() |
| 1879 | |
| 1880 | endif (gRPC_BUILD_TESTS) |
| 1881 | if (gRPC_BUILD_TESTS) |
| 1882 | |
| 1883 | add_library(grpc_test_util_unsecure |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1884 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1885 | test/core/end2end/cq_verifier.cc |
| 1886 | test/core/end2end/fixtures/http_proxy_fixture.cc |
| 1887 | test/core/end2end/fixtures/proxy.cc |
| 1888 | test/core/iomgr/endpoint_tests.cc |
Craig Tiller | 9222606 | 2017-10-08 21:16:12 -0700 | [diff] [blame] | 1889 | test/core/util/debugger_macros.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1890 | test/core/util/grpc_profiler.cc |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 1891 | test/core/util/histogram.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1892 | test/core/util/memory_counters.cc |
| 1893 | test/core/util/mock_endpoint.cc |
| 1894 | test/core/util/parse_hexstring.cc |
| 1895 | test/core/util/passthru_endpoint.cc |
| 1896 | test/core/util/port.cc |
Adele Zhou | 5b7cdef | 2017-11-29 16:25:17 -0800 | [diff] [blame] | 1897 | test/core/util/port_isolated_runtime_environment.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1898 | test/core/util/port_server_client.cc |
| 1899 | test/core/util/slice_splitter.cc |
ncteisen | aa3b197 | 2017-11-17 15:56:27 -0800 | [diff] [blame] | 1900 | test/core/util/tracer_util.cc |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 1901 | test/core/util/trickle_endpoint.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 1902 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1903 | src/core/lib/channel/channel_args.cc |
| 1904 | src/core/lib/channel/channel_stack.cc |
| 1905 | src/core/lib/channel/channel_stack_builder.cc |
| 1906 | src/core/lib/channel/connected_channel.cc |
| 1907 | src/core/lib/channel/handshaker.cc |
| 1908 | src/core/lib/channel/handshaker_factory.cc |
| 1909 | src/core/lib/channel/handshaker_registry.cc |
| 1910 | src/core/lib/compression/compression.cc |
| 1911 | src/core/lib/compression/message_compress.cc |
| 1912 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 1913 | src/core/lib/compression/stream_compression_gzip.cc |
| 1914 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1915 | src/core/lib/debug/stats.cc |
| 1916 | src/core/lib/debug/stats_data.cc |
| 1917 | src/core/lib/http/format_request.cc |
| 1918 | src/core/lib/http/httpcli.cc |
| 1919 | src/core/lib/http/parser.cc |
| 1920 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1921 | src/core/lib/iomgr/combiner.cc |
| 1922 | src/core/lib/iomgr/endpoint.cc |
| 1923 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 1924 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 1925 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 1926 | src/core/lib/iomgr/error.cc |
| 1927 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 1928 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 1929 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 1930 | src/core/lib/iomgr/ev_poll_posix.cc |
| 1931 | src/core/lib/iomgr/ev_posix.cc |
| 1932 | src/core/lib/iomgr/ev_windows.cc |
| 1933 | src/core/lib/iomgr/exec_ctx.cc |
| 1934 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 1935 | src/core/lib/iomgr/fork_posix.cc |
| 1936 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1937 | src/core/lib/iomgr/gethostname_fallback.cc |
| 1938 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 1939 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 1940 | src/core/lib/iomgr/iocp_windows.cc |
| 1941 | src/core/lib/iomgr/iomgr.cc |
| 1942 | src/core/lib/iomgr/iomgr_posix.cc |
| 1943 | src/core/lib/iomgr/iomgr_uv.cc |
| 1944 | src/core/lib/iomgr/iomgr_windows.cc |
| 1945 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 1946 | src/core/lib/iomgr/load_file.cc |
| 1947 | src/core/lib/iomgr/lockfree_event.cc |
| 1948 | src/core/lib/iomgr/network_status_tracker.cc |
| 1949 | src/core/lib/iomgr/polling_entity.cc |
| 1950 | src/core/lib/iomgr/pollset_set_uv.cc |
| 1951 | src/core/lib/iomgr/pollset_set_windows.cc |
| 1952 | src/core/lib/iomgr/pollset_uv.cc |
| 1953 | src/core/lib/iomgr/pollset_windows.cc |
| 1954 | src/core/lib/iomgr/resolve_address_posix.cc |
| 1955 | src/core/lib/iomgr/resolve_address_uv.cc |
| 1956 | src/core/lib/iomgr/resolve_address_windows.cc |
| 1957 | src/core/lib/iomgr/resource_quota.cc |
| 1958 | src/core/lib/iomgr/sockaddr_utils.cc |
| 1959 | src/core/lib/iomgr/socket_factory_posix.cc |
| 1960 | src/core/lib/iomgr/socket_mutator.cc |
| 1961 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 1962 | src/core/lib/iomgr/socket_utils_linux.cc |
| 1963 | src/core/lib/iomgr/socket_utils_posix.cc |
| 1964 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 1965 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1966 | src/core/lib/iomgr/socket_windows.cc |
| 1967 | src/core/lib/iomgr/tcp_client_posix.cc |
| 1968 | src/core/lib/iomgr/tcp_client_uv.cc |
| 1969 | src/core/lib/iomgr/tcp_client_windows.cc |
| 1970 | src/core/lib/iomgr/tcp_posix.cc |
| 1971 | src/core/lib/iomgr/tcp_server_posix.cc |
| 1972 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 1973 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 1974 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 1975 | src/core/lib/iomgr/tcp_server_uv.cc |
| 1976 | src/core/lib/iomgr/tcp_server_windows.cc |
| 1977 | src/core/lib/iomgr/tcp_uv.cc |
| 1978 | src/core/lib/iomgr/tcp_windows.cc |
| 1979 | src/core/lib/iomgr/time_averaged_stats.cc |
| 1980 | src/core/lib/iomgr/timer_generic.cc |
| 1981 | src/core/lib/iomgr/timer_heap.cc |
| 1982 | src/core/lib/iomgr/timer_manager.cc |
| 1983 | src/core/lib/iomgr/timer_uv.cc |
| 1984 | src/core/lib/iomgr/udp_server.cc |
| 1985 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 1986 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 1987 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 1988 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 1989 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 1990 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 1991 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 1992 | src/core/lib/json/json.cc |
| 1993 | src/core/lib/json/json_reader.cc |
| 1994 | src/core/lib/json/json_string.cc |
| 1995 | src/core/lib/json/json_writer.cc |
| 1996 | src/core/lib/slice/b64.cc |
| 1997 | src/core/lib/slice/percent_encoding.cc |
| 1998 | src/core/lib/slice/slice.cc |
| 1999 | src/core/lib/slice/slice_buffer.cc |
| 2000 | src/core/lib/slice/slice_hash_table.cc |
| 2001 | src/core/lib/slice/slice_intern.cc |
| 2002 | src/core/lib/slice/slice_string_helpers.cc |
| 2003 | src/core/lib/surface/alarm.cc |
| 2004 | src/core/lib/surface/api_trace.cc |
| 2005 | src/core/lib/surface/byte_buffer.cc |
| 2006 | src/core/lib/surface/byte_buffer_reader.cc |
| 2007 | src/core/lib/surface/call.cc |
| 2008 | src/core/lib/surface/call_details.cc |
| 2009 | src/core/lib/surface/call_log_batch.cc |
| 2010 | src/core/lib/surface/channel.cc |
| 2011 | src/core/lib/surface/channel_init.cc |
| 2012 | src/core/lib/surface/channel_ping.cc |
| 2013 | src/core/lib/surface/channel_stack_type.cc |
| 2014 | src/core/lib/surface/completion_queue.cc |
| 2015 | src/core/lib/surface/completion_queue_factory.cc |
| 2016 | src/core/lib/surface/event_string.cc |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 2017 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2018 | src/core/lib/surface/metadata_array.cc |
| 2019 | src/core/lib/surface/server.cc |
| 2020 | src/core/lib/surface/validate_metadata.cc |
| 2021 | src/core/lib/surface/version.cc |
| 2022 | src/core/lib/transport/bdp_estimator.cc |
| 2023 | src/core/lib/transport/byte_stream.cc |
| 2024 | src/core/lib/transport/connectivity_state.cc |
| 2025 | src/core/lib/transport/error_utils.cc |
| 2026 | src/core/lib/transport/metadata.cc |
| 2027 | src/core/lib/transport/metadata_batch.cc |
| 2028 | src/core/lib/transport/pid_controller.cc |
| 2029 | src/core/lib/transport/service_config.cc |
| 2030 | src/core/lib/transport/static_metadata.cc |
| 2031 | src/core/lib/transport/status_conversion.cc |
| 2032 | src/core/lib/transport/timeout_encoding.cc |
| 2033 | src/core/lib/transport/transport.cc |
| 2034 | src/core/lib/transport/transport_op_string.cc |
| 2035 | src/core/lib/debug/trace.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 2036 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2037 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 2038 | src/core/ext/filters/client_channel/client_channel.cc |
| 2039 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 2040 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 2041 | src/core/ext/filters/client_channel/connector.cc |
| 2042 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 2043 | src/core/ext/filters/client_channel/http_proxy.cc |
| 2044 | src/core/ext/filters/client_channel/lb_policy.cc |
| 2045 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 2046 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 2047 | src/core/ext/filters/client_channel/parse_address.cc |
| 2048 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 2049 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 2050 | src/core/ext/filters/client_channel/resolver.cc |
| 2051 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 2052 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 2053 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 2054 | src/core/ext/filters/client_channel/subchannel.cc |
| 2055 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 2056 | src/core/ext/filters/client_channel/uri_parser.cc |
| 2057 | src/core/ext/filters/deadline/deadline_filter.cc |
| 2058 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 2059 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 2060 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 2061 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 2062 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 2063 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 2064 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 2065 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 2066 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 2067 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 2068 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 2069 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 2070 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 2071 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 2072 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 2073 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 2074 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 2075 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 2076 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 2077 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 2078 | src/core/ext/transport/chttp2/transport/varint.cc |
| 2079 | src/core/ext/transport/chttp2/transport/writing.cc |
| 2080 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 2081 | src/core/ext/filters/http/client/http_client_filter.cc |
| 2082 | src/core/ext/filters/http/http_filters_plugin.cc |
| 2083 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 2084 | src/core/ext/filters/http/server/http_server_filter.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2085 | ) |
| 2086 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2087 | if(WIN32 AND MSVC) |
| 2088 | set_target_properties(grpc_test_util_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_test_util_unsecure" |
| 2089 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2090 | ) |
| 2091 | if (gRPC_INSTALL) |
| 2092 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2093 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2094 | ) |
| 2095 | endif() |
| 2096 | endif() |
| 2097 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2098 | |
| 2099 | target_include_directories(grpc_test_util_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2100 | 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] | 2101 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2102 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2103 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2104 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2105 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2106 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 2107 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2108 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2109 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2110 | ) |
| 2111 | |
| 2112 | target_link_libraries(grpc_test_util_unsecure |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2113 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2114 | gpr |
| 2115 | gpr_test_util |
| 2116 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2117 | ) |
| 2118 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 2119 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2120 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 2121 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2122 | include/grpc/impl/codegen/compression_types.h |
| 2123 | include/grpc/impl/codegen/connectivity_state.h |
| 2124 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 2125 | include/grpc/impl/codegen/grpc_types.h |
| 2126 | include/grpc/impl/codegen/propagation_bits.h |
| 2127 | include/grpc/impl/codegen/slice.h |
| 2128 | include/grpc/impl/codegen/status.h |
| 2129 | include/grpc/impl/codegen/atm.h |
| 2130 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2131 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2132 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2133 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 2134 | include/grpc/impl/codegen/gpr_slice.h |
| 2135 | include/grpc/impl/codegen/gpr_types.h |
| 2136 | include/grpc/impl/codegen/port_platform.h |
| 2137 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2138 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 2139 | include/grpc/impl/codegen/sync_generic.h |
| 2140 | include/grpc/impl/codegen/sync_posix.h |
| 2141 | include/grpc/impl/codegen/sync_windows.h |
| 2142 | ) |
| 2143 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2144 | get_filename_component(_path ${_path} PATH) |
| 2145 | install(FILES ${_hdr} |
| 2146 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
| 2147 | ) |
| 2148 | endforeach() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2149 | |
| 2150 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2151 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2152 | add_library(grpc_unsecure |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2153 | src/core/lib/surface/init.cc |
| 2154 | src/core/lib/surface/init_unsecure.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 2155 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2156 | src/core/lib/channel/channel_args.cc |
| 2157 | src/core/lib/channel/channel_stack.cc |
| 2158 | src/core/lib/channel/channel_stack_builder.cc |
| 2159 | src/core/lib/channel/connected_channel.cc |
| 2160 | src/core/lib/channel/handshaker.cc |
| 2161 | src/core/lib/channel/handshaker_factory.cc |
| 2162 | src/core/lib/channel/handshaker_registry.cc |
| 2163 | src/core/lib/compression/compression.cc |
| 2164 | src/core/lib/compression/message_compress.cc |
| 2165 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 2166 | src/core/lib/compression/stream_compression_gzip.cc |
| 2167 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2168 | src/core/lib/debug/stats.cc |
| 2169 | src/core/lib/debug/stats_data.cc |
| 2170 | src/core/lib/http/format_request.cc |
| 2171 | src/core/lib/http/httpcli.cc |
| 2172 | src/core/lib/http/parser.cc |
| 2173 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2174 | src/core/lib/iomgr/combiner.cc |
| 2175 | src/core/lib/iomgr/endpoint.cc |
| 2176 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 2177 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 2178 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 2179 | src/core/lib/iomgr/error.cc |
| 2180 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 2181 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 2182 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 2183 | src/core/lib/iomgr/ev_poll_posix.cc |
| 2184 | src/core/lib/iomgr/ev_posix.cc |
| 2185 | src/core/lib/iomgr/ev_windows.cc |
| 2186 | src/core/lib/iomgr/exec_ctx.cc |
| 2187 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 2188 | src/core/lib/iomgr/fork_posix.cc |
| 2189 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2190 | src/core/lib/iomgr/gethostname_fallback.cc |
| 2191 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 2192 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 2193 | src/core/lib/iomgr/iocp_windows.cc |
| 2194 | src/core/lib/iomgr/iomgr.cc |
| 2195 | src/core/lib/iomgr/iomgr_posix.cc |
| 2196 | src/core/lib/iomgr/iomgr_uv.cc |
| 2197 | src/core/lib/iomgr/iomgr_windows.cc |
| 2198 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 2199 | src/core/lib/iomgr/load_file.cc |
| 2200 | src/core/lib/iomgr/lockfree_event.cc |
| 2201 | src/core/lib/iomgr/network_status_tracker.cc |
| 2202 | src/core/lib/iomgr/polling_entity.cc |
| 2203 | src/core/lib/iomgr/pollset_set_uv.cc |
| 2204 | src/core/lib/iomgr/pollset_set_windows.cc |
| 2205 | src/core/lib/iomgr/pollset_uv.cc |
| 2206 | src/core/lib/iomgr/pollset_windows.cc |
| 2207 | src/core/lib/iomgr/resolve_address_posix.cc |
| 2208 | src/core/lib/iomgr/resolve_address_uv.cc |
| 2209 | src/core/lib/iomgr/resolve_address_windows.cc |
| 2210 | src/core/lib/iomgr/resource_quota.cc |
| 2211 | src/core/lib/iomgr/sockaddr_utils.cc |
| 2212 | src/core/lib/iomgr/socket_factory_posix.cc |
| 2213 | src/core/lib/iomgr/socket_mutator.cc |
| 2214 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 2215 | src/core/lib/iomgr/socket_utils_linux.cc |
| 2216 | src/core/lib/iomgr/socket_utils_posix.cc |
| 2217 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 2218 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2219 | src/core/lib/iomgr/socket_windows.cc |
| 2220 | src/core/lib/iomgr/tcp_client_posix.cc |
| 2221 | src/core/lib/iomgr/tcp_client_uv.cc |
| 2222 | src/core/lib/iomgr/tcp_client_windows.cc |
| 2223 | src/core/lib/iomgr/tcp_posix.cc |
| 2224 | src/core/lib/iomgr/tcp_server_posix.cc |
| 2225 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 2226 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 2227 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 2228 | src/core/lib/iomgr/tcp_server_uv.cc |
| 2229 | src/core/lib/iomgr/tcp_server_windows.cc |
| 2230 | src/core/lib/iomgr/tcp_uv.cc |
| 2231 | src/core/lib/iomgr/tcp_windows.cc |
| 2232 | src/core/lib/iomgr/time_averaged_stats.cc |
| 2233 | src/core/lib/iomgr/timer_generic.cc |
| 2234 | src/core/lib/iomgr/timer_heap.cc |
| 2235 | src/core/lib/iomgr/timer_manager.cc |
| 2236 | src/core/lib/iomgr/timer_uv.cc |
| 2237 | src/core/lib/iomgr/udp_server.cc |
| 2238 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 2239 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 2240 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 2241 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 2242 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 2243 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 2244 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 2245 | src/core/lib/json/json.cc |
| 2246 | src/core/lib/json/json_reader.cc |
| 2247 | src/core/lib/json/json_string.cc |
| 2248 | src/core/lib/json/json_writer.cc |
| 2249 | src/core/lib/slice/b64.cc |
| 2250 | src/core/lib/slice/percent_encoding.cc |
| 2251 | src/core/lib/slice/slice.cc |
| 2252 | src/core/lib/slice/slice_buffer.cc |
| 2253 | src/core/lib/slice/slice_hash_table.cc |
| 2254 | src/core/lib/slice/slice_intern.cc |
| 2255 | src/core/lib/slice/slice_string_helpers.cc |
| 2256 | src/core/lib/surface/alarm.cc |
| 2257 | src/core/lib/surface/api_trace.cc |
| 2258 | src/core/lib/surface/byte_buffer.cc |
| 2259 | src/core/lib/surface/byte_buffer_reader.cc |
| 2260 | src/core/lib/surface/call.cc |
| 2261 | src/core/lib/surface/call_details.cc |
| 2262 | src/core/lib/surface/call_log_batch.cc |
| 2263 | src/core/lib/surface/channel.cc |
| 2264 | src/core/lib/surface/channel_init.cc |
| 2265 | src/core/lib/surface/channel_ping.cc |
| 2266 | src/core/lib/surface/channel_stack_type.cc |
| 2267 | src/core/lib/surface/completion_queue.cc |
| 2268 | src/core/lib/surface/completion_queue_factory.cc |
| 2269 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 2270 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2271 | src/core/lib/surface/metadata_array.cc |
| 2272 | src/core/lib/surface/server.cc |
| 2273 | src/core/lib/surface/validate_metadata.cc |
| 2274 | src/core/lib/surface/version.cc |
| 2275 | src/core/lib/transport/bdp_estimator.cc |
| 2276 | src/core/lib/transport/byte_stream.cc |
| 2277 | src/core/lib/transport/connectivity_state.cc |
| 2278 | src/core/lib/transport/error_utils.cc |
| 2279 | src/core/lib/transport/metadata.cc |
| 2280 | src/core/lib/transport/metadata_batch.cc |
| 2281 | src/core/lib/transport/pid_controller.cc |
| 2282 | src/core/lib/transport/service_config.cc |
| 2283 | src/core/lib/transport/static_metadata.cc |
| 2284 | src/core/lib/transport/status_conversion.cc |
| 2285 | src/core/lib/transport/timeout_encoding.cc |
| 2286 | src/core/lib/transport/transport.cc |
| 2287 | src/core/lib/transport/transport_op_string.cc |
| 2288 | src/core/lib/debug/trace.cc |
| 2289 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc |
| 2290 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc |
| 2291 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 2292 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 2293 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 2294 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 2295 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 2296 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 2297 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 2298 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 2299 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 2300 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 2301 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 2302 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 2303 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 2304 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 2305 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 2306 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 2307 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 2308 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 2309 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 2310 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 2311 | src/core/ext/transport/chttp2/transport/varint.cc |
| 2312 | src/core/ext/transport/chttp2/transport/writing.cc |
| 2313 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 2314 | src/core/ext/filters/http/client/http_client_filter.cc |
| 2315 | src/core/ext/filters/http/http_filters_plugin.cc |
| 2316 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 2317 | src/core/ext/filters/http/server/http_server_filter.cc |
| 2318 | src/core/ext/transport/chttp2/server/chttp2_server.cc |
| 2319 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 2320 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
| 2321 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 2322 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2323 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 2324 | src/core/ext/filters/client_channel/client_channel.cc |
| 2325 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 2326 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 2327 | src/core/ext/filters/client_channel/connector.cc |
| 2328 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 2329 | src/core/ext/filters/client_channel/http_proxy.cc |
| 2330 | src/core/ext/filters/client_channel/lb_policy.cc |
| 2331 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 2332 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 2333 | src/core/ext/filters/client_channel/parse_address.cc |
| 2334 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 2335 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 2336 | src/core/ext/filters/client_channel/resolver.cc |
| 2337 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 2338 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 2339 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 2340 | src/core/ext/filters/client_channel/subchannel.cc |
| 2341 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 2342 | src/core/ext/filters/client_channel/uri_parser.cc |
| 2343 | src/core/ext/filters/deadline/deadline_filter.cc |
| 2344 | src/core/ext/transport/inproc/inproc_plugin.cc |
| 2345 | src/core/ext/transport/inproc/inproc_transport.cc |
| 2346 | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc |
| 2347 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc |
| 2348 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc |
| 2349 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc |
| 2350 | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc |
| 2351 | src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc |
| 2352 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
| 2353 | src/core/ext/filters/load_reporting/server_load_reporting_filter.cc |
| 2354 | src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc |
| 2355 | src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc |
| 2356 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc |
| 2357 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.cc |
| 2358 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc |
| 2359 | 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] | 2360 | 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] | 2361 | third_party/nanopb/pb_common.c |
| 2362 | third_party/nanopb/pb_decode.c |
| 2363 | third_party/nanopb/pb_encode.c |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2364 | 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] | 2365 | src/core/ext/filters/client_channel/lb_policy/subchannel_list.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2366 | 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] | 2367 | src/core/ext/census/grpc_context.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2368 | src/core/ext/filters/max_age/max_age_filter.cc |
| 2369 | src/core/ext/filters/message_size/message_size_filter.cc |
| 2370 | src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc |
| 2371 | src/core/ext/filters/workarounds/workaround_utils.cc |
Yash Tibrewal | 1c9b584 | 2017-09-21 15:49:55 -0700 | [diff] [blame] | 2372 | src/core/plugin_registry/grpc_unsecure_plugin_registry.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2373 | ) |
| 2374 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2375 | if(WIN32 AND MSVC) |
| 2376 | set_target_properties(grpc_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_unsecure" |
| 2377 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2378 | ) |
| 2379 | if (gRPC_INSTALL) |
| 2380 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2381 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2382 | ) |
| 2383 | endif() |
| 2384 | endif() |
| 2385 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2386 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2387 | target_include_directories(grpc_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2388 | 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] | 2389 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2390 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2391 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2392 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2393 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2394 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 2395 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2396 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2397 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2398 | ) |
| 2399 | |
| 2400 | target_link_libraries(grpc_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2401 | ${_gRPC_BASELIB_LIBRARIES} |
Jan Tattermusch | 807693b | 2017-06-12 10:15:27 +0200 | [diff] [blame] | 2402 | ${_gRPC_ZLIB_LIBRARIES} |
| 2403 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2404 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2405 | gpr |
| 2406 | ) |
| 2407 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2408 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2409 | include/grpc/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2410 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2411 | include/grpc/impl/codegen/compression_types.h |
| 2412 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 2413 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2414 | include/grpc/impl/codegen/grpc_types.h |
| 2415 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2416 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2417 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2418 | include/grpc/impl/codegen/atm.h |
| 2419 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2420 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2421 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2422 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 2423 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 2424 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2425 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2426 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2427 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2428 | include/grpc/impl/codegen/sync_generic.h |
| 2429 | include/grpc/impl/codegen/sync_posix.h |
| 2430 | include/grpc/impl/codegen/sync_windows.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2431 | include/grpc/byte_buffer.h |
| 2432 | include/grpc/byte_buffer_reader.h |
| 2433 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2434 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2435 | include/grpc/grpc.h |
| 2436 | include/grpc/grpc_posix.h |
| 2437 | include/grpc/grpc_security_constants.h |
| 2438 | include/grpc/load_reporting.h |
| 2439 | include/grpc/slice.h |
| 2440 | include/grpc/slice_buffer.h |
| 2441 | include/grpc/status.h |
| 2442 | include/grpc/support/workaround_list.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2443 | include/grpc/census.h |
| 2444 | ) |
| 2445 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2446 | get_filename_component(_path ${_path} PATH) |
| 2447 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2448 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2449 | ) |
| 2450 | endforeach() |
| 2451 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2452 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2453 | if (gRPC_INSTALL) |
| 2454 | install(TARGETS grpc_unsecure EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2455 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 2456 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 2457 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2458 | ) |
| 2459 | endif() |
| 2460 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2461 | if (gRPC_BUILD_TESTS) |
| 2462 | |
| 2463 | add_library(reconnect_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 2464 | test/core/util/reconnect_server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2465 | ) |
| 2466 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2467 | if(WIN32 AND MSVC) |
| 2468 | set_target_properties(reconnect_server PROPERTIES COMPILE_PDB_NAME "reconnect_server" |
| 2469 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2470 | ) |
| 2471 | if (gRPC_INSTALL) |
| 2472 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/reconnect_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2473 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2474 | ) |
| 2475 | endif() |
| 2476 | endif() |
| 2477 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2478 | |
| 2479 | target_include_directories(reconnect_server |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2480 | 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] | 2481 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2482 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2483 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2484 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2485 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2486 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 2487 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2488 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2489 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2490 | ) |
| 2491 | |
| 2492 | target_link_libraries(reconnect_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2493 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2494 | test_tcp_server |
| 2495 | grpc_test_util |
| 2496 | grpc |
| 2497 | gpr_test_util |
| 2498 | gpr |
| 2499 | ) |
| 2500 | |
| 2501 | |
| 2502 | endif (gRPC_BUILD_TESTS) |
| 2503 | if (gRPC_BUILD_TESTS) |
| 2504 | |
| 2505 | add_library(test_tcp_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 2506 | test/core/util/test_tcp_server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2507 | ) |
| 2508 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2509 | if(WIN32 AND MSVC) |
| 2510 | set_target_properties(test_tcp_server PROPERTIES COMPILE_PDB_NAME "test_tcp_server" |
| 2511 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2512 | ) |
| 2513 | if (gRPC_INSTALL) |
| 2514 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/test_tcp_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2515 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2516 | ) |
| 2517 | endif() |
| 2518 | endif() |
| 2519 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2520 | |
| 2521 | target_include_directories(test_tcp_server |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2522 | 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] | 2523 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2524 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2525 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2526 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2527 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2528 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 2529 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2530 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2531 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2532 | ) |
| 2533 | |
| 2534 | target_link_libraries(test_tcp_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2535 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2536 | grpc_test_util |
| 2537 | grpc |
| 2538 | gpr_test_util |
| 2539 | gpr |
| 2540 | ) |
| 2541 | |
| 2542 | |
| 2543 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2544 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2545 | add_library(grpc++ |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2546 | src/cpp/client/insecure_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2547 | src/cpp/client/secure_credentials.cc |
| 2548 | src/cpp/common/auth_property_iterator.cc |
| 2549 | src/cpp/common/secure_auth_context.cc |
| 2550 | src/cpp/common/secure_channel_arguments.cc |
| 2551 | src/cpp/common/secure_create_auth_context.cc |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2552 | src/cpp/server/insecure_server_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2553 | src/cpp/server/secure_server_credentials.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2554 | src/cpp/client/channel_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2555 | src/cpp/client/client_context.cc |
| 2556 | src/cpp/client/create_channel.cc |
| 2557 | src/cpp/client/create_channel_internal.cc |
| 2558 | src/cpp/client/create_channel_posix.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2559 | src/cpp/client/credentials_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2560 | src/cpp/client/generic_stub.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2561 | src/cpp/common/channel_arguments.cc |
Mark D. Roth | 4004ac2 | 2016-08-02 10:08:27 -0700 | [diff] [blame] | 2562 | src/cpp/common/channel_filter.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2563 | src/cpp/common/completion_queue_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2564 | src/cpp/common/core_codegen.cc |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2565 | src/cpp/common/resource_quota_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2566 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 2567 | src/cpp/common/version_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2568 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2569 | src/cpp/server/channel_argument_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2570 | src/cpp/server/create_default_thread_pool.cc |
| 2571 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 2572 | src/cpp/server/health/default_health_check_service.cc |
| 2573 | src/cpp/server/health/health.pb.c |
| 2574 | src/cpp/server/health/health_check_service.cc |
| 2575 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2576 | src/cpp/server/server_builder.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2577 | src/cpp/server/server_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2578 | src/cpp/server/server_context.cc |
| 2579 | src/cpp/server/server_credentials.cc |
| 2580 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 8f7739b | 2016-10-13 15:12:55 -0700 | [diff] [blame] | 2581 | src/cpp/thread_manager/thread_manager.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2582 | src/cpp/util/byte_buffer_cc.cc |
| 2583 | src/cpp/util/slice_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2584 | src/cpp/util/status.cc |
| 2585 | src/cpp/util/string_ref.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2586 | src/cpp/util/time_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2587 | src/cpp/codegen/codegen_init.cc |
| 2588 | ) |
| 2589 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2590 | if(WIN32 AND MSVC) |
| 2591 | set_target_properties(grpc++ PROPERTIES COMPILE_PDB_NAME "grpc++" |
| 2592 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2593 | ) |
| 2594 | if (gRPC_INSTALL) |
| 2595 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2596 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2597 | ) |
| 2598 | endif() |
| 2599 | endif() |
| 2600 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2601 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2602 | target_include_directories(grpc++ |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2603 | 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] | 2604 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2605 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2606 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2607 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2608 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2609 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 2610 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2611 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2612 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2613 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2614 | ) |
| 2615 | |
| 2616 | target_link_libraries(grpc++ |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2617 | ${_gRPC_BASELIB_LIBRARIES} |
| 2618 | ${_gRPC_SSL_LIBRARIES} |
| 2619 | ${_gRPC_PROTOBUF_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2620 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2621 | grpc |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2622 | gpr |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2623 | ) |
| 2624 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2625 | foreach(_hdr |
| 2626 | include/grpc++/alarm.h |
| 2627 | include/grpc++/channel.h |
| 2628 | include/grpc++/client_context.h |
| 2629 | include/grpc++/completion_queue.h |
| 2630 | include/grpc++/create_channel.h |
| 2631 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 2632 | include/grpc++/ext/health_check_service_server_builder_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2633 | include/grpc++/generic/async_generic_service.h |
| 2634 | include/grpc++/generic/generic_stub.h |
| 2635 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 2636 | include/grpc++/health_check_service_interface.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2637 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2638 | include/grpc++/impl/channel_argument_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2639 | include/grpc++/impl/client_unary_call.h |
| 2640 | include/grpc++/impl/codegen/core_codegen.h |
| 2641 | include/grpc++/impl/grpc_library.h |
| 2642 | include/grpc++/impl/method_handler_impl.h |
| 2643 | include/grpc++/impl/rpc_method.h |
| 2644 | include/grpc++/impl/rpc_service_method.h |
| 2645 | include/grpc++/impl/serialization_traits.h |
| 2646 | include/grpc++/impl/server_builder_option.h |
| 2647 | include/grpc++/impl/server_builder_plugin.h |
| 2648 | include/grpc++/impl/server_initializer.h |
| 2649 | include/grpc++/impl/service_type.h |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2650 | include/grpc++/resource_quota.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2651 | include/grpc++/security/auth_context.h |
| 2652 | include/grpc++/security/auth_metadata_processor.h |
| 2653 | include/grpc++/security/credentials.h |
| 2654 | include/grpc++/security/server_credentials.h |
| 2655 | include/grpc++/server.h |
| 2656 | include/grpc++/server_builder.h |
| 2657 | include/grpc++/server_context.h |
| 2658 | include/grpc++/server_posix.h |
| 2659 | include/grpc++/support/async_stream.h |
| 2660 | include/grpc++/support/async_unary_call.h |
| 2661 | include/grpc++/support/byte_buffer.h |
| 2662 | include/grpc++/support/channel_arguments.h |
| 2663 | include/grpc++/support/config.h |
| 2664 | include/grpc++/support/slice.h |
| 2665 | include/grpc++/support/status.h |
| 2666 | include/grpc++/support/status_code_enum.h |
| 2667 | include/grpc++/support/string_ref.h |
| 2668 | include/grpc++/support/stub_options.h |
| 2669 | include/grpc++/support/sync_stream.h |
| 2670 | include/grpc++/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2671 | include/grpc/support/alloc.h |
| 2672 | include/grpc/support/atm.h |
| 2673 | include/grpc/support/atm_gcc_atomic.h |
| 2674 | include/grpc/support/atm_gcc_sync.h |
| 2675 | include/grpc/support/atm_windows.h |
| 2676 | include/grpc/support/avl.h |
| 2677 | include/grpc/support/cmdline.h |
| 2678 | include/grpc/support/cpu.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2679 | include/grpc/support/host_port.h |
| 2680 | include/grpc/support/log.h |
| 2681 | include/grpc/support/log_windows.h |
| 2682 | include/grpc/support/port_platform.h |
| 2683 | include/grpc/support/string_util.h |
| 2684 | include/grpc/support/subprocess.h |
| 2685 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2686 | include/grpc/support/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2687 | include/grpc/support/sync_generic.h |
| 2688 | include/grpc/support/sync_posix.h |
| 2689 | include/grpc/support/sync_windows.h |
| 2690 | include/grpc/support/thd.h |
| 2691 | include/grpc/support/time.h |
| 2692 | include/grpc/support/tls.h |
| 2693 | include/grpc/support/tls_gcc.h |
| 2694 | include/grpc/support/tls_msvc.h |
| 2695 | include/grpc/support/tls_pthread.h |
| 2696 | include/grpc/support/useful.h |
| 2697 | include/grpc/impl/codegen/atm.h |
| 2698 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2699 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2700 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2701 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2702 | include/grpc/impl/codegen/gpr_slice.h |
| 2703 | include/grpc/impl/codegen/gpr_types.h |
| 2704 | include/grpc/impl/codegen/port_platform.h |
| 2705 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2706 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2707 | include/grpc/impl/codegen/sync_generic.h |
| 2708 | include/grpc/impl/codegen/sync_posix.h |
| 2709 | include/grpc/impl/codegen/sync_windows.h |
| 2710 | include/grpc/byte_buffer.h |
| 2711 | include/grpc/byte_buffer_reader.h |
| 2712 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 2713 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2714 | include/grpc/grpc.h |
| 2715 | include/grpc/grpc_posix.h |
| 2716 | include/grpc/grpc_security_constants.h |
| 2717 | include/grpc/load_reporting.h |
| 2718 | include/grpc/slice.h |
| 2719 | include/grpc/slice_buffer.h |
| 2720 | include/grpc/status.h |
| 2721 | include/grpc/support/workaround_list.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2722 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2723 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2724 | include/grpc/impl/codegen/compression_types.h |
| 2725 | include/grpc/impl/codegen/connectivity_state.h |
| 2726 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 2727 | include/grpc/impl/codegen/grpc_types.h |
| 2728 | include/grpc/impl/codegen/propagation_bits.h |
| 2729 | include/grpc/impl/codegen/slice.h |
| 2730 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2731 | include/grpc++/impl/codegen/async_stream.h |
| 2732 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2733 | include/grpc++/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2734 | include/grpc++/impl/codegen/call.h |
| 2735 | include/grpc++/impl/codegen/call_hook.h |
| 2736 | include/grpc++/impl/codegen/channel_interface.h |
| 2737 | include/grpc++/impl/codegen/client_context.h |
| 2738 | include/grpc++/impl/codegen/client_unary_call.h |
| 2739 | include/grpc++/impl/codegen/completion_queue.h |
| 2740 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 2741 | include/grpc++/impl/codegen/config.h |
| 2742 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 2743 | include/grpc++/impl/codegen/create_auth_context.h |
| 2744 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 2745 | include/grpc++/impl/codegen/metadata_map.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2746 | include/grpc++/impl/codegen/method_handler_impl.h |
| 2747 | include/grpc++/impl/codegen/rpc_method.h |
| 2748 | include/grpc++/impl/codegen/rpc_service_method.h |
| 2749 | include/grpc++/impl/codegen/security/auth_context.h |
| 2750 | include/grpc++/impl/codegen/serialization_traits.h |
| 2751 | include/grpc++/impl/codegen/server_context.h |
| 2752 | include/grpc++/impl/codegen/server_interface.h |
| 2753 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2754 | include/grpc++/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2755 | include/grpc++/impl/codegen/status.h |
| 2756 | include/grpc++/impl/codegen/status_code_enum.h |
| 2757 | include/grpc++/impl/codegen/string_ref.h |
| 2758 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2759 | include/grpc++/impl/codegen/sync_stream.h |
| 2760 | include/grpc++/impl/codegen/time.h |
Piotr Pietraszkiewicz | a5fac1f | 2017-02-09 11:15:44 +0100 | [diff] [blame] | 2761 | include/grpc++/impl/codegen/proto_utils.h |
| 2762 | include/grpc++/impl/codegen/config_protobuf.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2763 | ) |
| 2764 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2765 | get_filename_component(_path ${_path} PATH) |
| 2766 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2767 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2768 | ) |
| 2769 | endforeach() |
| 2770 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2771 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2772 | if (gRPC_INSTALL) |
| 2773 | install(TARGETS grpc++ EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2774 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 2775 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 2776 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2777 | ) |
| 2778 | endif() |
| 2779 | |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 2780 | if (gRPC_BUILD_TESTS) |
| 2781 | |
| 2782 | add_library(grpc++_core_stats |
| 2783 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.pb.cc |
| 2784 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.grpc.pb.cc |
| 2785 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.pb.h |
| 2786 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.grpc.pb.h |
| 2787 | src/cpp/util/core_stats.cc |
| 2788 | ) |
| 2789 | |
| 2790 | if(WIN32 AND MSVC) |
| 2791 | set_target_properties(grpc++_core_stats PROPERTIES COMPILE_PDB_NAME "grpc++_core_stats" |
| 2792 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2793 | ) |
| 2794 | if (gRPC_INSTALL) |
| 2795 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_core_stats.pdb |
| 2796 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
| 2797 | ) |
| 2798 | endif() |
| 2799 | endif() |
| 2800 | |
| 2801 | protobuf_generate_grpc_cpp( |
| 2802 | src/proto/grpc/core/stats.proto |
| 2803 | ) |
| 2804 | |
| 2805 | target_include_directories(grpc++_core_stats |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2806 | 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] | 2807 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 2808 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 2809 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2810 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 2811 | PRIVATE ${BENCHMARK}/include |
| 2812 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 2813 | PRIVATE ${CARES_INCLUDE_DIR} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 2814 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 2815 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2816 | PRIVATE third_party/googletest/googletest/include |
| 2817 | PRIVATE third_party/googletest/googletest |
| 2818 | PRIVATE third_party/googletest/googlemock/include |
| 2819 | PRIVATE third_party/googletest/googlemock |
| 2820 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 2821 | ) |
| 2822 | |
| 2823 | target_link_libraries(grpc++_core_stats |
| 2824 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2825 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 2826 | grpc++ |
| 2827 | ) |
| 2828 | |
| 2829 | foreach(_hdr |
| 2830 | src/cpp/util/core_stats.h |
| 2831 | ) |
| 2832 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2833 | get_filename_component(_path ${_path} PATH) |
| 2834 | install(FILES ${_hdr} |
| 2835 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
| 2836 | ) |
| 2837 | endforeach() |
| 2838 | |
| 2839 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2840 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2841 | add_library(grpc++_cronet |
| 2842 | src/cpp/client/cronet_credentials.cc |
| 2843 | src/cpp/client/insecure_credentials.cc |
| 2844 | src/cpp/common/insecure_create_auth_context.cc |
| 2845 | src/cpp/server/insecure_server_credentials.cc |
| 2846 | src/cpp/client/channel_cc.cc |
| 2847 | src/cpp/client/client_context.cc |
| 2848 | src/cpp/client/create_channel.cc |
| 2849 | src/cpp/client/create_channel_internal.cc |
| 2850 | src/cpp/client/create_channel_posix.cc |
| 2851 | src/cpp/client/credentials_cc.cc |
| 2852 | src/cpp/client/generic_stub.cc |
| 2853 | src/cpp/common/channel_arguments.cc |
| 2854 | src/cpp/common/channel_filter.cc |
| 2855 | src/cpp/common/completion_queue_cc.cc |
| 2856 | src/cpp/common/core_codegen.cc |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 2857 | src/cpp/common/resource_quota_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2858 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 2859 | src/cpp/common/version_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2860 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2861 | src/cpp/server/channel_argument_option.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2862 | src/cpp/server/create_default_thread_pool.cc |
| 2863 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 2864 | src/cpp/server/health/default_health_check_service.cc |
| 2865 | src/cpp/server/health/health.pb.c |
| 2866 | src/cpp/server/health/health_check_service.cc |
| 2867 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2868 | src/cpp/server/server_builder.cc |
| 2869 | src/cpp/server/server_cc.cc |
| 2870 | src/cpp/server/server_context.cc |
| 2871 | src/cpp/server/server_credentials.cc |
| 2872 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 33d5494 | 2016-10-25 10:03:52 -0700 | [diff] [blame] | 2873 | src/cpp/thread_manager/thread_manager.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2874 | src/cpp/util/byte_buffer_cc.cc |
| 2875 | src/cpp/util/slice_cc.cc |
| 2876 | src/cpp/util/status.cc |
| 2877 | src/cpp/util/string_ref.cc |
| 2878 | src/cpp/util/time_cc.cc |
yang-g | 75ea6a2 | 2017-05-19 13:06:37 -0700 | [diff] [blame] | 2879 | src/cpp/codegen/codegen_init.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2880 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 2881 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
| 2882 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
| 2883 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 2884 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 2885 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 2886 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 2887 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 2888 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 2889 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 2890 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 2891 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 2892 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 2893 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 2894 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 2895 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 2896 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 2897 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 2898 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 2899 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 2900 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 2901 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 2902 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 2903 | src/core/ext/transport/chttp2/transport/varint.cc |
| 2904 | src/core/ext/transport/chttp2/transport/writing.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 2905 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2906 | src/core/lib/channel/channel_args.cc |
| 2907 | src/core/lib/channel/channel_stack.cc |
| 2908 | src/core/lib/channel/channel_stack_builder.cc |
| 2909 | src/core/lib/channel/connected_channel.cc |
| 2910 | src/core/lib/channel/handshaker.cc |
| 2911 | src/core/lib/channel/handshaker_factory.cc |
| 2912 | src/core/lib/channel/handshaker_registry.cc |
| 2913 | src/core/lib/compression/compression.cc |
| 2914 | src/core/lib/compression/message_compress.cc |
| 2915 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 2916 | src/core/lib/compression/stream_compression_gzip.cc |
| 2917 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2918 | src/core/lib/debug/stats.cc |
| 2919 | src/core/lib/debug/stats_data.cc |
| 2920 | src/core/lib/http/format_request.cc |
| 2921 | src/core/lib/http/httpcli.cc |
| 2922 | src/core/lib/http/parser.cc |
| 2923 | src/core/lib/iomgr/call_combiner.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2924 | src/core/lib/iomgr/combiner.cc |
| 2925 | src/core/lib/iomgr/endpoint.cc |
| 2926 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 2927 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 2928 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 2929 | src/core/lib/iomgr/error.cc |
| 2930 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 2931 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 2932 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 2933 | src/core/lib/iomgr/ev_poll_posix.cc |
| 2934 | src/core/lib/iomgr/ev_posix.cc |
| 2935 | src/core/lib/iomgr/ev_windows.cc |
| 2936 | src/core/lib/iomgr/exec_ctx.cc |
| 2937 | src/core/lib/iomgr/executor.cc |
Nicolas "Pixel" Noble | 18a6837 | 2017-11-20 23:33:22 +0100 | [diff] [blame] | 2938 | src/core/lib/iomgr/fork_posix.cc |
| 2939 | src/core/lib/iomgr/fork_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2940 | src/core/lib/iomgr/gethostname_fallback.cc |
| 2941 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 2942 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 2943 | src/core/lib/iomgr/iocp_windows.cc |
| 2944 | src/core/lib/iomgr/iomgr.cc |
| 2945 | src/core/lib/iomgr/iomgr_posix.cc |
| 2946 | src/core/lib/iomgr/iomgr_uv.cc |
| 2947 | src/core/lib/iomgr/iomgr_windows.cc |
| 2948 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 2949 | src/core/lib/iomgr/load_file.cc |
| 2950 | src/core/lib/iomgr/lockfree_event.cc |
| 2951 | src/core/lib/iomgr/network_status_tracker.cc |
| 2952 | src/core/lib/iomgr/polling_entity.cc |
| 2953 | src/core/lib/iomgr/pollset_set_uv.cc |
| 2954 | src/core/lib/iomgr/pollset_set_windows.cc |
| 2955 | src/core/lib/iomgr/pollset_uv.cc |
| 2956 | src/core/lib/iomgr/pollset_windows.cc |
| 2957 | src/core/lib/iomgr/resolve_address_posix.cc |
| 2958 | src/core/lib/iomgr/resolve_address_uv.cc |
| 2959 | src/core/lib/iomgr/resolve_address_windows.cc |
| 2960 | src/core/lib/iomgr/resource_quota.cc |
| 2961 | src/core/lib/iomgr/sockaddr_utils.cc |
| 2962 | src/core/lib/iomgr/socket_factory_posix.cc |
| 2963 | src/core/lib/iomgr/socket_mutator.cc |
| 2964 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 2965 | src/core/lib/iomgr/socket_utils_linux.cc |
| 2966 | src/core/lib/iomgr/socket_utils_posix.cc |
| 2967 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 2968 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2969 | src/core/lib/iomgr/socket_windows.cc |
| 2970 | src/core/lib/iomgr/tcp_client_posix.cc |
| 2971 | src/core/lib/iomgr/tcp_client_uv.cc |
| 2972 | src/core/lib/iomgr/tcp_client_windows.cc |
| 2973 | src/core/lib/iomgr/tcp_posix.cc |
| 2974 | src/core/lib/iomgr/tcp_server_posix.cc |
| 2975 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 2976 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 2977 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 2978 | src/core/lib/iomgr/tcp_server_uv.cc |
| 2979 | src/core/lib/iomgr/tcp_server_windows.cc |
| 2980 | src/core/lib/iomgr/tcp_uv.cc |
| 2981 | src/core/lib/iomgr/tcp_windows.cc |
| 2982 | src/core/lib/iomgr/time_averaged_stats.cc |
| 2983 | src/core/lib/iomgr/timer_generic.cc |
| 2984 | src/core/lib/iomgr/timer_heap.cc |
| 2985 | src/core/lib/iomgr/timer_manager.cc |
| 2986 | src/core/lib/iomgr/timer_uv.cc |
| 2987 | src/core/lib/iomgr/udp_server.cc |
| 2988 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 2989 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 2990 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 2991 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 2992 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 2993 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 2994 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 2995 | src/core/lib/json/json.cc |
| 2996 | src/core/lib/json/json_reader.cc |
| 2997 | src/core/lib/json/json_string.cc |
| 2998 | src/core/lib/json/json_writer.cc |
| 2999 | src/core/lib/slice/b64.cc |
| 3000 | src/core/lib/slice/percent_encoding.cc |
| 3001 | src/core/lib/slice/slice.cc |
| 3002 | src/core/lib/slice/slice_buffer.cc |
| 3003 | src/core/lib/slice/slice_hash_table.cc |
| 3004 | src/core/lib/slice/slice_intern.cc |
| 3005 | src/core/lib/slice/slice_string_helpers.cc |
| 3006 | src/core/lib/surface/alarm.cc |
| 3007 | src/core/lib/surface/api_trace.cc |
| 3008 | src/core/lib/surface/byte_buffer.cc |
| 3009 | src/core/lib/surface/byte_buffer_reader.cc |
| 3010 | src/core/lib/surface/call.cc |
| 3011 | src/core/lib/surface/call_details.cc |
| 3012 | src/core/lib/surface/call_log_batch.cc |
| 3013 | src/core/lib/surface/channel.cc |
| 3014 | src/core/lib/surface/channel_init.cc |
| 3015 | src/core/lib/surface/channel_ping.cc |
| 3016 | src/core/lib/surface/channel_stack_type.cc |
| 3017 | src/core/lib/surface/completion_queue.cc |
| 3018 | src/core/lib/surface/completion_queue_factory.cc |
| 3019 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 3020 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3021 | src/core/lib/surface/metadata_array.cc |
| 3022 | src/core/lib/surface/server.cc |
| 3023 | src/core/lib/surface/validate_metadata.cc |
| 3024 | src/core/lib/surface/version.cc |
| 3025 | src/core/lib/transport/bdp_estimator.cc |
| 3026 | src/core/lib/transport/byte_stream.cc |
| 3027 | src/core/lib/transport/connectivity_state.cc |
| 3028 | src/core/lib/transport/error_utils.cc |
| 3029 | src/core/lib/transport/metadata.cc |
| 3030 | src/core/lib/transport/metadata_batch.cc |
| 3031 | src/core/lib/transport/pid_controller.cc |
| 3032 | src/core/lib/transport/service_config.cc |
| 3033 | src/core/lib/transport/static_metadata.cc |
| 3034 | src/core/lib/transport/status_conversion.cc |
| 3035 | src/core/lib/transport/timeout_encoding.cc |
| 3036 | src/core/lib/transport/transport.cc |
| 3037 | src/core/lib/transport/transport_op_string.cc |
| 3038 | src/core/lib/debug/trace.cc |
| 3039 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 3040 | src/core/ext/filters/http/client/http_client_filter.cc |
| 3041 | src/core/ext/filters/http/http_filters_plugin.cc |
| 3042 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 3043 | src/core/ext/filters/http/server/http_server_filter.cc |
Yuchen Zeng | 0bad30a | 2017-10-05 21:47:39 -0700 | [diff] [blame] | 3044 | src/core/ext/filters/client_channel/backup_poller.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3045 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 3046 | src/core/ext/filters/client_channel/client_channel.cc |
| 3047 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 3048 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 3049 | src/core/ext/filters/client_channel/connector.cc |
| 3050 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 3051 | src/core/ext/filters/client_channel/http_proxy.cc |
| 3052 | src/core/ext/filters/client_channel/lb_policy.cc |
| 3053 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 3054 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 3055 | src/core/ext/filters/client_channel/parse_address.cc |
| 3056 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 3057 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 3058 | src/core/ext/filters/client_channel/resolver.cc |
| 3059 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 3060 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 3061 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 3062 | src/core/ext/filters/client_channel/subchannel.cc |
| 3063 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 3064 | src/core/ext/filters/client_channel/uri_parser.cc |
| 3065 | src/core/ext/filters/deadline/deadline_filter.cc |
| 3066 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc |
| 3067 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc |
| 3068 | src/core/ext/transport/chttp2/server/chttp2_server.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3069 | src/core/ext/census/grpc_context.cc |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3070 | third_party/nanopb/pb_common.c |
| 3071 | third_party/nanopb/pb_decode.c |
| 3072 | third_party/nanopb/pb_encode.c |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3073 | ) |
| 3074 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3075 | if(WIN32 AND MSVC) |
| 3076 | set_target_properties(grpc++_cronet PROPERTIES COMPILE_PDB_NAME "grpc++_cronet" |
| 3077 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3078 | ) |
| 3079 | if (gRPC_INSTALL) |
| 3080 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_cronet.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3081 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3082 | ) |
| 3083 | endif() |
| 3084 | endif() |
| 3085 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3086 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3087 | target_include_directories(grpc++_cronet |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3088 | 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] | 3089 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3090 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3091 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3092 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3093 | PRIVATE ${BENCHMARK}/include |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3094 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | f1cd449 | 2016-10-25 11:26:17 -0700 | [diff] [blame] | 3095 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3096 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3097 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3098 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3099 | ) |
| 3100 | |
| 3101 | target_link_libraries(grpc++_cronet |
| 3102 | ${_gRPC_BASELIB_LIBRARIES} |
| 3103 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3104 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3105 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3106 | gpr |
| 3107 | grpc_cronet |
yang-g | 75ea6a2 | 2017-05-19 13:06:37 -0700 | [diff] [blame] | 3108 | grpc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3109 | ) |
| 3110 | |
| 3111 | foreach(_hdr |
| 3112 | include/grpc++/alarm.h |
| 3113 | include/grpc++/channel.h |
| 3114 | include/grpc++/client_context.h |
| 3115 | include/grpc++/completion_queue.h |
| 3116 | include/grpc++/create_channel.h |
| 3117 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 3118 | include/grpc++/ext/health_check_service_server_builder_option.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3119 | include/grpc++/generic/async_generic_service.h |
| 3120 | include/grpc++/generic/generic_stub.h |
| 3121 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 3122 | include/grpc++/health_check_service_interface.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3123 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 3124 | include/grpc++/impl/channel_argument_option.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3125 | include/grpc++/impl/client_unary_call.h |
| 3126 | include/grpc++/impl/codegen/core_codegen.h |
| 3127 | include/grpc++/impl/grpc_library.h |
| 3128 | include/grpc++/impl/method_handler_impl.h |
| 3129 | include/grpc++/impl/rpc_method.h |
| 3130 | include/grpc++/impl/rpc_service_method.h |
| 3131 | include/grpc++/impl/serialization_traits.h |
| 3132 | include/grpc++/impl/server_builder_option.h |
| 3133 | include/grpc++/impl/server_builder_plugin.h |
| 3134 | include/grpc++/impl/server_initializer.h |
| 3135 | include/grpc++/impl/service_type.h |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 3136 | include/grpc++/resource_quota.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3137 | include/grpc++/security/auth_context.h |
| 3138 | include/grpc++/security/auth_metadata_processor.h |
| 3139 | include/grpc++/security/credentials.h |
| 3140 | include/grpc++/security/server_credentials.h |
| 3141 | include/grpc++/server.h |
| 3142 | include/grpc++/server_builder.h |
| 3143 | include/grpc++/server_context.h |
| 3144 | include/grpc++/server_posix.h |
| 3145 | include/grpc++/support/async_stream.h |
| 3146 | include/grpc++/support/async_unary_call.h |
| 3147 | include/grpc++/support/byte_buffer.h |
| 3148 | include/grpc++/support/channel_arguments.h |
| 3149 | include/grpc++/support/config.h |
| 3150 | include/grpc++/support/slice.h |
| 3151 | include/grpc++/support/status.h |
| 3152 | include/grpc++/support/status_code_enum.h |
| 3153 | include/grpc++/support/string_ref.h |
| 3154 | include/grpc++/support/stub_options.h |
| 3155 | include/grpc++/support/sync_stream.h |
| 3156 | include/grpc++/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3157 | include/grpc/support/alloc.h |
| 3158 | include/grpc/support/atm.h |
| 3159 | include/grpc/support/atm_gcc_atomic.h |
| 3160 | include/grpc/support/atm_gcc_sync.h |
| 3161 | include/grpc/support/atm_windows.h |
| 3162 | include/grpc/support/avl.h |
| 3163 | include/grpc/support/cmdline.h |
| 3164 | include/grpc/support/cpu.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3165 | include/grpc/support/host_port.h |
| 3166 | include/grpc/support/log.h |
| 3167 | include/grpc/support/log_windows.h |
| 3168 | include/grpc/support/port_platform.h |
| 3169 | include/grpc/support/string_util.h |
| 3170 | include/grpc/support/subprocess.h |
| 3171 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3172 | include/grpc/support/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3173 | include/grpc/support/sync_generic.h |
| 3174 | include/grpc/support/sync_posix.h |
| 3175 | include/grpc/support/sync_windows.h |
| 3176 | include/grpc/support/thd.h |
| 3177 | include/grpc/support/time.h |
| 3178 | include/grpc/support/tls.h |
| 3179 | include/grpc/support/tls_gcc.h |
| 3180 | include/grpc/support/tls_msvc.h |
| 3181 | include/grpc/support/tls_pthread.h |
| 3182 | include/grpc/support/useful.h |
| 3183 | include/grpc/impl/codegen/atm.h |
| 3184 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3185 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3186 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3187 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3188 | include/grpc/impl/codegen/gpr_slice.h |
| 3189 | include/grpc/impl/codegen/gpr_types.h |
| 3190 | include/grpc/impl/codegen/port_platform.h |
| 3191 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3192 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3193 | include/grpc/impl/codegen/sync_generic.h |
| 3194 | include/grpc/impl/codegen/sync_posix.h |
| 3195 | include/grpc/impl/codegen/sync_windows.h |
| 3196 | include/grpc/byte_buffer.h |
| 3197 | include/grpc/byte_buffer_reader.h |
| 3198 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3199 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3200 | include/grpc/grpc.h |
| 3201 | include/grpc/grpc_posix.h |
| 3202 | include/grpc/grpc_security_constants.h |
| 3203 | include/grpc/load_reporting.h |
| 3204 | include/grpc/slice.h |
| 3205 | include/grpc/slice_buffer.h |
| 3206 | include/grpc/status.h |
| 3207 | include/grpc/support/workaround_list.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3208 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3209 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3210 | include/grpc/impl/codegen/compression_types.h |
| 3211 | include/grpc/impl/codegen/connectivity_state.h |
| 3212 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 3213 | include/grpc/impl/codegen/grpc_types.h |
| 3214 | include/grpc/impl/codegen/propagation_bits.h |
| 3215 | include/grpc/impl/codegen/slice.h |
| 3216 | include/grpc/impl/codegen/status.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3217 | include/grpc++/impl/codegen/async_stream.h |
| 3218 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3219 | include/grpc++/impl/codegen/byte_buffer.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3220 | include/grpc++/impl/codegen/call.h |
| 3221 | include/grpc++/impl/codegen/call_hook.h |
| 3222 | include/grpc++/impl/codegen/channel_interface.h |
| 3223 | include/grpc++/impl/codegen/client_context.h |
| 3224 | include/grpc++/impl/codegen/client_unary_call.h |
| 3225 | include/grpc++/impl/codegen/completion_queue.h |
| 3226 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3227 | include/grpc++/impl/codegen/config.h |
| 3228 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3229 | include/grpc++/impl/codegen/create_auth_context.h |
| 3230 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3231 | include/grpc++/impl/codegen/metadata_map.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3232 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3233 | include/grpc++/impl/codegen/rpc_method.h |
| 3234 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3235 | include/grpc++/impl/codegen/security/auth_context.h |
| 3236 | include/grpc++/impl/codegen/serialization_traits.h |
| 3237 | include/grpc++/impl/codegen/server_context.h |
| 3238 | include/grpc++/impl/codegen/server_interface.h |
| 3239 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3240 | include/grpc++/impl/codegen/slice.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3241 | include/grpc++/impl/codegen/status.h |
| 3242 | include/grpc++/impl/codegen/status_code_enum.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3243 | include/grpc++/impl/codegen/string_ref.h |
| 3244 | include/grpc++/impl/codegen/stub_options.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3245 | include/grpc++/impl/codegen/sync_stream.h |
| 3246 | include/grpc++/impl/codegen/time.h |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 3247 | include/grpc/census.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3248 | ) |
| 3249 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3250 | get_filename_component(_path ${_path} PATH) |
| 3251 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3252 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3253 | ) |
| 3254 | endforeach() |
| 3255 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3256 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3257 | if (gRPC_INSTALL) |
| 3258 | install(TARGETS grpc++_cronet EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3259 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3260 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3261 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3262 | ) |
| 3263 | endif() |
| 3264 | |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3265 | |
| 3266 | add_library(grpc++_error_details |
| 3267 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.cc |
| 3268 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.cc |
| 3269 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.h |
| 3270 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.h |
| 3271 | src/cpp/util/error_details.cc |
| 3272 | ) |
| 3273 | |
| 3274 | if(WIN32 AND MSVC) |
| 3275 | set_target_properties(grpc++_error_details PROPERTIES COMPILE_PDB_NAME "grpc++_error_details" |
| 3276 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3277 | ) |
| 3278 | if (gRPC_INSTALL) |
| 3279 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_error_details.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3280 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3281 | ) |
| 3282 | endif() |
| 3283 | endif() |
| 3284 | |
| 3285 | protobuf_generate_grpc_cpp( |
| 3286 | src/proto/grpc/status/status.proto |
| 3287 | ) |
| 3288 | |
| 3289 | target_include_directories(grpc++_error_details |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3290 | 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] | 3291 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3292 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3293 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3294 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 3295 | PRIVATE ${BENCHMARK}/include |
| 3296 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3297 | PRIVATE ${CARES_INCLUDE_DIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3298 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 3299 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3300 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3301 | ) |
| 3302 | |
| 3303 | target_link_libraries(grpc++_error_details |
| 3304 | ${_gRPC_BASELIB_LIBRARIES} |
| 3305 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3306 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3307 | grpc++ |
| 3308 | ) |
| 3309 | |
| 3310 | foreach(_hdr |
| 3311 | include/grpc++/support/error_details.h |
| 3312 | ) |
| 3313 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3314 | get_filename_component(_path ${_path} PATH) |
| 3315 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3316 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3317 | ) |
| 3318 | endforeach() |
| 3319 | |
| 3320 | |
| 3321 | if (gRPC_INSTALL) |
| 3322 | install(TARGETS grpc++_error_details EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3323 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3324 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3325 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3326 | ) |
| 3327 | endif() |
| 3328 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3329 | if (gRPC_BUILD_TESTS) |
| 3330 | |
| 3331 | add_library(grpc++_proto_reflection_desc_db |
| 3332 | test/cpp/util/proto_reflection_descriptor_database.cc |
| 3333 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3334 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3335 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3336 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3337 | ) |
| 3338 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3339 | if(WIN32 AND MSVC) |
| 3340 | set_target_properties(grpc++_proto_reflection_desc_db PROPERTIES COMPILE_PDB_NAME "grpc++_proto_reflection_desc_db" |
| 3341 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3342 | ) |
| 3343 | if (gRPC_INSTALL) |
| 3344 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_proto_reflection_desc_db.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3345 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3346 | ) |
| 3347 | endif() |
| 3348 | endif() |
| 3349 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3350 | protobuf_generate_grpc_cpp( |
| 3351 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3352 | ) |
| 3353 | |
| 3354 | target_include_directories(grpc++_proto_reflection_desc_db |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3355 | 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] | 3356 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3357 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3358 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3359 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3360 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3361 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3362 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3363 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3364 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3365 | PRIVATE third_party/googletest/googletest/include |
| 3366 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3367 | PRIVATE third_party/googletest/googlemock/include |
| 3368 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3369 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3370 | ) |
| 3371 | |
| 3372 | target_link_libraries(grpc++_proto_reflection_desc_db |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3373 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3374 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3375 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3376 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3377 | ) |
| 3378 | |
| 3379 | foreach(_hdr |
| 3380 | include/grpc++/impl/codegen/config_protobuf.h |
| 3381 | ) |
| 3382 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3383 | get_filename_component(_path ${_path} PATH) |
| 3384 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3385 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3386 | ) |
| 3387 | endforeach() |
| 3388 | |
| 3389 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3390 | |
| 3391 | add_library(grpc++_reflection |
| 3392 | src/cpp/ext/proto_server_reflection.cc |
| 3393 | src/cpp/ext/proto_server_reflection_plugin.cc |
| 3394 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3395 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3396 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3397 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3398 | ) |
| 3399 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3400 | if(WIN32 AND MSVC) |
| 3401 | set_target_properties(grpc++_reflection PROPERTIES COMPILE_PDB_NAME "grpc++_reflection" |
| 3402 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3403 | ) |
| 3404 | if (gRPC_INSTALL) |
| 3405 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_reflection.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3406 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3407 | ) |
| 3408 | endif() |
| 3409 | endif() |
| 3410 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3411 | protobuf_generate_grpc_cpp( |
| 3412 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3413 | ) |
| 3414 | |
| 3415 | target_include_directories(grpc++_reflection |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3416 | 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] | 3417 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3418 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3419 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3420 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3421 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3422 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3423 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3424 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3425 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3426 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3427 | ) |
| 3428 | |
| 3429 | target_link_libraries(grpc++_reflection |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3430 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3431 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3432 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3433 | grpc |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3434 | ) |
| 3435 | |
| 3436 | foreach(_hdr |
| 3437 | include/grpc++/ext/proto_server_reflection_plugin.h |
| 3438 | ) |
| 3439 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3440 | get_filename_component(_path ${_path} PATH) |
| 3441 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3442 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3443 | ) |
| 3444 | endforeach() |
| 3445 | |
| 3446 | |
| 3447 | if (gRPC_INSTALL) |
| 3448 | install(TARGETS grpc++_reflection EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3449 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3450 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3451 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3452 | ) |
| 3453 | endif() |
| 3454 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3455 | if (gRPC_BUILD_TESTS) |
| 3456 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3457 | add_library(grpc++_test_config |
| 3458 | test/cpp/util/test_config_cc.cc |
| 3459 | ) |
| 3460 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3461 | if(WIN32 AND MSVC) |
| 3462 | set_target_properties(grpc++_test_config PROPERTIES COMPILE_PDB_NAME "grpc++_test_config" |
| 3463 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3464 | ) |
| 3465 | if (gRPC_INSTALL) |
| 3466 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_config.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3467 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3468 | ) |
| 3469 | endif() |
| 3470 | endif() |
| 3471 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3472 | |
| 3473 | target_include_directories(grpc++_test_config |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3474 | 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] | 3475 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3476 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3477 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3478 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3479 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3480 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3481 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3482 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3483 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3484 | PRIVATE third_party/googletest/googletest/include |
| 3485 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3486 | PRIVATE third_party/googletest/googlemock/include |
| 3487 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3488 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3489 | ) |
| 3490 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3491 | target_link_libraries(grpc++_test_config |
| 3492 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3493 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3494 | ) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3495 | |
| 3496 | |
| 3497 | endif (gRPC_BUILD_TESTS) |
| 3498 | if (gRPC_BUILD_TESTS) |
| 3499 | |
| 3500 | add_library(grpc++_test_util |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 3501 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.cc |
| 3502 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.cc |
| 3503 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.h |
| 3504 | ${_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] | 3505 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 3506 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 3507 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 3508 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 3509 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 3510 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 3511 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 3512 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3513 | ${_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] | 3514 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc |
| 3515 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 3516 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h |
| 3517 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h |
| 3518 | test/cpp/end2end/test_service_impl.cc |
| 3519 | test/cpp/util/byte_buffer_proto_helper.cc |
| 3520 | test/cpp/util/create_test_channel.cc |
| 3521 | test/cpp/util/string_ref_helper.cc |
| 3522 | test/cpp/util/subprocess.cc |
| 3523 | test/cpp/util/test_credentials_provider.cc |
| 3524 | src/cpp/codegen/codegen_init.cc |
| 3525 | ) |
| 3526 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3527 | if(WIN32 AND MSVC) |
| 3528 | set_target_properties(grpc++_test_util PROPERTIES COMPILE_PDB_NAME "grpc++_test_util" |
| 3529 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3530 | ) |
| 3531 | if (gRPC_INSTALL) |
| 3532 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3533 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3534 | ) |
| 3535 | endif() |
| 3536 | endif() |
| 3537 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3538 | protobuf_generate_grpc_cpp( |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 3539 | src/proto/grpc/health/v1/health.proto |
| 3540 | ) |
| 3541 | protobuf_generate_grpc_cpp( |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3542 | src/proto/grpc/testing/echo_messages.proto |
| 3543 | ) |
| 3544 | protobuf_generate_grpc_cpp( |
| 3545 | src/proto/grpc/testing/echo.proto |
| 3546 | ) |
| 3547 | protobuf_generate_grpc_cpp( |
| 3548 | src/proto/grpc/testing/duplicate/echo_duplicate.proto |
| 3549 | ) |
| 3550 | |
| 3551 | target_include_directories(grpc++_test_util |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3552 | 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] | 3553 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3554 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3555 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3556 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3557 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3558 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3559 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3560 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3561 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3562 | PRIVATE third_party/googletest/googletest/include |
| 3563 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3564 | PRIVATE third_party/googletest/googlemock/include |
| 3565 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3566 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3567 | ) |
| 3568 | |
| 3569 | target_link_libraries(grpc++_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3570 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3571 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3572 | grpc++ |
| 3573 | grpc_test_util |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3574 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3575 | ) |
| 3576 | |
| 3577 | foreach(_hdr |
| 3578 | include/grpc++/impl/codegen/async_stream.h |
| 3579 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3580 | include/grpc++/impl/codegen/byte_buffer.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3581 | include/grpc++/impl/codegen/call.h |
| 3582 | include/grpc++/impl/codegen/call_hook.h |
| 3583 | include/grpc++/impl/codegen/channel_interface.h |
| 3584 | include/grpc++/impl/codegen/client_context.h |
| 3585 | include/grpc++/impl/codegen/client_unary_call.h |
| 3586 | include/grpc++/impl/codegen/completion_queue.h |
| 3587 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3588 | include/grpc++/impl/codegen/config.h |
| 3589 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3590 | include/grpc++/impl/codegen/create_auth_context.h |
| 3591 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3592 | include/grpc++/impl/codegen/metadata_map.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3593 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3594 | include/grpc++/impl/codegen/rpc_method.h |
| 3595 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3596 | include/grpc++/impl/codegen/security/auth_context.h |
| 3597 | include/grpc++/impl/codegen/serialization_traits.h |
| 3598 | include/grpc++/impl/codegen/server_context.h |
| 3599 | include/grpc++/impl/codegen/server_interface.h |
| 3600 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3601 | include/grpc++/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3602 | include/grpc++/impl/codegen/status.h |
| 3603 | include/grpc++/impl/codegen/status_code_enum.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3604 | include/grpc++/impl/codegen/string_ref.h |
| 3605 | include/grpc++/impl/codegen/stub_options.h |
| 3606 | include/grpc++/impl/codegen/sync_stream.h |
| 3607 | include/grpc++/impl/codegen/time.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3608 | include/grpc/impl/codegen/byte_buffer.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3609 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3610 | include/grpc/impl/codegen/compression_types.h |
| 3611 | include/grpc/impl/codegen/connectivity_state.h |
| 3612 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 3613 | include/grpc/impl/codegen/grpc_types.h |
| 3614 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3615 | include/grpc/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3616 | include/grpc/impl/codegen/status.h |
| 3617 | include/grpc/impl/codegen/atm.h |
| 3618 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3619 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3620 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3621 | include/grpc/impl/codegen/fork.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3622 | include/grpc/impl/codegen/gpr_slice.h |
| 3623 | include/grpc/impl/codegen/gpr_types.h |
| 3624 | include/grpc/impl/codegen/port_platform.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3625 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3626 | include/grpc/impl/codegen/sync_custom.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3627 | include/grpc/impl/codegen/sync_generic.h |
| 3628 | include/grpc/impl/codegen/sync_posix.h |
| 3629 | include/grpc/impl/codegen/sync_windows.h |
| 3630 | include/grpc++/impl/codegen/proto_utils.h |
| 3631 | include/grpc++/impl/codegen/config_protobuf.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3632 | ) |
| 3633 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3634 | get_filename_component(_path ${_path} PATH) |
| 3635 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3636 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3637 | ) |
| 3638 | endforeach() |
| 3639 | |
| 3640 | endif (gRPC_BUILD_TESTS) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3641 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3642 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3643 | add_library(grpc++_test_util_unsecure |
| 3644 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.cc |
| 3645 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.cc |
| 3646 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.h |
| 3647 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.h |
| 3648 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 3649 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 3650 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 3651 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 3652 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 3653 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 3654 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 3655 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 3656 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_mock.grpc.pb.h |
| 3657 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc |
| 3658 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 3659 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h |
| 3660 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h |
| 3661 | test/cpp/end2end/test_service_impl.cc |
| 3662 | test/cpp/util/byte_buffer_proto_helper.cc |
| 3663 | test/cpp/util/string_ref_helper.cc |
| 3664 | test/cpp/util/subprocess.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3665 | src/cpp/codegen/codegen_init.cc |
| 3666 | ) |
| 3667 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3668 | if(WIN32 AND MSVC) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3669 | 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] | 3670 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3671 | ) |
| 3672 | if (gRPC_INSTALL) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3673 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_util_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3674 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3675 | ) |
| 3676 | endif() |
| 3677 | endif() |
| 3678 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3679 | protobuf_generate_grpc_cpp( |
| 3680 | src/proto/grpc/health/v1/health.proto |
| 3681 | ) |
| 3682 | protobuf_generate_grpc_cpp( |
| 3683 | src/proto/grpc/testing/echo_messages.proto |
| 3684 | ) |
| 3685 | protobuf_generate_grpc_cpp( |
| 3686 | src/proto/grpc/testing/echo.proto |
| 3687 | ) |
| 3688 | protobuf_generate_grpc_cpp( |
| 3689 | src/proto/grpc/testing/duplicate/echo_duplicate.proto |
| 3690 | ) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3691 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3692 | target_include_directories(grpc++_test_util_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3693 | 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] | 3694 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3695 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3696 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3697 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3698 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3699 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 3700 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3701 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3702 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3703 | PRIVATE third_party/googletest/googletest/include |
| 3704 | PRIVATE third_party/googletest/googletest |
| 3705 | PRIVATE third_party/googletest/googlemock/include |
| 3706 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3707 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3708 | ) |
| 3709 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3710 | target_link_libraries(grpc++_test_util_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3711 | ${_gRPC_PROTOBUF_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3712 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3713 | grpc++_unsecure |
| 3714 | grpc_test_util_unsecure |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3715 | grpc_unsecure |
| 3716 | ) |
| 3717 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3718 | foreach(_hdr |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3719 | include/grpc++/impl/codegen/async_stream.h |
| 3720 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3721 | include/grpc++/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3722 | include/grpc++/impl/codegen/call.h |
| 3723 | include/grpc++/impl/codegen/call_hook.h |
| 3724 | include/grpc++/impl/codegen/channel_interface.h |
| 3725 | include/grpc++/impl/codegen/client_context.h |
| 3726 | include/grpc++/impl/codegen/client_unary_call.h |
| 3727 | include/grpc++/impl/codegen/completion_queue.h |
| 3728 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3729 | include/grpc++/impl/codegen/config.h |
| 3730 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3731 | include/grpc++/impl/codegen/create_auth_context.h |
| 3732 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3733 | include/grpc++/impl/codegen/metadata_map.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3734 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3735 | include/grpc++/impl/codegen/rpc_method.h |
| 3736 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3737 | include/grpc++/impl/codegen/security/auth_context.h |
| 3738 | include/grpc++/impl/codegen/serialization_traits.h |
| 3739 | include/grpc++/impl/codegen/server_context.h |
| 3740 | include/grpc++/impl/codegen/server_interface.h |
| 3741 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3742 | include/grpc++/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3743 | include/grpc++/impl/codegen/status.h |
| 3744 | include/grpc++/impl/codegen/status_code_enum.h |
| 3745 | include/grpc++/impl/codegen/string_ref.h |
| 3746 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3747 | include/grpc++/impl/codegen/sync_stream.h |
| 3748 | include/grpc++/impl/codegen/time.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3749 | include/grpc/impl/codegen/byte_buffer.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3750 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3751 | include/grpc/impl/codegen/compression_types.h |
| 3752 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 3753 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3754 | include/grpc/impl/codegen/grpc_types.h |
| 3755 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3756 | include/grpc/impl/codegen/slice.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3757 | include/grpc/impl/codegen/status.h |
| 3758 | include/grpc/impl/codegen/atm.h |
| 3759 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3760 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3761 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3762 | include/grpc/impl/codegen/fork.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 3763 | include/grpc/impl/codegen/gpr_slice.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3764 | include/grpc/impl/codegen/gpr_types.h |
| 3765 | include/grpc/impl/codegen/port_platform.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3766 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3767 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3768 | include/grpc/impl/codegen/sync_generic.h |
| 3769 | include/grpc/impl/codegen/sync_posix.h |
| 3770 | include/grpc/impl/codegen/sync_windows.h |
| 3771 | include/grpc++/impl/codegen/proto_utils.h |
| 3772 | include/grpc++/impl/codegen/config_protobuf.h |
| 3773 | ) |
| 3774 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3775 | get_filename_component(_path ${_path} PATH) |
| 3776 | install(FILES ${_hdr} |
| 3777 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
| 3778 | ) |
| 3779 | endforeach() |
| 3780 | |
| 3781 | endif (gRPC_BUILD_TESTS) |
| 3782 | |
| 3783 | add_library(grpc++_unsecure |
| 3784 | src/cpp/client/insecure_credentials.cc |
| 3785 | src/cpp/common/insecure_create_auth_context.cc |
| 3786 | src/cpp/server/insecure_server_credentials.cc |
| 3787 | src/cpp/client/channel_cc.cc |
| 3788 | src/cpp/client/client_context.cc |
| 3789 | src/cpp/client/create_channel.cc |
| 3790 | src/cpp/client/create_channel_internal.cc |
| 3791 | src/cpp/client/create_channel_posix.cc |
| 3792 | src/cpp/client/credentials_cc.cc |
| 3793 | src/cpp/client/generic_stub.cc |
| 3794 | src/cpp/common/channel_arguments.cc |
| 3795 | src/cpp/common/channel_filter.cc |
| 3796 | src/cpp/common/completion_queue_cc.cc |
| 3797 | src/cpp/common/core_codegen.cc |
| 3798 | src/cpp/common/resource_quota_cc.cc |
| 3799 | src/cpp/common/rpc_method.cc |
| 3800 | src/cpp/common/version_cc.cc |
| 3801 | src/cpp/server/async_generic_service.cc |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3802 | src/cpp/server/channel_argument_option.cc |
| 3803 | src/cpp/server/create_default_thread_pool.cc |
| 3804 | src/cpp/server/dynamic_thread_pool.cc |
| 3805 | src/cpp/server/health/default_health_check_service.cc |
| 3806 | src/cpp/server/health/health.pb.c |
| 3807 | src/cpp/server/health/health_check_service.cc |
| 3808 | src/cpp/server/health/health_check_service_server_builder_option.cc |
| 3809 | src/cpp/server/server_builder.cc |
| 3810 | src/cpp/server/server_cc.cc |
| 3811 | src/cpp/server/server_context.cc |
| 3812 | src/cpp/server/server_credentials.cc |
| 3813 | src/cpp/server/server_posix.cc |
| 3814 | src/cpp/thread_manager/thread_manager.cc |
| 3815 | src/cpp/util/byte_buffer_cc.cc |
| 3816 | src/cpp/util/slice_cc.cc |
| 3817 | src/cpp/util/status.cc |
| 3818 | src/cpp/util/string_ref.cc |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3819 | src/cpp/util/time_cc.cc |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3820 | src/cpp/codegen/codegen_init.cc |
| 3821 | ) |
| 3822 | |
| 3823 | if(WIN32 AND MSVC) |
| 3824 | set_target_properties(grpc++_unsecure PROPERTIES COMPILE_PDB_NAME "grpc++_unsecure" |
| 3825 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3826 | ) |
| 3827 | if (gRPC_INSTALL) |
| 3828 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_unsecure.pdb |
| 3829 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
| 3830 | ) |
| 3831 | endif() |
| 3832 | endif() |
| 3833 | |
| 3834 | |
| 3835 | target_include_directories(grpc++_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3836 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3837 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 3838 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3839 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3840 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 3841 | PRIVATE ${BENCHMARK}/include |
| 3842 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3843 | PRIVATE ${CARES_INCLUDE_DIR} |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3844 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 3845 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3846 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3847 | ) |
| 3848 | |
| 3849 | target_link_libraries(grpc++_unsecure |
| 3850 | ${_gRPC_BASELIB_LIBRARIES} |
| 3851 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3852 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 3853 | gpr |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3854 | grpc_unsecure |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3855 | ) |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 3856 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3857 | foreach(_hdr |
| 3858 | include/grpc++/alarm.h |
| 3859 | include/grpc++/channel.h |
| 3860 | include/grpc++/client_context.h |
| 3861 | include/grpc++/completion_queue.h |
| 3862 | include/grpc++/create_channel.h |
| 3863 | include/grpc++/create_channel_posix.h |
| 3864 | include/grpc++/ext/health_check_service_server_builder_option.h |
| 3865 | include/grpc++/generic/async_generic_service.h |
| 3866 | include/grpc++/generic/generic_stub.h |
| 3867 | include/grpc++/grpc++.h |
| 3868 | include/grpc++/health_check_service_interface.h |
| 3869 | include/grpc++/impl/call.h |
| 3870 | include/grpc++/impl/channel_argument_option.h |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3871 | include/grpc++/impl/client_unary_call.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3872 | include/grpc++/impl/codegen/core_codegen.h |
| 3873 | include/grpc++/impl/grpc_library.h |
| 3874 | include/grpc++/impl/method_handler_impl.h |
| 3875 | include/grpc++/impl/rpc_method.h |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3876 | include/grpc++/impl/rpc_service_method.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3877 | include/grpc++/impl/serialization_traits.h |
| 3878 | include/grpc++/impl/server_builder_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3879 | include/grpc++/impl/server_builder_plugin.h |
| 3880 | include/grpc++/impl/server_initializer.h |
| 3881 | include/grpc++/impl/service_type.h |
| 3882 | include/grpc++/resource_quota.h |
| 3883 | include/grpc++/security/auth_context.h |
| 3884 | include/grpc++/security/auth_metadata_processor.h |
| 3885 | include/grpc++/security/credentials.h |
| 3886 | include/grpc++/security/server_credentials.h |
| 3887 | include/grpc++/server.h |
| 3888 | include/grpc++/server_builder.h |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 3889 | include/grpc++/server_context.h |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3890 | include/grpc++/server_posix.h |
| 3891 | include/grpc++/support/async_stream.h |
| 3892 | include/grpc++/support/async_unary_call.h |
| 3893 | include/grpc++/support/byte_buffer.h |
| 3894 | include/grpc++/support/channel_arguments.h |
| 3895 | include/grpc++/support/config.h |
| 3896 | include/grpc++/support/slice.h |
| 3897 | include/grpc++/support/status.h |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 3898 | include/grpc++/support/status_code_enum.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3899 | include/grpc++/support/string_ref.h |
| 3900 | include/grpc++/support/stub_options.h |
| 3901 | include/grpc++/support/sync_stream.h |
| 3902 | include/grpc++/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3903 | include/grpc/support/alloc.h |
| 3904 | include/grpc/support/atm.h |
| 3905 | include/grpc/support/atm_gcc_atomic.h |
| 3906 | include/grpc/support/atm_gcc_sync.h |
| 3907 | include/grpc/support/atm_windows.h |
| 3908 | include/grpc/support/avl.h |
| 3909 | include/grpc/support/cmdline.h |
| 3910 | include/grpc/support/cpu.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3911 | include/grpc/support/host_port.h |
| 3912 | include/grpc/support/log.h |
| 3913 | include/grpc/support/log_windows.h |
| 3914 | include/grpc/support/port_platform.h |
| 3915 | include/grpc/support/string_util.h |
| 3916 | include/grpc/support/subprocess.h |
| 3917 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3918 | include/grpc/support/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3919 | include/grpc/support/sync_generic.h |
| 3920 | include/grpc/support/sync_posix.h |
| 3921 | include/grpc/support/sync_windows.h |
| 3922 | include/grpc/support/thd.h |
| 3923 | include/grpc/support/time.h |
| 3924 | include/grpc/support/tls.h |
| 3925 | include/grpc/support/tls_gcc.h |
| 3926 | include/grpc/support/tls_msvc.h |
| 3927 | include/grpc/support/tls_pthread.h |
| 3928 | include/grpc/support/useful.h |
| 3929 | include/grpc/impl/codegen/atm.h |
| 3930 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3931 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3932 | include/grpc/impl/codegen/atm_windows.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3933 | include/grpc/impl/codegen/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3934 | include/grpc/impl/codegen/gpr_slice.h |
| 3935 | include/grpc/impl/codegen/gpr_types.h |
| 3936 | include/grpc/impl/codegen/port_platform.h |
| 3937 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3938 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3939 | include/grpc/impl/codegen/sync_generic.h |
| 3940 | include/grpc/impl/codegen/sync_posix.h |
| 3941 | include/grpc/impl/codegen/sync_windows.h |
| 3942 | include/grpc/byte_buffer.h |
| 3943 | include/grpc/byte_buffer_reader.h |
| 3944 | include/grpc/compression.h |
Ken Payson | 9714e03 | 2017-10-10 11:18:49 -0700 | [diff] [blame] | 3945 | include/grpc/fork.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3946 | include/grpc/grpc.h |
| 3947 | include/grpc/grpc_posix.h |
| 3948 | include/grpc/grpc_security_constants.h |
| 3949 | include/grpc/load_reporting.h |
| 3950 | include/grpc/slice.h |
| 3951 | include/grpc/slice_buffer.h |
| 3952 | include/grpc/status.h |
| 3953 | include/grpc/support/workaround_list.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3954 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3955 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3956 | include/grpc/impl/codegen/compression_types.h |
| 3957 | include/grpc/impl/codegen/connectivity_state.h |
| 3958 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 3959 | include/grpc/impl/codegen/grpc_types.h |
| 3960 | include/grpc/impl/codegen/propagation_bits.h |
| 3961 | include/grpc/impl/codegen/slice.h |
| 3962 | include/grpc/impl/codegen/status.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3963 | include/grpc++/impl/codegen/async_stream.h |
| 3964 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3965 | include/grpc++/impl/codegen/byte_buffer.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3966 | include/grpc++/impl/codegen/call.h |
| 3967 | include/grpc++/impl/codegen/call_hook.h |
| 3968 | include/grpc++/impl/codegen/channel_interface.h |
| 3969 | include/grpc++/impl/codegen/client_context.h |
| 3970 | include/grpc++/impl/codegen/client_unary_call.h |
| 3971 | include/grpc++/impl/codegen/completion_queue.h |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3972 | include/grpc++/impl/codegen/completion_queue_tag.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3973 | include/grpc++/impl/codegen/config.h |
| 3974 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3975 | include/grpc++/impl/codegen/create_auth_context.h |
| 3976 | include/grpc++/impl/codegen/grpc_library.h |
| 3977 | include/grpc++/impl/codegen/metadata_map.h |
| 3978 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3979 | include/grpc++/impl/codegen/rpc_method.h |
| 3980 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3981 | include/grpc++/impl/codegen/security/auth_context.h |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 3982 | include/grpc++/impl/codegen/serialization_traits.h |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3983 | include/grpc++/impl/codegen/server_context.h |
| 3984 | include/grpc++/impl/codegen/server_interface.h |
| 3985 | include/grpc++/impl/codegen/service_type.h |
| 3986 | include/grpc++/impl/codegen/slice.h |
| 3987 | include/grpc++/impl/codegen/status.h |
| 3988 | include/grpc++/impl/codegen/status_code_enum.h |
| 3989 | include/grpc++/impl/codegen/string_ref.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3990 | include/grpc++/impl/codegen/stub_options.h |
| 3991 | include/grpc++/impl/codegen/sync_stream.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3992 | include/grpc++/impl/codegen/time.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3993 | ) |
| 3994 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3995 | get_filename_component(_path ${_path} PATH) |
| 3996 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3997 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3998 | ) |
| 3999 | endforeach() |
| 4000 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 4001 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4002 | if (gRPC_INSTALL) |
| 4003 | install(TARGETS grpc++_unsecure EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4004 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 4005 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 4006 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4007 | ) |
| 4008 | endif() |
| 4009 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4010 | if (gRPC_BUILD_TESTS) |
| 4011 | |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 4012 | add_library(grpc_benchmark |
Craig Tiller | f09ec59 | 2017-03-03 16:52:37 -0800 | [diff] [blame] | 4013 | test/cpp/microbenchmarks/helpers.cc |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 4014 | ) |
| 4015 | |
| 4016 | if(WIN32 AND MSVC) |
| 4017 | set_target_properties(grpc_benchmark PROPERTIES COMPILE_PDB_NAME "grpc_benchmark" |
| 4018 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4019 | ) |
| 4020 | if (gRPC_INSTALL) |
| 4021 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_benchmark.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4022 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 4023 | ) |
| 4024 | endif() |
| 4025 | endif() |
| 4026 | |
| 4027 | |
| 4028 | target_include_directories(grpc_benchmark |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4029 | 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] | 4030 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4031 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 4032 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4033 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 4034 | PRIVATE ${BENCHMARK}/include |
| 4035 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 9bc0d82 | 2017-03-17 13:02:03 -0700 | [diff] [blame] | 4036 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4037 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 4038 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4039 | PRIVATE third_party/googletest/googletest/include |
| 4040 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4041 | PRIVATE third_party/googletest/googlemock/include |
| 4042 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 4043 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4044 | ) |
| 4045 | |
| 4046 | target_link_libraries(grpc_benchmark |
| 4047 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4048 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4049 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 4050 | grpc++_unsecure |
| 4051 | grpc_test_util_unsecure |
| 4052 | grpc_unsecure |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 4053 | ${_gRPC_GFLAGS_LIBRARIES} |
| 4054 | ) |
| 4055 | |
| 4056 | |
| 4057 | endif (gRPC_BUILD_TESTS) |
| 4058 | if (gRPC_BUILD_TESTS) |
| 4059 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4060 | add_library(grpc_cli_libs |
| 4061 | test/cpp/util/cli_call.cc |
| 4062 | test/cpp/util/cli_credentials.cc |
| 4063 | test/cpp/util/grpc_tool.cc |
| 4064 | test/cpp/util/proto_file_parser.cc |
| 4065 | test/cpp/util/service_describer.cc |
| 4066 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 4067 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 4068 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 4069 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 4070 | ) |
| 4071 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4072 | if(WIN32 AND MSVC) |
| 4073 | set_target_properties(grpc_cli_libs PROPERTIES COMPILE_PDB_NAME "grpc_cli_libs" |
| 4074 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4075 | ) |
| 4076 | if (gRPC_INSTALL) |
| 4077 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cli_libs.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4078 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4079 | ) |
| 4080 | endif() |
| 4081 | endif() |
| 4082 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4083 | protobuf_generate_grpc_cpp( |
| 4084 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 4085 | ) |
| 4086 | |
| 4087 | target_include_directories(grpc_cli_libs |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4088 | 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] | 4089 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4090 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4091 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4092 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4093 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4094 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4095 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4096 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4097 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4098 | PRIVATE third_party/googletest/googletest/include |
| 4099 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4100 | PRIVATE third_party/googletest/googlemock/include |
| 4101 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4102 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4103 | ) |
| 4104 | |
| 4105 | target_link_libraries(grpc_cli_libs |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4106 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4107 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4108 | grpc++_proto_reflection_desc_db |
| 4109 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 4110 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4111 | ) |
| 4112 | |
| 4113 | foreach(_hdr |
| 4114 | include/grpc++/impl/codegen/config_protobuf.h |
| 4115 | ) |
| 4116 | string(REPLACE "include/" "" _path ${_hdr}) |
| 4117 | get_filename_component(_path ${_path} PATH) |
| 4118 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4119 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4120 | ) |
| 4121 | endforeach() |
| 4122 | |
| 4123 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 4124 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4125 | add_library(grpc_plugin_support |
| 4126 | src/compiler/cpp_generator.cc |
| 4127 | src/compiler/csharp_generator.cc |
| 4128 | src/compiler/node_generator.cc |
| 4129 | src/compiler/objective_c_generator.cc |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 4130 | src/compiler/php_generator.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4131 | src/compiler/python_generator.cc |
| 4132 | src/compiler/ruby_generator.cc |
| 4133 | ) |
| 4134 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4135 | if(WIN32 AND MSVC) |
| 4136 | set_target_properties(grpc_plugin_support PROPERTIES COMPILE_PDB_NAME "grpc_plugin_support" |
| 4137 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4138 | ) |
| 4139 | if (gRPC_INSTALL) |
| 4140 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_plugin_support.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4141 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4142 | ) |
| 4143 | endif() |
| 4144 | endif() |
| 4145 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 4146 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4147 | target_include_directories(grpc_plugin_support |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4148 | 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] | 4149 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4150 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4151 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4152 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4153 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4154 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 4155 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4156 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4157 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4158 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4159 | ) |
| 4160 | |
| 4161 | target_link_libraries(grpc_plugin_support |
| 4162 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4163 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4164 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4165 | ) |
| 4166 | |
| 4167 | foreach(_hdr |
| 4168 | include/grpc++/impl/codegen/config_protobuf.h |
| 4169 | ) |
| 4170 | string(REPLACE "include/" "" _path ${_hdr}) |
| 4171 | get_filename_component(_path ${_path} PATH) |
| 4172 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4173 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4174 | ) |
| 4175 | endforeach() |
| 4176 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 4177 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4178 | if (gRPC_INSTALL) |
| 4179 | install(TARGETS grpc_plugin_support EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4180 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 4181 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 4182 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4183 | ) |
| 4184 | endif() |
| 4185 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4186 | if (gRPC_BUILD_TESTS) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4187 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4188 | add_library(http2_client_main |
| 4189 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 4190 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 4191 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 4192 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 4193 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4194 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4195 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4196 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4197 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 4198 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 4199 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4200 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4201 | test/cpp/interop/http2_client.cc |
| 4202 | ) |
| 4203 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4204 | if(WIN32 AND MSVC) |
| 4205 | set_target_properties(http2_client_main PROPERTIES COMPILE_PDB_NAME "http2_client_main" |
| 4206 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4207 | ) |
| 4208 | if (gRPC_INSTALL) |
| 4209 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/http2_client_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4210 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4211 | ) |
| 4212 | endif() |
| 4213 | endif() |
| 4214 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4215 | protobuf_generate_grpc_cpp( |
| 4216 | src/proto/grpc/testing/empty.proto |
| 4217 | ) |
| 4218 | protobuf_generate_grpc_cpp( |
| 4219 | src/proto/grpc/testing/messages.proto |
| 4220 | ) |
| 4221 | protobuf_generate_grpc_cpp( |
| 4222 | src/proto/grpc/testing/test.proto |
| 4223 | ) |
| 4224 | |
| 4225 | target_include_directories(http2_client_main |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4226 | 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] | 4227 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4228 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4229 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4230 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4231 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4232 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4233 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4234 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4235 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4236 | PRIVATE third_party/googletest/googletest/include |
| 4237 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4238 | PRIVATE third_party/googletest/googlemock/include |
| 4239 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4240 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4241 | ) |
| 4242 | |
| 4243 | target_link_libraries(http2_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4244 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4245 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4246 | grpc++_test_util |
| 4247 | grpc_test_util |
| 4248 | grpc++ |
| 4249 | grpc |
| 4250 | grpc++_test_config |
| 4251 | ) |
| 4252 | |
| 4253 | |
| 4254 | endif (gRPC_BUILD_TESTS) |
| 4255 | if (gRPC_BUILD_TESTS) |
| 4256 | |
| 4257 | add_library(interop_client_helper |
| 4258 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4259 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4260 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4261 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4262 | test/cpp/interop/client_helper.cc |
| 4263 | ) |
| 4264 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4265 | if(WIN32 AND MSVC) |
| 4266 | set_target_properties(interop_client_helper PROPERTIES COMPILE_PDB_NAME "interop_client_helper" |
| 4267 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4268 | ) |
| 4269 | if (gRPC_INSTALL) |
| 4270 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_helper.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4271 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4272 | ) |
| 4273 | endif() |
| 4274 | endif() |
| 4275 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4276 | protobuf_generate_grpc_cpp( |
| 4277 | src/proto/grpc/testing/messages.proto |
| 4278 | ) |
| 4279 | |
| 4280 | target_include_directories(interop_client_helper |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4281 | 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] | 4282 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4283 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4284 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4285 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4286 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4287 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4288 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4289 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4290 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4291 | PRIVATE third_party/googletest/googletest/include |
| 4292 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4293 | PRIVATE third_party/googletest/googlemock/include |
| 4294 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4295 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4296 | ) |
| 4297 | |
| 4298 | target_link_libraries(interop_client_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4299 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4300 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4301 | grpc++_test_util |
| 4302 | grpc_test_util |
| 4303 | grpc++ |
| 4304 | grpc |
| 4305 | gpr |
| 4306 | ) |
| 4307 | |
| 4308 | |
| 4309 | endif (gRPC_BUILD_TESTS) |
| 4310 | if (gRPC_BUILD_TESTS) |
| 4311 | |
| 4312 | add_library(interop_client_main |
| 4313 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 4314 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 4315 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 4316 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 4317 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4318 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4319 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4320 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4321 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 4322 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 4323 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4324 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4325 | test/cpp/interop/client.cc |
| 4326 | test/cpp/interop/interop_client.cc |
| 4327 | ) |
| 4328 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4329 | if(WIN32 AND MSVC) |
| 4330 | set_target_properties(interop_client_main PROPERTIES COMPILE_PDB_NAME "interop_client_main" |
| 4331 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4332 | ) |
| 4333 | if (gRPC_INSTALL) |
| 4334 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4335 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4336 | ) |
| 4337 | endif() |
| 4338 | endif() |
| 4339 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4340 | protobuf_generate_grpc_cpp( |
| 4341 | src/proto/grpc/testing/empty.proto |
| 4342 | ) |
| 4343 | protobuf_generate_grpc_cpp( |
| 4344 | src/proto/grpc/testing/messages.proto |
| 4345 | ) |
| 4346 | protobuf_generate_grpc_cpp( |
| 4347 | src/proto/grpc/testing/test.proto |
| 4348 | ) |
| 4349 | |
| 4350 | target_include_directories(interop_client_main |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4351 | 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] | 4352 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4353 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4354 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4355 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4356 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4357 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4358 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4359 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4360 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4361 | PRIVATE third_party/googletest/googletest/include |
| 4362 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4363 | PRIVATE third_party/googletest/googlemock/include |
| 4364 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4365 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4366 | ) |
| 4367 | |
| 4368 | target_link_libraries(interop_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4369 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4370 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4371 | interop_client_helper |
| 4372 | grpc++_test_util |
| 4373 | grpc_test_util |
| 4374 | grpc++ |
| 4375 | grpc |
| 4376 | gpr_test_util |
| 4377 | gpr |
| 4378 | grpc++_test_config |
| 4379 | ) |
| 4380 | |
| 4381 | |
| 4382 | endif (gRPC_BUILD_TESTS) |
| 4383 | if (gRPC_BUILD_TESTS) |
| 4384 | |
| 4385 | add_library(interop_server_helper |
| 4386 | test/cpp/interop/server_helper.cc |
| 4387 | ) |
| 4388 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4389 | if(WIN32 AND MSVC) |
| 4390 | set_target_properties(interop_server_helper PROPERTIES COMPILE_PDB_NAME "interop_server_helper" |
| 4391 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4392 | ) |
| 4393 | if (gRPC_INSTALL) |
| 4394 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_helper.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4395 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4396 | ) |
| 4397 | endif() |
| 4398 | endif() |
| 4399 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4400 | |
| 4401 | target_include_directories(interop_server_helper |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4402 | 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] | 4403 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4404 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4405 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4406 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4407 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4408 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4409 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4410 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4411 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4412 | PRIVATE third_party/googletest/googletest/include |
| 4413 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4414 | PRIVATE third_party/googletest/googlemock/include |
| 4415 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4416 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4417 | ) |
| 4418 | |
| 4419 | target_link_libraries(interop_server_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4420 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4421 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4422 | grpc++_test_util |
| 4423 | grpc_test_util |
| 4424 | grpc++ |
| 4425 | grpc |
| 4426 | gpr |
| 4427 | ) |
| 4428 | |
| 4429 | |
| 4430 | endif (gRPC_BUILD_TESTS) |
| 4431 | if (gRPC_BUILD_TESTS) |
| 4432 | |
| 4433 | add_library(interop_server_lib |
| 4434 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 4435 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 4436 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 4437 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 4438 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4439 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4440 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4441 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4442 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 4443 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 4444 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4445 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4446 | test/cpp/interop/interop_server.cc |
| 4447 | ) |
| 4448 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4449 | if(WIN32 AND MSVC) |
| 4450 | set_target_properties(interop_server_lib PROPERTIES COMPILE_PDB_NAME "interop_server_lib" |
| 4451 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4452 | ) |
| 4453 | if (gRPC_INSTALL) |
| 4454 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_lib.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4455 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4456 | ) |
| 4457 | endif() |
| 4458 | endif() |
| 4459 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4460 | protobuf_generate_grpc_cpp( |
| 4461 | src/proto/grpc/testing/empty.proto |
| 4462 | ) |
| 4463 | protobuf_generate_grpc_cpp( |
| 4464 | src/proto/grpc/testing/messages.proto |
| 4465 | ) |
| 4466 | protobuf_generate_grpc_cpp( |
| 4467 | src/proto/grpc/testing/test.proto |
| 4468 | ) |
| 4469 | |
| 4470 | target_include_directories(interop_server_lib |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4471 | 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] | 4472 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4473 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4474 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4475 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4476 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4477 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4478 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4479 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4480 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4481 | PRIVATE third_party/googletest/googletest/include |
| 4482 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4483 | PRIVATE third_party/googletest/googlemock/include |
| 4484 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4485 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4486 | ) |
| 4487 | |
| 4488 | target_link_libraries(interop_server_lib |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4489 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4490 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4491 | interop_server_helper |
| 4492 | grpc++_test_util |
| 4493 | grpc_test_util |
| 4494 | grpc++ |
| 4495 | grpc |
| 4496 | gpr_test_util |
| 4497 | gpr |
| 4498 | grpc++_test_config |
| 4499 | ) |
| 4500 | |
| 4501 | |
| 4502 | endif (gRPC_BUILD_TESTS) |
| 4503 | if (gRPC_BUILD_TESTS) |
| 4504 | |
| 4505 | add_library(interop_server_main |
| 4506 | test/cpp/interop/interop_server_bootstrap.cc |
| 4507 | ) |
| 4508 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4509 | if(WIN32 AND MSVC) |
| 4510 | set_target_properties(interop_server_main PROPERTIES COMPILE_PDB_NAME "interop_server_main" |
| 4511 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4512 | ) |
| 4513 | if (gRPC_INSTALL) |
| 4514 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4515 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4516 | ) |
| 4517 | endif() |
| 4518 | endif() |
| 4519 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4520 | |
| 4521 | target_include_directories(interop_server_main |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4522 | 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] | 4523 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4524 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4525 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4526 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4527 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4528 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4529 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4530 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4531 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4532 | PRIVATE third_party/googletest/googletest/include |
| 4533 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4534 | PRIVATE third_party/googletest/googlemock/include |
| 4535 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4536 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4537 | ) |
| 4538 | |
| 4539 | target_link_libraries(interop_server_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4540 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4541 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4542 | interop_server_lib |
| 4543 | ) |
| 4544 | |
| 4545 | |
| 4546 | endif (gRPC_BUILD_TESTS) |
| 4547 | if (gRPC_BUILD_TESTS) |
| 4548 | |
| 4549 | add_library(qps |
| 4550 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4551 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4552 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4553 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4554 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 4555 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 4556 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 4557 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 4558 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 4559 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 4560 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 4561 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
| 4562 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 4563 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 4564 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 4565 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 4566 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 4567 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 4568 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 4569 | ${_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] | 4570 | test/cpp/qps/benchmark_config.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4571 | test/cpp/qps/client_async.cc |
| 4572 | test/cpp/qps/client_sync.cc |
| 4573 | test/cpp/qps/driver.cc |
| 4574 | test/cpp/qps/parse_json.cc |
| 4575 | test/cpp/qps/qps_worker.cc |
| 4576 | test/cpp/qps/report.cc |
| 4577 | test/cpp/qps/server_async.cc |
| 4578 | test/cpp/qps/server_sync.cc |
| 4579 | test/cpp/qps/usage_timer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4580 | ) |
| 4581 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4582 | if(WIN32 AND MSVC) |
| 4583 | set_target_properties(qps PROPERTIES COMPILE_PDB_NAME "qps" |
| 4584 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4585 | ) |
| 4586 | if (gRPC_INSTALL) |
| 4587 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qps.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4588 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4589 | ) |
| 4590 | endif() |
| 4591 | endif() |
| 4592 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4593 | protobuf_generate_grpc_cpp( |
| 4594 | src/proto/grpc/testing/messages.proto |
| 4595 | ) |
| 4596 | protobuf_generate_grpc_cpp( |
| 4597 | src/proto/grpc/testing/payloads.proto |
| 4598 | ) |
| 4599 | protobuf_generate_grpc_cpp( |
| 4600 | src/proto/grpc/testing/stats.proto |
| 4601 | ) |
| 4602 | protobuf_generate_grpc_cpp( |
| 4603 | src/proto/grpc/testing/control.proto |
| 4604 | ) |
| 4605 | protobuf_generate_grpc_cpp( |
| 4606 | src/proto/grpc/testing/services.proto |
| 4607 | ) |
| 4608 | |
| 4609 | target_include_directories(qps |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4610 | 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] | 4611 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4612 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4613 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4614 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4615 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4616 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4617 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4618 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4619 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4620 | PRIVATE third_party/googletest/googletest/include |
| 4621 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4622 | PRIVATE third_party/googletest/googlemock/include |
| 4623 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4624 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4625 | ) |
| 4626 | |
| 4627 | target_link_libraries(qps |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4628 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4629 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4630 | grpc_test_util |
| 4631 | grpc++_test_util |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 4632 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4633 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 4634 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4635 | ) |
| 4636 | |
| 4637 | |
| 4638 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4639 | |
Jan Tattermusch | c09656c | 2017-01-27 13:36:24 +0100 | [diff] [blame] | 4640 | add_library(grpc_csharp_ext SHARED |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4641 | src/csharp/ext/grpc_csharp_ext.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4642 | ) |
| 4643 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4644 | if(WIN32 AND MSVC) |
| 4645 | set_target_properties(grpc_csharp_ext PROPERTIES COMPILE_PDB_NAME "grpc_csharp_ext" |
| 4646 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4647 | ) |
| 4648 | if (gRPC_INSTALL) |
| 4649 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_csharp_ext.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4650 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4651 | ) |
| 4652 | endif() |
| 4653 | endif() |
| 4654 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4655 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4656 | target_include_directories(grpc_csharp_ext |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4657 | 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] | 4658 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4659 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4660 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4661 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4662 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4663 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4664 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4665 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4666 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4667 | ) |
| 4668 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4669 | target_link_libraries(grpc_csharp_ext |
| 4670 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4671 | grpc |
| 4672 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4673 | ) |
| 4674 | |
| 4675 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4676 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4677 | if (gRPC_INSTALL) |
| 4678 | install(TARGETS grpc_csharp_ext EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4679 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 4680 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 4681 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4682 | ) |
| 4683 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4684 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4685 | if (gRPC_BUILD_TESTS) |
| 4686 | |
| 4687 | add_library(bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4688 | test/core/bad_client/bad_client.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(bad_client_test PROPERTIES COMPILE_PDB_NAME "bad_client_test" |
| 4693 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4694 | ) |
| 4695 | if (gRPC_INSTALL) |
| 4696 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_client_test.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(bad_client_test |
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 | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4707 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4708 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4709 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4710 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4711 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4712 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4713 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4714 | ) |
| 4715 | |
| 4716 | target_link_libraries(bad_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4717 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4718 | grpc_test_util_unsecure |
| 4719 | grpc_unsecure |
| 4720 | gpr_test_util |
| 4721 | gpr |
| 4722 | ) |
| 4723 | |
| 4724 | |
| 4725 | endif (gRPC_BUILD_TESTS) |
| 4726 | if (gRPC_BUILD_TESTS) |
| 4727 | |
| 4728 | add_library(bad_ssl_test_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4729 | test/core/bad_ssl/server_common.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4730 | ) |
| 4731 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4732 | if(WIN32 AND MSVC) |
| 4733 | set_target_properties(bad_ssl_test_server PROPERTIES COMPILE_PDB_NAME "bad_ssl_test_server" |
| 4734 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4735 | ) |
| 4736 | if (gRPC_INSTALL) |
| 4737 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_ssl_test_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4738 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4739 | ) |
| 4740 | endif() |
| 4741 | endif() |
| 4742 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4743 | |
| 4744 | target_include_directories(bad_ssl_test_server |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4745 | 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] | 4746 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4747 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4748 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4749 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4750 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4751 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4752 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4753 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4754 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4755 | ) |
| 4756 | |
| 4757 | target_link_libraries(bad_ssl_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4758 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4759 | grpc_test_util |
| 4760 | grpc |
| 4761 | gpr_test_util |
| 4762 | gpr |
| 4763 | ) |
| 4764 | |
| 4765 | |
| 4766 | endif (gRPC_BUILD_TESTS) |
| 4767 | if (gRPC_BUILD_TESTS) |
| 4768 | |
| 4769 | add_library(end2end_tests |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4770 | test/core/end2end/end2end_tests.cc |
| 4771 | test/core/end2end/end2end_test_utils.cc |
| 4772 | test/core/end2end/tests/authority_not_supported.cc |
| 4773 | test/core/end2end/tests/bad_hostname.cc |
| 4774 | test/core/end2end/tests/bad_ping.cc |
| 4775 | test/core/end2end/tests/binary_metadata.cc |
| 4776 | test/core/end2end/tests/call_creds.cc |
| 4777 | test/core/end2end/tests/cancel_after_accept.cc |
| 4778 | test/core/end2end/tests/cancel_after_client_done.cc |
| 4779 | test/core/end2end/tests/cancel_after_invoke.cc |
| 4780 | test/core/end2end/tests/cancel_after_round_trip.cc |
| 4781 | test/core/end2end/tests/cancel_before_invoke.cc |
| 4782 | test/core/end2end/tests/cancel_in_a_vacuum.cc |
| 4783 | test/core/end2end/tests/cancel_with_status.cc |
| 4784 | test/core/end2end/tests/compressed_payload.cc |
| 4785 | test/core/end2end/tests/connectivity.cc |
| 4786 | test/core/end2end/tests/default_host.cc |
| 4787 | test/core/end2end/tests/disappearing_server.cc |
| 4788 | test/core/end2end/tests/empty_batch.cc |
| 4789 | test/core/end2end/tests/filter_call_init_fails.cc |
| 4790 | test/core/end2end/tests/filter_causes_close.cc |
| 4791 | test/core/end2end/tests/filter_latency.cc |
| 4792 | test/core/end2end/tests/graceful_server_shutdown.cc |
| 4793 | test/core/end2end/tests/high_initial_seqno.cc |
| 4794 | test/core/end2end/tests/hpack_size.cc |
| 4795 | test/core/end2end/tests/idempotent_request.cc |
| 4796 | test/core/end2end/tests/invoke_large_request.cc |
| 4797 | test/core/end2end/tests/keepalive_timeout.cc |
| 4798 | test/core/end2end/tests/large_metadata.cc |
| 4799 | test/core/end2end/tests/load_reporting_hook.cc |
| 4800 | test/core/end2end/tests/max_concurrent_streams.cc |
| 4801 | test/core/end2end/tests/max_connection_age.cc |
| 4802 | test/core/end2end/tests/max_connection_idle.cc |
| 4803 | test/core/end2end/tests/max_message_length.cc |
| 4804 | test/core/end2end/tests/negative_deadline.cc |
| 4805 | test/core/end2end/tests/network_status_change.cc |
| 4806 | test/core/end2end/tests/no_logging.cc |
| 4807 | test/core/end2end/tests/no_op.cc |
| 4808 | test/core/end2end/tests/payload.cc |
| 4809 | test/core/end2end/tests/ping.cc |
| 4810 | test/core/end2end/tests/ping_pong_streaming.cc |
| 4811 | test/core/end2end/tests/proxy_auth.cc |
| 4812 | test/core/end2end/tests/registered_call.cc |
| 4813 | test/core/end2end/tests/request_with_flags.cc |
| 4814 | test/core/end2end/tests/request_with_payload.cc |
| 4815 | test/core/end2end/tests/resource_quota_server.cc |
| 4816 | test/core/end2end/tests/server_finishes_request.cc |
| 4817 | test/core/end2end/tests/shutdown_finishes_calls.cc |
| 4818 | test/core/end2end/tests/shutdown_finishes_tags.cc |
| 4819 | test/core/end2end/tests/simple_cacheable_request.cc |
| 4820 | test/core/end2end/tests/simple_delayed_request.cc |
| 4821 | test/core/end2end/tests/simple_metadata.cc |
| 4822 | test/core/end2end/tests/simple_request.cc |
| 4823 | test/core/end2end/tests/stream_compression_compressed_payload.cc |
| 4824 | test/core/end2end/tests/stream_compression_payload.cc |
| 4825 | test/core/end2end/tests/stream_compression_ping_pong_streaming.cc |
| 4826 | test/core/end2end/tests/streaming_error_response.cc |
| 4827 | test/core/end2end/tests/trailing_metadata.cc |
| 4828 | test/core/end2end/tests/workaround_cronet_compression.cc |
| 4829 | test/core/end2end/tests/write_buffering.cc |
| 4830 | test/core/end2end/tests/write_buffering_at_end.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4831 | ) |
| 4832 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4833 | if(WIN32 AND MSVC) |
| 4834 | set_target_properties(end2end_tests PROPERTIES COMPILE_PDB_NAME "end2end_tests" |
| 4835 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4836 | ) |
| 4837 | if (gRPC_INSTALL) |
| 4838 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_tests.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4839 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4840 | ) |
| 4841 | endif() |
| 4842 | endif() |
| 4843 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4844 | |
| 4845 | target_include_directories(end2end_tests |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4846 | 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] | 4847 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4848 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4849 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4850 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4851 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4852 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4853 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4854 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4855 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4856 | ) |
| 4857 | |
| 4858 | target_link_libraries(end2end_tests |
| 4859 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4860 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4861 | grpc_test_util |
| 4862 | grpc |
| 4863 | gpr_test_util |
| 4864 | gpr |
| 4865 | ) |
| 4866 | |
| 4867 | |
| 4868 | endif (gRPC_BUILD_TESTS) |
| 4869 | if (gRPC_BUILD_TESTS) |
| 4870 | |
| 4871 | add_library(end2end_nosec_tests |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4872 | test/core/end2end/end2end_nosec_tests.cc |
| 4873 | test/core/end2end/end2end_test_utils.cc |
| 4874 | test/core/end2end/tests/authority_not_supported.cc |
| 4875 | test/core/end2end/tests/bad_hostname.cc |
| 4876 | test/core/end2end/tests/bad_ping.cc |
| 4877 | test/core/end2end/tests/binary_metadata.cc |
| 4878 | test/core/end2end/tests/cancel_after_accept.cc |
| 4879 | test/core/end2end/tests/cancel_after_client_done.cc |
| 4880 | test/core/end2end/tests/cancel_after_invoke.cc |
| 4881 | test/core/end2end/tests/cancel_after_round_trip.cc |
| 4882 | test/core/end2end/tests/cancel_before_invoke.cc |
| 4883 | test/core/end2end/tests/cancel_in_a_vacuum.cc |
| 4884 | test/core/end2end/tests/cancel_with_status.cc |
| 4885 | test/core/end2end/tests/compressed_payload.cc |
| 4886 | test/core/end2end/tests/connectivity.cc |
| 4887 | test/core/end2end/tests/default_host.cc |
| 4888 | test/core/end2end/tests/disappearing_server.cc |
| 4889 | test/core/end2end/tests/empty_batch.cc |
| 4890 | test/core/end2end/tests/filter_call_init_fails.cc |
| 4891 | test/core/end2end/tests/filter_causes_close.cc |
| 4892 | test/core/end2end/tests/filter_latency.cc |
| 4893 | test/core/end2end/tests/graceful_server_shutdown.cc |
| 4894 | test/core/end2end/tests/high_initial_seqno.cc |
| 4895 | test/core/end2end/tests/hpack_size.cc |
| 4896 | test/core/end2end/tests/idempotent_request.cc |
| 4897 | test/core/end2end/tests/invoke_large_request.cc |
| 4898 | test/core/end2end/tests/keepalive_timeout.cc |
| 4899 | test/core/end2end/tests/large_metadata.cc |
| 4900 | test/core/end2end/tests/load_reporting_hook.cc |
| 4901 | test/core/end2end/tests/max_concurrent_streams.cc |
| 4902 | test/core/end2end/tests/max_connection_age.cc |
| 4903 | test/core/end2end/tests/max_connection_idle.cc |
| 4904 | test/core/end2end/tests/max_message_length.cc |
| 4905 | test/core/end2end/tests/negative_deadline.cc |
| 4906 | test/core/end2end/tests/network_status_change.cc |
| 4907 | test/core/end2end/tests/no_logging.cc |
| 4908 | test/core/end2end/tests/no_op.cc |
| 4909 | test/core/end2end/tests/payload.cc |
| 4910 | test/core/end2end/tests/ping.cc |
| 4911 | test/core/end2end/tests/ping_pong_streaming.cc |
| 4912 | test/core/end2end/tests/proxy_auth.cc |
| 4913 | test/core/end2end/tests/registered_call.cc |
| 4914 | test/core/end2end/tests/request_with_flags.cc |
| 4915 | test/core/end2end/tests/request_with_payload.cc |
| 4916 | test/core/end2end/tests/resource_quota_server.cc |
| 4917 | test/core/end2end/tests/server_finishes_request.cc |
| 4918 | test/core/end2end/tests/shutdown_finishes_calls.cc |
| 4919 | test/core/end2end/tests/shutdown_finishes_tags.cc |
| 4920 | test/core/end2end/tests/simple_cacheable_request.cc |
| 4921 | test/core/end2end/tests/simple_delayed_request.cc |
| 4922 | test/core/end2end/tests/simple_metadata.cc |
| 4923 | test/core/end2end/tests/simple_request.cc |
| 4924 | test/core/end2end/tests/stream_compression_compressed_payload.cc |
| 4925 | test/core/end2end/tests/stream_compression_payload.cc |
| 4926 | test/core/end2end/tests/stream_compression_ping_pong_streaming.cc |
| 4927 | test/core/end2end/tests/streaming_error_response.cc |
| 4928 | test/core/end2end/tests/trailing_metadata.cc |
| 4929 | test/core/end2end/tests/workaround_cronet_compression.cc |
| 4930 | test/core/end2end/tests/write_buffering.cc |
| 4931 | test/core/end2end/tests/write_buffering_at_end.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4932 | ) |
| 4933 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4934 | if(WIN32 AND MSVC) |
| 4935 | set_target_properties(end2end_nosec_tests PROPERTIES COMPILE_PDB_NAME "end2end_nosec_tests" |
| 4936 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4937 | ) |
| 4938 | if (gRPC_INSTALL) |
| 4939 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_nosec_tests.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4940 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4941 | ) |
| 4942 | endif() |
| 4943 | endif() |
| 4944 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4945 | |
| 4946 | target_include_directories(end2end_nosec_tests |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4947 | 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] | 4948 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4949 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4950 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4951 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4952 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4953 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4954 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4955 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4956 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4957 | ) |
| 4958 | |
| 4959 | target_link_libraries(end2end_nosec_tests |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4960 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4961 | grpc_test_util_unsecure |
| 4962 | grpc_unsecure |
| 4963 | gpr_test_util |
| 4964 | gpr |
| 4965 | ) |
| 4966 | |
| 4967 | |
| 4968 | endif (gRPC_BUILD_TESTS) |
| 4969 | |
| 4970 | if (gRPC_BUILD_TESTS) |
| 4971 | |
| 4972 | add_executable(alarm_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 4973 | test/core/surface/alarm_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4974 | ) |
| 4975 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4976 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4977 | target_include_directories(alarm_test |
| 4978 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4979 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 4980 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4981 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4982 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4983 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4984 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4985 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4986 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4987 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4988 | ) |
| 4989 | |
| 4990 | target_link_libraries(alarm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4991 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4992 | grpc_test_util |
| 4993 | grpc |
| 4994 | gpr_test_util |
| 4995 | gpr |
| 4996 | ) |
| 4997 | |
| 4998 | endif (gRPC_BUILD_TESTS) |
| 4999 | if (gRPC_BUILD_TESTS) |
| 5000 | |
| 5001 | add_executable(algorithm_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5002 | test/core/compression/algorithm_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5003 | ) |
| 5004 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5005 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5006 | target_include_directories(algorithm_test |
| 5007 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5008 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5009 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5010 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5011 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5012 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5013 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5014 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5015 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5016 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5017 | ) |
| 5018 | |
| 5019 | target_link_libraries(algorithm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5020 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5021 | grpc_test_util |
| 5022 | grpc |
| 5023 | gpr_test_util |
| 5024 | gpr |
| 5025 | ) |
| 5026 | |
| 5027 | endif (gRPC_BUILD_TESTS) |
| 5028 | if (gRPC_BUILD_TESTS) |
| 5029 | |
| 5030 | add_executable(alloc_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5031 | test/core/support/alloc_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5032 | ) |
| 5033 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5034 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5035 | target_include_directories(alloc_test |
| 5036 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5037 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5038 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5039 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5040 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5041 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5042 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5043 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5044 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5045 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5046 | ) |
| 5047 | |
| 5048 | target_link_libraries(alloc_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5049 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5050 | gpr_test_util |
| 5051 | gpr |
| 5052 | ) |
| 5053 | |
| 5054 | endif (gRPC_BUILD_TESTS) |
| 5055 | if (gRPC_BUILD_TESTS) |
| 5056 | |
| 5057 | add_executable(alpn_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5058 | test/core/transport/chttp2/alpn_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5059 | ) |
| 5060 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5061 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5062 | target_include_directories(alpn_test |
| 5063 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5064 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5065 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5066 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5067 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5068 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5069 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5070 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5071 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5072 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5073 | ) |
| 5074 | |
| 5075 | target_link_libraries(alpn_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5076 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5077 | grpc_test_util |
| 5078 | grpc |
| 5079 | gpr_test_util |
| 5080 | gpr |
| 5081 | ) |
| 5082 | |
| 5083 | endif (gRPC_BUILD_TESTS) |
| 5084 | if (gRPC_BUILD_TESTS) |
| 5085 | |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 5086 | add_executable(arena_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5087 | test/core/support/arena_test.cc |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 5088 | ) |
| 5089 | |
| 5090 | |
| 5091 | target_include_directories(arena_test |
| 5092 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5093 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5094 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 5095 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5096 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5097 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5098 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5099 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5100 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 5101 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5102 | ) |
| 5103 | |
| 5104 | target_link_libraries(arena_test |
| 5105 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5106 | gpr_test_util |
| 5107 | gpr |
| 5108 | ) |
| 5109 | |
| 5110 | endif (gRPC_BUILD_TESTS) |
| 5111 | if (gRPC_BUILD_TESTS) |
| 5112 | |
Craig Tiller | c0df1c0 | 2017-07-17 16:12:33 -0700 | [diff] [blame] | 5113 | add_executable(backoff_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5114 | test/core/backoff/backoff_test.cc |
Craig Tiller | c0df1c0 | 2017-07-17 16:12:33 -0700 | [diff] [blame] | 5115 | ) |
| 5116 | |
| 5117 | |
| 5118 | target_include_directories(backoff_test |
| 5119 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5120 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5121 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | c0df1c0 | 2017-07-17 16:12:33 -0700 | [diff] [blame] | 5122 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5123 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5124 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5125 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Craig Tiller | c0df1c0 | 2017-07-17 16:12:33 -0700 | [diff] [blame] | 5126 | PRIVATE ${CARES_INCLUDE_DIR} |
Craig Tiller | c0df1c0 | 2017-07-17 16:12:33 -0700 | [diff] [blame] | 5127 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5128 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5129 | ) |
| 5130 | |
| 5131 | target_link_libraries(backoff_test |
| 5132 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5133 | grpc_test_util |
| 5134 | grpc |
| 5135 | gpr_test_util |
| 5136 | gpr |
| 5137 | ) |
| 5138 | |
| 5139 | endif (gRPC_BUILD_TESTS) |
| 5140 | if (gRPC_BUILD_TESTS) |
| 5141 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5142 | add_executable(bad_server_response_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5143 | test/core/end2end/bad_server_response_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5144 | ) |
| 5145 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5146 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5147 | target_include_directories(bad_server_response_test |
| 5148 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5149 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5150 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5151 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5152 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5153 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5154 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5155 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5156 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5157 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5158 | ) |
| 5159 | |
| 5160 | target_link_libraries(bad_server_response_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5161 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5162 | test_tcp_server |
| 5163 | grpc_test_util |
| 5164 | grpc |
| 5165 | gpr_test_util |
| 5166 | gpr |
| 5167 | ) |
| 5168 | |
| 5169 | endif (gRPC_BUILD_TESTS) |
| 5170 | if (gRPC_BUILD_TESTS) |
| 5171 | |
| 5172 | add_executable(bin_decoder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5173 | test/core/transport/chttp2/bin_decoder_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5174 | ) |
| 5175 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5176 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5177 | target_include_directories(bin_decoder_test |
| 5178 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5179 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5180 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5181 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5182 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5183 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5184 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5185 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5186 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5187 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5188 | ) |
| 5189 | |
| 5190 | target_link_libraries(bin_decoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5191 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5192 | grpc_test_util |
| 5193 | grpc |
| 5194 | ) |
| 5195 | |
| 5196 | endif (gRPC_BUILD_TESTS) |
| 5197 | if (gRPC_BUILD_TESTS) |
| 5198 | |
| 5199 | add_executable(bin_encoder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5200 | test/core/transport/chttp2/bin_encoder_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5201 | ) |
| 5202 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5203 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5204 | target_include_directories(bin_encoder_test |
| 5205 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5206 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5207 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5208 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5209 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5210 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5211 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5212 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5213 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5214 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5215 | ) |
| 5216 | |
| 5217 | target_link_libraries(bin_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5218 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5219 | grpc_test_util |
| 5220 | grpc |
| 5221 | ) |
| 5222 | |
| 5223 | endif (gRPC_BUILD_TESTS) |
| 5224 | if (gRPC_BUILD_TESTS) |
| 5225 | |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 5226 | add_executable(byte_stream_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5227 | test/core/transport/byte_stream_test.cc |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 5228 | ) |
| 5229 | |
| 5230 | |
| 5231 | target_include_directories(byte_stream_test |
| 5232 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5233 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5234 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 5235 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5236 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5237 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5238 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 5239 | PRIVATE ${CARES_INCLUDE_DIR} |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 5240 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5241 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5242 | ) |
| 5243 | |
| 5244 | target_link_libraries(byte_stream_test |
| 5245 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5246 | grpc_test_util |
| 5247 | grpc |
| 5248 | gpr_test_util |
| 5249 | gpr |
| 5250 | ) |
| 5251 | |
| 5252 | endif (gRPC_BUILD_TESTS) |
| 5253 | if (gRPC_BUILD_TESTS) |
| 5254 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5255 | add_executable(channel_create_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5256 | test/core/surface/channel_create_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5257 | ) |
| 5258 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5259 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5260 | target_include_directories(channel_create_test |
| 5261 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5262 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5263 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5264 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5265 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5266 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5267 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5268 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5269 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5270 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5271 | ) |
| 5272 | |
| 5273 | target_link_libraries(channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5274 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5275 | grpc_test_util |
| 5276 | grpc |
| 5277 | gpr_test_util |
| 5278 | gpr |
| 5279 | ) |
| 5280 | |
| 5281 | endif (gRPC_BUILD_TESTS) |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5282 | |
| 5283 | add_executable(check_epollexclusive |
| 5284 | test/build/check_epollexclusive.c |
| 5285 | ) |
| 5286 | |
| 5287 | |
| 5288 | target_include_directories(check_epollexclusive |
| 5289 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5290 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5291 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5292 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5293 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5294 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5295 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5296 | PRIVATE ${CARES_INCLUDE_DIR} |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5297 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5298 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5299 | ) |
| 5300 | |
| 5301 | target_link_libraries(check_epollexclusive |
| 5302 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5303 | grpc |
| 5304 | gpr |
| 5305 | ) |
| 5306 | |
| 5307 | |
| 5308 | if (gRPC_INSTALL) |
| 5309 | install(TARGETS check_epollexclusive EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5310 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 5311 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 5312 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5313 | ) |
| 5314 | endif() |
| 5315 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5316 | if (gRPC_BUILD_TESTS) |
| 5317 | |
| 5318 | add_executable(chttp2_hpack_encoder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5319 | test/core/transport/chttp2/hpack_encoder_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5320 | ) |
| 5321 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5322 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5323 | target_include_directories(chttp2_hpack_encoder_test |
| 5324 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5325 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5326 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5327 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5328 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5329 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5330 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5331 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5332 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5333 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5334 | ) |
| 5335 | |
| 5336 | target_link_libraries(chttp2_hpack_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5337 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5338 | grpc_test_util |
| 5339 | grpc |
| 5340 | gpr_test_util |
| 5341 | gpr |
| 5342 | ) |
| 5343 | |
| 5344 | endif (gRPC_BUILD_TESTS) |
| 5345 | if (gRPC_BUILD_TESTS) |
| 5346 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5347 | add_executable(chttp2_stream_map_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5348 | test/core/transport/chttp2/stream_map_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5349 | ) |
| 5350 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5351 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5352 | target_include_directories(chttp2_stream_map_test |
| 5353 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5354 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5355 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5356 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5357 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5358 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5359 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5360 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5361 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5362 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5363 | ) |
| 5364 | |
| 5365 | target_link_libraries(chttp2_stream_map_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 | |
| 5373 | endif (gRPC_BUILD_TESTS) |
| 5374 | if (gRPC_BUILD_TESTS) |
| 5375 | |
| 5376 | add_executable(chttp2_varint_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5377 | test/core/transport/chttp2/varint_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5378 | ) |
| 5379 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5380 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5381 | target_include_directories(chttp2_varint_test |
| 5382 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5383 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5384 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5385 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5386 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5387 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5388 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5389 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5390 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5391 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5392 | ) |
| 5393 | |
| 5394 | target_link_libraries(chttp2_varint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5395 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5396 | grpc_test_util |
| 5397 | grpc |
| 5398 | gpr_test_util |
| 5399 | gpr |
| 5400 | ) |
| 5401 | |
| 5402 | endif (gRPC_BUILD_TESTS) |
| 5403 | if (gRPC_BUILD_TESTS) |
| 5404 | |
| 5405 | add_executable(combiner_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5406 | test/core/iomgr/combiner_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5407 | ) |
| 5408 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5409 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5410 | target_include_directories(combiner_test |
| 5411 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5412 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5413 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5414 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5415 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5416 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5417 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5418 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5419 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5420 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5421 | ) |
| 5422 | |
| 5423 | target_link_libraries(combiner_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5424 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5425 | grpc_test_util |
| 5426 | grpc |
| 5427 | gpr_test_util |
| 5428 | gpr |
| 5429 | ) |
| 5430 | |
| 5431 | endif (gRPC_BUILD_TESTS) |
| 5432 | if (gRPC_BUILD_TESTS) |
| 5433 | |
| 5434 | add_executable(compression_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5435 | test/core/compression/compression_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(compression_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 | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5443 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5444 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5445 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5446 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5447 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5448 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5449 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5450 | ) |
| 5451 | |
| 5452 | target_link_libraries(compression_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5453 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5454 | grpc_test_util |
| 5455 | grpc |
| 5456 | gpr_test_util |
| 5457 | gpr |
| 5458 | ) |
| 5459 | |
| 5460 | endif (gRPC_BUILD_TESTS) |
| 5461 | if (gRPC_BUILD_TESTS) |
| 5462 | |
| 5463 | add_executable(concurrent_connectivity_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5464 | test/core/surface/concurrent_connectivity_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(concurrent_connectivity_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 | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5472 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5473 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5474 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5475 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5476 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5477 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5478 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5479 | ) |
| 5480 | |
| 5481 | target_link_libraries(concurrent_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5482 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5483 | grpc_test_util |
| 5484 | grpc |
| 5485 | gpr_test_util |
| 5486 | gpr |
| 5487 | ) |
| 5488 | |
| 5489 | endif (gRPC_BUILD_TESTS) |
| 5490 | if (gRPC_BUILD_TESTS) |
| 5491 | |
| 5492 | add_executable(connection_refused_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5493 | test/core/end2end/connection_refused_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5494 | ) |
| 5495 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5496 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5497 | target_include_directories(connection_refused_test |
| 5498 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5499 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5500 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5501 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5502 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5503 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5504 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5505 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5506 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5507 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5508 | ) |
| 5509 | |
| 5510 | target_link_libraries(connection_refused_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5511 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5512 | grpc_test_util |
| 5513 | grpc |
| 5514 | gpr_test_util |
| 5515 | gpr |
| 5516 | ) |
| 5517 | |
| 5518 | endif (gRPC_BUILD_TESTS) |
| 5519 | if (gRPC_BUILD_TESTS) |
| 5520 | |
| 5521 | add_executable(dns_resolver_connectivity_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5522 | test/core/client_channel/resolvers/dns_resolver_connectivity_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5523 | ) |
| 5524 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5525 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5526 | target_include_directories(dns_resolver_connectivity_test |
| 5527 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5528 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5529 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5530 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5531 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5532 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5533 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5534 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5535 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5536 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5537 | ) |
| 5538 | |
| 5539 | target_link_libraries(dns_resolver_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5540 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5541 | grpc_test_util |
| 5542 | grpc |
| 5543 | gpr_test_util |
| 5544 | gpr |
| 5545 | ) |
| 5546 | |
| 5547 | endif (gRPC_BUILD_TESTS) |
| 5548 | if (gRPC_BUILD_TESTS) |
| 5549 | |
| 5550 | add_executable(dns_resolver_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5551 | test/core/client_channel/resolvers/dns_resolver_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5552 | ) |
| 5553 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5554 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5555 | target_include_directories(dns_resolver_test |
| 5556 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5557 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5558 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5559 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5560 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5561 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5562 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5563 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5564 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5565 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5566 | ) |
| 5567 | |
| 5568 | target_link_libraries(dns_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5569 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5570 | grpc_test_util |
| 5571 | grpc |
| 5572 | gpr_test_util |
| 5573 | gpr |
| 5574 | ) |
| 5575 | |
| 5576 | endif (gRPC_BUILD_TESTS) |
| 5577 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5578 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5579 | |
| 5580 | add_executable(dualstack_socket_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5581 | test/core/end2end/dualstack_socket_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5582 | ) |
| 5583 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5584 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5585 | target_include_directories(dualstack_socket_test |
| 5586 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5587 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5588 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5589 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5590 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5591 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5592 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5593 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5594 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5595 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5596 | ) |
| 5597 | |
| 5598 | target_link_libraries(dualstack_socket_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5599 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5600 | grpc_test_util |
| 5601 | grpc |
| 5602 | gpr_test_util |
| 5603 | gpr |
| 5604 | ) |
| 5605 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5606 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5607 | endif (gRPC_BUILD_TESTS) |
| 5608 | if (gRPC_BUILD_TESTS) |
| 5609 | |
| 5610 | add_executable(endpoint_pair_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5611 | test/core/iomgr/endpoint_pair_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5612 | ) |
| 5613 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5614 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5615 | target_include_directories(endpoint_pair_test |
| 5616 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5617 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5618 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5619 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5620 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5621 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5622 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5623 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5624 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5625 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5626 | ) |
| 5627 | |
| 5628 | target_link_libraries(endpoint_pair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5629 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5630 | grpc_test_util |
| 5631 | grpc |
| 5632 | gpr_test_util |
| 5633 | gpr |
| 5634 | ) |
| 5635 | |
| 5636 | endif (gRPC_BUILD_TESTS) |
| 5637 | if (gRPC_BUILD_TESTS) |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5638 | |
| 5639 | add_executable(error_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5640 | test/core/iomgr/error_test.cc |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5641 | ) |
| 5642 | |
| 5643 | |
| 5644 | target_include_directories(error_test |
| 5645 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5646 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5647 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5648 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5649 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5650 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5651 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5652 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5653 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5654 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5655 | ) |
| 5656 | |
| 5657 | target_link_libraries(error_test |
| 5658 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5659 | grpc_test_util |
| 5660 | grpc |
| 5661 | gpr_test_util |
| 5662 | gpr |
| 5663 | ) |
| 5664 | |
| 5665 | endif (gRPC_BUILD_TESTS) |
| 5666 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5667 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5668 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5669 | add_executable(ev_epollsig_linux_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5670 | test/core/iomgr/ev_epollsig_linux_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5671 | ) |
| 5672 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5673 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5674 | target_include_directories(ev_epollsig_linux_test |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5675 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5676 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5677 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5678 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5679 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5680 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5681 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5682 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5683 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5684 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5685 | ) |
| 5686 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5687 | target_link_libraries(ev_epollsig_linux_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5688 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5689 | grpc_test_util |
| 5690 | grpc |
| 5691 | gpr_test_util |
| 5692 | gpr |
| 5693 | ) |
| 5694 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5695 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5696 | endif (gRPC_BUILD_TESTS) |
| 5697 | if (gRPC_BUILD_TESTS) |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5698 | |
| 5699 | add_executable(fake_resolver_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5700 | test/core/client_channel/resolvers/fake_resolver_test.cc |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5701 | ) |
| 5702 | |
| 5703 | |
| 5704 | target_include_directories(fake_resolver_test |
| 5705 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5706 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5707 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5708 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5709 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5710 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5711 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5712 | PRIVATE ${CARES_INCLUDE_DIR} |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5713 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5714 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5715 | ) |
| 5716 | |
| 5717 | target_link_libraries(fake_resolver_test |
| 5718 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5719 | grpc_test_util |
| 5720 | grpc |
| 5721 | gpr_test_util |
| 5722 | gpr |
| 5723 | ) |
| 5724 | |
| 5725 | endif (gRPC_BUILD_TESTS) |
| 5726 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5727 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5728 | |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 5729 | add_executable(fake_transport_security_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5730 | test/core/tsi/fake_transport_security_test.cc |
| 5731 | test/core/tsi/transport_security_test_lib.cc |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 5732 | ) |
| 5733 | |
| 5734 | |
| 5735 | target_include_directories(fake_transport_security_test |
| 5736 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5737 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5738 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 5739 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5740 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5741 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5742 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 5743 | PRIVATE ${CARES_INCLUDE_DIR} |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 5744 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5745 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5746 | ) |
| 5747 | |
| 5748 | target_link_libraries(fake_transport_security_test |
| 5749 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5750 | gpr_test_util |
| 5751 | gpr |
| 5752 | grpc |
| 5753 | ) |
| 5754 | |
| 5755 | endif() |
| 5756 | endif (gRPC_BUILD_TESTS) |
| 5757 | if (gRPC_BUILD_TESTS) |
| 5758 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 5759 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5760 | add_executable(fd_conservation_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5761 | test/core/iomgr/fd_conservation_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5762 | ) |
| 5763 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5764 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5765 | target_include_directories(fd_conservation_posix_test |
| 5766 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5767 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5768 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5769 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5770 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5771 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5772 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5773 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5774 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5775 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5776 | ) |
| 5777 | |
| 5778 | target_link_libraries(fd_conservation_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5779 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5780 | grpc_test_util |
| 5781 | grpc |
| 5782 | gpr_test_util |
| 5783 | gpr |
| 5784 | ) |
| 5785 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5786 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5787 | endif (gRPC_BUILD_TESTS) |
| 5788 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5789 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5790 | |
| 5791 | add_executable(fd_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5792 | test/core/iomgr/fd_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5793 | ) |
| 5794 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5795 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5796 | target_include_directories(fd_posix_test |
| 5797 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5798 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5799 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5800 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5801 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5802 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5803 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5804 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5805 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5806 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5807 | ) |
| 5808 | |
| 5809 | target_link_libraries(fd_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5810 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5811 | grpc_test_util |
| 5812 | grpc |
| 5813 | gpr_test_util |
| 5814 | gpr |
| 5815 | ) |
| 5816 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5817 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5818 | endif (gRPC_BUILD_TESTS) |
| 5819 | if (gRPC_BUILD_TESTS) |
| 5820 | |
| 5821 | add_executable(fling_client |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5822 | test/core/fling/client.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5823 | ) |
| 5824 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5825 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5826 | target_include_directories(fling_client |
| 5827 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5828 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5829 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5830 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5831 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5832 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5833 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5834 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5835 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5836 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5837 | ) |
| 5838 | |
| 5839 | target_link_libraries(fling_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5840 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5841 | grpc_test_util |
| 5842 | grpc |
| 5843 | gpr_test_util |
| 5844 | gpr |
| 5845 | ) |
| 5846 | |
| 5847 | endif (gRPC_BUILD_TESTS) |
| 5848 | if (gRPC_BUILD_TESTS) |
| 5849 | |
| 5850 | add_executable(fling_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5851 | test/core/fling/server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5852 | ) |
| 5853 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5854 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5855 | target_include_directories(fling_server |
| 5856 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5857 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5858 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5859 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5860 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5861 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5862 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5863 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5864 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5865 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5866 | ) |
| 5867 | |
| 5868 | target_link_libraries(fling_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5869 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5870 | grpc_test_util |
| 5871 | grpc |
| 5872 | gpr_test_util |
| 5873 | gpr |
| 5874 | ) |
| 5875 | |
| 5876 | endif (gRPC_BUILD_TESTS) |
| 5877 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5878 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5879 | |
| 5880 | add_executable(fling_stream_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5881 | test/core/fling/fling_stream_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5882 | ) |
| 5883 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5884 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5885 | target_include_directories(fling_stream_test |
| 5886 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5887 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5888 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5889 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5890 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5891 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5892 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5893 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5894 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5895 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5896 | ) |
| 5897 | |
| 5898 | target_link_libraries(fling_stream_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 | grpc_test_util |
| 5901 | grpc |
| 5902 | gpr_test_util |
| 5903 | gpr |
| 5904 | ) |
| 5905 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5906 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5907 | endif (gRPC_BUILD_TESTS) |
| 5908 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5909 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5910 | |
| 5911 | add_executable(fling_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5912 | test/core/fling/fling_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5913 | ) |
| 5914 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5915 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5916 | target_include_directories(fling_test |
| 5917 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5918 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5919 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5920 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5921 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5922 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5923 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5924 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5925 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5926 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5927 | ) |
| 5928 | |
| 5929 | target_link_libraries(fling_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5930 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5931 | grpc_test_util |
| 5932 | grpc |
| 5933 | gpr_test_util |
| 5934 | gpr |
| 5935 | ) |
| 5936 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5937 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5938 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5939 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5940 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5941 | |
| 5942 | add_executable(goaway_server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5943 | test/core/end2end/goaway_server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5944 | ) |
| 5945 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5946 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5947 | target_include_directories(goaway_server_test |
| 5948 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5949 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5950 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5951 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5952 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5953 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5954 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5955 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5956 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5957 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5958 | ) |
| 5959 | |
| 5960 | target_link_libraries(goaway_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5961 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5962 | grpc_test_util |
| 5963 | grpc |
| 5964 | gpr_test_util |
| 5965 | gpr |
| 5966 | ) |
| 5967 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5968 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5969 | endif (gRPC_BUILD_TESTS) |
| 5970 | if (gRPC_BUILD_TESTS) |
| 5971 | |
| 5972 | add_executable(gpr_avl_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 5973 | test/core/support/avl_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5974 | ) |
| 5975 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5976 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5977 | target_include_directories(gpr_avl_test |
| 5978 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5979 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 5980 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5981 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5982 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5983 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5984 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5985 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5986 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5987 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5988 | ) |
| 5989 | |
| 5990 | target_link_libraries(gpr_avl_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5991 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5992 | gpr_test_util |
| 5993 | gpr |
| 5994 | ) |
| 5995 | |
| 5996 | endif (gRPC_BUILD_TESTS) |
| 5997 | if (gRPC_BUILD_TESTS) |
| 5998 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5999 | add_executable(gpr_cmdline_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6000 | test/core/support/cmdline_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6001 | ) |
| 6002 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6003 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6004 | target_include_directories(gpr_cmdline_test |
| 6005 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6006 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6007 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6008 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6009 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6010 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6011 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6012 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6013 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6014 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6015 | ) |
| 6016 | |
| 6017 | target_link_libraries(gpr_cmdline_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6018 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6019 | gpr_test_util |
| 6020 | gpr |
| 6021 | ) |
| 6022 | |
| 6023 | endif (gRPC_BUILD_TESTS) |
| 6024 | if (gRPC_BUILD_TESTS) |
| 6025 | |
| 6026 | add_executable(gpr_cpu_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6027 | test/core/support/cpu_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6028 | ) |
| 6029 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6030 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6031 | target_include_directories(gpr_cpu_test |
| 6032 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6033 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6034 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6035 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6036 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6037 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6038 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6039 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6040 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6041 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6042 | ) |
| 6043 | |
| 6044 | target_link_libraries(gpr_cpu_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6045 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6046 | gpr_test_util |
| 6047 | gpr |
| 6048 | ) |
| 6049 | |
| 6050 | endif (gRPC_BUILD_TESTS) |
| 6051 | if (gRPC_BUILD_TESTS) |
| 6052 | |
| 6053 | add_executable(gpr_env_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6054 | test/core/support/env_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6055 | ) |
| 6056 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6057 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6058 | target_include_directories(gpr_env_test |
| 6059 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6060 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6061 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6062 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6063 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6064 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6065 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6066 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6067 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6068 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6069 | ) |
| 6070 | |
| 6071 | target_link_libraries(gpr_env_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6072 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6073 | gpr_test_util |
| 6074 | gpr |
| 6075 | ) |
| 6076 | |
| 6077 | endif (gRPC_BUILD_TESTS) |
| 6078 | if (gRPC_BUILD_TESTS) |
| 6079 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6080 | add_executable(gpr_host_port_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6081 | test/core/support/host_port_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6082 | ) |
| 6083 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6084 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6085 | target_include_directories(gpr_host_port_test |
| 6086 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6087 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6088 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6089 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6090 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6091 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6092 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6093 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6094 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6095 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6096 | ) |
| 6097 | |
| 6098 | target_link_libraries(gpr_host_port_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6099 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6100 | gpr_test_util |
| 6101 | gpr |
| 6102 | ) |
| 6103 | |
| 6104 | endif (gRPC_BUILD_TESTS) |
| 6105 | if (gRPC_BUILD_TESTS) |
| 6106 | |
| 6107 | add_executable(gpr_log_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6108 | test/core/support/log_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6109 | ) |
| 6110 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6111 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6112 | target_include_directories(gpr_log_test |
| 6113 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6114 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6115 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6116 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6117 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6118 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6119 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6120 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6121 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6122 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6123 | ) |
| 6124 | |
| 6125 | target_link_libraries(gpr_log_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6126 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6127 | gpr_test_util |
| 6128 | gpr |
| 6129 | ) |
| 6130 | |
| 6131 | endif (gRPC_BUILD_TESTS) |
| 6132 | if (gRPC_BUILD_TESTS) |
| 6133 | |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 6134 | add_executable(gpr_manual_constructor_test |
| 6135 | test/core/support/manual_constructor_test.cc |
| 6136 | ) |
| 6137 | |
| 6138 | |
| 6139 | target_include_directories(gpr_manual_constructor_test |
| 6140 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6141 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6142 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 6143 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 6144 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 6145 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6146 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6147 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6148 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 6149 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
ncteisen | 4d9c98b | 2017-11-09 12:43:15 -0800 | [diff] [blame] | 6150 | ) |
| 6151 | |
| 6152 | target_link_libraries(gpr_manual_constructor_test |
| 6153 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6154 | gpr_test_util |
| 6155 | gpr |
| 6156 | ) |
| 6157 | |
| 6158 | endif (gRPC_BUILD_TESTS) |
| 6159 | if (gRPC_BUILD_TESTS) |
| 6160 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6161 | add_executable(gpr_mpscq_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6162 | test/core/support/mpscq_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6163 | ) |
| 6164 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6165 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6166 | target_include_directories(gpr_mpscq_test |
| 6167 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6168 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6169 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6170 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6171 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6172 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6173 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6174 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6175 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6176 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6177 | ) |
| 6178 | |
| 6179 | target_link_libraries(gpr_mpscq_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6180 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6181 | gpr_test_util |
| 6182 | gpr |
| 6183 | ) |
| 6184 | |
| 6185 | endif (gRPC_BUILD_TESTS) |
| 6186 | if (gRPC_BUILD_TESTS) |
| 6187 | |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 6188 | add_executable(gpr_spinlock_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6189 | test/core/support/spinlock_test.cc |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 6190 | ) |
| 6191 | |
| 6192 | |
| 6193 | target_include_directories(gpr_spinlock_test |
| 6194 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6195 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6196 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 6197 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 6198 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 6199 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6200 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6201 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6202 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 6203 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6204 | ) |
| 6205 | |
| 6206 | target_link_libraries(gpr_spinlock_test |
| 6207 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6208 | gpr_test_util |
| 6209 | gpr |
| 6210 | ) |
| 6211 | |
| 6212 | endif (gRPC_BUILD_TESTS) |
| 6213 | if (gRPC_BUILD_TESTS) |
| 6214 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6215 | add_executable(gpr_string_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6216 | test/core/support/string_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6217 | ) |
| 6218 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6219 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6220 | target_include_directories(gpr_string_test |
| 6221 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6222 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6223 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6224 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6225 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6226 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6227 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6228 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6229 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6230 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6231 | ) |
| 6232 | |
| 6233 | target_link_libraries(gpr_string_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6234 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6235 | gpr_test_util |
| 6236 | gpr |
| 6237 | ) |
| 6238 | |
| 6239 | endif (gRPC_BUILD_TESTS) |
| 6240 | if (gRPC_BUILD_TESTS) |
| 6241 | |
| 6242 | add_executable(gpr_sync_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6243 | test/core/support/sync_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6244 | ) |
| 6245 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6246 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6247 | target_include_directories(gpr_sync_test |
| 6248 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6249 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6250 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6251 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6252 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6253 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6254 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6255 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6256 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6257 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6258 | ) |
| 6259 | |
| 6260 | target_link_libraries(gpr_sync_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6261 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6262 | gpr_test_util |
| 6263 | gpr |
| 6264 | ) |
| 6265 | |
| 6266 | endif (gRPC_BUILD_TESTS) |
| 6267 | if (gRPC_BUILD_TESTS) |
| 6268 | |
| 6269 | add_executable(gpr_thd_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6270 | test/core/support/thd_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6271 | ) |
| 6272 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6273 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6274 | target_include_directories(gpr_thd_test |
| 6275 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6276 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6277 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6278 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6279 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6280 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6281 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6282 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6283 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6284 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6285 | ) |
| 6286 | |
| 6287 | target_link_libraries(gpr_thd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6288 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6289 | gpr_test_util |
| 6290 | gpr |
| 6291 | ) |
| 6292 | |
| 6293 | endif (gRPC_BUILD_TESTS) |
| 6294 | if (gRPC_BUILD_TESTS) |
| 6295 | |
| 6296 | add_executable(gpr_time_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6297 | test/core/support/time_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6298 | ) |
| 6299 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6300 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6301 | target_include_directories(gpr_time_test |
| 6302 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6303 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6304 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6305 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6306 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6307 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6308 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6309 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6310 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6311 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6312 | ) |
| 6313 | |
| 6314 | target_link_libraries(gpr_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6315 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6316 | gpr_test_util |
| 6317 | gpr |
| 6318 | ) |
| 6319 | |
| 6320 | endif (gRPC_BUILD_TESTS) |
| 6321 | if (gRPC_BUILD_TESTS) |
| 6322 | |
| 6323 | add_executable(gpr_tls_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6324 | test/core/support/tls_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6325 | ) |
| 6326 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6327 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6328 | target_include_directories(gpr_tls_test |
| 6329 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6330 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6331 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6332 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6333 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6334 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6335 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6336 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6337 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6338 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6339 | ) |
| 6340 | |
| 6341 | target_link_libraries(gpr_tls_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6342 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6343 | gpr_test_util |
| 6344 | gpr |
| 6345 | ) |
| 6346 | |
| 6347 | endif (gRPC_BUILD_TESTS) |
| 6348 | if (gRPC_BUILD_TESTS) |
| 6349 | |
| 6350 | add_executable(gpr_useful_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6351 | test/core/support/useful_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6352 | ) |
| 6353 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6354 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6355 | target_include_directories(gpr_useful_test |
| 6356 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6357 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6358 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6359 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6360 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6361 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6362 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6363 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6364 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6365 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6366 | ) |
| 6367 | |
| 6368 | target_link_libraries(gpr_useful_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6369 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6370 | gpr_test_util |
| 6371 | gpr |
| 6372 | ) |
| 6373 | |
| 6374 | endif (gRPC_BUILD_TESTS) |
| 6375 | if (gRPC_BUILD_TESTS) |
| 6376 | |
| 6377 | add_executable(grpc_auth_context_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6378 | test/core/security/auth_context_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6379 | ) |
| 6380 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6381 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6382 | target_include_directories(grpc_auth_context_test |
| 6383 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6384 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6385 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6386 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6387 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6388 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6389 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6390 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6391 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6392 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6393 | ) |
| 6394 | |
| 6395 | target_link_libraries(grpc_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6396 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6397 | grpc_test_util |
| 6398 | grpc |
| 6399 | gpr_test_util |
| 6400 | gpr |
| 6401 | ) |
| 6402 | |
| 6403 | endif (gRPC_BUILD_TESTS) |
| 6404 | if (gRPC_BUILD_TESTS) |
| 6405 | |
| 6406 | add_executable(grpc_b64_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6407 | test/core/slice/b64_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6408 | ) |
| 6409 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6410 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6411 | target_include_directories(grpc_b64_test |
| 6412 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6413 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6414 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6415 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6416 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6417 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6418 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6419 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6420 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6421 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6422 | ) |
| 6423 | |
| 6424 | target_link_libraries(grpc_b64_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6425 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6426 | grpc_test_util |
| 6427 | grpc |
| 6428 | gpr_test_util |
| 6429 | gpr |
| 6430 | ) |
| 6431 | |
| 6432 | endif (gRPC_BUILD_TESTS) |
| 6433 | if (gRPC_BUILD_TESTS) |
| 6434 | |
| 6435 | add_executable(grpc_byte_buffer_reader_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6436 | test/core/surface/byte_buffer_reader_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6437 | ) |
| 6438 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6439 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6440 | target_include_directories(grpc_byte_buffer_reader_test |
| 6441 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6442 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6443 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6444 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6445 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6446 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6447 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6448 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6449 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6450 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6451 | ) |
| 6452 | |
| 6453 | target_link_libraries(grpc_byte_buffer_reader_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6454 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6455 | grpc_test_util |
| 6456 | grpc |
| 6457 | gpr_test_util |
| 6458 | gpr |
| 6459 | ) |
| 6460 | |
| 6461 | endif (gRPC_BUILD_TESTS) |
| 6462 | if (gRPC_BUILD_TESTS) |
| 6463 | |
| 6464 | add_executable(grpc_channel_args_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6465 | test/core/channel/channel_args_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6466 | ) |
| 6467 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6468 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6469 | target_include_directories(grpc_channel_args_test |
| 6470 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6471 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6472 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6473 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6474 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6475 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6476 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6477 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6478 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6479 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6480 | ) |
| 6481 | |
| 6482 | target_link_libraries(grpc_channel_args_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6483 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6484 | grpc_test_util |
| 6485 | grpc |
| 6486 | gpr_test_util |
| 6487 | gpr |
| 6488 | ) |
| 6489 | |
| 6490 | endif (gRPC_BUILD_TESTS) |
| 6491 | if (gRPC_BUILD_TESTS) |
| 6492 | |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6493 | add_executable(grpc_channel_stack_builder_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6494 | test/core/channel/channel_stack_builder_test.cc |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6495 | ) |
| 6496 | |
| 6497 | |
| 6498 | target_include_directories(grpc_channel_stack_builder_test |
| 6499 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6500 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6501 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6502 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 6503 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 6504 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6505 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6506 | PRIVATE ${CARES_INCLUDE_DIR} |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6507 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 6508 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6509 | ) |
| 6510 | |
| 6511 | target_link_libraries(grpc_channel_stack_builder_test |
| 6512 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6513 | grpc_test_util |
| 6514 | grpc |
| 6515 | gpr_test_util |
| 6516 | gpr |
| 6517 | ) |
| 6518 | |
| 6519 | endif (gRPC_BUILD_TESTS) |
| 6520 | if (gRPC_BUILD_TESTS) |
| 6521 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6522 | add_executable(grpc_channel_stack_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6523 | test/core/channel/channel_stack_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6524 | ) |
| 6525 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6526 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6527 | target_include_directories(grpc_channel_stack_test |
| 6528 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6529 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6530 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6531 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6532 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6533 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6534 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6535 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6536 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6537 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6538 | ) |
| 6539 | |
| 6540 | target_link_libraries(grpc_channel_stack_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6541 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6542 | grpc_test_util |
| 6543 | grpc |
| 6544 | gpr_test_util |
| 6545 | gpr |
| 6546 | ) |
| 6547 | |
| 6548 | endif (gRPC_BUILD_TESTS) |
| 6549 | if (gRPC_BUILD_TESTS) |
| 6550 | |
| 6551 | add_executable(grpc_completion_queue_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6552 | test/core/surface/completion_queue_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6553 | ) |
| 6554 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6555 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6556 | target_include_directories(grpc_completion_queue_test |
| 6557 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6558 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6559 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6560 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6561 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6562 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6563 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6564 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6565 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6566 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6567 | ) |
| 6568 | |
| 6569 | target_link_libraries(grpc_completion_queue_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6570 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6571 | grpc_test_util |
| 6572 | grpc |
| 6573 | gpr_test_util |
| 6574 | gpr |
| 6575 | ) |
| 6576 | |
| 6577 | endif (gRPC_BUILD_TESTS) |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6578 | if (gRPC_BUILD_TESTS) |
| 6579 | |
| 6580 | add_executable(grpc_completion_queue_threading_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6581 | test/core/surface/completion_queue_threading_test.cc |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6582 | ) |
| 6583 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6584 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6585 | target_include_directories(grpc_completion_queue_threading_test |
| 6586 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6587 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6588 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6589 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6590 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6591 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6592 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6593 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6594 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6595 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6596 | ) |
| 6597 | |
| 6598 | target_link_libraries(grpc_completion_queue_threading_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6599 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6600 | grpc_test_util |
| 6601 | grpc |
| 6602 | gpr_test_util |
| 6603 | gpr |
| 6604 | ) |
| 6605 | |
| 6606 | endif (gRPC_BUILD_TESTS) |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 6607 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6608 | add_executable(grpc_create_jwt |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6609 | test/core/security/create_jwt.cc |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6610 | ) |
| 6611 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6612 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6613 | target_include_directories(grpc_create_jwt |
| 6614 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6615 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6616 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6617 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6618 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6619 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6620 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6621 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6622 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6623 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6624 | ) |
| 6625 | |
| 6626 | target_link_libraries(grpc_create_jwt |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 6627 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6628 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6629 | grpc |
| 6630 | gpr |
| 6631 | ) |
| 6632 | |
| 6633 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6634 | if (gRPC_INSTALL) |
| 6635 | install(TARGETS grpc_create_jwt EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6636 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6637 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6638 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6639 | ) |
| 6640 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6641 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6642 | if (gRPC_BUILD_TESTS) |
| 6643 | |
| 6644 | add_executable(grpc_credentials_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6645 | test/core/security/credentials_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6646 | ) |
| 6647 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6648 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6649 | target_include_directories(grpc_credentials_test |
| 6650 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6651 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6652 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6653 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6654 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6655 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6656 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6657 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6658 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6659 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6660 | ) |
| 6661 | |
| 6662 | target_link_libraries(grpc_credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6663 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6664 | grpc_test_util |
| 6665 | grpc |
| 6666 | gpr_test_util |
| 6667 | gpr |
| 6668 | ) |
| 6669 | |
| 6670 | endif (gRPC_BUILD_TESTS) |
| 6671 | if (gRPC_BUILD_TESTS) |
| 6672 | |
| 6673 | add_executable(grpc_fetch_oauth2 |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6674 | test/core/security/fetch_oauth2.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6675 | ) |
| 6676 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6677 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6678 | target_include_directories(grpc_fetch_oauth2 |
| 6679 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6680 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6681 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6682 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6683 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6684 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6685 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6686 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6687 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6688 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6689 | ) |
| 6690 | |
| 6691 | target_link_libraries(grpc_fetch_oauth2 |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6692 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6693 | grpc_test_util |
| 6694 | grpc |
| 6695 | gpr_test_util |
| 6696 | gpr |
| 6697 | ) |
| 6698 | |
| 6699 | endif (gRPC_BUILD_TESTS) |
| 6700 | if (gRPC_BUILD_TESTS) |
| 6701 | |
| 6702 | add_executable(grpc_invalid_channel_args_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6703 | test/core/surface/invalid_channel_args_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6704 | ) |
| 6705 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6706 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6707 | target_include_directories(grpc_invalid_channel_args_test |
| 6708 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6709 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6710 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6711 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6712 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6713 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6714 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6715 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6716 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6717 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6718 | ) |
| 6719 | |
| 6720 | target_link_libraries(grpc_invalid_channel_args_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6721 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6722 | grpc_test_util |
| 6723 | grpc |
| 6724 | gpr_test_util |
| 6725 | gpr |
| 6726 | ) |
| 6727 | |
| 6728 | endif (gRPC_BUILD_TESTS) |
| 6729 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6730 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6731 | |
| 6732 | add_executable(grpc_json_token_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6733 | test/core/security/json_token_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6734 | ) |
| 6735 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6736 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6737 | target_include_directories(grpc_json_token_test |
| 6738 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6739 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6740 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6741 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6742 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6743 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6744 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6745 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6746 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6747 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6748 | ) |
| 6749 | |
| 6750 | target_link_libraries(grpc_json_token_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6751 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6752 | grpc_test_util |
| 6753 | grpc |
| 6754 | gpr_test_util |
| 6755 | gpr |
| 6756 | ) |
| 6757 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6758 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6759 | endif (gRPC_BUILD_TESTS) |
| 6760 | if (gRPC_BUILD_TESTS) |
| 6761 | |
| 6762 | add_executable(grpc_jwt_verifier_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6763 | test/core/security/jwt_verifier_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6764 | ) |
| 6765 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6766 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6767 | target_include_directories(grpc_jwt_verifier_test |
| 6768 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6769 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6770 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6771 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6772 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6773 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6774 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6775 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6776 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6777 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6778 | ) |
| 6779 | |
| 6780 | target_link_libraries(grpc_jwt_verifier_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6781 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6782 | grpc_test_util |
| 6783 | grpc |
| 6784 | gpr_test_util |
| 6785 | gpr |
| 6786 | ) |
| 6787 | |
| 6788 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6789 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6790 | add_executable(grpc_print_google_default_creds_token |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6791 | test/core/security/print_google_default_creds_token.cc |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6792 | ) |
| 6793 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6794 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6795 | target_include_directories(grpc_print_google_default_creds_token |
| 6796 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6797 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6798 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6799 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6800 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6801 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6802 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6803 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6804 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6805 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6806 | ) |
| 6807 | |
| 6808 | target_link_libraries(grpc_print_google_default_creds_token |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6809 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6810 | grpc |
| 6811 | gpr |
| 6812 | ) |
| 6813 | |
| 6814 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6815 | if (gRPC_INSTALL) |
| 6816 | install(TARGETS grpc_print_google_default_creds_token EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6817 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6818 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6819 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6820 | ) |
| 6821 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6822 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6823 | if (gRPC_BUILD_TESTS) |
| 6824 | |
| 6825 | add_executable(grpc_security_connector_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6826 | test/core/security/security_connector_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6827 | ) |
| 6828 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6829 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6830 | target_include_directories(grpc_security_connector_test |
| 6831 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6832 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6833 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6834 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6835 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6836 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6837 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6838 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6839 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6840 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6841 | ) |
| 6842 | |
| 6843 | target_link_libraries(grpc_security_connector_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6844 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6845 | grpc_test_util |
| 6846 | grpc |
| 6847 | gpr_test_util |
| 6848 | gpr |
| 6849 | ) |
| 6850 | |
| 6851 | endif (gRPC_BUILD_TESTS) |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 6852 | if (gRPC_BUILD_TESTS) |
| 6853 | |
| 6854 | add_executable(grpc_ssl_credentials_test |
Yash Tibrewal | af92246 | 2017-10-25 16:29:49 -0700 | [diff] [blame] | 6855 | test/core/security/ssl_credentials_test.cc |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 6856 | ) |
| 6857 | |
| 6858 | |
| 6859 | target_include_directories(grpc_ssl_credentials_test |
| 6860 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6861 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6862 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 6863 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 6864 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 6865 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6866 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6867 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6868 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 6869 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Justin Burke | 9b9a44e | 2017-10-03 18:09:41 -0700 | [diff] [blame] | 6870 | ) |
| 6871 | |
| 6872 | target_link_libraries(grpc_ssl_credentials_test |
| 6873 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6874 | grpc_test_util |
| 6875 | grpc |
| 6876 | gpr_test_util |
| 6877 | gpr |
| 6878 | ) |
| 6879 | |
| 6880 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6881 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6882 | add_executable(grpc_verify_jwt |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6883 | test/core/security/verify_jwt.cc |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6884 | ) |
| 6885 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6886 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6887 | target_include_directories(grpc_verify_jwt |
| 6888 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6889 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6890 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6891 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6892 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6893 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6894 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6895 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6896 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6897 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6898 | ) |
| 6899 | |
| 6900 | target_link_libraries(grpc_verify_jwt |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6901 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6902 | grpc |
| 6903 | gpr |
| 6904 | ) |
| 6905 | |
| 6906 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6907 | if (gRPC_INSTALL) |
| 6908 | install(TARGETS grpc_verify_jwt EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6909 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6910 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6911 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6912 | ) |
| 6913 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6914 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6915 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6916 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6917 | |
| 6918 | add_executable(handshake_client |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6919 | test/core/handshake/client_ssl.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6920 | ) |
| 6921 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6922 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6923 | target_include_directories(handshake_client |
| 6924 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6925 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6926 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6927 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6928 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6929 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6930 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6931 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6932 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6933 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6934 | ) |
| 6935 | |
| 6936 | target_link_libraries(handshake_client |
| 6937 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6938 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6939 | grpc_test_util |
| 6940 | grpc |
| 6941 | gpr_test_util |
| 6942 | gpr |
| 6943 | ) |
| 6944 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6945 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6946 | endif (gRPC_BUILD_TESTS) |
| 6947 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6948 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6949 | |
| 6950 | add_executable(handshake_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 6951 | test/core/handshake/server_ssl.cc |
Alexander Polcyn | 248c4f5 | 2017-11-13 16:31:27 -0800 | [diff] [blame] | 6952 | test/core/handshake/server_ssl_common.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6953 | ) |
| 6954 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6955 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6956 | target_include_directories(handshake_server |
| 6957 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6958 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6959 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6960 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6961 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6962 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6963 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6964 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6965 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6966 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6967 | ) |
| 6968 | |
| 6969 | target_link_libraries(handshake_server |
| 6970 | ${_gRPC_SSL_LIBRARIES} |
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 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6978 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6979 | endif (gRPC_BUILD_TESTS) |
| 6980 | if (gRPC_BUILD_TESTS) |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 6981 | if(_gRPC_PLATFORM_LINUX) |
| 6982 | |
| 6983 | add_executable(handshake_server_with_readahead_handshaker |
Alexander Polcyn | 248c4f5 | 2017-11-13 16:31:27 -0800 | [diff] [blame] | 6984 | test/core/handshake/readahead_handshaker_server_ssl.cc |
| 6985 | test/core/handshake/server_ssl_common.cc |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 6986 | ) |
| 6987 | |
| 6988 | |
| 6989 | target_include_directories(handshake_server_with_readahead_handshaker |
| 6990 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6991 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 6992 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 6993 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 6994 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 6995 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6996 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6997 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6998 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 6999 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Alexander Polcyn | 3f6b10a | 2017-10-28 16:57:29 -0700 | [diff] [blame] | 7000 | ) |
| 7001 | |
| 7002 | target_link_libraries(handshake_server_with_readahead_handshaker |
| 7003 | ${_gRPC_SSL_LIBRARIES} |
| 7004 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7005 | grpc_test_util |
| 7006 | grpc |
| 7007 | gpr_test_util |
| 7008 | gpr |
| 7009 | ) |
| 7010 | |
| 7011 | endif() |
| 7012 | endif (gRPC_BUILD_TESTS) |
| 7013 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7014 | |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 7015 | add_executable(histogram_test |
| 7016 | test/core/util/histogram_test.cc |
| 7017 | ) |
| 7018 | |
| 7019 | |
| 7020 | target_include_directories(histogram_test |
| 7021 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7022 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7023 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Vijay Pai | 195cf1e | 2017-11-30 10:56:06 -0800 | [diff] [blame] | 7024 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 7025 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 7026 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7027 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7028 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7029 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 7030 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7031 | ) |
| 7032 | |
| 7033 | target_link_libraries(histogram_test |
| 7034 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7035 | grpc_test_util |
| 7036 | gpr |
| 7037 | ) |
| 7038 | |
| 7039 | endif (gRPC_BUILD_TESTS) |
| 7040 | if (gRPC_BUILD_TESTS) |
| 7041 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7042 | add_executable(hpack_parser_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7043 | test/core/transport/chttp2/hpack_parser_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7044 | ) |
| 7045 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7046 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7047 | target_include_directories(hpack_parser_test |
| 7048 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7049 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7050 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7051 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7052 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7053 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7054 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7055 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7056 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7057 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7058 | ) |
| 7059 | |
| 7060 | target_link_libraries(hpack_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7061 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7062 | grpc_test_util |
| 7063 | grpc |
| 7064 | gpr_test_util |
| 7065 | gpr |
| 7066 | ) |
| 7067 | |
| 7068 | endif (gRPC_BUILD_TESTS) |
| 7069 | if (gRPC_BUILD_TESTS) |
| 7070 | |
| 7071 | add_executable(hpack_table_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7072 | test/core/transport/chttp2/hpack_table_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7073 | ) |
| 7074 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7075 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7076 | target_include_directories(hpack_table_test |
| 7077 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7078 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7079 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7080 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7081 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7082 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7083 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7084 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7085 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7086 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7087 | ) |
| 7088 | |
| 7089 | target_link_libraries(hpack_table_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7090 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7091 | grpc_test_util |
| 7092 | grpc |
| 7093 | gpr_test_util |
| 7094 | gpr |
| 7095 | ) |
| 7096 | |
| 7097 | endif (gRPC_BUILD_TESTS) |
| 7098 | if (gRPC_BUILD_TESTS) |
| 7099 | |
| 7100 | add_executable(http_parser_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7101 | test/core/http/parser_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7102 | ) |
| 7103 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7104 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7105 | target_include_directories(http_parser_test |
| 7106 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7107 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7108 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7109 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7110 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7111 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7112 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7113 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7114 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7115 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7116 | ) |
| 7117 | |
| 7118 | target_link_libraries(http_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7119 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7120 | grpc_test_util |
| 7121 | grpc |
| 7122 | gpr_test_util |
| 7123 | gpr |
| 7124 | ) |
| 7125 | |
| 7126 | endif (gRPC_BUILD_TESTS) |
| 7127 | if (gRPC_BUILD_TESTS) |
| 7128 | |
| 7129 | add_executable(httpcli_format_request_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7130 | test/core/http/format_request_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7131 | ) |
| 7132 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7133 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7134 | target_include_directories(httpcli_format_request_test |
| 7135 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7136 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7137 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7138 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7139 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7140 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7141 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7142 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7143 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7144 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7145 | ) |
| 7146 | |
| 7147 | target_link_libraries(httpcli_format_request_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7148 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7149 | grpc_test_util |
| 7150 | grpc |
| 7151 | gpr_test_util |
| 7152 | gpr |
| 7153 | ) |
| 7154 | |
| 7155 | endif (gRPC_BUILD_TESTS) |
| 7156 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7157 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7158 | |
| 7159 | add_executable(httpcli_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7160 | test/core/http/httpcli_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7161 | ) |
| 7162 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7163 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7164 | target_include_directories(httpcli_test |
| 7165 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7166 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7167 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7168 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7169 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7170 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7171 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7172 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7173 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7174 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7175 | ) |
| 7176 | |
| 7177 | target_link_libraries(httpcli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7178 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7179 | grpc_test_util |
| 7180 | grpc |
| 7181 | gpr_test_util |
| 7182 | gpr |
| 7183 | ) |
| 7184 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7185 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7186 | endif (gRPC_BUILD_TESTS) |
| 7187 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7188 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7189 | |
| 7190 | add_executable(httpscli_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7191 | test/core/http/httpscli_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7192 | ) |
| 7193 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7194 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7195 | target_include_directories(httpscli_test |
| 7196 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7197 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7198 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7199 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7200 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7201 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7202 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7203 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7204 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7205 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7206 | ) |
| 7207 | |
| 7208 | target_link_libraries(httpscli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7209 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7210 | grpc_test_util |
| 7211 | grpc |
| 7212 | gpr_test_util |
| 7213 | gpr |
| 7214 | ) |
| 7215 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7216 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7217 | endif (gRPC_BUILD_TESTS) |
| 7218 | if (gRPC_BUILD_TESTS) |
| 7219 | |
| 7220 | add_executable(init_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7221 | test/core/surface/init_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7222 | ) |
| 7223 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7224 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7225 | target_include_directories(init_test |
| 7226 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7227 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7228 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7229 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7230 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7231 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7232 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7233 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7234 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7235 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7236 | ) |
| 7237 | |
| 7238 | target_link_libraries(init_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7239 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7240 | grpc_test_util |
| 7241 | grpc |
| 7242 | gpr_test_util |
| 7243 | gpr |
| 7244 | ) |
| 7245 | |
| 7246 | endif (gRPC_BUILD_TESTS) |
| 7247 | if (gRPC_BUILD_TESTS) |
| 7248 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7249 | add_executable(invalid_call_argument_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7250 | test/core/end2end/invalid_call_argument_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7251 | ) |
| 7252 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7253 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7254 | target_include_directories(invalid_call_argument_test |
| 7255 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7256 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7257 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7258 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7259 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7260 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7261 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7262 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7263 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7264 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7265 | ) |
| 7266 | |
| 7267 | target_link_libraries(invalid_call_argument_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7268 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [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 | |
| 7278 | add_executable(json_rewrite |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7279 | test/core/json/json_rewrite.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(json_rewrite |
| 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 | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7287 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7288 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7289 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7290 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7291 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7292 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7293 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7294 | ) |
| 7295 | |
| 7296 | target_link_libraries(json_rewrite |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7297 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7298 | grpc |
| 7299 | gpr |
| 7300 | ) |
| 7301 | |
| 7302 | endif (gRPC_BUILD_TESTS) |
| 7303 | if (gRPC_BUILD_TESTS) |
| 7304 | |
| 7305 | add_executable(json_rewrite_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7306 | test/core/json/json_rewrite_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7307 | ) |
| 7308 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7309 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7310 | target_include_directories(json_rewrite_test |
| 7311 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7312 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7313 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7314 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7315 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7316 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7317 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7318 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7319 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7320 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7321 | ) |
| 7322 | |
| 7323 | target_link_libraries(json_rewrite_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7324 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7325 | grpc_test_util |
| 7326 | grpc |
| 7327 | gpr_test_util |
| 7328 | gpr |
| 7329 | ) |
| 7330 | |
| 7331 | endif (gRPC_BUILD_TESTS) |
| 7332 | if (gRPC_BUILD_TESTS) |
| 7333 | |
| 7334 | add_executable(json_stream_error_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7335 | test/core/json/json_stream_error_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7336 | ) |
| 7337 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7338 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7339 | target_include_directories(json_stream_error_test |
| 7340 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7341 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7342 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7343 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7344 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7345 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7346 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7347 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7348 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7349 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7350 | ) |
| 7351 | |
| 7352 | target_link_libraries(json_stream_error_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7353 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7354 | grpc_test_util |
| 7355 | grpc |
| 7356 | gpr_test_util |
| 7357 | gpr |
| 7358 | ) |
| 7359 | |
| 7360 | endif (gRPC_BUILD_TESTS) |
| 7361 | if (gRPC_BUILD_TESTS) |
| 7362 | |
| 7363 | add_executable(json_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7364 | test/core/json/json_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(json_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 | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7372 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7373 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7374 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7375 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7376 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7377 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7378 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7379 | ) |
| 7380 | |
| 7381 | target_link_libraries(json_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7382 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7383 | grpc_test_util |
| 7384 | grpc |
| 7385 | gpr_test_util |
| 7386 | gpr |
| 7387 | ) |
| 7388 | |
| 7389 | endif (gRPC_BUILD_TESTS) |
| 7390 | if (gRPC_BUILD_TESTS) |
| 7391 | |
| 7392 | add_executable(lame_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7393 | test/core/surface/lame_client_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7394 | ) |
| 7395 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7396 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7397 | target_include_directories(lame_client_test |
| 7398 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7399 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7400 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7401 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7402 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7403 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7404 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7405 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7406 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7407 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7408 | ) |
| 7409 | |
| 7410 | target_link_libraries(lame_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7411 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7412 | grpc_test_util |
| 7413 | grpc |
| 7414 | gpr_test_util |
| 7415 | gpr |
| 7416 | ) |
| 7417 | |
| 7418 | endif (gRPC_BUILD_TESTS) |
| 7419 | if (gRPC_BUILD_TESTS) |
| 7420 | |
| 7421 | add_executable(lb_policies_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7422 | test/core/client_channel/lb_policies_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7423 | ) |
| 7424 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7425 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7426 | target_include_directories(lb_policies_test |
| 7427 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7428 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7429 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7430 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7431 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7432 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7433 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7434 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7435 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7436 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7437 | ) |
| 7438 | |
| 7439 | target_link_libraries(lb_policies_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7440 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7441 | grpc_test_util |
| 7442 | grpc |
| 7443 | gpr_test_util |
| 7444 | gpr |
| 7445 | ) |
| 7446 | |
| 7447 | endif (gRPC_BUILD_TESTS) |
| 7448 | if (gRPC_BUILD_TESTS) |
| 7449 | |
| 7450 | add_executable(load_file_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7451 | test/core/iomgr/load_file_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7452 | ) |
| 7453 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7454 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7455 | target_include_directories(load_file_test |
| 7456 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7457 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7458 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7459 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7460 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7461 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7462 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7463 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7464 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7465 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7466 | ) |
| 7467 | |
| 7468 | target_link_libraries(load_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7469 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7470 | grpc_test_util |
| 7471 | grpc |
| 7472 | gpr_test_util |
| 7473 | gpr |
| 7474 | ) |
| 7475 | |
| 7476 | endif (gRPC_BUILD_TESTS) |
| 7477 | if (gRPC_BUILD_TESTS) |
| 7478 | |
| 7479 | add_executable(memory_profile_client |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7480 | test/core/memory_usage/client.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7481 | ) |
| 7482 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7483 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7484 | target_include_directories(memory_profile_client |
| 7485 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7486 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7487 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7488 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7489 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7490 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7491 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7492 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7493 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7494 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7495 | ) |
| 7496 | |
| 7497 | target_link_libraries(memory_profile_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7498 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7499 | grpc_test_util |
| 7500 | grpc |
| 7501 | gpr_test_util |
| 7502 | gpr |
| 7503 | ) |
| 7504 | |
| 7505 | endif (gRPC_BUILD_TESTS) |
| 7506 | if (gRPC_BUILD_TESTS) |
| 7507 | |
| 7508 | add_executable(memory_profile_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7509 | test/core/memory_usage/server.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7510 | ) |
| 7511 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7512 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7513 | target_include_directories(memory_profile_server |
| 7514 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7515 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7516 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7517 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7518 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7519 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7520 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7521 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7522 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7523 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7524 | ) |
| 7525 | |
| 7526 | target_link_libraries(memory_profile_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7527 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7528 | grpc_test_util |
| 7529 | grpc |
| 7530 | gpr_test_util |
| 7531 | gpr |
| 7532 | ) |
| 7533 | |
| 7534 | endif (gRPC_BUILD_TESTS) |
| 7535 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7536 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7537 | |
| 7538 | add_executable(memory_profile_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7539 | test/core/memory_usage/memory_usage_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7540 | ) |
| 7541 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7542 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7543 | target_include_directories(memory_profile_test |
| 7544 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7545 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7546 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7547 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7548 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7549 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7550 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7551 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7552 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7553 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7554 | ) |
| 7555 | |
| 7556 | target_link_libraries(memory_profile_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7557 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7558 | grpc_test_util |
| 7559 | grpc |
| 7560 | gpr_test_util |
| 7561 | gpr |
| 7562 | ) |
| 7563 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7564 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7565 | endif (gRPC_BUILD_TESTS) |
| 7566 | if (gRPC_BUILD_TESTS) |
| 7567 | |
| 7568 | add_executable(message_compress_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7569 | test/core/compression/message_compress_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7570 | ) |
| 7571 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7572 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7573 | target_include_directories(message_compress_test |
| 7574 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7575 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7576 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7577 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7578 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7579 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7580 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7581 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7582 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7583 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7584 | ) |
| 7585 | |
| 7586 | target_link_libraries(message_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7587 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7588 | grpc_test_util |
| 7589 | grpc |
| 7590 | gpr_test_util |
| 7591 | gpr |
| 7592 | ) |
| 7593 | |
| 7594 | endif (gRPC_BUILD_TESTS) |
| 7595 | if (gRPC_BUILD_TESTS) |
| 7596 | |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7597 | add_executable(minimal_stack_is_minimal_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7598 | test/core/channel/minimal_stack_is_minimal_test.cc |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7599 | ) |
| 7600 | |
| 7601 | |
| 7602 | target_include_directories(minimal_stack_is_minimal_test |
| 7603 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7604 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7605 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7606 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 7607 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 7608 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7609 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7610 | PRIVATE ${CARES_INCLUDE_DIR} |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7611 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 7612 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7613 | ) |
| 7614 | |
| 7615 | target_link_libraries(minimal_stack_is_minimal_test |
| 7616 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7617 | grpc_test_util |
| 7618 | grpc |
| 7619 | gpr_test_util |
| 7620 | gpr |
| 7621 | ) |
| 7622 | |
| 7623 | endif (gRPC_BUILD_TESTS) |
| 7624 | if (gRPC_BUILD_TESTS) |
| 7625 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7626 | add_executable(multiple_server_queues_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7627 | test/core/end2end/multiple_server_queues_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7628 | ) |
| 7629 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7630 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7631 | target_include_directories(multiple_server_queues_test |
| 7632 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7633 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7634 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7635 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7636 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7637 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7638 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7639 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7640 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7641 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7642 | ) |
| 7643 | |
| 7644 | target_link_libraries(multiple_server_queues_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7645 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7646 | grpc_test_util |
| 7647 | grpc |
| 7648 | gpr_test_util |
| 7649 | gpr |
| 7650 | ) |
| 7651 | |
| 7652 | endif (gRPC_BUILD_TESTS) |
| 7653 | if (gRPC_BUILD_TESTS) |
| 7654 | |
| 7655 | add_executable(murmur_hash_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7656 | test/core/support/murmur_hash_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7657 | ) |
| 7658 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7659 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7660 | target_include_directories(murmur_hash_test |
| 7661 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7662 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7663 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7664 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7665 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7666 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7667 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7668 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7669 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7670 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7671 | ) |
| 7672 | |
| 7673 | target_link_libraries(murmur_hash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7674 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7675 | gpr_test_util |
| 7676 | gpr |
| 7677 | ) |
| 7678 | |
| 7679 | endif (gRPC_BUILD_TESTS) |
| 7680 | if (gRPC_BUILD_TESTS) |
| 7681 | |
| 7682 | add_executable(no_server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7683 | test/core/end2end/no_server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7684 | ) |
| 7685 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7686 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7687 | target_include_directories(no_server_test |
| 7688 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7689 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7690 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7691 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7692 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7693 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7694 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7695 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7696 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7697 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7698 | ) |
| 7699 | |
| 7700 | target_link_libraries(no_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7701 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7702 | grpc_test_util |
| 7703 | grpc |
| 7704 | gpr_test_util |
| 7705 | gpr |
| 7706 | ) |
| 7707 | |
| 7708 | endif (gRPC_BUILD_TESTS) |
| 7709 | if (gRPC_BUILD_TESTS) |
| 7710 | |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 7711 | add_executable(num_external_connectivity_watchers_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7712 | test/core/surface/num_external_connectivity_watchers_test.cc |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 7713 | ) |
| 7714 | |
| 7715 | |
| 7716 | target_include_directories(num_external_connectivity_watchers_test |
| 7717 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7718 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7719 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 7720 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 7721 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 7722 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7723 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 7724 | PRIVATE ${CARES_INCLUDE_DIR} |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 7725 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 7726 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7727 | ) |
| 7728 | |
| 7729 | target_link_libraries(num_external_connectivity_watchers_test |
| 7730 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7731 | grpc_test_util |
| 7732 | grpc |
| 7733 | gpr_test_util |
| 7734 | gpr |
| 7735 | ) |
| 7736 | |
| 7737 | endif (gRPC_BUILD_TESTS) |
| 7738 | if (gRPC_BUILD_TESTS) |
| 7739 | |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7740 | add_executable(parse_address_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7741 | test/core/client_channel/parse_address_test.cc |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7742 | ) |
| 7743 | |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 7744 | |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7745 | target_include_directories(parse_address_test |
| 7746 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7747 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7748 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7749 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 7750 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7751 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7752 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7753 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7754 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7755 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7756 | ) |
| 7757 | |
| 7758 | target_link_libraries(parse_address_test |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 7759 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7760 | grpc_test_util |
| 7761 | grpc |
| 7762 | gpr_test_util |
| 7763 | gpr |
| 7764 | ) |
| 7765 | |
| 7766 | endif (gRPC_BUILD_TESTS) |
| 7767 | if (gRPC_BUILD_TESTS) |
| 7768 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7769 | add_executable(percent_encoding_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7770 | test/core/slice/percent_encoding_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7771 | ) |
| 7772 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7773 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7774 | target_include_directories(percent_encoding_test |
| 7775 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7776 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7777 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7778 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7779 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7780 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7781 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7782 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7783 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7784 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7785 | ) |
| 7786 | |
| 7787 | target_link_libraries(percent_encoding_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7788 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7789 | grpc_test_util |
| 7790 | grpc |
| 7791 | gpr_test_util |
| 7792 | gpr |
| 7793 | ) |
| 7794 | |
| 7795 | endif (gRPC_BUILD_TESTS) |
| 7796 | if (gRPC_BUILD_TESTS) |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7797 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7798 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7799 | add_executable(pollset_set_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7800 | test/core/iomgr/pollset_set_test.cc |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7801 | ) |
| 7802 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7803 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7804 | target_include_directories(pollset_set_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} |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7808 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7809 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7810 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7811 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7812 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7813 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7814 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7815 | ) |
| 7816 | |
| 7817 | target_link_libraries(pollset_set_test |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7818 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7819 | grpc_test_util |
| 7820 | grpc |
| 7821 | gpr_test_util |
| 7822 | gpr |
| 7823 | ) |
| 7824 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7825 | endif() |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7826 | endif (gRPC_BUILD_TESTS) |
| 7827 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7828 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7829 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7830 | add_executable(resolve_address_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7831 | test/core/iomgr/resolve_address_posix_test.cc |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7832 | ) |
| 7833 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7834 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7835 | target_include_directories(resolve_address_posix_test |
| 7836 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7837 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7838 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7839 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7840 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7841 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7842 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7843 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7844 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7845 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7846 | ) |
| 7847 | |
| 7848 | target_link_libraries(resolve_address_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7849 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7850 | grpc_test_util |
| 7851 | grpc |
| 7852 | gpr_test_util |
| 7853 | gpr |
| 7854 | ) |
| 7855 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7856 | endif() |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7857 | endif (gRPC_BUILD_TESTS) |
| 7858 | if (gRPC_BUILD_TESTS) |
| 7859 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7860 | add_executable(resolve_address_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7861 | test/core/iomgr/resolve_address_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7862 | ) |
| 7863 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7864 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7865 | target_include_directories(resolve_address_test |
| 7866 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7867 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7868 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7869 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7870 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7871 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7872 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7873 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7874 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7875 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7876 | ) |
| 7877 | |
| 7878 | target_link_libraries(resolve_address_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7879 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7880 | grpc_test_util |
| 7881 | grpc |
| 7882 | gpr_test_util |
| 7883 | gpr |
| 7884 | ) |
| 7885 | |
| 7886 | endif (gRPC_BUILD_TESTS) |
| 7887 | if (gRPC_BUILD_TESTS) |
| 7888 | |
| 7889 | add_executable(resource_quota_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7890 | test/core/iomgr/resource_quota_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7891 | ) |
| 7892 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7893 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7894 | target_include_directories(resource_quota_test |
| 7895 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7896 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7897 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7898 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7899 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7900 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7901 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7902 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7903 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7904 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7905 | ) |
| 7906 | |
| 7907 | target_link_libraries(resource_quota_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7908 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7909 | grpc_test_util |
| 7910 | grpc |
| 7911 | gpr_test_util |
| 7912 | gpr |
| 7913 | ) |
| 7914 | |
| 7915 | endif (gRPC_BUILD_TESTS) |
| 7916 | if (gRPC_BUILD_TESTS) |
| 7917 | |
| 7918 | add_executable(secure_channel_create_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7919 | test/core/surface/secure_channel_create_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7920 | ) |
| 7921 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7922 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7923 | target_include_directories(secure_channel_create_test |
| 7924 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7925 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7926 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7927 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7928 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7929 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7930 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7931 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7932 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7933 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7934 | ) |
| 7935 | |
| 7936 | target_link_libraries(secure_channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7937 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7938 | grpc_test_util |
| 7939 | grpc |
| 7940 | gpr_test_util |
| 7941 | gpr |
| 7942 | ) |
| 7943 | |
| 7944 | endif (gRPC_BUILD_TESTS) |
| 7945 | if (gRPC_BUILD_TESTS) |
| 7946 | |
| 7947 | add_executable(secure_endpoint_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7948 | test/core/security/secure_endpoint_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7949 | ) |
| 7950 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7951 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7952 | target_include_directories(secure_endpoint_test |
| 7953 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7954 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7955 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7956 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7957 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7958 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7959 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7960 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7961 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7962 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7963 | ) |
| 7964 | |
| 7965 | target_link_libraries(secure_endpoint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7966 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7967 | grpc_test_util |
| 7968 | grpc |
| 7969 | gpr_test_util |
| 7970 | gpr |
| 7971 | ) |
| 7972 | |
| 7973 | endif (gRPC_BUILD_TESTS) |
| 7974 | if (gRPC_BUILD_TESTS) |
| 7975 | |
| 7976 | add_executable(sequential_connectivity_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 7977 | test/core/surface/sequential_connectivity_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7978 | ) |
| 7979 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7980 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7981 | target_include_directories(sequential_connectivity_test |
| 7982 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7983 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 7984 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7985 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7986 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7987 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7988 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7989 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7990 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7991 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7992 | ) |
| 7993 | |
| 7994 | target_link_libraries(sequential_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7995 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7996 | grpc_test_util |
| 7997 | grpc |
| 7998 | gpr_test_util |
| 7999 | gpr |
| 8000 | ) |
| 8001 | |
| 8002 | endif (gRPC_BUILD_TESTS) |
| 8003 | if (gRPC_BUILD_TESTS) |
| 8004 | |
| 8005 | add_executable(server_chttp2_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8006 | test/core/surface/server_chttp2_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8007 | ) |
| 8008 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8009 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8010 | target_include_directories(server_chttp2_test |
| 8011 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8012 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8013 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8014 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8015 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8016 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8017 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8018 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8019 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8020 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8021 | ) |
| 8022 | |
| 8023 | target_link_libraries(server_chttp2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8024 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8025 | grpc_test_util |
| 8026 | grpc |
| 8027 | gpr_test_util |
| 8028 | gpr |
| 8029 | ) |
| 8030 | |
| 8031 | endif (gRPC_BUILD_TESTS) |
| 8032 | if (gRPC_BUILD_TESTS) |
| 8033 | |
| 8034 | add_executable(server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8035 | test/core/surface/server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8036 | ) |
| 8037 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8038 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8039 | target_include_directories(server_test |
| 8040 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8041 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8042 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8043 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8044 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8045 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8046 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8047 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8048 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8049 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8050 | ) |
| 8051 | |
| 8052 | target_link_libraries(server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8053 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8054 | grpc_test_util |
| 8055 | grpc |
| 8056 | gpr_test_util |
| 8057 | gpr |
| 8058 | ) |
| 8059 | |
| 8060 | endif (gRPC_BUILD_TESTS) |
| 8061 | if (gRPC_BUILD_TESTS) |
| 8062 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8063 | add_executable(slice_buffer_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8064 | test/core/slice/slice_buffer_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8065 | ) |
| 8066 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8067 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8068 | target_include_directories(slice_buffer_test |
| 8069 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8070 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8071 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8072 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8073 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8074 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8075 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8076 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8077 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8078 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8079 | ) |
| 8080 | |
| 8081 | target_link_libraries(slice_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8082 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8083 | grpc_test_util |
| 8084 | grpc |
| 8085 | gpr_test_util |
| 8086 | gpr |
| 8087 | ) |
| 8088 | |
| 8089 | endif (gRPC_BUILD_TESTS) |
| 8090 | if (gRPC_BUILD_TESTS) |
| 8091 | |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 8092 | add_executable(slice_hash_table_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8093 | test/core/slice/slice_hash_table_test.cc |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 8094 | ) |
| 8095 | |
| 8096 | |
| 8097 | target_include_directories(slice_hash_table_test |
| 8098 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8099 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8100 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 8101 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8102 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8103 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8104 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 8105 | PRIVATE ${CARES_INCLUDE_DIR} |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 8106 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 8107 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8108 | ) |
| 8109 | |
| 8110 | target_link_libraries(slice_hash_table_test |
| 8111 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8112 | grpc_test_util |
| 8113 | grpc |
| 8114 | gpr_test_util |
| 8115 | gpr |
| 8116 | ) |
| 8117 | |
| 8118 | endif (gRPC_BUILD_TESTS) |
| 8119 | if (gRPC_BUILD_TESTS) |
| 8120 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8121 | add_executable(slice_string_helpers_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8122 | test/core/slice/slice_string_helpers_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8123 | ) |
| 8124 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8125 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8126 | target_include_directories(slice_string_helpers_test |
| 8127 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8128 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8129 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8130 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8131 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8132 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8133 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8134 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8135 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8136 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8137 | ) |
| 8138 | |
| 8139 | target_link_libraries(slice_string_helpers_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8140 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8141 | grpc_test_util |
| 8142 | grpc |
| 8143 | gpr_test_util |
| 8144 | gpr |
| 8145 | ) |
| 8146 | |
| 8147 | endif (gRPC_BUILD_TESTS) |
| 8148 | if (gRPC_BUILD_TESTS) |
| 8149 | |
| 8150 | add_executable(slice_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8151 | test/core/slice/slice_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8152 | ) |
| 8153 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8154 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8155 | target_include_directories(slice_test |
| 8156 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8157 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8158 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8159 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8160 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8161 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8162 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8163 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8164 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8165 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8166 | ) |
| 8167 | |
| 8168 | target_link_libraries(slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8169 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8170 | grpc_test_util |
| 8171 | grpc |
| 8172 | gpr_test_util |
| 8173 | gpr |
| 8174 | ) |
| 8175 | |
| 8176 | endif (gRPC_BUILD_TESTS) |
| 8177 | if (gRPC_BUILD_TESTS) |
| 8178 | |
| 8179 | add_executable(sockaddr_resolver_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8180 | test/core/client_channel/resolvers/sockaddr_resolver_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8181 | ) |
| 8182 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8183 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8184 | target_include_directories(sockaddr_resolver_test |
| 8185 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8186 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8187 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8188 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8189 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8190 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8191 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8192 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8193 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8194 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8195 | ) |
| 8196 | |
| 8197 | target_link_libraries(sockaddr_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8198 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8199 | grpc_test_util |
| 8200 | grpc |
| 8201 | gpr_test_util |
| 8202 | gpr |
| 8203 | ) |
| 8204 | |
| 8205 | endif (gRPC_BUILD_TESTS) |
| 8206 | if (gRPC_BUILD_TESTS) |
| 8207 | |
| 8208 | add_executable(sockaddr_utils_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8209 | test/core/iomgr/sockaddr_utils_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8210 | ) |
| 8211 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8212 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8213 | target_include_directories(sockaddr_utils_test |
| 8214 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8215 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8216 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8217 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8218 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8219 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8220 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8221 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8222 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8223 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8224 | ) |
| 8225 | |
| 8226 | target_link_libraries(sockaddr_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8227 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8228 | grpc_test_util |
| 8229 | grpc |
| 8230 | gpr_test_util |
| 8231 | gpr |
| 8232 | ) |
| 8233 | |
| 8234 | endif (gRPC_BUILD_TESTS) |
| 8235 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8236 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8237 | |
| 8238 | add_executable(socket_utils_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8239 | test/core/iomgr/socket_utils_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8240 | ) |
| 8241 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8242 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8243 | target_include_directories(socket_utils_test |
| 8244 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8245 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8246 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8247 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8248 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8249 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8250 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8251 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8252 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8253 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8254 | ) |
| 8255 | |
| 8256 | target_link_libraries(socket_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8257 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8258 | grpc_test_util |
| 8259 | grpc |
| 8260 | gpr_test_util |
| 8261 | gpr |
| 8262 | ) |
| 8263 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8264 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8265 | endif (gRPC_BUILD_TESTS) |
| 8266 | if (gRPC_BUILD_TESTS) |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 8267 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8268 | |
| 8269 | add_executable(ssl_transport_security_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8270 | test/core/tsi/ssl_transport_security_test.cc |
| 8271 | test/core/tsi/transport_security_test_lib.cc |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 8272 | ) |
| 8273 | |
| 8274 | |
| 8275 | target_include_directories(ssl_transport_security_test |
| 8276 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8277 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8278 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 8279 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8280 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8281 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8282 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 8283 | PRIVATE ${CARES_INCLUDE_DIR} |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 8284 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 8285 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8286 | ) |
| 8287 | |
| 8288 | target_link_libraries(ssl_transport_security_test |
| 8289 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8290 | gpr_test_util |
| 8291 | gpr |
| 8292 | grpc |
| 8293 | ) |
| 8294 | |
| 8295 | endif() |
| 8296 | endif (gRPC_BUILD_TESTS) |
| 8297 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8298 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8299 | add_executable(status_conversion_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8300 | test/core/transport/status_conversion_test.cc |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8301 | ) |
| 8302 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8303 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8304 | target_include_directories(status_conversion_test |
| 8305 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8306 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8307 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8308 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8309 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8310 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8311 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8312 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8313 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8314 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8315 | ) |
| 8316 | |
| 8317 | target_link_libraries(status_conversion_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8318 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8319 | grpc_test_util |
| 8320 | grpc |
| 8321 | gpr_test_util |
| 8322 | gpr |
| 8323 | ) |
| 8324 | |
| 8325 | endif (gRPC_BUILD_TESTS) |
| 8326 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8327 | |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 8328 | add_executable(stream_compression_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8329 | test/core/compression/stream_compression_test.cc |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 8330 | ) |
| 8331 | |
| 8332 | |
| 8333 | target_include_directories(stream_compression_test |
| 8334 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8335 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8336 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 8337 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8338 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8339 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8340 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 8341 | PRIVATE ${CARES_INCLUDE_DIR} |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 8342 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 8343 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8344 | ) |
| 8345 | |
| 8346 | target_link_libraries(stream_compression_test |
| 8347 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8348 | grpc_test_util |
| 8349 | grpc |
| 8350 | gpr_test_util |
| 8351 | gpr |
| 8352 | ) |
| 8353 | |
| 8354 | endif (gRPC_BUILD_TESTS) |
| 8355 | if (gRPC_BUILD_TESTS) |
| 8356 | |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8357 | add_executable(stream_owned_slice_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8358 | test/core/transport/stream_owned_slice_test.cc |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8359 | ) |
| 8360 | |
| 8361 | |
| 8362 | target_include_directories(stream_owned_slice_test |
| 8363 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8364 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8365 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8366 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8367 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8368 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8369 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8370 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8371 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8372 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8373 | ) |
| 8374 | |
| 8375 | target_link_libraries(stream_owned_slice_test |
| 8376 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8377 | grpc_test_util |
| 8378 | grpc |
| 8379 | gpr_test_util |
| 8380 | gpr |
| 8381 | ) |
| 8382 | |
| 8383 | endif (gRPC_BUILD_TESTS) |
| 8384 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8385 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8386 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8387 | add_executable(tcp_client_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8388 | test/core/iomgr/tcp_client_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8389 | ) |
| 8390 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8391 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8392 | target_include_directories(tcp_client_posix_test |
| 8393 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8394 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8395 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8396 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8397 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8398 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8399 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8400 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8401 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8402 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8403 | ) |
| 8404 | |
| 8405 | target_link_libraries(tcp_client_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8406 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8407 | grpc_test_util |
| 8408 | grpc |
| 8409 | gpr_test_util |
| 8410 | gpr |
| 8411 | ) |
| 8412 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8413 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8414 | endif (gRPC_BUILD_TESTS) |
| 8415 | if (gRPC_BUILD_TESTS) |
| 8416 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8417 | add_executable(tcp_client_uv_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8418 | test/core/iomgr/tcp_client_uv_test.cc |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8419 | ) |
| 8420 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8421 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8422 | target_include_directories(tcp_client_uv_test |
| 8423 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8424 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8425 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8426 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8427 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8428 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8429 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8430 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8431 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8432 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8433 | ) |
| 8434 | |
| 8435 | target_link_libraries(tcp_client_uv_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8436 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8437 | grpc_test_util |
| 8438 | grpc |
| 8439 | gpr_test_util |
| 8440 | gpr |
| 8441 | ) |
| 8442 | |
| 8443 | endif (gRPC_BUILD_TESTS) |
| 8444 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8445 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8446 | |
| 8447 | add_executable(tcp_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8448 | test/core/iomgr/tcp_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8449 | ) |
| 8450 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8451 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8452 | target_include_directories(tcp_posix_test |
| 8453 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8454 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8455 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8456 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8457 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8458 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8459 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8460 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8461 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8462 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8463 | ) |
| 8464 | |
| 8465 | target_link_libraries(tcp_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8466 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8467 | grpc_test_util |
| 8468 | grpc |
| 8469 | gpr_test_util |
| 8470 | gpr |
| 8471 | ) |
| 8472 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8473 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8474 | endif (gRPC_BUILD_TESTS) |
| 8475 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8476 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8477 | |
| 8478 | add_executable(tcp_server_posix_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8479 | test/core/iomgr/tcp_server_posix_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8480 | ) |
| 8481 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8482 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8483 | target_include_directories(tcp_server_posix_test |
| 8484 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8485 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8486 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8487 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8488 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8489 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8490 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8491 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8492 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8493 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8494 | ) |
| 8495 | |
| 8496 | target_link_libraries(tcp_server_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8497 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8498 | grpc_test_util |
| 8499 | grpc |
| 8500 | gpr_test_util |
| 8501 | gpr |
| 8502 | ) |
| 8503 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8504 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8505 | endif (gRPC_BUILD_TESTS) |
| 8506 | if (gRPC_BUILD_TESTS) |
| 8507 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8508 | add_executable(tcp_server_uv_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8509 | test/core/iomgr/tcp_server_uv_test.cc |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8510 | ) |
| 8511 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8512 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8513 | target_include_directories(tcp_server_uv_test |
| 8514 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8515 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8516 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8517 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8518 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8519 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8520 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8521 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8522 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8523 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8524 | ) |
| 8525 | |
| 8526 | target_link_libraries(tcp_server_uv_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8527 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8528 | grpc_test_util |
| 8529 | grpc |
| 8530 | gpr_test_util |
| 8531 | gpr |
| 8532 | ) |
| 8533 | |
| 8534 | endif (gRPC_BUILD_TESTS) |
| 8535 | if (gRPC_BUILD_TESTS) |
| 8536 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8537 | add_executable(time_averaged_stats_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8538 | test/core/iomgr/time_averaged_stats_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8539 | ) |
| 8540 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8541 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8542 | target_include_directories(time_averaged_stats_test |
| 8543 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8544 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8545 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8546 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8547 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8548 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8549 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8550 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8551 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8552 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8553 | ) |
| 8554 | |
| 8555 | target_link_libraries(time_averaged_stats_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8556 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8557 | grpc_test_util |
| 8558 | grpc |
| 8559 | gpr_test_util |
| 8560 | gpr |
| 8561 | ) |
| 8562 | |
| 8563 | endif (gRPC_BUILD_TESTS) |
| 8564 | if (gRPC_BUILD_TESTS) |
| 8565 | |
| 8566 | add_executable(timeout_encoding_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8567 | test/core/transport/timeout_encoding_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8568 | ) |
| 8569 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8570 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8571 | target_include_directories(timeout_encoding_test |
| 8572 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8573 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8574 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8575 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8576 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8577 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8578 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8579 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8580 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8581 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8582 | ) |
| 8583 | |
| 8584 | target_link_libraries(timeout_encoding_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8585 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8586 | grpc_test_util |
| 8587 | grpc |
| 8588 | gpr_test_util |
| 8589 | gpr |
| 8590 | ) |
| 8591 | |
| 8592 | endif (gRPC_BUILD_TESTS) |
| 8593 | if (gRPC_BUILD_TESTS) |
| 8594 | |
| 8595 | add_executable(timer_heap_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8596 | test/core/iomgr/timer_heap_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8597 | ) |
| 8598 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8599 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8600 | target_include_directories(timer_heap_test |
| 8601 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8602 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8603 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8604 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8605 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8606 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8607 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8608 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8609 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8610 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8611 | ) |
| 8612 | |
| 8613 | target_link_libraries(timer_heap_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8614 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8615 | grpc_test_util |
| 8616 | grpc |
| 8617 | gpr_test_util |
| 8618 | gpr |
| 8619 | ) |
| 8620 | |
| 8621 | endif (gRPC_BUILD_TESTS) |
| 8622 | if (gRPC_BUILD_TESTS) |
| 8623 | |
| 8624 | add_executable(timer_list_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8625 | test/core/iomgr/timer_list_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8626 | ) |
| 8627 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8628 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8629 | target_include_directories(timer_list_test |
| 8630 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8631 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8632 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8633 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8634 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8635 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8636 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8637 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8638 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8639 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8640 | ) |
| 8641 | |
| 8642 | target_link_libraries(timer_list_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8643 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8644 | grpc_test_util |
| 8645 | grpc |
| 8646 | gpr_test_util |
| 8647 | gpr |
| 8648 | ) |
| 8649 | |
| 8650 | endif (gRPC_BUILD_TESTS) |
| 8651 | if (gRPC_BUILD_TESTS) |
| 8652 | |
| 8653 | add_executable(transport_connectivity_state_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8654 | test/core/transport/connectivity_state_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8655 | ) |
| 8656 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8657 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8658 | target_include_directories(transport_connectivity_state_test |
| 8659 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8660 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8661 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8662 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8663 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8664 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8665 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8666 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8667 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8668 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8669 | ) |
| 8670 | |
| 8671 | target_link_libraries(transport_connectivity_state_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8672 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8673 | grpc_test_util |
| 8674 | grpc |
| 8675 | gpr_test_util |
| 8676 | gpr |
| 8677 | ) |
| 8678 | |
| 8679 | endif (gRPC_BUILD_TESTS) |
| 8680 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 48bed5e | 2017-10-16 15:42:41 -0700 | [diff] [blame] | 8681 | |
| 8682 | add_executable(transport_metadata_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8683 | test/core/transport/metadata_test.cc |
Craig Tiller | 48bed5e | 2017-10-16 15:42:41 -0700 | [diff] [blame] | 8684 | ) |
| 8685 | |
| 8686 | |
| 8687 | target_include_directories(transport_metadata_test |
| 8688 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8689 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8690 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 48bed5e | 2017-10-16 15:42:41 -0700 | [diff] [blame] | 8691 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8692 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8693 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8694 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8695 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8696 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 8697 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8698 | ) |
| 8699 | |
| 8700 | target_link_libraries(transport_metadata_test |
| 8701 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8702 | grpc_test_util |
| 8703 | grpc |
| 8704 | gpr_test_util |
| 8705 | gpr |
| 8706 | ) |
| 8707 | |
| 8708 | endif (gRPC_BUILD_TESTS) |
| 8709 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8710 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8711 | |
| 8712 | add_executable(transport_security_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8713 | test/core/tsi/transport_security_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8714 | ) |
| 8715 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8716 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8717 | target_include_directories(transport_security_test |
| 8718 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8719 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8720 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8721 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8722 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8723 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8724 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8725 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8726 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8727 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8728 | ) |
| 8729 | |
| 8730 | target_link_libraries(transport_security_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8731 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8732 | grpc_test_util |
| 8733 | grpc |
| 8734 | gpr_test_util |
| 8735 | gpr |
| 8736 | ) |
| 8737 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8738 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8739 | endif (gRPC_BUILD_TESTS) |
| 8740 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8741 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8742 | |
| 8743 | add_executable(udp_server_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8744 | test/core/iomgr/udp_server_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8745 | ) |
| 8746 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8747 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8748 | target_include_directories(udp_server_test |
| 8749 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8750 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8751 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8752 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8753 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8754 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8755 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8756 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8757 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8758 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8759 | ) |
| 8760 | |
| 8761 | target_link_libraries(udp_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8762 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8763 | grpc_test_util |
| 8764 | grpc |
| 8765 | gpr_test_util |
| 8766 | gpr |
| 8767 | ) |
| 8768 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8769 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8770 | endif (gRPC_BUILD_TESTS) |
| 8771 | if (gRPC_BUILD_TESTS) |
| 8772 | |
| 8773 | add_executable(uri_parser_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8774 | test/core/client_channel/uri_parser_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8775 | ) |
| 8776 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8777 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8778 | target_include_directories(uri_parser_test |
| 8779 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8780 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8781 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8782 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8783 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8784 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8785 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8786 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8787 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8788 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8789 | ) |
| 8790 | |
| 8791 | target_link_libraries(uri_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8792 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8793 | grpc_test_util |
| 8794 | grpc |
| 8795 | gpr_test_util |
| 8796 | gpr |
| 8797 | ) |
| 8798 | |
| 8799 | endif (gRPC_BUILD_TESTS) |
| 8800 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8801 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8802 | |
| 8803 | add_executable(wakeup_fd_cv_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 8804 | test/core/iomgr/wakeup_fd_cv_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8805 | ) |
| 8806 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8807 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8808 | target_include_directories(wakeup_fd_cv_test |
| 8809 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8810 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8811 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8812 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8813 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8814 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8815 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8816 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8817 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8818 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8819 | ) |
| 8820 | |
| 8821 | target_link_libraries(wakeup_fd_cv_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8822 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8823 | grpc_test_util |
| 8824 | grpc |
| 8825 | gpr_test_util |
| 8826 | gpr |
| 8827 | ) |
| 8828 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8829 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8830 | endif (gRPC_BUILD_TESTS) |
| 8831 | if (gRPC_BUILD_TESTS) |
| 8832 | |
| 8833 | add_executable(alarm_cpp_test |
| 8834 | test/cpp/common/alarm_cpp_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8835 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8836 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8837 | ) |
| 8838 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8839 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8840 | target_include_directories(alarm_cpp_test |
| 8841 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8842 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8843 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8844 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8845 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8846 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8847 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8848 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8849 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8850 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8851 | PRIVATE third_party/googletest/googletest/include |
| 8852 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8853 | PRIVATE third_party/googletest/googlemock/include |
| 8854 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8855 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8856 | ) |
| 8857 | |
| 8858 | target_link_libraries(alarm_cpp_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8859 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8860 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 8861 | grpc++_test_util_unsecure |
| 8862 | grpc_test_util_unsecure |
| 8863 | grpc++_unsecure |
| 8864 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8865 | gpr_test_util |
| 8866 | gpr |
| 8867 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8868 | ) |
| 8869 | |
| 8870 | endif (gRPC_BUILD_TESTS) |
| 8871 | if (gRPC_BUILD_TESTS) |
| 8872 | |
| 8873 | add_executable(async_end2end_test |
| 8874 | test/cpp/end2end/async_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8875 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8876 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8877 | ) |
| 8878 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8879 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8880 | target_include_directories(async_end2end_test |
| 8881 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8882 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8883 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8884 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8885 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8886 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8887 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8888 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8889 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8890 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8891 | PRIVATE third_party/googletest/googletest/include |
| 8892 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8893 | PRIVATE third_party/googletest/googlemock/include |
| 8894 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8895 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8896 | ) |
| 8897 | |
| 8898 | target_link_libraries(async_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8899 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8900 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8901 | grpc++_test_util |
| 8902 | grpc_test_util |
| 8903 | grpc++ |
| 8904 | grpc |
| 8905 | gpr_test_util |
| 8906 | gpr |
| 8907 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8908 | ) |
| 8909 | |
| 8910 | endif (gRPC_BUILD_TESTS) |
| 8911 | if (gRPC_BUILD_TESTS) |
| 8912 | |
| 8913 | add_executable(auth_property_iterator_test |
| 8914 | test/cpp/common/auth_property_iterator_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8915 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8916 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8917 | ) |
| 8918 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8919 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8920 | target_include_directories(auth_property_iterator_test |
| 8921 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8922 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8923 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8924 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8925 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8926 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8927 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8928 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8929 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8930 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8931 | PRIVATE third_party/googletest/googletest/include |
| 8932 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8933 | PRIVATE third_party/googletest/googlemock/include |
| 8934 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8935 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8936 | ) |
| 8937 | |
| 8938 | target_link_libraries(auth_property_iterator_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8939 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8940 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8941 | grpc++_test_util |
| 8942 | grpc_test_util |
| 8943 | grpc++ |
| 8944 | grpc |
| 8945 | gpr_test_util |
| 8946 | gpr |
| 8947 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8948 | ) |
| 8949 | |
| 8950 | endif (gRPC_BUILD_TESTS) |
| 8951 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 8952 | |
| 8953 | add_executable(bdp_estimator_test |
| 8954 | test/core/transport/bdp_estimator_test.cc |
| 8955 | third_party/googletest/googletest/src/gtest-all.cc |
| 8956 | third_party/googletest/googlemock/src/gmock-all.cc |
| 8957 | ) |
| 8958 | |
| 8959 | |
| 8960 | target_include_directories(bdp_estimator_test |
| 8961 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8962 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 8963 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 50ca35e | 2017-10-09 08:11:48 -0700 | [diff] [blame] | 8964 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8965 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8966 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8967 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8968 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8969 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 8970 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8971 | PRIVATE third_party/googletest/googletest/include |
| 8972 | PRIVATE third_party/googletest/googletest |
| 8973 | PRIVATE third_party/googletest/googlemock/include |
| 8974 | PRIVATE third_party/googletest/googlemock |
| 8975 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8976 | ) |
| 8977 | |
| 8978 | target_link_libraries(bdp_estimator_test |
| 8979 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8980 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8981 | grpc++_test_util |
| 8982 | grpc++ |
| 8983 | grpc_test_util |
| 8984 | grpc |
| 8985 | gpr_test_util |
| 8986 | gpr |
| 8987 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8988 | ) |
| 8989 | |
| 8990 | endif (gRPC_BUILD_TESTS) |
| 8991 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8992 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8993 | |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8994 | add_executable(bm_arena |
| 8995 | test/cpp/microbenchmarks/bm_arena.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8996 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 8997 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8998 | ) |
| 8999 | |
| 9000 | |
| 9001 | target_include_directories(bm_arena |
| 9002 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9003 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9004 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 9005 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9006 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9007 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9008 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9009 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9010 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 9011 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9012 | PRIVATE third_party/googletest/googletest/include |
| 9013 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9014 | PRIVATE third_party/googletest/googlemock/include |
| 9015 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 9016 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9017 | ) |
| 9018 | |
| 9019 | target_link_libraries(bm_arena |
| 9020 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9021 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9022 | grpc_benchmark |
| 9023 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9024 | grpc++_test_util_unsecure |
| 9025 | grpc_test_util_unsecure |
| 9026 | grpc++_unsecure |
| 9027 | grpc_unsecure |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 9028 | gpr_test_util |
| 9029 | gpr |
| 9030 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9031 | ) |
| 9032 | |
| 9033 | endif() |
| 9034 | endif (gRPC_BUILD_TESTS) |
| 9035 | if (gRPC_BUILD_TESTS) |
| 9036 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9037 | |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9038 | add_executable(bm_call_create |
| 9039 | test/cpp/microbenchmarks/bm_call_create.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9040 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9041 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9042 | ) |
| 9043 | |
| 9044 | |
| 9045 | target_include_directories(bm_call_create |
| 9046 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9047 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9048 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9049 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9050 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9051 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9052 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9053 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9054 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9055 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9056 | PRIVATE third_party/googletest/googletest/include |
| 9057 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9058 | PRIVATE third_party/googletest/googlemock/include |
| 9059 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9060 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9061 | ) |
| 9062 | |
| 9063 | target_link_libraries(bm_call_create |
| 9064 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9065 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9066 | grpc_benchmark |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9067 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9068 | grpc++_test_util_unsecure |
| 9069 | grpc_test_util_unsecure |
| 9070 | grpc++_unsecure |
| 9071 | grpc_unsecure |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9072 | gpr_test_util |
| 9073 | gpr |
| 9074 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9075 | ) |
| 9076 | |
| 9077 | endif() |
| 9078 | endif (gRPC_BUILD_TESTS) |
| 9079 | if (gRPC_BUILD_TESTS) |
| 9080 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9081 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 9082 | add_executable(bm_chttp2_hpack |
| 9083 | test/cpp/microbenchmarks/bm_chttp2_hpack.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 |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9086 | ) |
| 9087 | |
| 9088 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 9089 | target_include_directories(bm_chttp2_hpack |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 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} |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9093 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9094 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9095 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9096 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9097 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9098 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9099 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9100 | PRIVATE third_party/googletest/googletest/include |
| 9101 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9102 | PRIVATE third_party/googletest/googlemock/include |
| 9103 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9104 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9105 | ) |
| 9106 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 9107 | target_link_libraries(bm_chttp2_hpack |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9108 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9109 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9110 | grpc_benchmark |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9111 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9112 | grpc++_test_util_unsecure |
| 9113 | grpc_test_util_unsecure |
| 9114 | grpc++_unsecure |
| 9115 | grpc_unsecure |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9116 | gpr_test_util |
| 9117 | gpr |
| 9118 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9119 | ) |
| 9120 | |
| 9121 | endif() |
| 9122 | endif (gRPC_BUILD_TESTS) |
| 9123 | if (gRPC_BUILD_TESTS) |
| 9124 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9125 | |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9126 | add_executable(bm_chttp2_transport |
| 9127 | test/cpp/microbenchmarks/bm_chttp2_transport.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9128 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9129 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9130 | ) |
| 9131 | |
| 9132 | |
| 9133 | target_include_directories(bm_chttp2_transport |
| 9134 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9135 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9136 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9137 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9138 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9139 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9140 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 937302b | 2017-03-22 10:54:31 -0700 | [diff] [blame] | 9141 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | 937302b | 2017-03-22 10:54:31 -0700 | [diff] [blame] | 9142 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9143 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9144 | PRIVATE third_party/googletest/googletest/include |
| 9145 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9146 | PRIVATE third_party/googletest/googlemock/include |
| 9147 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9148 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9149 | ) |
| 9150 | |
| 9151 | target_link_libraries(bm_chttp2_transport |
| 9152 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9153 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9154 | grpc_benchmark |
| 9155 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9156 | grpc++_test_util_unsecure |
| 9157 | grpc_test_util_unsecure |
| 9158 | grpc++_unsecure |
| 9159 | grpc_unsecure |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9160 | gpr_test_util |
| 9161 | gpr |
| 9162 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9163 | ) |
| 9164 | |
| 9165 | endif() |
| 9166 | endif (gRPC_BUILD_TESTS) |
| 9167 | if (gRPC_BUILD_TESTS) |
| 9168 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9169 | |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9170 | add_executable(bm_closure |
| 9171 | test/cpp/microbenchmarks/bm_closure.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9172 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9173 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9174 | ) |
| 9175 | |
| 9176 | |
| 9177 | target_include_directories(bm_closure |
| 9178 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9179 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9180 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9181 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9182 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9183 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9184 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9185 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9186 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9187 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9188 | PRIVATE third_party/googletest/googletest/include |
| 9189 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9190 | PRIVATE third_party/googletest/googlemock/include |
| 9191 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9192 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9193 | ) |
| 9194 | |
| 9195 | target_link_libraries(bm_closure |
| 9196 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9197 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9198 | grpc_benchmark |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9199 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9200 | grpc++_test_util_unsecure |
| 9201 | grpc_test_util_unsecure |
| 9202 | grpc++_unsecure |
| 9203 | grpc_unsecure |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9204 | gpr_test_util |
| 9205 | gpr |
| 9206 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9207 | ) |
| 9208 | |
| 9209 | endif() |
| 9210 | endif (gRPC_BUILD_TESTS) |
| 9211 | if (gRPC_BUILD_TESTS) |
| 9212 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9213 | |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9214 | add_executable(bm_cq |
| 9215 | test/cpp/microbenchmarks/bm_cq.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9216 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9217 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9218 | ) |
| 9219 | |
| 9220 | |
| 9221 | target_include_directories(bm_cq |
| 9222 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9223 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9224 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9225 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9226 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9227 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9228 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9229 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9230 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9231 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9232 | PRIVATE third_party/googletest/googletest/include |
| 9233 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9234 | PRIVATE third_party/googletest/googlemock/include |
| 9235 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9236 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9237 | ) |
| 9238 | |
| 9239 | target_link_libraries(bm_cq |
| 9240 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9241 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9242 | grpc_benchmark |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9243 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9244 | grpc++_test_util_unsecure |
| 9245 | grpc_test_util_unsecure |
| 9246 | grpc++_unsecure |
| 9247 | grpc_unsecure |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9248 | gpr_test_util |
| 9249 | gpr |
| 9250 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9251 | ) |
| 9252 | |
| 9253 | endif() |
| 9254 | endif (gRPC_BUILD_TESTS) |
| 9255 | if (gRPC_BUILD_TESTS) |
| 9256 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9257 | |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9258 | add_executable(bm_cq_multiple_threads |
| 9259 | test/cpp/microbenchmarks/bm_cq_multiple_threads.cc |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 9260 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9261 | third_party/googletest/googlemock/src/gmock-all.cc |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9262 | ) |
| 9263 | |
| 9264 | |
| 9265 | target_include_directories(bm_cq_multiple_threads |
| 9266 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9267 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9268 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9269 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9270 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9271 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9272 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9273 | PRIVATE ${CARES_INCLUDE_DIR} |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9274 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 9275 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 9276 | PRIVATE third_party/googletest/googletest/include |
| 9277 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9278 | PRIVATE third_party/googletest/googlemock/include |
| 9279 | PRIVATE third_party/googletest/googlemock |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9280 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9281 | ) |
| 9282 | |
| 9283 | target_link_libraries(bm_cq_multiple_threads |
| 9284 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9285 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9286 | grpc_benchmark |
| 9287 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9288 | grpc++_test_util_unsecure |
| 9289 | grpc_test_util_unsecure |
| 9290 | grpc++_unsecure |
| 9291 | grpc_unsecure |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9292 | gpr_test_util |
| 9293 | gpr |
| 9294 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9295 | ) |
| 9296 | |
| 9297 | endif() |
| 9298 | endif (gRPC_BUILD_TESTS) |
| 9299 | if (gRPC_BUILD_TESTS) |
| 9300 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9301 | |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9302 | add_executable(bm_error |
| 9303 | test/cpp/microbenchmarks/bm_error.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9304 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9305 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9306 | ) |
| 9307 | |
| 9308 | |
| 9309 | target_include_directories(bm_error |
| 9310 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9311 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9312 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9313 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9314 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9315 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9316 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9317 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9318 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9319 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9320 | PRIVATE third_party/googletest/googletest/include |
| 9321 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9322 | PRIVATE third_party/googletest/googlemock/include |
| 9323 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9324 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9325 | ) |
| 9326 | |
| 9327 | target_link_libraries(bm_error |
| 9328 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9329 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9330 | grpc_benchmark |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9331 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9332 | grpc++_test_util_unsecure |
| 9333 | grpc_test_util_unsecure |
| 9334 | grpc++_unsecure |
| 9335 | grpc_unsecure |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9336 | gpr_test_util |
| 9337 | gpr |
| 9338 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9339 | ) |
| 9340 | |
| 9341 | endif() |
| 9342 | endif (gRPC_BUILD_TESTS) |
| 9343 | if (gRPC_BUILD_TESTS) |
| 9344 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9345 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9346 | add_executable(bm_fullstack_streaming_ping_pong |
| 9347 | test/cpp/microbenchmarks/bm_fullstack_streaming_ping_pong.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9348 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9349 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9350 | ) |
| 9351 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9352 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9353 | target_include_directories(bm_fullstack_streaming_ping_pong |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9354 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9355 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9356 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9357 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9358 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9359 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9360 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9361 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9362 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9363 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9364 | PRIVATE third_party/googletest/googletest/include |
| 9365 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9366 | PRIVATE third_party/googletest/googlemock/include |
| 9367 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9368 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9369 | ) |
| 9370 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9371 | target_link_libraries(bm_fullstack_streaming_ping_pong |
| 9372 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9373 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9374 | grpc_benchmark |
| 9375 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9376 | grpc++_test_util_unsecure |
| 9377 | grpc_test_util_unsecure |
| 9378 | grpc++_unsecure |
| 9379 | grpc_unsecure |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9380 | gpr_test_util |
| 9381 | gpr |
| 9382 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9383 | ) |
| 9384 | |
| 9385 | endif() |
| 9386 | endif (gRPC_BUILD_TESTS) |
| 9387 | if (gRPC_BUILD_TESTS) |
| 9388 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9389 | |
| 9390 | add_executable(bm_fullstack_streaming_pump |
| 9391 | test/cpp/microbenchmarks/bm_fullstack_streaming_pump.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9392 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9393 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9394 | ) |
| 9395 | |
| 9396 | |
| 9397 | target_include_directories(bm_fullstack_streaming_pump |
| 9398 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9399 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9400 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9401 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9402 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9403 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9404 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9405 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9406 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9407 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9408 | PRIVATE third_party/googletest/googletest/include |
| 9409 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9410 | PRIVATE third_party/googletest/googlemock/include |
| 9411 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9412 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9413 | ) |
| 9414 | |
| 9415 | target_link_libraries(bm_fullstack_streaming_pump |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9416 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9417 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9418 | grpc_benchmark |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9419 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9420 | grpc++_test_util_unsecure |
| 9421 | grpc_test_util_unsecure |
| 9422 | grpc++_unsecure |
| 9423 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9424 | gpr_test_util |
| 9425 | gpr |
| 9426 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9427 | ) |
| 9428 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9429 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9430 | endif (gRPC_BUILD_TESTS) |
| 9431 | if (gRPC_BUILD_TESTS) |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9432 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9433 | |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9434 | add_executable(bm_fullstack_trickle |
| 9435 | test/cpp/microbenchmarks/bm_fullstack_trickle.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9436 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9437 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9438 | ) |
| 9439 | |
| 9440 | |
| 9441 | target_include_directories(bm_fullstack_trickle |
| 9442 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9443 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9444 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9445 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9446 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9447 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9448 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9449 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9450 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9451 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9452 | PRIVATE third_party/googletest/googletest/include |
| 9453 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9454 | PRIVATE third_party/googletest/googlemock/include |
| 9455 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9456 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9457 | ) |
| 9458 | |
| 9459 | target_link_libraries(bm_fullstack_trickle |
| 9460 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9461 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9462 | grpc_benchmark |
| 9463 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9464 | grpc++_test_util_unsecure |
| 9465 | grpc_test_util_unsecure |
| 9466 | grpc++_unsecure |
| 9467 | grpc_unsecure |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9468 | gpr_test_util |
| 9469 | gpr |
ncteisen | c302eb9 | 2017-08-18 12:27:34 -0700 | [diff] [blame] | 9470 | grpc++_test_config |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9471 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9472 | ) |
| 9473 | |
| 9474 | endif() |
| 9475 | endif (gRPC_BUILD_TESTS) |
| 9476 | if (gRPC_BUILD_TESTS) |
| 9477 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9478 | |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9479 | add_executable(bm_fullstack_unary_ping_pong |
| 9480 | test/cpp/microbenchmarks/bm_fullstack_unary_ping_pong.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9481 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9482 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9483 | ) |
| 9484 | |
| 9485 | |
| 9486 | target_include_directories(bm_fullstack_unary_ping_pong |
| 9487 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9488 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9489 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9490 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9491 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9492 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9493 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9494 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9495 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9496 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9497 | PRIVATE third_party/googletest/googletest/include |
| 9498 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9499 | PRIVATE third_party/googletest/googlemock/include |
| 9500 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9501 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9502 | ) |
| 9503 | |
| 9504 | target_link_libraries(bm_fullstack_unary_ping_pong |
| 9505 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9506 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9507 | grpc_benchmark |
| 9508 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9509 | grpc++_test_util_unsecure |
| 9510 | grpc_test_util_unsecure |
| 9511 | grpc++_unsecure |
| 9512 | grpc_unsecure |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9513 | gpr_test_util |
| 9514 | gpr |
| 9515 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9516 | ) |
| 9517 | |
| 9518 | endif() |
| 9519 | endif (gRPC_BUILD_TESTS) |
| 9520 | if (gRPC_BUILD_TESTS) |
| 9521 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9522 | |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9523 | add_executable(bm_metadata |
| 9524 | test/cpp/microbenchmarks/bm_metadata.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9525 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9526 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9527 | ) |
| 9528 | |
| 9529 | |
| 9530 | target_include_directories(bm_metadata |
| 9531 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9532 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9533 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9534 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9535 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9536 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9537 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9538 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9539 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9540 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9541 | PRIVATE third_party/googletest/googletest/include |
| 9542 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9543 | PRIVATE third_party/googletest/googlemock/include |
| 9544 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9545 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9546 | ) |
| 9547 | |
| 9548 | target_link_libraries(bm_metadata |
| 9549 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9550 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9551 | grpc_benchmark |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9552 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9553 | grpc++_test_util_unsecure |
| 9554 | grpc_test_util_unsecure |
| 9555 | grpc++_unsecure |
| 9556 | grpc_unsecure |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9557 | gpr_test_util |
| 9558 | gpr |
| 9559 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9560 | ) |
| 9561 | |
| 9562 | endif() |
| 9563 | endif (gRPC_BUILD_TESTS) |
| 9564 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9565 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9566 | |
| 9567 | add_executable(bm_pollset |
| 9568 | test/cpp/microbenchmarks/bm_pollset.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 |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9571 | ) |
| 9572 | |
| 9573 | |
| 9574 | target_include_directories(bm_pollset |
| 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} |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9578 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9579 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9580 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9581 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9582 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9583 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9584 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9585 | PRIVATE third_party/googletest/googletest/include |
| 9586 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9587 | PRIVATE third_party/googletest/googlemock/include |
| 9588 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9589 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9590 | ) |
| 9591 | |
| 9592 | target_link_libraries(bm_pollset |
| 9593 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9594 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9595 | grpc_benchmark |
| 9596 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9597 | grpc++_test_util_unsecure |
| 9598 | grpc_test_util_unsecure |
| 9599 | grpc++_unsecure |
| 9600 | grpc_unsecure |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9601 | gpr_test_util |
| 9602 | gpr |
| 9603 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9604 | ) |
| 9605 | |
| 9606 | endif() |
| 9607 | endif (gRPC_BUILD_TESTS) |
| 9608 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9609 | |
| 9610 | add_executable(channel_arguments_test |
| 9611 | test/cpp/common/channel_arguments_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9612 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9613 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9614 | ) |
| 9615 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9616 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9617 | target_include_directories(channel_arguments_test |
| 9618 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9619 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9620 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9621 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9622 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9623 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9624 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9625 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9626 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9627 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9628 | PRIVATE third_party/googletest/googletest/include |
| 9629 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9630 | PRIVATE third_party/googletest/googlemock/include |
| 9631 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9632 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9633 | ) |
| 9634 | |
| 9635 | target_link_libraries(channel_arguments_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9636 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9637 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9638 | grpc++ |
| 9639 | grpc |
| 9640 | gpr |
| 9641 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9642 | ) |
| 9643 | |
| 9644 | endif (gRPC_BUILD_TESTS) |
| 9645 | if (gRPC_BUILD_TESTS) |
| 9646 | |
| 9647 | add_executable(channel_filter_test |
| 9648 | test/cpp/common/channel_filter_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9649 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9650 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9651 | ) |
| 9652 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9653 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9654 | target_include_directories(channel_filter_test |
| 9655 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9656 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9657 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9658 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9659 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9660 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9661 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9662 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9663 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9664 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9665 | PRIVATE third_party/googletest/googletest/include |
| 9666 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9667 | PRIVATE third_party/googletest/googlemock/include |
| 9668 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9669 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9670 | ) |
| 9671 | |
| 9672 | target_link_libraries(channel_filter_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9673 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9674 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9675 | grpc++ |
| 9676 | grpc |
| 9677 | gpr |
| 9678 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9679 | ) |
| 9680 | |
| 9681 | endif (gRPC_BUILD_TESTS) |
| 9682 | if (gRPC_BUILD_TESTS) |
| 9683 | |
Mark D. Roth | b9f34ac | 2017-11-21 15:47:12 -0800 | [diff] [blame] | 9684 | add_executable(chttp2_settings_timeout_test |
| 9685 | test/core/transport/chttp2/settings_timeout_test.cc |
| 9686 | third_party/googletest/googletest/src/gtest-all.cc |
| 9687 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9688 | ) |
| 9689 | |
| 9690 | |
| 9691 | target_include_directories(chttp2_settings_timeout_test |
| 9692 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9693 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9694 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Mark D. Roth | b9f34ac | 2017-11-21 15:47:12 -0800 | [diff] [blame] | 9695 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9696 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9697 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9698 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9699 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9700 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 9701 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Mark D. Roth | b9f34ac | 2017-11-21 15:47:12 -0800 | [diff] [blame] | 9702 | PRIVATE third_party/googletest/googletest/include |
| 9703 | PRIVATE third_party/googletest/googletest |
| 9704 | PRIVATE third_party/googletest/googlemock/include |
| 9705 | PRIVATE third_party/googletest/googlemock |
| 9706 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9707 | ) |
| 9708 | |
| 9709 | target_link_libraries(chttp2_settings_timeout_test |
| 9710 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9711 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9712 | grpc_test_util |
| 9713 | grpc |
| 9714 | gpr_test_util |
| 9715 | gpr |
| 9716 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9717 | ) |
| 9718 | |
| 9719 | endif (gRPC_BUILD_TESTS) |
| 9720 | if (gRPC_BUILD_TESTS) |
| 9721 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9722 | add_executable(cli_call_test |
| 9723 | test/cpp/util/cli_call_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9724 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9725 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9726 | ) |
| 9727 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9728 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9729 | target_include_directories(cli_call_test |
| 9730 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9731 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9732 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9733 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9734 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9735 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9736 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9737 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9738 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9739 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9740 | PRIVATE third_party/googletest/googletest/include |
| 9741 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9742 | PRIVATE third_party/googletest/googlemock/include |
| 9743 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9744 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9745 | ) |
| 9746 | |
| 9747 | target_link_libraries(cli_call_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9748 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9749 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9750 | grpc_cli_libs |
| 9751 | grpc++_test_util |
| 9752 | grpc_test_util |
| 9753 | grpc++ |
| 9754 | grpc |
| 9755 | gpr_test_util |
| 9756 | gpr |
| 9757 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9758 | ) |
| 9759 | |
| 9760 | endif (gRPC_BUILD_TESTS) |
| 9761 | if (gRPC_BUILD_TESTS) |
Juanli Shen | e5d2139 | 2017-11-14 16:07:23 -0800 | [diff] [blame] | 9762 | |
| 9763 | add_executable(client_channel_stress_test |
| 9764 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 9765 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 9766 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 9767 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h |
| 9768 | test/cpp/client/client_channel_stress_test.cc |
| 9769 | third_party/googletest/googletest/src/gtest-all.cc |
| 9770 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9771 | ) |
| 9772 | |
| 9773 | protobuf_generate_grpc_cpp( |
| 9774 | src/proto/grpc/lb/v1/load_balancer.proto |
| 9775 | ) |
| 9776 | |
| 9777 | target_include_directories(client_channel_stress_test |
| 9778 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9779 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9780 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Juanli Shen | e5d2139 | 2017-11-14 16:07:23 -0800 | [diff] [blame] | 9781 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9782 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9783 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9784 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9785 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9786 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 9787 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Juanli Shen | e5d2139 | 2017-11-14 16:07:23 -0800 | [diff] [blame] | 9788 | PRIVATE third_party/googletest/googletest/include |
| 9789 | PRIVATE third_party/googletest/googletest |
| 9790 | PRIVATE third_party/googletest/googlemock/include |
| 9791 | PRIVATE third_party/googletest/googlemock |
| 9792 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9793 | ) |
| 9794 | |
| 9795 | target_link_libraries(client_channel_stress_test |
| 9796 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9797 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9798 | grpc++_test_util |
| 9799 | grpc_test_util |
| 9800 | grpc++ |
| 9801 | grpc |
| 9802 | gpr_test_util |
| 9803 | gpr |
| 9804 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9805 | ) |
| 9806 | |
| 9807 | endif (gRPC_BUILD_TESTS) |
| 9808 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9809 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9810 | |
| 9811 | add_executable(client_crash_test |
| 9812 | test/cpp/end2end/client_crash_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9813 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9814 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9815 | ) |
| 9816 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9817 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9818 | target_include_directories(client_crash_test |
| 9819 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9820 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9821 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9822 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9823 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9824 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9825 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9826 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9827 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9828 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9829 | PRIVATE third_party/googletest/googletest/include |
| 9830 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9831 | PRIVATE third_party/googletest/googlemock/include |
| 9832 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9833 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9834 | ) |
| 9835 | |
| 9836 | target_link_libraries(client_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9837 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9838 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9839 | grpc++_test_util |
| 9840 | grpc_test_util |
| 9841 | grpc++ |
| 9842 | grpc |
| 9843 | gpr_test_util |
| 9844 | gpr |
| 9845 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9846 | ) |
| 9847 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9848 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9849 | endif (gRPC_BUILD_TESTS) |
| 9850 | if (gRPC_BUILD_TESTS) |
| 9851 | |
| 9852 | add_executable(client_crash_test_server |
| 9853 | test/cpp/end2end/client_crash_test_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9854 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9855 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9856 | ) |
| 9857 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9858 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9859 | target_include_directories(client_crash_test_server |
| 9860 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9861 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9862 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9863 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9864 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9865 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9866 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9867 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9868 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9869 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9870 | PRIVATE third_party/googletest/googletest/include |
| 9871 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9872 | PRIVATE third_party/googletest/googlemock/include |
| 9873 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9874 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9875 | ) |
| 9876 | |
| 9877 | target_link_libraries(client_crash_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9878 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9879 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9880 | grpc++_test_util |
| 9881 | grpc_test_util |
| 9882 | grpc++ |
| 9883 | grpc |
| 9884 | gpr_test_util |
| 9885 | gpr |
| 9886 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9887 | ) |
| 9888 | |
| 9889 | endif (gRPC_BUILD_TESTS) |
| 9890 | if (gRPC_BUILD_TESTS) |
| 9891 | |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 9892 | add_executable(client_lb_end2end_test |
| 9893 | test/cpp/end2end/client_lb_end2end_test.cc |
| 9894 | third_party/googletest/googletest/src/gtest-all.cc |
| 9895 | third_party/googletest/googlemock/src/gmock-all.cc |
| 9896 | ) |
| 9897 | |
| 9898 | |
| 9899 | target_include_directories(client_lb_end2end_test |
| 9900 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9901 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9902 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 9903 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9904 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9905 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9906 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 9907 | PRIVATE ${CARES_INCLUDE_DIR} |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 9908 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 9909 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9910 | PRIVATE third_party/googletest/googletest/include |
| 9911 | PRIVATE third_party/googletest/googletest |
| 9912 | PRIVATE third_party/googletest/googlemock/include |
| 9913 | PRIVATE third_party/googletest/googlemock |
| 9914 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9915 | ) |
| 9916 | |
| 9917 | target_link_libraries(client_lb_end2end_test |
| 9918 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9919 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9920 | grpc++_test_util |
| 9921 | grpc_test_util |
| 9922 | grpc++ |
| 9923 | grpc |
| 9924 | gpr_test_util |
| 9925 | gpr |
| 9926 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9927 | ) |
| 9928 | |
| 9929 | endif (gRPC_BUILD_TESTS) |
| 9930 | if (gRPC_BUILD_TESTS) |
| 9931 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9932 | add_executable(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9933 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 9934 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 9935 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 9936 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 9937 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 9938 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 9939 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 9940 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 9941 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 9942 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 9943 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 9944 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 9945 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 9946 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 9947 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 9948 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
| 9949 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 9950 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 9951 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 9952 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9953 | test/cpp/codegen/codegen_test_full.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9954 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9955 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9956 | ) |
| 9957 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9958 | protobuf_generate_grpc_cpp( |
| 9959 | src/proto/grpc/testing/control.proto |
| 9960 | ) |
| 9961 | protobuf_generate_grpc_cpp( |
| 9962 | src/proto/grpc/testing/messages.proto |
| 9963 | ) |
| 9964 | protobuf_generate_grpc_cpp( |
| 9965 | src/proto/grpc/testing/payloads.proto |
| 9966 | ) |
| 9967 | protobuf_generate_grpc_cpp( |
| 9968 | src/proto/grpc/testing/services.proto |
| 9969 | ) |
| 9970 | protobuf_generate_grpc_cpp( |
| 9971 | src/proto/grpc/testing/stats.proto |
| 9972 | ) |
| 9973 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9974 | target_include_directories(codegen_test_full |
| 9975 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9976 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 9977 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9978 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9979 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9980 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9981 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9982 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9983 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9984 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9985 | PRIVATE third_party/googletest/googletest/include |
| 9986 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9987 | PRIVATE third_party/googletest/googlemock/include |
| 9988 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9989 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9990 | ) |
| 9991 | |
| 9992 | target_link_libraries(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9993 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9994 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 9995 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9996 | grpc++ |
| 9997 | grpc |
| 9998 | gpr |
| 9999 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10000 | ) |
| 10001 | |
| 10002 | endif (gRPC_BUILD_TESTS) |
| 10003 | if (gRPC_BUILD_TESTS) |
| 10004 | |
| 10005 | add_executable(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10006 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 10007 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 10008 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 10009 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 10010 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 10011 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 10012 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 10013 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 10014 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 10015 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 10016 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 10017 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 10018 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 10019 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 10020 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 10021 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
| 10022 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 10023 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 10024 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 10025 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10026 | test/cpp/codegen/codegen_test_minimal.cc |
| 10027 | src/cpp/codegen/codegen_init.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10028 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10029 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10030 | ) |
| 10031 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10032 | protobuf_generate_grpc_cpp( |
| 10033 | src/proto/grpc/testing/control.proto |
| 10034 | ) |
| 10035 | protobuf_generate_grpc_cpp( |
| 10036 | src/proto/grpc/testing/messages.proto |
| 10037 | ) |
| 10038 | protobuf_generate_grpc_cpp( |
| 10039 | src/proto/grpc/testing/payloads.proto |
| 10040 | ) |
| 10041 | protobuf_generate_grpc_cpp( |
| 10042 | src/proto/grpc/testing/services.proto |
| 10043 | ) |
| 10044 | protobuf_generate_grpc_cpp( |
| 10045 | src/proto/grpc/testing/stats.proto |
| 10046 | ) |
| 10047 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10048 | target_include_directories(codegen_test_minimal |
| 10049 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10050 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10051 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10052 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10053 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10054 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10055 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10056 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10057 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10058 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10059 | PRIVATE third_party/googletest/googletest/include |
| 10060 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10061 | PRIVATE third_party/googletest/googlemock/include |
| 10062 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10063 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10064 | ) |
| 10065 | |
| 10066 | target_link_libraries(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10067 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10068 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 10069 | grpc++_core_stats |
Vijay Pai | c0e6701 | 2017-03-17 20:00:55 -0700 | [diff] [blame] | 10070 | grpc |
| 10071 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10072 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10073 | ) |
| 10074 | |
| 10075 | endif (gRPC_BUILD_TESTS) |
| 10076 | if (gRPC_BUILD_TESTS) |
| 10077 | |
| 10078 | add_executable(credentials_test |
| 10079 | test/cpp/client/credentials_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10080 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10081 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10082 | ) |
| 10083 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10084 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10085 | target_include_directories(credentials_test |
| 10086 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10087 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10088 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10089 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10090 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10091 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10092 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10093 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10094 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10095 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10096 | PRIVATE third_party/googletest/googletest/include |
| 10097 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10098 | PRIVATE third_party/googletest/googlemock/include |
| 10099 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10100 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10101 | ) |
| 10102 | |
| 10103 | target_link_libraries(credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10104 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10105 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10106 | grpc++ |
| 10107 | grpc |
| 10108 | gpr |
| 10109 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10110 | ) |
| 10111 | |
| 10112 | endif (gRPC_BUILD_TESTS) |
| 10113 | if (gRPC_BUILD_TESTS) |
| 10114 | |
| 10115 | add_executable(cxx_byte_buffer_test |
| 10116 | test/cpp/util/byte_buffer_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10117 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10118 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10119 | ) |
| 10120 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10121 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10122 | target_include_directories(cxx_byte_buffer_test |
| 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 | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10126 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10127 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10128 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10129 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10130 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10131 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10132 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10133 | PRIVATE third_party/googletest/googletest/include |
| 10134 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10135 | PRIVATE third_party/googletest/googlemock/include |
| 10136 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10137 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10138 | ) |
| 10139 | |
| 10140 | target_link_libraries(cxx_byte_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10141 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10142 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10143 | grpc_test_util |
| 10144 | grpc++ |
| 10145 | grpc |
| 10146 | gpr_test_util |
| 10147 | gpr |
| 10148 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10149 | ) |
| 10150 | |
| 10151 | endif (gRPC_BUILD_TESTS) |
| 10152 | if (gRPC_BUILD_TESTS) |
| 10153 | |
| 10154 | add_executable(cxx_slice_test |
| 10155 | test/cpp/util/slice_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10156 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10157 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10158 | ) |
| 10159 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10160 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10161 | target_include_directories(cxx_slice_test |
| 10162 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10163 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10164 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10165 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10166 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10167 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10168 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10169 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10170 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10171 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10172 | PRIVATE third_party/googletest/googletest/include |
| 10173 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10174 | PRIVATE third_party/googletest/googlemock/include |
| 10175 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10176 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10177 | ) |
| 10178 | |
| 10179 | target_link_libraries(cxx_slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10180 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10181 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10182 | grpc_test_util |
| 10183 | grpc++ |
| 10184 | grpc |
| 10185 | gpr_test_util |
| 10186 | gpr |
| 10187 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10188 | ) |
| 10189 | |
| 10190 | endif (gRPC_BUILD_TESTS) |
| 10191 | if (gRPC_BUILD_TESTS) |
| 10192 | |
| 10193 | add_executable(cxx_string_ref_test |
| 10194 | test/cpp/util/string_ref_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10195 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10196 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10197 | ) |
| 10198 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10199 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10200 | target_include_directories(cxx_string_ref_test |
| 10201 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10202 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10203 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10204 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10205 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10206 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10207 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10208 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10209 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10210 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10211 | PRIVATE third_party/googletest/googletest/include |
| 10212 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10213 | PRIVATE third_party/googletest/googlemock/include |
| 10214 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10215 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10216 | ) |
| 10217 | |
| 10218 | target_link_libraries(cxx_string_ref_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10219 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10220 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10221 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 10222 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10223 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10224 | ) |
| 10225 | |
| 10226 | endif (gRPC_BUILD_TESTS) |
| 10227 | if (gRPC_BUILD_TESTS) |
| 10228 | |
| 10229 | add_executable(cxx_time_test |
| 10230 | test/cpp/util/time_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10231 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10232 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10233 | ) |
| 10234 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10235 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10236 | target_include_directories(cxx_time_test |
| 10237 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10238 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10239 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10240 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10241 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10242 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10243 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10244 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10245 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10246 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10247 | PRIVATE third_party/googletest/googletest/include |
| 10248 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10249 | PRIVATE third_party/googletest/googlemock/include |
| 10250 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10251 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10252 | ) |
| 10253 | |
| 10254 | target_link_libraries(cxx_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10255 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10256 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10257 | grpc_test_util |
| 10258 | grpc++ |
| 10259 | grpc |
| 10260 | gpr_test_util |
| 10261 | gpr |
| 10262 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10263 | ) |
| 10264 | |
| 10265 | endif (gRPC_BUILD_TESTS) |
| 10266 | if (gRPC_BUILD_TESTS) |
| 10267 | |
| 10268 | add_executable(end2end_test |
| 10269 | test/cpp/end2end/end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10270 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10271 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10272 | ) |
| 10273 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10274 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10275 | target_include_directories(end2end_test |
| 10276 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10277 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10278 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10279 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10280 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10281 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10282 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10283 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10284 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10285 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10286 | PRIVATE third_party/googletest/googletest/include |
| 10287 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10288 | PRIVATE third_party/googletest/googlemock/include |
| 10289 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10290 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10291 | ) |
| 10292 | |
| 10293 | target_link_libraries(end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10294 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10295 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10296 | grpc++_test_util |
| 10297 | grpc_test_util |
| 10298 | grpc++ |
| 10299 | grpc |
| 10300 | gpr_test_util |
| 10301 | gpr |
| 10302 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10303 | ) |
| 10304 | |
| 10305 | endif (gRPC_BUILD_TESTS) |
| 10306 | if (gRPC_BUILD_TESTS) |
| 10307 | |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10308 | add_executable(error_details_test |
| 10309 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 10310 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 10311 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 10312 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 10313 | test/cpp/util/error_details_test.cc |
| 10314 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10315 | third_party/googletest/googlemock/src/gmock-all.cc |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10316 | ) |
| 10317 | |
| 10318 | protobuf_generate_grpc_cpp( |
| 10319 | src/proto/grpc/testing/echo_messages.proto |
| 10320 | ) |
| 10321 | |
| 10322 | target_include_directories(error_details_test |
| 10323 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10324 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10325 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10326 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 10327 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 10328 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10329 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10330 | PRIVATE ${CARES_INCLUDE_DIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10331 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 10332 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10333 | PRIVATE third_party/googletest/googletest/include |
| 10334 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10335 | PRIVATE third_party/googletest/googlemock/include |
| 10336 | PRIVATE third_party/googletest/googlemock |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10337 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10338 | ) |
| 10339 | |
| 10340 | target_link_libraries(error_details_test |
| 10341 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10342 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10343 | grpc++_error_details |
| 10344 | grpc++ |
| 10345 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10346 | ) |
| 10347 | |
| 10348 | endif (gRPC_BUILD_TESTS) |
| 10349 | if (gRPC_BUILD_TESTS) |
| 10350 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10351 | add_executable(filter_end2end_test |
| 10352 | test/cpp/end2end/filter_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10353 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10354 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10355 | ) |
| 10356 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10357 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10358 | target_include_directories(filter_end2end_test |
| 10359 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10360 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10361 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10362 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10363 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10364 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10365 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10366 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10367 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10368 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10369 | PRIVATE third_party/googletest/googletest/include |
| 10370 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10371 | PRIVATE third_party/googletest/googlemock/include |
| 10372 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10373 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10374 | ) |
| 10375 | |
| 10376 | target_link_libraries(filter_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10377 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10378 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10379 | grpc++_test_util |
| 10380 | grpc_test_util |
| 10381 | grpc++ |
| 10382 | grpc |
| 10383 | gpr_test_util |
| 10384 | gpr |
| 10385 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10386 | ) |
| 10387 | |
| 10388 | endif (gRPC_BUILD_TESTS) |
| 10389 | if (gRPC_BUILD_TESTS) |
| 10390 | |
| 10391 | add_executable(generic_end2end_test |
| 10392 | test/cpp/end2end/generic_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10393 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10394 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10395 | ) |
| 10396 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10397 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10398 | target_include_directories(generic_end2end_test |
| 10399 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10400 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10401 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10402 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10403 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10404 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10405 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10406 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10407 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10408 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10409 | PRIVATE third_party/googletest/googletest/include |
| 10410 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10411 | PRIVATE third_party/googletest/googlemock/include |
| 10412 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10413 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10414 | ) |
| 10415 | |
| 10416 | target_link_libraries(generic_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10417 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10418 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10419 | grpc++_test_util |
| 10420 | grpc_test_util |
| 10421 | grpc++ |
| 10422 | grpc |
| 10423 | gpr_test_util |
| 10424 | gpr |
| 10425 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10426 | ) |
| 10427 | |
| 10428 | endif (gRPC_BUILD_TESTS) |
| 10429 | if (gRPC_BUILD_TESTS) |
| 10430 | |
| 10431 | add_executable(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10432 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.cc |
| 10433 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.grpc.pb.cc |
| 10434 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.h |
| 10435 | ${_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] | 10436 | test/cpp/codegen/golden_file_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10437 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10438 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10439 | ) |
| 10440 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10441 | protobuf_generate_grpc_cpp( |
| 10442 | src/proto/grpc/testing/compiler_test.proto |
| 10443 | ) |
| 10444 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10445 | target_include_directories(golden_file_test |
| 10446 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10447 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10448 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10449 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10450 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10451 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10452 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10453 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10454 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10455 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10456 | PRIVATE third_party/googletest/googletest/include |
| 10457 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10458 | PRIVATE third_party/googletest/googlemock/include |
| 10459 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10460 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10461 | ) |
| 10462 | |
| 10463 | target_link_libraries(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10464 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10465 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10466 | grpc++ |
| 10467 | grpc |
| 10468 | gpr |
| 10469 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10470 | ) |
| 10471 | |
| 10472 | endif (gRPC_BUILD_TESTS) |
| 10473 | if (gRPC_BUILD_TESTS) |
| 10474 | |
| 10475 | add_executable(grpc_cli |
| 10476 | test/cpp/util/grpc_cli.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10477 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10478 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10479 | ) |
| 10480 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10481 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10482 | target_include_directories(grpc_cli |
| 10483 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10484 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10485 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10486 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10487 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10488 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10489 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10490 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10491 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10492 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10493 | PRIVATE third_party/googletest/googletest/include |
| 10494 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10495 | PRIVATE third_party/googletest/googlemock/include |
| 10496 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10497 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10498 | ) |
| 10499 | |
| 10500 | target_link_libraries(grpc_cli |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10501 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10502 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10503 | grpc_cli_libs |
| 10504 | grpc++_proto_reflection_desc_db |
| 10505 | grpc++ |
| 10506 | grpc |
| 10507 | gpr |
| 10508 | grpc++_test_config |
| 10509 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10510 | ) |
| 10511 | |
| 10512 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10513 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10514 | add_executable(grpc_cpp_plugin |
| 10515 | src/compiler/cpp_plugin.cc |
| 10516 | ) |
| 10517 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10518 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10519 | target_include_directories(grpc_cpp_plugin |
| 10520 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10521 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10522 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10523 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10524 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10525 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10526 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10527 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10528 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10529 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10530 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10531 | ) |
| 10532 | |
| 10533 | target_link_libraries(grpc_cpp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10534 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10535 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10536 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10537 | grpc_plugin_support |
| 10538 | ) |
| 10539 | |
| 10540 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10541 | if (gRPC_INSTALL) |
| 10542 | install(TARGETS grpc_cpp_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10543 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10544 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10545 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10546 | ) |
| 10547 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10548 | |
| 10549 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10550 | add_executable(grpc_csharp_plugin |
| 10551 | src/compiler/csharp_plugin.cc |
| 10552 | ) |
| 10553 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10554 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10555 | target_include_directories(grpc_csharp_plugin |
| 10556 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10557 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10558 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10559 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10560 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10561 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10562 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10563 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10564 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10565 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10566 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10567 | ) |
| 10568 | |
| 10569 | target_link_libraries(grpc_csharp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10570 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10571 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10572 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10573 | grpc_plugin_support |
| 10574 | ) |
| 10575 | |
| 10576 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10577 | if (gRPC_INSTALL) |
| 10578 | install(TARGETS grpc_csharp_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10579 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10580 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10581 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10582 | ) |
| 10583 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10584 | |
| 10585 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10586 | add_executable(grpc_node_plugin |
| 10587 | src/compiler/node_plugin.cc |
| 10588 | ) |
| 10589 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10590 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10591 | target_include_directories(grpc_node_plugin |
| 10592 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10593 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10594 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10595 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10596 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10597 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10598 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10599 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10600 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10601 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10602 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10603 | ) |
| 10604 | |
| 10605 | target_link_libraries(grpc_node_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10606 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10607 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10608 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10609 | grpc_plugin_support |
| 10610 | ) |
| 10611 | |
| 10612 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10613 | if (gRPC_INSTALL) |
| 10614 | install(TARGETS grpc_node_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10615 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10616 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10617 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10618 | ) |
| 10619 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10620 | |
| 10621 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10622 | add_executable(grpc_objective_c_plugin |
| 10623 | src/compiler/objective_c_plugin.cc |
| 10624 | ) |
| 10625 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10626 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10627 | target_include_directories(grpc_objective_c_plugin |
| 10628 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10629 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10630 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10631 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10632 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10633 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10634 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10635 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10636 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10637 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10638 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10639 | ) |
| 10640 | |
| 10641 | target_link_libraries(grpc_objective_c_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10642 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10643 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10644 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10645 | grpc_plugin_support |
| 10646 | ) |
| 10647 | |
| 10648 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10649 | if (gRPC_INSTALL) |
| 10650 | install(TARGETS grpc_objective_c_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10651 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10652 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10653 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10654 | ) |
| 10655 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10656 | |
| 10657 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10658 | add_executable(grpc_php_plugin |
| 10659 | src/compiler/php_plugin.cc |
| 10660 | ) |
| 10661 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10662 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10663 | target_include_directories(grpc_php_plugin |
| 10664 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10665 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10666 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10667 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10668 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10669 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10670 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10671 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10672 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10673 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10674 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10675 | ) |
| 10676 | |
| 10677 | target_link_libraries(grpc_php_plugin |
| 10678 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10679 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10680 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10681 | grpc_plugin_support |
| 10682 | ) |
| 10683 | |
| 10684 | |
| 10685 | if (gRPC_INSTALL) |
| 10686 | install(TARGETS grpc_php_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10687 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10688 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10689 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10690 | ) |
| 10691 | endif() |
| 10692 | |
| 10693 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10694 | add_executable(grpc_python_plugin |
| 10695 | src/compiler/python_plugin.cc |
| 10696 | ) |
| 10697 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10698 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10699 | target_include_directories(grpc_python_plugin |
| 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} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10703 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10704 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10705 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10706 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10707 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10708 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10709 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10710 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10711 | ) |
| 10712 | |
| 10713 | target_link_libraries(grpc_python_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10714 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10715 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10716 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10717 | grpc_plugin_support |
| 10718 | ) |
| 10719 | |
| 10720 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10721 | if (gRPC_INSTALL) |
| 10722 | install(TARGETS grpc_python_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10723 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10724 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10725 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10726 | ) |
| 10727 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10728 | |
| 10729 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10730 | add_executable(grpc_ruby_plugin |
| 10731 | src/compiler/ruby_plugin.cc |
| 10732 | ) |
| 10733 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10734 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10735 | target_include_directories(grpc_ruby_plugin |
| 10736 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10737 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10738 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10739 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10740 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10741 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10742 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10743 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10744 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10745 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10746 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10747 | ) |
| 10748 | |
| 10749 | target_link_libraries(grpc_ruby_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10750 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10751 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10752 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10753 | grpc_plugin_support |
| 10754 | ) |
| 10755 | |
| 10756 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10757 | if (gRPC_INSTALL) |
| 10758 | install(TARGETS grpc_ruby_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10759 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10760 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10761 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10762 | ) |
| 10763 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10764 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10765 | if (gRPC_BUILD_TESTS) |
| 10766 | |
| 10767 | add_executable(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10768 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 10769 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 10770 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 10771 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 10772 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 10773 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 10774 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 10775 | ${_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] | 10776 | test/cpp/util/grpc_tool_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10777 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10778 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10779 | ) |
| 10780 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10781 | protobuf_generate_grpc_cpp( |
| 10782 | src/proto/grpc/testing/echo.proto |
| 10783 | ) |
| 10784 | protobuf_generate_grpc_cpp( |
| 10785 | src/proto/grpc/testing/echo_messages.proto |
| 10786 | ) |
| 10787 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10788 | target_include_directories(grpc_tool_test |
| 10789 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10790 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10791 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10792 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10793 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10794 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10795 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10796 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10797 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10798 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10799 | PRIVATE third_party/googletest/googletest/include |
| 10800 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10801 | PRIVATE third_party/googletest/googlemock/include |
| 10802 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10803 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10804 | ) |
| 10805 | |
| 10806 | target_link_libraries(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10807 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10808 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10809 | grpc_cli_libs |
| 10810 | grpc++_proto_reflection_desc_db |
| 10811 | grpc++_reflection |
| 10812 | grpc++_test_util |
| 10813 | grpc_test_util |
| 10814 | grpc++ |
| 10815 | grpc |
| 10816 | gpr_test_util |
| 10817 | gpr |
| 10818 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10819 | ) |
| 10820 | |
| 10821 | endif (gRPC_BUILD_TESTS) |
| 10822 | if (gRPC_BUILD_TESTS) |
| 10823 | |
| 10824 | add_executable(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10825 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10826 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10827 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10828 | ${_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] | 10829 | test/cpp/grpclb/grpclb_api_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10830 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10831 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10832 | ) |
| 10833 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10834 | protobuf_generate_grpc_cpp( |
| 10835 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10836 | ) |
| 10837 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10838 | target_include_directories(grpclb_api_test |
| 10839 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10840 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10841 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10842 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10843 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10844 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10845 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10846 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10847 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10848 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10849 | PRIVATE third_party/googletest/googletest/include |
| 10850 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10851 | PRIVATE third_party/googletest/googlemock/include |
| 10852 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10853 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10854 | ) |
| 10855 | |
| 10856 | target_link_libraries(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10857 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10858 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10859 | grpc++_test_util |
| 10860 | grpc_test_util |
| 10861 | grpc++ |
| 10862 | grpc |
| 10863 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10864 | ) |
| 10865 | |
| 10866 | endif (gRPC_BUILD_TESTS) |
| 10867 | if (gRPC_BUILD_TESTS) |
| 10868 | |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 10869 | add_executable(grpclb_end2end_test |
| 10870 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10871 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10872 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10873 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h |
| 10874 | test/cpp/end2end/grpclb_end2end_test.cc |
| 10875 | third_party/googletest/googletest/src/gtest-all.cc |
| 10876 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10877 | ) |
| 10878 | |
| 10879 | protobuf_generate_grpc_cpp( |
| 10880 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10881 | ) |
| 10882 | |
| 10883 | target_include_directories(grpclb_end2end_test |
| 10884 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10885 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10886 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 10887 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 10888 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 10889 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10890 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 10891 | PRIVATE ${CARES_INCLUDE_DIR} |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 10892 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 10893 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10894 | PRIVATE third_party/googletest/googletest/include |
| 10895 | PRIVATE third_party/googletest/googletest |
| 10896 | PRIVATE third_party/googletest/googlemock/include |
| 10897 | PRIVATE third_party/googletest/googlemock |
| 10898 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10899 | ) |
| 10900 | |
| 10901 | target_link_libraries(grpclb_end2end_test |
| 10902 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10903 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10904 | grpc++_test_util |
| 10905 | grpc_test_util |
| 10906 | grpc++ |
| 10907 | grpc |
| 10908 | gpr_test_util |
| 10909 | gpr |
| 10910 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10911 | ) |
| 10912 | |
| 10913 | endif (gRPC_BUILD_TESTS) |
| 10914 | if (gRPC_BUILD_TESTS) |
| 10915 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10916 | add_executable(grpclb_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10917 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10918 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10919 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10920 | ${_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] | 10921 | test/cpp/grpclb/grpclb_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10922 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10923 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10924 | ) |
| 10925 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10926 | protobuf_generate_grpc_cpp( |
| 10927 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10928 | ) |
| 10929 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10930 | target_include_directories(grpclb_test |
| 10931 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10932 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10933 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10934 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10935 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10936 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10937 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10938 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10939 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10940 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10941 | PRIVATE third_party/googletest/googletest/include |
| 10942 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10943 | PRIVATE third_party/googletest/googlemock/include |
| 10944 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10945 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10946 | ) |
| 10947 | |
| 10948 | target_link_libraries(grpclb_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10949 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10950 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10951 | grpc++_test_util |
| 10952 | grpc_test_util |
Jan Tattermusch | 1c6a144 | 2017-01-13 14:17:40 +0100 | [diff] [blame] | 10953 | grpc++ |
| 10954 | grpc |
| 10955 | gpr_test_util |
| 10956 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10957 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10958 | ) |
| 10959 | |
| 10960 | endif (gRPC_BUILD_TESTS) |
| 10961 | if (gRPC_BUILD_TESTS) |
| 10962 | |
Vijay Pai | fed1391 | 2017-10-11 00:07:00 -0700 | [diff] [blame] | 10963 | add_executable(h2_ssl_cert_test |
| 10964 | test/core/end2end/h2_ssl_cert_test.cc |
| 10965 | third_party/googletest/googletest/src/gtest-all.cc |
| 10966 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10967 | ) |
| 10968 | |
| 10969 | |
| 10970 | target_include_directories(h2_ssl_cert_test |
| 10971 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10972 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 10973 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Vijay Pai | fed1391 | 2017-10-11 00:07:00 -0700 | [diff] [blame] | 10974 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 10975 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 10976 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10977 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10978 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10979 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 10980 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10981 | PRIVATE third_party/googletest/googletest/include |
| 10982 | PRIVATE third_party/googletest/googletest |
| 10983 | PRIVATE third_party/googletest/googlemock/include |
| 10984 | PRIVATE third_party/googletest/googlemock |
| 10985 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10986 | ) |
| 10987 | |
| 10988 | target_link_libraries(h2_ssl_cert_test |
| 10989 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10990 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10991 | grpc_test_util |
| 10992 | grpc++ |
| 10993 | grpc |
| 10994 | gpr_test_util |
| 10995 | gpr |
| 10996 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10997 | ) |
| 10998 | |
| 10999 | endif (gRPC_BUILD_TESTS) |
| 11000 | if (gRPC_BUILD_TESTS) |
| 11001 | |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 11002 | add_executable(health_service_end2end_test |
| 11003 | test/cpp/end2end/health_service_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11004 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11005 | third_party/googletest/googlemock/src/gmock-all.cc |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 11006 | ) |
| 11007 | |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 11008 | |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 11009 | target_include_directories(health_service_end2end_test |
| 11010 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11011 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11012 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 11013 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 11014 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 11015 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11016 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11017 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11018 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 11019 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11020 | PRIVATE third_party/googletest/googletest/include |
| 11021 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11022 | PRIVATE third_party/googletest/googlemock/include |
| 11023 | PRIVATE third_party/googletest/googlemock |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 11024 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 11025 | ) |
| 11026 | |
| 11027 | target_link_libraries(health_service_end2end_test |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 11028 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11029 | ${_gRPC_ALLTARGETS_LIBRARIES} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 11030 | grpc++_test_util |
| 11031 | grpc_test_util |
| 11032 | grpc++ |
| 11033 | grpc |
| 11034 | gpr_test_util |
| 11035 | gpr |
| 11036 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11037 | ) |
| 11038 | |
| 11039 | endif (gRPC_BUILD_TESTS) |
| 11040 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11041 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11042 | |
| 11043 | add_executable(http2_client |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11044 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11045 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11046 | ) |
| 11047 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11048 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11049 | target_include_directories(http2_client |
| 11050 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11051 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11052 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11053 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11054 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11055 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11056 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11057 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11058 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11059 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11060 | PRIVATE third_party/googletest/googletest/include |
| 11061 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11062 | PRIVATE third_party/googletest/googlemock/include |
| 11063 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11064 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11065 | ) |
| 11066 | |
| 11067 | target_link_libraries(http2_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11068 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11069 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11070 | http2_client_main |
| 11071 | grpc++_test_util |
| 11072 | grpc_test_util |
| 11073 | grpc++ |
| 11074 | grpc |
| 11075 | grpc++_test_config |
| 11076 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11077 | ) |
| 11078 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11079 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11080 | endif (gRPC_BUILD_TESTS) |
| 11081 | if (gRPC_BUILD_TESTS) |
| 11082 | |
| 11083 | add_executable(hybrid_end2end_test |
| 11084 | test/cpp/end2end/hybrid_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11085 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11086 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11087 | ) |
| 11088 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11089 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11090 | target_include_directories(hybrid_end2end_test |
| 11091 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11092 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11093 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11094 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11095 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11096 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11097 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11098 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11099 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11100 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11101 | PRIVATE third_party/googletest/googletest/include |
| 11102 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11103 | PRIVATE third_party/googletest/googlemock/include |
| 11104 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11105 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11106 | ) |
| 11107 | |
| 11108 | target_link_libraries(hybrid_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11109 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11110 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11111 | grpc++_test_util |
| 11112 | grpc_test_util |
| 11113 | grpc++ |
| 11114 | grpc |
| 11115 | gpr_test_util |
| 11116 | gpr |
| 11117 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11118 | ) |
| 11119 | |
| 11120 | endif (gRPC_BUILD_TESTS) |
| 11121 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11122 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11123 | |
Vijay Pai | 088112f | 2017-08-24 10:42:27 -0700 | [diff] [blame] | 11124 | add_executable(inproc_sync_unary_ping_pong_test |
| 11125 | test/cpp/qps/inproc_sync_unary_ping_pong_test.cc |
| 11126 | third_party/googletest/googletest/src/gtest-all.cc |
| 11127 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11128 | ) |
| 11129 | |
| 11130 | |
| 11131 | target_include_directories(inproc_sync_unary_ping_pong_test |
| 11132 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11133 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11134 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Vijay Pai | 088112f | 2017-08-24 10:42:27 -0700 | [diff] [blame] | 11135 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11136 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11137 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11138 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 11139 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11140 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 11141 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Vijay Pai | 088112f | 2017-08-24 10:42:27 -0700 | [diff] [blame] | 11142 | PRIVATE third_party/googletest/googletest/include |
| 11143 | PRIVATE third_party/googletest/googletest |
| 11144 | PRIVATE third_party/googletest/googlemock/include |
| 11145 | PRIVATE third_party/googletest/googlemock |
| 11146 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11147 | ) |
| 11148 | |
| 11149 | target_link_libraries(inproc_sync_unary_ping_pong_test |
| 11150 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11151 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11152 | qps |
| 11153 | grpc++_core_stats |
| 11154 | grpc++_test_util |
| 11155 | grpc_test_util |
| 11156 | grpc++ |
| 11157 | grpc |
| 11158 | gpr_test_util |
| 11159 | gpr |
| 11160 | grpc++_test_config |
| 11161 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11162 | ) |
| 11163 | |
| 11164 | endif() |
| 11165 | endif (gRPC_BUILD_TESTS) |
| 11166 | if (gRPC_BUILD_TESTS) |
| 11167 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 11168 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11169 | add_executable(interop_client |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11170 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11171 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11172 | ) |
| 11173 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11174 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11175 | target_include_directories(interop_client |
| 11176 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11177 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11178 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11179 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11180 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11181 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11182 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11183 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11184 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11185 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11186 | PRIVATE third_party/googletest/googletest/include |
| 11187 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11188 | PRIVATE third_party/googletest/googlemock/include |
| 11189 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11190 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11191 | ) |
| 11192 | |
| 11193 | target_link_libraries(interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11194 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11195 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11196 | interop_client_main |
| 11197 | interop_client_helper |
| 11198 | grpc++_test_util |
| 11199 | grpc_test_util |
| 11200 | grpc++ |
| 11201 | grpc |
| 11202 | gpr_test_util |
| 11203 | gpr |
| 11204 | grpc++_test_config |
| 11205 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11206 | ) |
| 11207 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11208 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11209 | endif (gRPC_BUILD_TESTS) |
| 11210 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11211 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11212 | |
| 11213 | add_executable(interop_server |
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 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11219 | target_include_directories(interop_server |
| 11220 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11221 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11222 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11223 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11224 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11225 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11226 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11227 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11228 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11229 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11230 | PRIVATE third_party/googletest/googletest/include |
| 11231 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11232 | PRIVATE third_party/googletest/googlemock/include |
| 11233 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11234 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11235 | ) |
| 11236 | |
| 11237 | target_link_libraries(interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11238 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11239 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11240 | interop_server_main |
| 11241 | interop_server_helper |
| 11242 | interop_server_lib |
| 11243 | grpc++_test_util |
| 11244 | grpc_test_util |
| 11245 | grpc++ |
| 11246 | grpc |
| 11247 | gpr_test_util |
| 11248 | gpr |
| 11249 | grpc++_test_config |
| 11250 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11251 | ) |
| 11252 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11253 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11254 | endif (gRPC_BUILD_TESTS) |
| 11255 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11256 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11257 | |
| 11258 | add_executable(interop_test |
| 11259 | test/cpp/interop/interop_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11260 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11261 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11262 | ) |
| 11263 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11264 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11265 | target_include_directories(interop_test |
| 11266 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11267 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11268 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11269 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11270 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11271 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11272 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11273 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11274 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11275 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11276 | PRIVATE third_party/googletest/googletest/include |
| 11277 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11278 | PRIVATE third_party/googletest/googlemock/include |
| 11279 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11280 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11281 | ) |
| 11282 | |
| 11283 | target_link_libraries(interop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11284 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11285 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11286 | grpc_test_util |
| 11287 | grpc |
| 11288 | gpr_test_util |
| 11289 | gpr |
| 11290 | grpc++_test_config |
| 11291 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11292 | ) |
| 11293 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11294 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11295 | endif (gRPC_BUILD_TESTS) |
| 11296 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11297 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11298 | |
| 11299 | add_executable(json_run_localhost |
| 11300 | test/cpp/qps/json_run_localhost.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11301 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11302 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11303 | ) |
| 11304 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11305 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11306 | target_include_directories(json_run_localhost |
| 11307 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11308 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11309 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11310 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11311 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11312 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11313 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11314 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11315 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11316 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11317 | PRIVATE third_party/googletest/googletest/include |
| 11318 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11319 | PRIVATE third_party/googletest/googlemock/include |
| 11320 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11321 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11322 | ) |
| 11323 | |
| 11324 | target_link_libraries(json_run_localhost |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11325 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11326 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11327 | grpc++_test_util |
| 11328 | grpc_test_util |
| 11329 | grpc++ |
| 11330 | grpc |
| 11331 | gpr_test_util |
| 11332 | gpr |
| 11333 | grpc++_test_config |
| 11334 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11335 | ) |
| 11336 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11337 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11338 | endif (gRPC_BUILD_TESTS) |
| 11339 | if (gRPC_BUILD_TESTS) |
| 11340 | |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11341 | add_executable(memory_test |
| 11342 | test/core/support/memory_test.cc |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 11343 | third_party/googletest/googletest/src/gtest-all.cc |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 11344 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11345 | ) |
| 11346 | |
| 11347 | |
| 11348 | target_include_directories(memory_test |
| 11349 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11350 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11351 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11352 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11353 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11354 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11355 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11356 | PRIVATE ${CARES_INCLUDE_DIR} |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11357 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 11358 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 11359 | PRIVATE third_party/googletest/googletest/include |
| 11360 | PRIVATE third_party/googletest/googletest |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 11361 | PRIVATE third_party/googletest/googlemock/include |
| 11362 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11363 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11364 | ) |
| 11365 | |
| 11366 | target_link_libraries(memory_test |
| 11367 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11368 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11369 | grpc_test_util |
| 11370 | grpc++ |
| 11371 | grpc |
| 11372 | gpr_test_util |
| 11373 | gpr |
| 11374 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11375 | ) |
| 11376 | |
| 11377 | endif (gRPC_BUILD_TESTS) |
| 11378 | if (gRPC_BUILD_TESTS) |
| 11379 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11380 | add_executable(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11381 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 11382 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 11383 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 11384 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11385 | test/cpp/interop/metrics_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11386 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11387 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11388 | ) |
| 11389 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11390 | protobuf_generate_grpc_cpp( |
| 11391 | src/proto/grpc/testing/metrics.proto |
| 11392 | ) |
| 11393 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11394 | target_include_directories(metrics_client |
| 11395 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11396 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11397 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11398 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11399 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11400 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11401 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11402 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11403 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11404 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11405 | PRIVATE third_party/googletest/googletest/include |
| 11406 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11407 | PRIVATE third_party/googletest/googlemock/include |
| 11408 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11409 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11410 | ) |
| 11411 | |
| 11412 | target_link_libraries(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11413 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11414 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11415 | grpc++ |
| 11416 | grpc |
| 11417 | gpr |
| 11418 | grpc++_test_config |
| 11419 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11420 | ) |
| 11421 | |
| 11422 | endif (gRPC_BUILD_TESTS) |
| 11423 | if (gRPC_BUILD_TESTS) |
| 11424 | |
| 11425 | add_executable(mock_test |
| 11426 | test/cpp/end2end/mock_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11427 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11428 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11429 | ) |
| 11430 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11431 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11432 | target_include_directories(mock_test |
| 11433 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11434 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11435 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11436 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11437 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11438 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11439 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11440 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11441 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11442 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11443 | PRIVATE third_party/googletest/googletest/include |
| 11444 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11445 | PRIVATE third_party/googletest/googlemock/include |
| 11446 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11447 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11448 | ) |
| 11449 | |
| 11450 | target_link_libraries(mock_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11451 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11452 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11453 | grpc++_test_util |
| 11454 | grpc_test_util |
| 11455 | grpc++ |
| 11456 | grpc |
| 11457 | gpr_test_util |
| 11458 | gpr |
| 11459 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11460 | ) |
| 11461 | |
| 11462 | endif (gRPC_BUILD_TESTS) |
| 11463 | if (gRPC_BUILD_TESTS) |
| 11464 | |
| 11465 | add_executable(noop-benchmark |
| 11466 | test/cpp/microbenchmarks/noop-benchmark.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11467 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11468 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11469 | ) |
| 11470 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11471 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11472 | target_include_directories(noop-benchmark |
| 11473 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11474 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11475 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11476 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11477 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11478 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11479 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11480 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11481 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11482 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11483 | PRIVATE third_party/googletest/googletest/include |
| 11484 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11485 | PRIVATE third_party/googletest/googlemock/include |
| 11486 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11487 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11488 | ) |
| 11489 | |
| 11490 | target_link_libraries(noop-benchmark |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11491 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11492 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11493 | benchmark |
| 11494 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11495 | ) |
| 11496 | |
| 11497 | endif (gRPC_BUILD_TESTS) |
| 11498 | if (gRPC_BUILD_TESTS) |
| 11499 | |
| 11500 | add_executable(proto_server_reflection_test |
| 11501 | test/cpp/end2end/proto_server_reflection_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11502 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11503 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11504 | ) |
| 11505 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11506 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11507 | target_include_directories(proto_server_reflection_test |
| 11508 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11509 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11510 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11511 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11512 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11513 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11514 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11515 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11516 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11517 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11518 | PRIVATE third_party/googletest/googletest/include |
| 11519 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11520 | PRIVATE third_party/googletest/googlemock/include |
| 11521 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11522 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11523 | ) |
| 11524 | |
| 11525 | target_link_libraries(proto_server_reflection_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11526 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11527 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11528 | grpc++_proto_reflection_desc_db |
| 11529 | grpc++_reflection |
| 11530 | grpc++_test_util |
| 11531 | grpc_test_util |
| 11532 | grpc++ |
| 11533 | grpc |
| 11534 | gpr_test_util |
| 11535 | gpr |
| 11536 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11537 | ) |
| 11538 | |
| 11539 | endif (gRPC_BUILD_TESTS) |
| 11540 | if (gRPC_BUILD_TESTS) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11541 | |
| 11542 | add_executable(proto_utils_test |
| 11543 | test/cpp/codegen/proto_utils_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11544 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11545 | third_party/googletest/googlemock/src/gmock-all.cc |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11546 | ) |
| 11547 | |
| 11548 | |
| 11549 | target_include_directories(proto_utils_test |
| 11550 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11551 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11552 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11553 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11554 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11555 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11556 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11557 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11558 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11559 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11560 | PRIVATE third_party/googletest/googletest/include |
| 11561 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11562 | PRIVATE third_party/googletest/googlemock/include |
| 11563 | PRIVATE third_party/googletest/googlemock |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11564 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11565 | ) |
| 11566 | |
| 11567 | target_link_libraries(proto_utils_test |
| 11568 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11569 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11570 | grpc++ |
| 11571 | grpc |
| 11572 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11573 | ) |
| 11574 | |
| 11575 | endif (gRPC_BUILD_TESTS) |
| 11576 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11577 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11578 | |
| 11579 | add_executable(qps_interarrival_test |
| 11580 | test/cpp/qps/qps_interarrival_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11581 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11582 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11583 | ) |
| 11584 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11585 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11586 | target_include_directories(qps_interarrival_test |
| 11587 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11588 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11589 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11590 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11591 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11592 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11593 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11594 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11595 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11596 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11597 | PRIVATE third_party/googletest/googletest/include |
| 11598 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11599 | PRIVATE third_party/googletest/googlemock/include |
| 11600 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11601 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11602 | ) |
| 11603 | |
| 11604 | target_link_libraries(qps_interarrival_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11605 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11606 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11607 | qps |
| 11608 | grpc++_test_util |
| 11609 | grpc_test_util |
| 11610 | grpc++ |
| 11611 | grpc |
| 11612 | gpr_test_util |
| 11613 | gpr |
yang-g | fdcb774 | 2017-07-13 10:25:42 -0700 | [diff] [blame] | 11614 | grpc++_test_config |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11615 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11616 | ) |
| 11617 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11618 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11619 | endif (gRPC_BUILD_TESTS) |
| 11620 | if (gRPC_BUILD_TESTS) |
| 11621 | |
| 11622 | add_executable(qps_json_driver |
| 11623 | test/cpp/qps/qps_json_driver.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11624 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11625 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11626 | ) |
| 11627 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11628 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11629 | target_include_directories(qps_json_driver |
| 11630 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11631 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11632 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11633 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11634 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11635 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11636 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11637 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11638 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11639 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11640 | PRIVATE third_party/googletest/googletest/include |
| 11641 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11642 | PRIVATE third_party/googletest/googlemock/include |
| 11643 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11644 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11645 | ) |
| 11646 | |
| 11647 | target_link_libraries(qps_json_driver |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11648 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11649 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11650 | qps |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 11651 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11652 | grpc++_test_util |
| 11653 | grpc_test_util |
| 11654 | grpc++ |
| 11655 | grpc |
| 11656 | gpr_test_util |
| 11657 | gpr |
| 11658 | grpc++_test_config |
| 11659 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11660 | ) |
| 11661 | |
| 11662 | endif (gRPC_BUILD_TESTS) |
| 11663 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11664 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11665 | |
| 11666 | add_executable(qps_openloop_test |
| 11667 | test/cpp/qps/qps_openloop_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11668 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11669 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11670 | ) |
| 11671 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11672 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11673 | target_include_directories(qps_openloop_test |
| 11674 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11675 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11676 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11677 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11678 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11679 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11680 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11681 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11682 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11683 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11684 | PRIVATE third_party/googletest/googletest/include |
| 11685 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11686 | PRIVATE third_party/googletest/googlemock/include |
| 11687 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11688 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11689 | ) |
| 11690 | |
| 11691 | target_link_libraries(qps_openloop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11692 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11693 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11694 | qps |
Craig Tiller | c75f986 | 2017-09-05 11:34:57 -0700 | [diff] [blame] | 11695 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11696 | grpc++_test_util |
| 11697 | grpc_test_util |
| 11698 | grpc++ |
| 11699 | grpc |
| 11700 | gpr_test_util |
| 11701 | gpr |
| 11702 | grpc++_test_config |
| 11703 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11704 | ) |
| 11705 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11706 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11707 | endif (gRPC_BUILD_TESTS) |
| 11708 | if (gRPC_BUILD_TESTS) |
| 11709 | |
| 11710 | add_executable(qps_worker |
| 11711 | test/cpp/qps/worker.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11712 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11713 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11714 | ) |
| 11715 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11716 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11717 | target_include_directories(qps_worker |
| 11718 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11719 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11720 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11721 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11722 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11723 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11724 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11725 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11726 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11727 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11728 | PRIVATE third_party/googletest/googletest/include |
| 11729 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11730 | PRIVATE third_party/googletest/googlemock/include |
| 11731 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11732 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11733 | ) |
| 11734 | |
| 11735 | target_link_libraries(qps_worker |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11736 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11737 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11738 | qps |
Craig Tiller | c75f986 | 2017-09-05 11:34:57 -0700 | [diff] [blame] | 11739 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11740 | grpc++_test_util |
| 11741 | grpc_test_util |
| 11742 | grpc++ |
| 11743 | grpc |
| 11744 | gpr_test_util |
| 11745 | gpr |
| 11746 | grpc++_test_config |
| 11747 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11748 | ) |
| 11749 | |
| 11750 | endif (gRPC_BUILD_TESTS) |
| 11751 | if (gRPC_BUILD_TESTS) |
| 11752 | |
| 11753 | add_executable(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11754 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 11755 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 11756 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 11757 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 11758 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 11759 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 11760 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 11761 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 11762 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 11763 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 11764 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 11765 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11766 | test/cpp/interop/reconnect_interop_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11767 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11768 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11769 | ) |
| 11770 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11771 | protobuf_generate_grpc_cpp( |
| 11772 | src/proto/grpc/testing/empty.proto |
| 11773 | ) |
| 11774 | protobuf_generate_grpc_cpp( |
| 11775 | src/proto/grpc/testing/messages.proto |
| 11776 | ) |
| 11777 | protobuf_generate_grpc_cpp( |
| 11778 | src/proto/grpc/testing/test.proto |
| 11779 | ) |
| 11780 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11781 | target_include_directories(reconnect_interop_client |
| 11782 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11783 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11784 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11785 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11786 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11787 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11788 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11789 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11790 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11791 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11792 | PRIVATE third_party/googletest/googletest/include |
| 11793 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11794 | PRIVATE third_party/googletest/googlemock/include |
| 11795 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11796 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11797 | ) |
| 11798 | |
| 11799 | target_link_libraries(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11800 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11801 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11802 | grpc++_test_util |
| 11803 | grpc_test_util |
| 11804 | grpc++ |
| 11805 | grpc |
| 11806 | gpr_test_util |
| 11807 | gpr |
| 11808 | grpc++_test_config |
| 11809 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11810 | ) |
| 11811 | |
| 11812 | endif (gRPC_BUILD_TESTS) |
| 11813 | if (gRPC_BUILD_TESTS) |
| 11814 | |
| 11815 | add_executable(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11816 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 11817 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 11818 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 11819 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 11820 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 11821 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 11822 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 11823 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 11824 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 11825 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 11826 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 11827 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11828 | test/cpp/interop/reconnect_interop_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11829 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11830 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11831 | ) |
| 11832 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11833 | protobuf_generate_grpc_cpp( |
| 11834 | src/proto/grpc/testing/empty.proto |
| 11835 | ) |
| 11836 | protobuf_generate_grpc_cpp( |
| 11837 | src/proto/grpc/testing/messages.proto |
| 11838 | ) |
| 11839 | protobuf_generate_grpc_cpp( |
| 11840 | src/proto/grpc/testing/test.proto |
| 11841 | ) |
| 11842 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11843 | target_include_directories(reconnect_interop_server |
| 11844 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11845 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11846 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11847 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11848 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11849 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11850 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11851 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11852 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11853 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11854 | PRIVATE third_party/googletest/googletest/include |
| 11855 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11856 | PRIVATE third_party/googletest/googlemock/include |
| 11857 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11858 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11859 | ) |
| 11860 | |
| 11861 | target_link_libraries(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11862 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11863 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11864 | reconnect_server |
| 11865 | test_tcp_server |
| 11866 | grpc++_test_util |
| 11867 | grpc_test_util |
| 11868 | grpc++ |
| 11869 | grpc |
| 11870 | gpr_test_util |
| 11871 | gpr |
| 11872 | grpc++_test_config |
| 11873 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11874 | ) |
| 11875 | |
| 11876 | endif (gRPC_BUILD_TESTS) |
| 11877 | if (gRPC_BUILD_TESTS) |
| 11878 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11879 | add_executable(ref_counted_ptr_test |
| 11880 | test/core/support/ref_counted_ptr_test.cc |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 11881 | third_party/googletest/googletest/src/gtest-all.cc |
| 11882 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11883 | ) |
| 11884 | |
| 11885 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11886 | target_include_directories(ref_counted_ptr_test |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 11887 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11888 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11889 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 11890 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11891 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11892 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11893 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 11894 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11895 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 11896 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 11897 | PRIVATE third_party/googletest/googletest/include |
| 11898 | PRIVATE third_party/googletest/googletest |
| 11899 | PRIVATE third_party/googletest/googlemock/include |
| 11900 | PRIVATE third_party/googletest/googlemock |
| 11901 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11902 | ) |
| 11903 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11904 | target_link_libraries(ref_counted_ptr_test |
Mark D. Roth | cf9ca84 | 2017-11-28 08:24:35 -0800 | [diff] [blame] | 11905 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11906 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11907 | grpc_test_util |
| 11908 | grpc++ |
| 11909 | grpc |
| 11910 | gpr_test_util |
| 11911 | gpr |
| 11912 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11913 | ) |
| 11914 | |
| 11915 | endif (gRPC_BUILD_TESTS) |
| 11916 | if (gRPC_BUILD_TESTS) |
| 11917 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11918 | add_executable(ref_counted_test |
| 11919 | test/core/support/ref_counted_test.cc |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 11920 | third_party/googletest/googletest/src/gtest-all.cc |
| 11921 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11922 | ) |
| 11923 | |
| 11924 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11925 | target_include_directories(ref_counted_test |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 11926 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11927 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11928 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 11929 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11930 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11931 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11932 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 11933 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11934 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 11935 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 11936 | PRIVATE third_party/googletest/googletest/include |
| 11937 | PRIVATE third_party/googletest/googletest |
| 11938 | PRIVATE third_party/googletest/googlemock/include |
| 11939 | PRIVATE third_party/googletest/googlemock |
| 11940 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11941 | ) |
| 11942 | |
Mark D. Roth | bf816d3 | 2017-11-29 11:25:34 -0800 | [diff] [blame] | 11943 | target_link_libraries(ref_counted_test |
Mark D. Roth | 70db663 | 2017-11-27 14:53:26 -0800 | [diff] [blame] | 11944 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11945 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11946 | grpc_test_util |
| 11947 | grpc++ |
| 11948 | grpc |
| 11949 | gpr_test_util |
| 11950 | gpr |
| 11951 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11952 | ) |
| 11953 | |
| 11954 | endif (gRPC_BUILD_TESTS) |
| 11955 | if (gRPC_BUILD_TESTS) |
| 11956 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11957 | add_executable(secure_auth_context_test |
| 11958 | test/cpp/common/secure_auth_context_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11959 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11960 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11961 | ) |
| 11962 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11963 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11964 | target_include_directories(secure_auth_context_test |
| 11965 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11966 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 11967 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11968 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11969 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11970 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11971 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11972 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11973 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11974 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11975 | PRIVATE third_party/googletest/googletest/include |
| 11976 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11977 | PRIVATE third_party/googletest/googlemock/include |
| 11978 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11979 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11980 | ) |
| 11981 | |
| 11982 | target_link_libraries(secure_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11983 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11984 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11985 | grpc++_test_util |
| 11986 | grpc_test_util |
| 11987 | grpc++ |
| 11988 | grpc |
| 11989 | gpr_test_util |
| 11990 | gpr |
| 11991 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11992 | ) |
| 11993 | |
| 11994 | endif (gRPC_BUILD_TESTS) |
| 11995 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11996 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11997 | |
| 11998 | add_executable(secure_sync_unary_ping_pong_test |
| 11999 | test/cpp/qps/secure_sync_unary_ping_pong_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12000 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12001 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12002 | ) |
| 12003 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12004 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12005 | target_include_directories(secure_sync_unary_ping_pong_test |
| 12006 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12007 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12008 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12009 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12010 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12011 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12012 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12013 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12014 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12015 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12016 | PRIVATE third_party/googletest/googletest/include |
| 12017 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12018 | PRIVATE third_party/googletest/googlemock/include |
| 12019 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12020 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12021 | ) |
| 12022 | |
| 12023 | target_link_libraries(secure_sync_unary_ping_pong_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12024 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12025 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12026 | qps |
Craig Tiller | c75f986 | 2017-09-05 11:34:57 -0700 | [diff] [blame] | 12027 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12028 | grpc++_test_util |
| 12029 | grpc_test_util |
| 12030 | grpc++ |
| 12031 | grpc |
| 12032 | gpr_test_util |
| 12033 | gpr |
yang-g | fdcb774 | 2017-07-13 10:25:42 -0700 | [diff] [blame] | 12034 | grpc++_test_config |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12035 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12036 | ) |
| 12037 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12038 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12039 | endif (gRPC_BUILD_TESTS) |
| 12040 | if (gRPC_BUILD_TESTS) |
| 12041 | |
| 12042 | add_executable(server_builder_plugin_test |
| 12043 | test/cpp/end2end/server_builder_plugin_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12044 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12045 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12046 | ) |
| 12047 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12048 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12049 | target_include_directories(server_builder_plugin_test |
| 12050 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12051 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12052 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12053 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12054 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12055 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12056 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12057 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12058 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12059 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12060 | PRIVATE third_party/googletest/googletest/include |
| 12061 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12062 | PRIVATE third_party/googletest/googlemock/include |
| 12063 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12064 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12065 | ) |
| 12066 | |
| 12067 | target_link_libraries(server_builder_plugin_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12068 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12069 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12070 | grpc++_test_util |
| 12071 | grpc_test_util |
| 12072 | grpc++ |
| 12073 | grpc |
| 12074 | gpr_test_util |
| 12075 | gpr |
| 12076 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12077 | ) |
| 12078 | |
| 12079 | endif (gRPC_BUILD_TESTS) |
| 12080 | if (gRPC_BUILD_TESTS) |
| 12081 | |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 12082 | add_executable(server_builder_test |
| 12083 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 12084 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 12085 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 12086 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 12087 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 12088 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 12089 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 12090 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 12091 | test/cpp/server/server_builder_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12092 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12093 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 12094 | ) |
| 12095 | |
| 12096 | protobuf_generate_grpc_cpp( |
| 12097 | src/proto/grpc/testing/echo_messages.proto |
| 12098 | ) |
| 12099 | protobuf_generate_grpc_cpp( |
| 12100 | src/proto/grpc/testing/echo.proto |
| 12101 | ) |
| 12102 | |
| 12103 | target_include_directories(server_builder_test |
| 12104 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12105 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12106 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 12107 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 12108 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 12109 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12110 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12111 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12112 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 12113 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12114 | PRIVATE third_party/googletest/googletest/include |
| 12115 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12116 | PRIVATE third_party/googletest/googlemock/include |
| 12117 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 12118 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12119 | ) |
| 12120 | |
| 12121 | target_link_libraries(server_builder_test |
| 12122 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12123 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 12124 | grpc++_test_util_unsecure |
| 12125 | grpc_test_util_unsecure |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 12126 | gpr_test_util |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 12127 | grpc++_unsecure |
| 12128 | grpc_unsecure |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 12129 | gpr |
| 12130 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12131 | ) |
| 12132 | |
| 12133 | endif (gRPC_BUILD_TESTS) |
| 12134 | if (gRPC_BUILD_TESTS) |
| 12135 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12136 | add_executable(server_context_test_spouse_test |
| 12137 | test/cpp/test/server_context_test_spouse_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12138 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12139 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12140 | ) |
| 12141 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12142 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12143 | target_include_directories(server_context_test_spouse_test |
| 12144 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12145 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12146 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12147 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12148 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12149 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12150 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12151 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12152 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12153 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12154 | PRIVATE third_party/googletest/googletest/include |
| 12155 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12156 | PRIVATE third_party/googletest/googlemock/include |
| 12157 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12158 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12159 | ) |
| 12160 | |
| 12161 | target_link_libraries(server_context_test_spouse_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12162 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12163 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12164 | grpc_test_util |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12165 | grpc++ |
| 12166 | grpc |
| 12167 | gpr_test_util |
| 12168 | gpr |
| 12169 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12170 | ) |
| 12171 | |
| 12172 | endif (gRPC_BUILD_TESTS) |
| 12173 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12174 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12175 | |
| 12176 | add_executable(server_crash_test |
| 12177 | test/cpp/end2end/server_crash_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12178 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12179 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12180 | ) |
| 12181 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12182 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12183 | target_include_directories(server_crash_test |
| 12184 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12185 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12186 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12187 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12188 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12189 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12190 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12191 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12192 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12193 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12194 | PRIVATE third_party/googletest/googletest/include |
| 12195 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12196 | PRIVATE third_party/googletest/googlemock/include |
| 12197 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12198 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12199 | ) |
| 12200 | |
| 12201 | target_link_libraries(server_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12202 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12203 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12204 | grpc++_test_util |
| 12205 | grpc_test_util |
| 12206 | grpc++ |
| 12207 | grpc |
| 12208 | gpr_test_util |
| 12209 | gpr |
| 12210 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12211 | ) |
| 12212 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12213 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12214 | endif (gRPC_BUILD_TESTS) |
| 12215 | if (gRPC_BUILD_TESTS) |
| 12216 | |
| 12217 | add_executable(server_crash_test_client |
| 12218 | test/cpp/end2end/server_crash_test_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12219 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12220 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12221 | ) |
| 12222 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12223 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12224 | target_include_directories(server_crash_test_client |
| 12225 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12226 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12227 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12228 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12229 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12230 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12231 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12232 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12233 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12234 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12235 | PRIVATE third_party/googletest/googletest/include |
| 12236 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12237 | PRIVATE third_party/googletest/googlemock/include |
| 12238 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12239 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12240 | ) |
| 12241 | |
| 12242 | target_link_libraries(server_crash_test_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12243 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12244 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12245 | grpc++_test_util |
| 12246 | grpc_test_util |
| 12247 | grpc++ |
| 12248 | grpc |
| 12249 | gpr_test_util |
| 12250 | gpr |
| 12251 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12252 | ) |
| 12253 | |
| 12254 | endif (gRPC_BUILD_TESTS) |
| 12255 | if (gRPC_BUILD_TESTS) |
| 12256 | |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 12257 | add_executable(server_request_call_test |
| 12258 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 12259 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 12260 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 12261 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 12262 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 12263 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 12264 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 12265 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 12266 | test/cpp/server/server_request_call_test.cc |
| 12267 | third_party/googletest/googletest/src/gtest-all.cc |
| 12268 | third_party/googletest/googlemock/src/gmock-all.cc |
| 12269 | ) |
| 12270 | |
| 12271 | protobuf_generate_grpc_cpp( |
| 12272 | src/proto/grpc/testing/echo_messages.proto |
| 12273 | ) |
| 12274 | protobuf_generate_grpc_cpp( |
| 12275 | src/proto/grpc/testing/echo.proto |
| 12276 | ) |
| 12277 | |
| 12278 | target_include_directories(server_request_call_test |
| 12279 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12280 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12281 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 12282 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 12283 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 12284 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12285 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 12286 | PRIVATE ${CARES_INCLUDE_DIR} |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 12287 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 12288 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12289 | PRIVATE third_party/googletest/googletest/include |
| 12290 | PRIVATE third_party/googletest/googletest |
| 12291 | PRIVATE third_party/googletest/googlemock/include |
| 12292 | PRIVATE third_party/googletest/googlemock |
| 12293 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12294 | ) |
| 12295 | |
| 12296 | target_link_libraries(server_request_call_test |
| 12297 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12298 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 12299 | grpc++_test_util_unsecure |
| 12300 | grpc_test_util_unsecure |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 12301 | gpr_test_util |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 12302 | grpc++_unsecure |
| 12303 | grpc_unsecure |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 12304 | gpr |
| 12305 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12306 | ) |
| 12307 | |
| 12308 | endif (gRPC_BUILD_TESTS) |
| 12309 | if (gRPC_BUILD_TESTS) |
| 12310 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12311 | add_executable(shutdown_test |
| 12312 | test/cpp/end2end/shutdown_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12313 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12314 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12315 | ) |
| 12316 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12317 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12318 | target_include_directories(shutdown_test |
| 12319 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12320 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12321 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12322 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12323 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12324 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12325 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12326 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12327 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12328 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12329 | PRIVATE third_party/googletest/googletest/include |
| 12330 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12331 | PRIVATE third_party/googletest/googlemock/include |
| 12332 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12333 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12334 | ) |
| 12335 | |
| 12336 | target_link_libraries(shutdown_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12337 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12338 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12339 | grpc++_test_util |
| 12340 | grpc_test_util |
| 12341 | grpc++ |
| 12342 | grpc |
| 12343 | gpr_test_util |
| 12344 | gpr |
| 12345 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12346 | ) |
| 12347 | |
| 12348 | endif (gRPC_BUILD_TESTS) |
| 12349 | if (gRPC_BUILD_TESTS) |
| 12350 | |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 12351 | add_executable(stats_test |
| 12352 | test/core/debug/stats_test.cc |
| 12353 | third_party/googletest/googletest/src/gtest-all.cc |
| 12354 | third_party/googletest/googlemock/src/gmock-all.cc |
| 12355 | ) |
| 12356 | |
| 12357 | |
| 12358 | target_include_directories(stats_test |
| 12359 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12360 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12361 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 12362 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 12363 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 12364 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12365 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 12366 | PRIVATE ${CARES_INCLUDE_DIR} |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 12367 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 12368 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12369 | PRIVATE third_party/googletest/googletest/include |
| 12370 | PRIVATE third_party/googletest/googletest |
| 12371 | PRIVATE third_party/googletest/googlemock/include |
| 12372 | PRIVATE third_party/googletest/googlemock |
| 12373 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12374 | ) |
| 12375 | |
| 12376 | target_link_libraries(stats_test |
| 12377 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12378 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12379 | grpc++_test_util |
| 12380 | grpc_test_util |
| 12381 | grpc |
| 12382 | gpr_test_util |
| 12383 | gpr |
| 12384 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12385 | ) |
| 12386 | |
| 12387 | endif (gRPC_BUILD_TESTS) |
| 12388 | if (gRPC_BUILD_TESTS) |
| 12389 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12390 | add_executable(status_test |
| 12391 | test/cpp/util/status_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12392 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12393 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12394 | ) |
| 12395 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12396 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12397 | target_include_directories(status_test |
| 12398 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12399 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12400 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12401 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12402 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12403 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12404 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12405 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12406 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12407 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12408 | PRIVATE third_party/googletest/googletest/include |
| 12409 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12410 | PRIVATE third_party/googletest/googlemock/include |
| 12411 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12412 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12413 | ) |
| 12414 | |
| 12415 | target_link_libraries(status_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12416 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12417 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12418 | grpc_test_util |
| 12419 | grpc++ |
| 12420 | grpc |
| 12421 | gpr_test_util |
| 12422 | gpr |
| 12423 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12424 | ) |
| 12425 | |
| 12426 | endif (gRPC_BUILD_TESTS) |
| 12427 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12428 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12429 | |
| 12430 | add_executable(streaming_throughput_test |
| 12431 | test/cpp/end2end/streaming_throughput_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12432 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12433 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12434 | ) |
| 12435 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12436 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12437 | target_include_directories(streaming_throughput_test |
| 12438 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12439 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12440 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12441 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12442 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12443 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12444 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12445 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12446 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12447 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12448 | PRIVATE third_party/googletest/googletest/include |
| 12449 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12450 | PRIVATE third_party/googletest/googlemock/include |
| 12451 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12452 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12453 | ) |
| 12454 | |
| 12455 | target_link_libraries(streaming_throughput_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12456 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12457 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12458 | grpc++_test_util |
| 12459 | grpc_test_util |
| 12460 | grpc++ |
| 12461 | grpc |
| 12462 | gpr_test_util |
| 12463 | gpr |
| 12464 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12465 | ) |
| 12466 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12467 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12468 | endif (gRPC_BUILD_TESTS) |
| 12469 | if (gRPC_BUILD_TESTS) |
| 12470 | |
| 12471 | add_executable(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12472 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 12473 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 12474 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 12475 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 12476 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 12477 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 12478 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 12479 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 12480 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 12481 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 12482 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 12483 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
| 12484 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 12485 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 12486 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 12487 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12488 | test/cpp/interop/interop_client.cc |
| 12489 | test/cpp/interop/stress_interop_client.cc |
| 12490 | test/cpp/interop/stress_test.cc |
| 12491 | test/cpp/util/metrics_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12492 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12493 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12494 | ) |
| 12495 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12496 | protobuf_generate_grpc_cpp( |
| 12497 | src/proto/grpc/testing/empty.proto |
| 12498 | ) |
| 12499 | protobuf_generate_grpc_cpp( |
| 12500 | src/proto/grpc/testing/messages.proto |
| 12501 | ) |
| 12502 | protobuf_generate_grpc_cpp( |
| 12503 | src/proto/grpc/testing/metrics.proto |
| 12504 | ) |
| 12505 | protobuf_generate_grpc_cpp( |
| 12506 | src/proto/grpc/testing/test.proto |
| 12507 | ) |
| 12508 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12509 | target_include_directories(stress_test |
| 12510 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12511 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12512 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12513 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12514 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12515 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12516 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12517 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12518 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12519 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12520 | PRIVATE third_party/googletest/googletest/include |
| 12521 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12522 | PRIVATE third_party/googletest/googlemock/include |
| 12523 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12524 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12525 | ) |
| 12526 | |
| 12527 | target_link_libraries(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12528 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12529 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12530 | grpc++_test_util |
| 12531 | grpc_test_util |
| 12532 | grpc++ |
| 12533 | grpc |
| 12534 | gpr_test_util |
| 12535 | gpr |
| 12536 | grpc++_test_config |
| 12537 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12538 | ) |
| 12539 | |
| 12540 | endif (gRPC_BUILD_TESTS) |
| 12541 | if (gRPC_BUILD_TESTS) |
| 12542 | |
| 12543 | add_executable(thread_manager_test |
| 12544 | test/cpp/thread_manager/thread_manager_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12545 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12546 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12547 | ) |
| 12548 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12549 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12550 | target_include_directories(thread_manager_test |
| 12551 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12552 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12553 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12554 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12555 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12556 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12557 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12558 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12559 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12560 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12561 | PRIVATE third_party/googletest/googletest/include |
| 12562 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12563 | PRIVATE third_party/googletest/googlemock/include |
| 12564 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12565 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12566 | ) |
| 12567 | |
| 12568 | target_link_libraries(thread_manager_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12569 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12570 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 12571 | grpc++_unsecure |
| 12572 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12573 | gpr |
| 12574 | grpc++_test_config |
| 12575 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12576 | ) |
| 12577 | |
| 12578 | endif (gRPC_BUILD_TESTS) |
| 12579 | if (gRPC_BUILD_TESTS) |
| 12580 | |
| 12581 | add_executable(thread_stress_test |
| 12582 | test/cpp/end2end/thread_stress_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12583 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12584 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12585 | ) |
| 12586 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12587 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12588 | target_include_directories(thread_stress_test |
| 12589 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12590 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12591 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12592 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12593 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12594 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12595 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12596 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12597 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12598 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12599 | PRIVATE third_party/googletest/googletest/include |
| 12600 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12601 | PRIVATE third_party/googletest/googlemock/include |
| 12602 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12603 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12604 | ) |
| 12605 | |
| 12606 | target_link_libraries(thread_stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12607 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12608 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 12609 | grpc++_test_util_unsecure |
| 12610 | grpc_test_util_unsecure |
| 12611 | grpc++_unsecure |
| 12612 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12613 | gpr_test_util |
| 12614 | gpr |
| 12615 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12616 | ) |
| 12617 | |
| 12618 | endif (gRPC_BUILD_TESTS) |
| 12619 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 12620 | |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 12621 | add_executable(transport_pid_controller_test |
| 12622 | test/core/transport/pid_controller_test.cc |
| 12623 | third_party/googletest/googletest/src/gtest-all.cc |
| 12624 | third_party/googletest/googlemock/src/gmock-all.cc |
| 12625 | ) |
| 12626 | |
| 12627 | |
| 12628 | target_include_directories(transport_pid_controller_test |
| 12629 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12630 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12631 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 247b231 | 2017-10-09 09:16:19 -0700 | [diff] [blame] | 12632 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 12633 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 12634 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12635 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 12636 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12637 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 12638 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12639 | PRIVATE third_party/googletest/googletest/include |
| 12640 | PRIVATE third_party/googletest/googletest |
| 12641 | PRIVATE third_party/googletest/googlemock/include |
| 12642 | PRIVATE third_party/googletest/googlemock |
| 12643 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12644 | ) |
| 12645 | |
| 12646 | target_link_libraries(transport_pid_controller_test |
| 12647 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12648 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12649 | grpc++_test_util |
| 12650 | grpc++ |
| 12651 | grpc_test_util |
| 12652 | grpc |
| 12653 | gpr_test_util |
| 12654 | gpr |
| 12655 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12656 | ) |
| 12657 | |
| 12658 | endif (gRPC_BUILD_TESTS) |
| 12659 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 12660 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12661 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12662 | add_executable(writes_per_rpc_test |
| 12663 | test/cpp/performance/writes_per_rpc_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12664 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12665 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12666 | ) |
| 12667 | |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12668 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12669 | target_include_directories(writes_per_rpc_test |
| 12670 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12671 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12672 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12673 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12674 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12675 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12676 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12677 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12678 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12679 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12680 | PRIVATE third_party/googletest/googletest/include |
| 12681 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12682 | PRIVATE third_party/googletest/googlemock/include |
| 12683 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12684 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12685 | ) |
| 12686 | |
| 12687 | target_link_libraries(writes_per_rpc_test |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12688 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12689 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12690 | grpc++_test_util |
| 12691 | grpc_test_util |
| 12692 | grpc++ |
| 12693 | grpc |
| 12694 | gpr_test_util |
| 12695 | gpr |
| 12696 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12697 | ) |
| 12698 | |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 12699 | endif() |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12700 | endif (gRPC_BUILD_TESTS) |
| 12701 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12702 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12703 | add_executable(public_headers_must_be_c89 |
| 12704 | test/core/surface/public_headers_must_be_c89.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12705 | ) |
| 12706 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12707 | |
| 12708 | target_include_directories(public_headers_must_be_c89 |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12709 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12710 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12711 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12712 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12713 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12714 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12715 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12716 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12717 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12718 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12719 | ) |
| 12720 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12721 | target_link_libraries(public_headers_must_be_c89 |
| 12722 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12723 | grpc |
| 12724 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12725 | ) |
| 12726 | |
| 12727 | endif (gRPC_BUILD_TESTS) |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 12728 | |
| 12729 | add_executable(gen_hpack_tables |
| 12730 | tools/codegen/core/gen_hpack_tables.cc |
| 12731 | ) |
| 12732 | |
| 12733 | |
| 12734 | target_include_directories(gen_hpack_tables |
| 12735 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12736 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12737 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 12738 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 12739 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 12740 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12741 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 12742 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12743 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 12744 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12745 | ) |
| 12746 | |
| 12747 | target_link_libraries(gen_hpack_tables |
| 12748 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12749 | gpr |
| 12750 | grpc |
| 12751 | ) |
| 12752 | |
| 12753 | |
| 12754 | if (gRPC_INSTALL) |
| 12755 | install(TARGETS gen_hpack_tables EXPORT gRPCTargets |
| 12756 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 12757 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12758 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12759 | ) |
| 12760 | endif() |
| 12761 | |
| 12762 | |
| 12763 | add_executable(gen_legal_metadata_characters |
| 12764 | tools/codegen/core/gen_legal_metadata_characters.cc |
| 12765 | ) |
| 12766 | |
| 12767 | |
| 12768 | target_include_directories(gen_legal_metadata_characters |
| 12769 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12770 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12771 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 12772 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 12773 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 12774 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12775 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 12776 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12777 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 12778 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12779 | ) |
| 12780 | |
| 12781 | target_link_libraries(gen_legal_metadata_characters |
| 12782 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12783 | ) |
| 12784 | |
| 12785 | |
| 12786 | if (gRPC_INSTALL) |
| 12787 | install(TARGETS gen_legal_metadata_characters EXPORT gRPCTargets |
| 12788 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 12789 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12790 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12791 | ) |
| 12792 | endif() |
| 12793 | |
| 12794 | |
| 12795 | add_executable(gen_percent_encoding_tables |
| 12796 | tools/codegen/core/gen_percent_encoding_tables.cc |
| 12797 | ) |
| 12798 | |
| 12799 | |
| 12800 | target_include_directories(gen_percent_encoding_tables |
| 12801 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12802 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12803 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
ncteisen | cf1d28b | 2017-12-04 12:44:28 -0800 | [diff] [blame] | 12804 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 12805 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 12806 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12807 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 12808 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12809 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 12810 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12811 | ) |
| 12812 | |
| 12813 | target_link_libraries(gen_percent_encoding_tables |
| 12814 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12815 | ) |
| 12816 | |
| 12817 | |
| 12818 | if (gRPC_INSTALL) |
| 12819 | install(TARGETS gen_percent_encoding_tables EXPORT gRPCTargets |
| 12820 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 12821 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12822 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 12823 | ) |
| 12824 | endif() |
| 12825 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12826 | if (gRPC_BUILD_TESTS) |
| 12827 | |
| 12828 | add_executable(badreq_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12829 | test/core/bad_client/tests/badreq.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12830 | ) |
| 12831 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12832 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12833 | target_include_directories(badreq_bad_client_test |
| 12834 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12835 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12836 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12837 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12838 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12839 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12840 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12841 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12842 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12843 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12844 | ) |
| 12845 | |
| 12846 | target_link_libraries(badreq_bad_client_test |
| 12847 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12848 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12849 | bad_client_test |
| 12850 | grpc_test_util_unsecure |
| 12851 | grpc_unsecure |
| 12852 | gpr_test_util |
| 12853 | gpr |
| 12854 | ) |
| 12855 | |
| 12856 | endif (gRPC_BUILD_TESTS) |
| 12857 | if (gRPC_BUILD_TESTS) |
| 12858 | |
| 12859 | add_executable(connection_prefix_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12860 | test/core/bad_client/tests/connection_prefix.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12861 | ) |
| 12862 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12863 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12864 | target_include_directories(connection_prefix_bad_client_test |
| 12865 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12866 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12867 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12868 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12869 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12870 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12871 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12872 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12873 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12874 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12875 | ) |
| 12876 | |
| 12877 | target_link_libraries(connection_prefix_bad_client_test |
| 12878 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12879 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12880 | bad_client_test |
| 12881 | grpc_test_util_unsecure |
| 12882 | grpc_unsecure |
| 12883 | gpr_test_util |
| 12884 | gpr |
| 12885 | ) |
| 12886 | |
| 12887 | endif (gRPC_BUILD_TESTS) |
| 12888 | if (gRPC_BUILD_TESTS) |
| 12889 | |
| 12890 | add_executable(head_of_line_blocking_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12891 | test/core/bad_client/tests/head_of_line_blocking.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12892 | ) |
| 12893 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12894 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12895 | target_include_directories(head_of_line_blocking_bad_client_test |
| 12896 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12897 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12898 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12899 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12900 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12901 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12902 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12903 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12904 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12905 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12906 | ) |
| 12907 | |
| 12908 | target_link_libraries(head_of_line_blocking_bad_client_test |
| 12909 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12910 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12911 | bad_client_test |
| 12912 | grpc_test_util_unsecure |
| 12913 | grpc_unsecure |
| 12914 | gpr_test_util |
| 12915 | gpr |
| 12916 | ) |
| 12917 | |
| 12918 | endif (gRPC_BUILD_TESTS) |
| 12919 | if (gRPC_BUILD_TESTS) |
| 12920 | |
| 12921 | add_executable(headers_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12922 | test/core/bad_client/tests/headers.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12923 | ) |
| 12924 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12925 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12926 | target_include_directories(headers_bad_client_test |
| 12927 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12928 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12929 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12930 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12931 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12932 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12933 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12934 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12935 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12936 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12937 | ) |
| 12938 | |
| 12939 | target_link_libraries(headers_bad_client_test |
| 12940 | ${_gRPC_SSL_LIBRARIES} |
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 | bad_client_test |
| 12943 | grpc_test_util_unsecure |
| 12944 | grpc_unsecure |
| 12945 | gpr_test_util |
| 12946 | gpr |
| 12947 | ) |
| 12948 | |
| 12949 | endif (gRPC_BUILD_TESTS) |
| 12950 | if (gRPC_BUILD_TESTS) |
| 12951 | |
| 12952 | add_executable(initial_settings_frame_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12953 | test/core/bad_client/tests/initial_settings_frame.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(initial_settings_frame_bad_client_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 | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12961 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12962 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12963 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12964 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12965 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12966 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12967 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12968 | ) |
| 12969 | |
| 12970 | target_link_libraries(initial_settings_frame_bad_client_test |
| 12971 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12972 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12973 | bad_client_test |
| 12974 | grpc_test_util_unsecure |
| 12975 | grpc_unsecure |
| 12976 | gpr_test_util |
| 12977 | gpr |
| 12978 | ) |
| 12979 | |
| 12980 | endif (gRPC_BUILD_TESTS) |
| 12981 | if (gRPC_BUILD_TESTS) |
| 12982 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12983 | add_executable(server_registered_method_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 12984 | test/core/bad_client/tests/server_registered_method.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12985 | ) |
| 12986 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12987 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12988 | target_include_directories(server_registered_method_bad_client_test |
| 12989 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12990 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 12991 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12992 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12993 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12994 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12995 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12996 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12997 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12998 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12999 | ) |
| 13000 | |
| 13001 | target_link_libraries(server_registered_method_bad_client_test |
| 13002 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13003 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13004 | bad_client_test |
| 13005 | grpc_test_util_unsecure |
| 13006 | grpc_unsecure |
| 13007 | gpr_test_util |
| 13008 | gpr |
| 13009 | ) |
| 13010 | |
| 13011 | endif (gRPC_BUILD_TESTS) |
| 13012 | if (gRPC_BUILD_TESTS) |
| 13013 | |
| 13014 | add_executable(simple_request_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13015 | test/core/bad_client/tests/simple_request.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13016 | ) |
| 13017 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13018 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13019 | target_include_directories(simple_request_bad_client_test |
| 13020 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13021 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13022 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13023 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13024 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13025 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13026 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13027 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13028 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13029 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13030 | ) |
| 13031 | |
| 13032 | target_link_libraries(simple_request_bad_client_test |
| 13033 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13034 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13035 | bad_client_test |
| 13036 | grpc_test_util_unsecure |
| 13037 | grpc_unsecure |
| 13038 | gpr_test_util |
| 13039 | gpr |
| 13040 | ) |
| 13041 | |
| 13042 | endif (gRPC_BUILD_TESTS) |
| 13043 | if (gRPC_BUILD_TESTS) |
| 13044 | |
| 13045 | add_executable(unknown_frame_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13046 | test/core/bad_client/tests/unknown_frame.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13047 | ) |
| 13048 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13049 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13050 | target_include_directories(unknown_frame_bad_client_test |
| 13051 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13052 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13053 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13054 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13055 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13056 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13057 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13058 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13059 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13060 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13061 | ) |
| 13062 | |
| 13063 | target_link_libraries(unknown_frame_bad_client_test |
| 13064 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13065 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13066 | bad_client_test |
| 13067 | grpc_test_util_unsecure |
| 13068 | grpc_unsecure |
| 13069 | gpr_test_util |
| 13070 | gpr |
| 13071 | ) |
| 13072 | |
| 13073 | endif (gRPC_BUILD_TESTS) |
| 13074 | if (gRPC_BUILD_TESTS) |
| 13075 | |
| 13076 | add_executable(window_overflow_bad_client_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13077 | test/core/bad_client/tests/window_overflow.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13078 | ) |
| 13079 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13080 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13081 | target_include_directories(window_overflow_bad_client_test |
| 13082 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13083 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13084 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13085 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13086 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13087 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13088 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13089 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13090 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13091 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13092 | ) |
| 13093 | |
| 13094 | target_link_libraries(window_overflow_bad_client_test |
| 13095 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13096 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13097 | bad_client_test |
| 13098 | grpc_test_util_unsecure |
| 13099 | grpc_unsecure |
| 13100 | gpr_test_util |
| 13101 | gpr |
| 13102 | ) |
| 13103 | |
| 13104 | endif (gRPC_BUILD_TESTS) |
| 13105 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13106 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13107 | |
| 13108 | add_executable(bad_ssl_cert_server |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13109 | test/core/bad_ssl/servers/cert.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13110 | ) |
| 13111 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13112 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13113 | target_include_directories(bad_ssl_cert_server |
| 13114 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13115 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13116 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13117 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13118 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13119 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13120 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13121 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13122 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13123 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13124 | ) |
| 13125 | |
| 13126 | target_link_libraries(bad_ssl_cert_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13127 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13128 | bad_ssl_test_server |
| 13129 | grpc_test_util |
| 13130 | grpc |
| 13131 | gpr_test_util |
| 13132 | gpr |
| 13133 | ) |
| 13134 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13135 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13136 | endif (gRPC_BUILD_TESTS) |
| 13137 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13138 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13139 | |
| 13140 | add_executable(bad_ssl_cert_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13141 | test/core/bad_ssl/bad_ssl_test.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13142 | ) |
| 13143 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13144 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13145 | target_include_directories(bad_ssl_cert_test |
| 13146 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13147 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13148 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13149 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13150 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13151 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13152 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13153 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13154 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13155 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13156 | ) |
| 13157 | |
| 13158 | target_link_libraries(bad_ssl_cert_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13159 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13160 | grpc_test_util |
| 13161 | grpc |
| 13162 | gpr_test_util |
| 13163 | gpr |
| 13164 | ) |
| 13165 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13166 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13167 | endif (gRPC_BUILD_TESTS) |
| 13168 | if (gRPC_BUILD_TESTS) |
| 13169 | |
| 13170 | add_executable(h2_census_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13171 | test/core/end2end/fixtures/h2_census.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13172 | ) |
| 13173 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13174 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13175 | target_include_directories(h2_census_test |
| 13176 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13177 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13178 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13179 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13180 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13181 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13182 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13183 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13184 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13185 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13186 | ) |
| 13187 | |
| 13188 | target_link_libraries(h2_census_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13189 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13190 | end2end_tests |
| 13191 | grpc_test_util |
| 13192 | grpc |
| 13193 | gpr_test_util |
| 13194 | gpr |
| 13195 | ) |
| 13196 | |
| 13197 | endif (gRPC_BUILD_TESTS) |
| 13198 | if (gRPC_BUILD_TESTS) |
| 13199 | |
| 13200 | add_executable(h2_compress_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13201 | test/core/end2end/fixtures/h2_compress.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13202 | ) |
| 13203 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13204 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13205 | target_include_directories(h2_compress_test |
| 13206 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13207 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13208 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13209 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13210 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13211 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13212 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13213 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13214 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13215 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13216 | ) |
| 13217 | |
| 13218 | target_link_libraries(h2_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13219 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13220 | end2end_tests |
| 13221 | grpc_test_util |
| 13222 | grpc |
| 13223 | gpr_test_util |
| 13224 | gpr |
| 13225 | ) |
| 13226 | |
| 13227 | endif (gRPC_BUILD_TESTS) |
| 13228 | if (gRPC_BUILD_TESTS) |
| 13229 | |
| 13230 | add_executable(h2_fakesec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13231 | test/core/end2end/fixtures/h2_fakesec.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13232 | ) |
| 13233 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13234 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13235 | target_include_directories(h2_fakesec_test |
| 13236 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13237 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13238 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13239 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13240 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13241 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13242 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13243 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13244 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13245 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13246 | ) |
| 13247 | |
| 13248 | target_link_libraries(h2_fakesec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13249 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13250 | end2end_tests |
| 13251 | grpc_test_util |
| 13252 | grpc |
| 13253 | gpr_test_util |
| 13254 | gpr |
| 13255 | ) |
| 13256 | |
| 13257 | endif (gRPC_BUILD_TESTS) |
| 13258 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13259 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13260 | |
| 13261 | add_executable(h2_fd_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13262 | test/core/end2end/fixtures/h2_fd.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13263 | ) |
| 13264 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13265 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13266 | target_include_directories(h2_fd_test |
| 13267 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13268 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13269 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13270 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13271 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13272 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13273 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13274 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13275 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13276 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13277 | ) |
| 13278 | |
| 13279 | target_link_libraries(h2_fd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13280 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13281 | end2end_tests |
| 13282 | grpc_test_util |
| 13283 | grpc |
| 13284 | gpr_test_util |
| 13285 | gpr |
| 13286 | ) |
| 13287 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13288 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13289 | endif (gRPC_BUILD_TESTS) |
| 13290 | if (gRPC_BUILD_TESTS) |
| 13291 | |
| 13292 | add_executable(h2_full_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13293 | test/core/end2end/fixtures/h2_full.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13294 | ) |
| 13295 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13296 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13297 | target_include_directories(h2_full_test |
| 13298 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13299 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13300 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13301 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13302 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13303 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13304 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13305 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13306 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13307 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13308 | ) |
| 13309 | |
| 13310 | target_link_libraries(h2_full_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_tests |
| 13313 | grpc_test_util |
| 13314 | grpc |
| 13315 | gpr_test_util |
| 13316 | gpr |
| 13317 | ) |
| 13318 | |
| 13319 | endif (gRPC_BUILD_TESTS) |
| 13320 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13321 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13322 | |
| 13323 | add_executable(h2_full+pipe_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13324 | test/core/end2end/fixtures/h2_full+pipe.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13325 | ) |
| 13326 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13327 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13328 | target_include_directories(h2_full+pipe_test |
| 13329 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13330 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13331 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13332 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13333 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13334 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13335 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13336 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13337 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13338 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13339 | ) |
| 13340 | |
| 13341 | target_link_libraries(h2_full+pipe_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13342 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13343 | end2end_tests |
| 13344 | grpc_test_util |
| 13345 | grpc |
| 13346 | gpr_test_util |
| 13347 | gpr |
| 13348 | ) |
| 13349 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13350 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13351 | endif (gRPC_BUILD_TESTS) |
| 13352 | if (gRPC_BUILD_TESTS) |
| 13353 | |
| 13354 | add_executable(h2_full+trace_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13355 | test/core/end2end/fixtures/h2_full+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13356 | ) |
| 13357 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13358 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13359 | target_include_directories(h2_full+trace_test |
| 13360 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13361 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13362 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13363 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13364 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13365 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13366 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13367 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13368 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13369 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13370 | ) |
| 13371 | |
| 13372 | target_link_libraries(h2_full+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13373 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13374 | end2end_tests |
| 13375 | grpc_test_util |
| 13376 | grpc |
| 13377 | gpr_test_util |
| 13378 | gpr |
| 13379 | ) |
| 13380 | |
| 13381 | endif (gRPC_BUILD_TESTS) |
| 13382 | if (gRPC_BUILD_TESTS) |
| 13383 | |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13384 | add_executable(h2_full+workarounds_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13385 | test/core/end2end/fixtures/h2_full+workarounds.cc |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13386 | ) |
| 13387 | |
| 13388 | |
| 13389 | target_include_directories(h2_full+workarounds_test |
| 13390 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13391 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13392 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13393 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 13394 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 13395 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13396 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13397 | PRIVATE ${CARES_INCLUDE_DIR} |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13398 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 13399 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13400 | ) |
| 13401 | |
| 13402 | target_link_libraries(h2_full+workarounds_test |
| 13403 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13404 | end2end_tests |
| 13405 | grpc_test_util |
| 13406 | grpc |
| 13407 | gpr_test_util |
| 13408 | gpr |
| 13409 | ) |
| 13410 | |
| 13411 | endif (gRPC_BUILD_TESTS) |
| 13412 | if (gRPC_BUILD_TESTS) |
| 13413 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13414 | add_executable(h2_http_proxy_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13415 | test/core/end2end/fixtures/h2_http_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13416 | ) |
| 13417 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13418 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13419 | target_include_directories(h2_http_proxy_test |
| 13420 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13421 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13422 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13423 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13424 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13425 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13426 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13427 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13428 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13429 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13430 | ) |
| 13431 | |
| 13432 | target_link_libraries(h2_http_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13433 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13434 | end2end_tests |
| 13435 | grpc_test_util |
| 13436 | grpc |
| 13437 | gpr_test_util |
| 13438 | gpr |
| 13439 | ) |
| 13440 | |
| 13441 | endif (gRPC_BUILD_TESTS) |
| 13442 | if (gRPC_BUILD_TESTS) |
| 13443 | |
| 13444 | add_executable(h2_load_reporting_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13445 | test/core/end2end/fixtures/h2_load_reporting.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13446 | ) |
| 13447 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13448 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13449 | target_include_directories(h2_load_reporting_test |
| 13450 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13451 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13452 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13453 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13454 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13455 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13456 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13457 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13458 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13459 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13460 | ) |
| 13461 | |
| 13462 | target_link_libraries(h2_load_reporting_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13463 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13464 | end2end_tests |
| 13465 | grpc_test_util |
| 13466 | grpc |
| 13467 | gpr_test_util |
| 13468 | gpr |
| 13469 | ) |
| 13470 | |
| 13471 | endif (gRPC_BUILD_TESTS) |
| 13472 | if (gRPC_BUILD_TESTS) |
| 13473 | |
| 13474 | add_executable(h2_oauth2_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13475 | test/core/end2end/fixtures/h2_oauth2.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13476 | ) |
| 13477 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13478 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13479 | target_include_directories(h2_oauth2_test |
| 13480 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13481 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13482 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13483 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13484 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13485 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13486 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13487 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13488 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13489 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13490 | ) |
| 13491 | |
| 13492 | target_link_libraries(h2_oauth2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13493 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13494 | end2end_tests |
| 13495 | grpc_test_util |
| 13496 | grpc |
| 13497 | gpr_test_util |
| 13498 | gpr |
| 13499 | ) |
| 13500 | |
| 13501 | endif (gRPC_BUILD_TESTS) |
| 13502 | if (gRPC_BUILD_TESTS) |
| 13503 | |
| 13504 | add_executable(h2_proxy_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13505 | test/core/end2end/fixtures/h2_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13506 | ) |
| 13507 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13508 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13509 | target_include_directories(h2_proxy_test |
| 13510 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13511 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13512 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13513 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13514 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13515 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13516 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13517 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13518 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13519 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13520 | ) |
| 13521 | |
| 13522 | target_link_libraries(h2_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13523 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13524 | end2end_tests |
| 13525 | grpc_test_util |
| 13526 | grpc |
| 13527 | gpr_test_util |
| 13528 | gpr |
| 13529 | ) |
| 13530 | |
| 13531 | endif (gRPC_BUILD_TESTS) |
| 13532 | if (gRPC_BUILD_TESTS) |
| 13533 | |
| 13534 | add_executable(h2_sockpair_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13535 | test/core/end2end/fixtures/h2_sockpair.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13536 | ) |
| 13537 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13538 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13539 | target_include_directories(h2_sockpair_test |
| 13540 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13541 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13542 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13543 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13544 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13545 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13546 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13547 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13548 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13549 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13550 | ) |
| 13551 | |
| 13552 | target_link_libraries(h2_sockpair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13553 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13554 | end2end_tests |
| 13555 | grpc_test_util |
| 13556 | grpc |
| 13557 | gpr_test_util |
| 13558 | gpr |
| 13559 | ) |
| 13560 | |
| 13561 | endif (gRPC_BUILD_TESTS) |
| 13562 | if (gRPC_BUILD_TESTS) |
| 13563 | |
| 13564 | add_executable(h2_sockpair+trace_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13565 | test/core/end2end/fixtures/h2_sockpair+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13566 | ) |
| 13567 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13568 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13569 | target_include_directories(h2_sockpair+trace_test |
| 13570 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13571 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13572 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13573 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13574 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13575 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13576 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13577 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13578 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13579 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13580 | ) |
| 13581 | |
| 13582 | target_link_libraries(h2_sockpair+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13583 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13584 | end2end_tests |
| 13585 | grpc_test_util |
| 13586 | grpc |
| 13587 | gpr_test_util |
| 13588 | gpr |
| 13589 | ) |
| 13590 | |
| 13591 | endif (gRPC_BUILD_TESTS) |
| 13592 | if (gRPC_BUILD_TESTS) |
| 13593 | |
| 13594 | add_executable(h2_sockpair_1byte_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13595 | test/core/end2end/fixtures/h2_sockpair_1byte.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13596 | ) |
| 13597 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13598 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13599 | target_include_directories(h2_sockpair_1byte_test |
| 13600 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13601 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13602 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13603 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13604 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13605 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13606 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13607 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13608 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13609 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13610 | ) |
| 13611 | |
| 13612 | target_link_libraries(h2_sockpair_1byte_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13613 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13614 | end2end_tests |
| 13615 | grpc_test_util |
| 13616 | grpc |
| 13617 | gpr_test_util |
| 13618 | gpr |
| 13619 | ) |
| 13620 | |
| 13621 | endif (gRPC_BUILD_TESTS) |
| 13622 | if (gRPC_BUILD_TESTS) |
| 13623 | |
| 13624 | add_executable(h2_ssl_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13625 | test/core/end2end/fixtures/h2_ssl.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13626 | ) |
| 13627 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13628 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13629 | target_include_directories(h2_ssl_test |
| 13630 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13631 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13632 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13633 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13634 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13635 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13636 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13637 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13638 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13639 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13640 | ) |
| 13641 | |
| 13642 | target_link_libraries(h2_ssl_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13643 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13644 | end2end_tests |
| 13645 | grpc_test_util |
| 13646 | grpc |
| 13647 | gpr_test_util |
| 13648 | gpr |
| 13649 | ) |
| 13650 | |
| 13651 | endif (gRPC_BUILD_TESTS) |
| 13652 | if (gRPC_BUILD_TESTS) |
| 13653 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13654 | add_executable(h2_ssl_proxy_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13655 | test/core/end2end/fixtures/h2_ssl_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13656 | ) |
| 13657 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13658 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13659 | target_include_directories(h2_ssl_proxy_test |
| 13660 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13661 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13662 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13663 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13664 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13665 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13666 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13667 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13668 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13669 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13670 | ) |
| 13671 | |
| 13672 | target_link_libraries(h2_ssl_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13673 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13674 | end2end_tests |
| 13675 | grpc_test_util |
| 13676 | grpc |
| 13677 | gpr_test_util |
| 13678 | gpr |
| 13679 | ) |
| 13680 | |
| 13681 | endif (gRPC_BUILD_TESTS) |
| 13682 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13683 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13684 | |
| 13685 | add_executable(h2_uds_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13686 | test/core/end2end/fixtures/h2_uds.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13687 | ) |
| 13688 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13689 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13690 | target_include_directories(h2_uds_test |
| 13691 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13692 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13693 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13694 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13695 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13696 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13697 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13698 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13699 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13700 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13701 | ) |
| 13702 | |
| 13703 | target_link_libraries(h2_uds_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13704 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13705 | end2end_tests |
| 13706 | grpc_test_util |
| 13707 | grpc |
| 13708 | gpr_test_util |
| 13709 | gpr |
| 13710 | ) |
| 13711 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13712 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13713 | endif (gRPC_BUILD_TESTS) |
| 13714 | if (gRPC_BUILD_TESTS) |
| 13715 | |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13716 | add_executable(inproc_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13717 | test/core/end2end/fixtures/inproc.cc |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13718 | ) |
| 13719 | |
| 13720 | |
| 13721 | target_include_directories(inproc_test |
| 13722 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13723 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13724 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13725 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 13726 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 13727 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13728 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13729 | PRIVATE ${CARES_INCLUDE_DIR} |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13730 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 13731 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13732 | ) |
| 13733 | |
| 13734 | target_link_libraries(inproc_test |
| 13735 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13736 | end2end_tests |
| 13737 | grpc_test_util |
| 13738 | grpc |
| 13739 | gpr_test_util |
| 13740 | gpr |
| 13741 | ) |
| 13742 | |
| 13743 | endif (gRPC_BUILD_TESTS) |
| 13744 | if (gRPC_BUILD_TESTS) |
| 13745 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13746 | add_executable(h2_census_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13747 | test/core/end2end/fixtures/h2_census.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13748 | ) |
| 13749 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13750 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13751 | target_include_directories(h2_census_nosec_test |
| 13752 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13753 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13754 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13755 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13756 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13757 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13758 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13759 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13760 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13761 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13762 | ) |
| 13763 | |
| 13764 | target_link_libraries(h2_census_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13765 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13766 | end2end_nosec_tests |
| 13767 | grpc_test_util_unsecure |
| 13768 | grpc_unsecure |
| 13769 | gpr_test_util |
| 13770 | gpr |
| 13771 | ) |
| 13772 | |
| 13773 | endif (gRPC_BUILD_TESTS) |
| 13774 | if (gRPC_BUILD_TESTS) |
| 13775 | |
| 13776 | add_executable(h2_compress_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13777 | test/core/end2end/fixtures/h2_compress.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13778 | ) |
| 13779 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13780 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13781 | target_include_directories(h2_compress_nosec_test |
| 13782 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13783 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13784 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13785 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13786 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13787 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13788 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13789 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13790 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13791 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13792 | ) |
| 13793 | |
| 13794 | target_link_libraries(h2_compress_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13795 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13796 | end2end_nosec_tests |
| 13797 | grpc_test_util_unsecure |
| 13798 | grpc_unsecure |
| 13799 | gpr_test_util |
| 13800 | gpr |
| 13801 | ) |
| 13802 | |
| 13803 | endif (gRPC_BUILD_TESTS) |
| 13804 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13805 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13806 | |
| 13807 | add_executable(h2_fd_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13808 | test/core/end2end/fixtures/h2_fd.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13809 | ) |
| 13810 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13811 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13812 | target_include_directories(h2_fd_nosec_test |
| 13813 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13814 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13815 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13816 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13817 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13818 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13819 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13820 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13821 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13822 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13823 | ) |
| 13824 | |
| 13825 | target_link_libraries(h2_fd_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13826 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13827 | end2end_nosec_tests |
| 13828 | grpc_test_util_unsecure |
| 13829 | grpc_unsecure |
| 13830 | gpr_test_util |
| 13831 | gpr |
| 13832 | ) |
| 13833 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13834 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13835 | endif (gRPC_BUILD_TESTS) |
| 13836 | if (gRPC_BUILD_TESTS) |
| 13837 | |
| 13838 | add_executable(h2_full_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13839 | test/core/end2end/fixtures/h2_full.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13840 | ) |
| 13841 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13842 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13843 | target_include_directories(h2_full_nosec_test |
| 13844 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13845 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13846 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13847 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13848 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13849 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13850 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13851 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13852 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13853 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13854 | ) |
| 13855 | |
| 13856 | target_link_libraries(h2_full_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13857 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13858 | end2end_nosec_tests |
| 13859 | grpc_test_util_unsecure |
| 13860 | grpc_unsecure |
| 13861 | gpr_test_util |
| 13862 | gpr |
| 13863 | ) |
| 13864 | |
| 13865 | endif (gRPC_BUILD_TESTS) |
| 13866 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13867 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13868 | |
| 13869 | add_executable(h2_full+pipe_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13870 | test/core/end2end/fixtures/h2_full+pipe.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13871 | ) |
| 13872 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13873 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13874 | target_include_directories(h2_full+pipe_nosec_test |
| 13875 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13876 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13877 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13878 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13879 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13880 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13881 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13882 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13883 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13884 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13885 | ) |
| 13886 | |
| 13887 | target_link_libraries(h2_full+pipe_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13888 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13889 | end2end_nosec_tests |
| 13890 | grpc_test_util_unsecure |
| 13891 | grpc_unsecure |
| 13892 | gpr_test_util |
| 13893 | gpr |
| 13894 | ) |
| 13895 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13896 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13897 | endif (gRPC_BUILD_TESTS) |
| 13898 | if (gRPC_BUILD_TESTS) |
| 13899 | |
| 13900 | add_executable(h2_full+trace_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13901 | test/core/end2end/fixtures/h2_full+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13902 | ) |
| 13903 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13904 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13905 | target_include_directories(h2_full+trace_nosec_test |
| 13906 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13907 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13908 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13909 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13910 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13911 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13912 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13913 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13914 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13915 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13916 | ) |
| 13917 | |
| 13918 | target_link_libraries(h2_full+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13919 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13920 | end2end_nosec_tests |
| 13921 | grpc_test_util_unsecure |
| 13922 | grpc_unsecure |
| 13923 | gpr_test_util |
| 13924 | gpr |
| 13925 | ) |
| 13926 | |
| 13927 | endif (gRPC_BUILD_TESTS) |
| 13928 | if (gRPC_BUILD_TESTS) |
| 13929 | |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13930 | add_executable(h2_full+workarounds_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13931 | test/core/end2end/fixtures/h2_full+workarounds.cc |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13932 | ) |
| 13933 | |
| 13934 | |
| 13935 | target_include_directories(h2_full+workarounds_nosec_test |
| 13936 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13937 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13938 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13939 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 13940 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 13941 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13942 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13943 | PRIVATE ${CARES_INCLUDE_DIR} |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13944 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 13945 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13946 | ) |
| 13947 | |
| 13948 | target_link_libraries(h2_full+workarounds_nosec_test |
| 13949 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13950 | end2end_nosec_tests |
| 13951 | grpc_test_util_unsecure |
| 13952 | grpc_unsecure |
| 13953 | gpr_test_util |
| 13954 | gpr |
| 13955 | ) |
| 13956 | |
| 13957 | endif (gRPC_BUILD_TESTS) |
| 13958 | if (gRPC_BUILD_TESTS) |
| 13959 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13960 | add_executable(h2_http_proxy_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13961 | test/core/end2end/fixtures/h2_http_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13962 | ) |
| 13963 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13964 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13965 | target_include_directories(h2_http_proxy_nosec_test |
| 13966 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13967 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13968 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13969 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13970 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13971 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13972 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13973 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13974 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13975 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13976 | ) |
| 13977 | |
| 13978 | target_link_libraries(h2_http_proxy_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13979 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13980 | end2end_nosec_tests |
| 13981 | grpc_test_util_unsecure |
| 13982 | grpc_unsecure |
| 13983 | gpr_test_util |
| 13984 | gpr |
| 13985 | ) |
| 13986 | |
| 13987 | endif (gRPC_BUILD_TESTS) |
| 13988 | if (gRPC_BUILD_TESTS) |
| 13989 | |
| 13990 | add_executable(h2_load_reporting_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 13991 | test/core/end2end/fixtures/h2_load_reporting.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13992 | ) |
| 13993 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13994 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13995 | target_include_directories(h2_load_reporting_nosec_test |
| 13996 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13997 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 13998 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13999 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14000 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14001 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14002 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14003 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14004 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14005 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14006 | ) |
| 14007 | |
| 14008 | target_link_libraries(h2_load_reporting_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14009 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14010 | end2end_nosec_tests |
| 14011 | grpc_test_util_unsecure |
| 14012 | grpc_unsecure |
| 14013 | gpr_test_util |
| 14014 | gpr |
| 14015 | ) |
| 14016 | |
| 14017 | endif (gRPC_BUILD_TESTS) |
| 14018 | if (gRPC_BUILD_TESTS) |
| 14019 | |
| 14020 | add_executable(h2_proxy_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14021 | test/core/end2end/fixtures/h2_proxy.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14022 | ) |
| 14023 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14024 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14025 | target_include_directories(h2_proxy_nosec_test |
| 14026 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14027 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14028 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14029 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14030 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14031 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14032 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14033 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14034 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14035 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14036 | ) |
| 14037 | |
| 14038 | target_link_libraries(h2_proxy_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14039 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14040 | end2end_nosec_tests |
| 14041 | grpc_test_util_unsecure |
| 14042 | grpc_unsecure |
| 14043 | gpr_test_util |
| 14044 | gpr |
| 14045 | ) |
| 14046 | |
| 14047 | endif (gRPC_BUILD_TESTS) |
| 14048 | if (gRPC_BUILD_TESTS) |
| 14049 | |
| 14050 | add_executable(h2_sockpair_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14051 | test/core/end2end/fixtures/h2_sockpair.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14052 | ) |
| 14053 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14054 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14055 | target_include_directories(h2_sockpair_nosec_test |
| 14056 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14057 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14058 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14059 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14060 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14061 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14062 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14063 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14064 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14065 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14066 | ) |
| 14067 | |
| 14068 | target_link_libraries(h2_sockpair_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14069 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14070 | end2end_nosec_tests |
| 14071 | grpc_test_util_unsecure |
| 14072 | grpc_unsecure |
| 14073 | gpr_test_util |
| 14074 | gpr |
| 14075 | ) |
| 14076 | |
| 14077 | endif (gRPC_BUILD_TESTS) |
| 14078 | if (gRPC_BUILD_TESTS) |
| 14079 | |
| 14080 | add_executable(h2_sockpair+trace_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14081 | test/core/end2end/fixtures/h2_sockpair+trace.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14082 | ) |
| 14083 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14084 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14085 | target_include_directories(h2_sockpair+trace_nosec_test |
| 14086 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14087 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14088 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14089 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14090 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14091 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14092 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14093 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14094 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14095 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14096 | ) |
| 14097 | |
| 14098 | target_link_libraries(h2_sockpair+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14099 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14100 | end2end_nosec_tests |
| 14101 | grpc_test_util_unsecure |
| 14102 | grpc_unsecure |
| 14103 | gpr_test_util |
| 14104 | gpr |
| 14105 | ) |
| 14106 | |
| 14107 | endif (gRPC_BUILD_TESTS) |
| 14108 | if (gRPC_BUILD_TESTS) |
| 14109 | |
| 14110 | add_executable(h2_sockpair_1byte_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14111 | test/core/end2end/fixtures/h2_sockpair_1byte.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14112 | ) |
| 14113 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14114 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14115 | target_include_directories(h2_sockpair_1byte_nosec_test |
| 14116 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14117 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14118 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14119 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14120 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14121 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14122 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14123 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14124 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14125 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14126 | ) |
| 14127 | |
| 14128 | target_link_libraries(h2_sockpair_1byte_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14129 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14130 | end2end_nosec_tests |
| 14131 | grpc_test_util_unsecure |
| 14132 | grpc_unsecure |
| 14133 | gpr_test_util |
| 14134 | gpr |
| 14135 | ) |
| 14136 | |
| 14137 | endif (gRPC_BUILD_TESTS) |
| 14138 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14139 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14140 | |
| 14141 | add_executable(h2_uds_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14142 | test/core/end2end/fixtures/h2_uds.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14143 | ) |
| 14144 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14145 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14146 | target_include_directories(h2_uds_nosec_test |
| 14147 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14148 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14149 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14150 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14151 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14152 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14153 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14154 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14155 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14156 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14157 | ) |
| 14158 | |
| 14159 | target_link_libraries(h2_uds_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14160 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14161 | end2end_nosec_tests |
| 14162 | grpc_test_util_unsecure |
| 14163 | grpc_unsecure |
| 14164 | gpr_test_util |
| 14165 | gpr |
| 14166 | ) |
| 14167 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14168 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14169 | endif (gRPC_BUILD_TESTS) |
| 14170 | if (gRPC_BUILD_TESTS) |
| 14171 | |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 14172 | add_executable(inproc_nosec_test |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14173 | test/core/end2end/fixtures/inproc.cc |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 14174 | ) |
| 14175 | |
| 14176 | |
| 14177 | target_include_directories(inproc_nosec_test |
| 14178 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14179 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14180 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 14181 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 14182 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 14183 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14184 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 14185 | PRIVATE ${CARES_INCLUDE_DIR} |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 14186 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 14187 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14188 | ) |
| 14189 | |
| 14190 | target_link_libraries(inproc_nosec_test |
| 14191 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14192 | end2end_nosec_tests |
| 14193 | grpc_test_util_unsecure |
| 14194 | grpc_unsecure |
| 14195 | gpr_test_util |
| 14196 | gpr |
| 14197 | ) |
| 14198 | |
| 14199 | endif (gRPC_BUILD_TESTS) |
| 14200 | if (gRPC_BUILD_TESTS) |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 14201 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 14202 | |
| 14203 | add_executable(resolver_component_test_unsecure |
| 14204 | test/cpp/naming/resolver_component_test.cc |
| 14205 | third_party/googletest/googletest/src/gtest-all.cc |
| 14206 | third_party/googletest/googlemock/src/gmock-all.cc |
| 14207 | ) |
| 14208 | |
| 14209 | |
| 14210 | target_include_directories(resolver_component_test_unsecure |
| 14211 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14212 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14213 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 14214 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 14215 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 14216 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14217 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 14218 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14219 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 14220 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14221 | PRIVATE third_party/googletest/googletest/include |
| 14222 | PRIVATE third_party/googletest/googletest |
| 14223 | PRIVATE third_party/googletest/googlemock/include |
| 14224 | PRIVATE third_party/googletest/googlemock |
| 14225 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 14226 | ) |
| 14227 | |
| 14228 | target_link_libraries(resolver_component_test_unsecure |
| 14229 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14230 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14231 | grpc++_test_util_unsecure |
| 14232 | grpc_test_util_unsecure |
| 14233 | gpr_test_util |
| 14234 | grpc++_unsecure |
| 14235 | grpc_unsecure |
| 14236 | gpr |
| 14237 | grpc++_test_config |
| 14238 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14239 | ) |
| 14240 | |
| 14241 | endif() |
| 14242 | endif (gRPC_BUILD_TESTS) |
| 14243 | if (gRPC_BUILD_TESTS) |
| 14244 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 14245 | |
| 14246 | add_executable(resolver_component_test |
| 14247 | test/cpp/naming/resolver_component_test.cc |
| 14248 | third_party/googletest/googletest/src/gtest-all.cc |
| 14249 | third_party/googletest/googlemock/src/gmock-all.cc |
| 14250 | ) |
| 14251 | |
| 14252 | |
| 14253 | target_include_directories(resolver_component_test |
| 14254 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14255 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14256 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 14257 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 14258 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 14259 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14260 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 14261 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14262 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 14263 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14264 | PRIVATE third_party/googletest/googletest/include |
| 14265 | PRIVATE third_party/googletest/googletest |
| 14266 | PRIVATE third_party/googletest/googlemock/include |
| 14267 | PRIVATE third_party/googletest/googlemock |
| 14268 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 14269 | ) |
| 14270 | |
| 14271 | target_link_libraries(resolver_component_test |
| 14272 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14273 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14274 | grpc++_test_util |
| 14275 | grpc_test_util |
| 14276 | gpr_test_util |
| 14277 | grpc++ |
| 14278 | grpc |
| 14279 | gpr |
| 14280 | grpc++_test_config |
| 14281 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14282 | ) |
| 14283 | |
| 14284 | endif() |
| 14285 | endif (gRPC_BUILD_TESTS) |
| 14286 | if (gRPC_BUILD_TESTS) |
| 14287 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 14288 | |
| 14289 | add_executable(resolver_component_tests_runner_invoker_unsecure |
| 14290 | test/cpp/naming/resolver_component_tests_runner_invoker.cc |
| 14291 | third_party/googletest/googletest/src/gtest-all.cc |
| 14292 | third_party/googletest/googlemock/src/gmock-all.cc |
| 14293 | ) |
| 14294 | |
| 14295 | |
| 14296 | target_include_directories(resolver_component_tests_runner_invoker_unsecure |
| 14297 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14298 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14299 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 14300 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 14301 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 14302 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14303 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 14304 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14305 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 14306 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14307 | PRIVATE third_party/googletest/googletest/include |
| 14308 | PRIVATE third_party/googletest/googletest |
| 14309 | PRIVATE third_party/googletest/googlemock/include |
| 14310 | PRIVATE third_party/googletest/googlemock |
| 14311 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 14312 | ) |
| 14313 | |
| 14314 | target_link_libraries(resolver_component_tests_runner_invoker_unsecure |
| 14315 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14316 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14317 | grpc++_test_util |
| 14318 | grpc_test_util |
| 14319 | gpr_test_util |
| 14320 | grpc++ |
| 14321 | grpc |
| 14322 | gpr |
| 14323 | grpc++_test_config |
| 14324 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14325 | ) |
| 14326 | |
| 14327 | endif() |
| 14328 | endif (gRPC_BUILD_TESTS) |
| 14329 | if (gRPC_BUILD_TESTS) |
| 14330 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 14331 | |
| 14332 | add_executable(resolver_component_tests_runner_invoker |
| 14333 | test/cpp/naming/resolver_component_tests_runner_invoker.cc |
| 14334 | third_party/googletest/googletest/src/gtest-all.cc |
| 14335 | third_party/googletest/googlemock/src/gmock-all.cc |
| 14336 | ) |
| 14337 | |
| 14338 | |
| 14339 | target_include_directories(resolver_component_tests_runner_invoker |
| 14340 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14341 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14342 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 14343 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 14344 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 14345 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14346 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 14347 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14348 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 14349 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14350 | PRIVATE third_party/googletest/googletest/include |
| 14351 | PRIVATE third_party/googletest/googletest |
| 14352 | PRIVATE third_party/googletest/googlemock/include |
| 14353 | PRIVATE third_party/googletest/googlemock |
| 14354 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 14355 | ) |
| 14356 | |
| 14357 | target_link_libraries(resolver_component_tests_runner_invoker |
| 14358 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14359 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14360 | grpc++_test_util |
| 14361 | grpc_test_util |
| 14362 | gpr_test_util |
| 14363 | grpc++ |
| 14364 | grpc |
| 14365 | gpr |
| 14366 | grpc++_test_config |
| 14367 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14368 | ) |
| 14369 | |
| 14370 | endif() |
| 14371 | endif (gRPC_BUILD_TESTS) |
| 14372 | if (gRPC_BUILD_TESTS) |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 14373 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14374 | add_executable(api_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14375 | test/core/end2end/fuzzers/api_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14376 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14377 | ) |
| 14378 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14379 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14380 | target_include_directories(api_fuzzer_one_entry |
| 14381 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14382 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14383 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14384 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14385 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14386 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14387 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14388 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14389 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14390 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14391 | ) |
| 14392 | |
| 14393 | target_link_libraries(api_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14394 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14395 | grpc_test_util |
| 14396 | grpc |
| 14397 | gpr_test_util |
| 14398 | gpr |
| 14399 | ) |
| 14400 | |
| 14401 | endif (gRPC_BUILD_TESTS) |
| 14402 | if (gRPC_BUILD_TESTS) |
| 14403 | |
| 14404 | add_executable(client_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14405 | test/core/end2end/fuzzers/client_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14406 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14407 | ) |
| 14408 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14409 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14410 | target_include_directories(client_fuzzer_one_entry |
| 14411 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14412 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14413 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14414 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14415 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14416 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14417 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14418 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14419 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14420 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14421 | ) |
| 14422 | |
| 14423 | target_link_libraries(client_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14424 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14425 | grpc_test_util |
| 14426 | grpc |
| 14427 | gpr_test_util |
| 14428 | gpr |
| 14429 | ) |
| 14430 | |
| 14431 | endif (gRPC_BUILD_TESTS) |
| 14432 | if (gRPC_BUILD_TESTS) |
| 14433 | |
| 14434 | add_executable(hpack_parser_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14435 | test/core/transport/chttp2/hpack_parser_fuzzer_test.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14436 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14437 | ) |
| 14438 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14439 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14440 | target_include_directories(hpack_parser_fuzzer_test_one_entry |
| 14441 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14442 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14443 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14444 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14445 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14446 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14447 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14448 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14449 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14450 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14451 | ) |
| 14452 | |
| 14453 | target_link_libraries(hpack_parser_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14454 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14455 | grpc_test_util |
| 14456 | grpc |
| 14457 | gpr_test_util |
| 14458 | gpr |
| 14459 | ) |
| 14460 | |
| 14461 | endif (gRPC_BUILD_TESTS) |
| 14462 | if (gRPC_BUILD_TESTS) |
| 14463 | |
| 14464 | add_executable(http_request_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14465 | test/core/http/request_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14466 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14467 | ) |
| 14468 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14469 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14470 | target_include_directories(http_request_fuzzer_test_one_entry |
| 14471 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14472 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14473 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14474 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14475 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14476 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14477 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14478 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14479 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14480 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14481 | ) |
| 14482 | |
| 14483 | target_link_libraries(http_request_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14484 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14485 | grpc_test_util |
| 14486 | grpc |
| 14487 | gpr_test_util |
| 14488 | gpr |
| 14489 | ) |
| 14490 | |
| 14491 | endif (gRPC_BUILD_TESTS) |
| 14492 | if (gRPC_BUILD_TESTS) |
| 14493 | |
| 14494 | add_executable(http_response_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14495 | test/core/http/response_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14496 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14497 | ) |
| 14498 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14499 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14500 | target_include_directories(http_response_fuzzer_test_one_entry |
| 14501 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14502 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14503 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14504 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14505 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14506 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14507 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14508 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14509 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14510 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14511 | ) |
| 14512 | |
| 14513 | target_link_libraries(http_response_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14514 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14515 | grpc_test_util |
| 14516 | grpc |
| 14517 | gpr_test_util |
| 14518 | gpr |
| 14519 | ) |
| 14520 | |
| 14521 | endif (gRPC_BUILD_TESTS) |
| 14522 | if (gRPC_BUILD_TESTS) |
| 14523 | |
| 14524 | add_executable(json_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14525 | test/core/json/fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14526 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14527 | ) |
| 14528 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14529 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14530 | target_include_directories(json_fuzzer_test_one_entry |
| 14531 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14532 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14533 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14534 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14535 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14536 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14537 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14538 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14539 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14540 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14541 | ) |
| 14542 | |
| 14543 | target_link_libraries(json_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14544 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14545 | grpc_test_util |
| 14546 | grpc |
| 14547 | gpr_test_util |
| 14548 | gpr |
| 14549 | ) |
| 14550 | |
| 14551 | endif (gRPC_BUILD_TESTS) |
| 14552 | if (gRPC_BUILD_TESTS) |
| 14553 | |
| 14554 | add_executable(nanopb_fuzzer_response_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14555 | test/core/nanopb/fuzzer_response.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14556 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14557 | ) |
| 14558 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14559 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14560 | target_include_directories(nanopb_fuzzer_response_test_one_entry |
| 14561 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14562 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14563 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14564 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14565 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14566 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14567 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14568 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14569 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14570 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14571 | ) |
| 14572 | |
| 14573 | target_link_libraries(nanopb_fuzzer_response_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14574 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14575 | grpc_test_util |
| 14576 | grpc |
| 14577 | gpr_test_util |
| 14578 | gpr |
| 14579 | ) |
| 14580 | |
| 14581 | endif (gRPC_BUILD_TESTS) |
| 14582 | if (gRPC_BUILD_TESTS) |
| 14583 | |
| 14584 | add_executable(nanopb_fuzzer_serverlist_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14585 | test/core/nanopb/fuzzer_serverlist.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14586 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14587 | ) |
| 14588 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14589 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14590 | target_include_directories(nanopb_fuzzer_serverlist_test_one_entry |
| 14591 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14592 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14593 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14594 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14595 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14596 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14597 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14598 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14599 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14600 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14601 | ) |
| 14602 | |
| 14603 | target_link_libraries(nanopb_fuzzer_serverlist_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14604 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14605 | grpc_test_util |
| 14606 | grpc |
| 14607 | gpr_test_util |
| 14608 | gpr |
| 14609 | ) |
| 14610 | |
| 14611 | endif (gRPC_BUILD_TESTS) |
| 14612 | if (gRPC_BUILD_TESTS) |
| 14613 | |
| 14614 | add_executable(percent_decode_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14615 | test/core/slice/percent_decode_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14616 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14617 | ) |
| 14618 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14619 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14620 | target_include_directories(percent_decode_fuzzer_one_entry |
| 14621 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14622 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14623 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14624 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14625 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14626 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14627 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14628 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14629 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14630 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14631 | ) |
| 14632 | |
| 14633 | target_link_libraries(percent_decode_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14634 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14635 | grpc_test_util |
| 14636 | grpc |
| 14637 | gpr_test_util |
| 14638 | gpr |
| 14639 | ) |
| 14640 | |
| 14641 | endif (gRPC_BUILD_TESTS) |
| 14642 | if (gRPC_BUILD_TESTS) |
| 14643 | |
| 14644 | add_executable(percent_encode_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14645 | test/core/slice/percent_encode_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14646 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14647 | ) |
| 14648 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14649 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14650 | target_include_directories(percent_encode_fuzzer_one_entry |
| 14651 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14652 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14653 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14654 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14655 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14656 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14657 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14658 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14659 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14660 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14661 | ) |
| 14662 | |
| 14663 | target_link_libraries(percent_encode_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14664 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14665 | grpc_test_util |
| 14666 | grpc |
| 14667 | gpr_test_util |
| 14668 | gpr |
| 14669 | ) |
| 14670 | |
| 14671 | endif (gRPC_BUILD_TESTS) |
| 14672 | if (gRPC_BUILD_TESTS) |
| 14673 | |
| 14674 | add_executable(server_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14675 | test/core/end2end/fuzzers/server_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14676 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14677 | ) |
| 14678 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14679 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14680 | target_include_directories(server_fuzzer_one_entry |
| 14681 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14682 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14683 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14684 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14685 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14686 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14687 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14688 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14689 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14690 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14691 | ) |
| 14692 | |
| 14693 | target_link_libraries(server_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14694 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14695 | grpc_test_util |
| 14696 | grpc |
| 14697 | gpr_test_util |
| 14698 | gpr |
| 14699 | ) |
| 14700 | |
| 14701 | endif (gRPC_BUILD_TESTS) |
| 14702 | if (gRPC_BUILD_TESTS) |
| 14703 | |
| 14704 | add_executable(ssl_server_fuzzer_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14705 | test/core/security/ssl_server_fuzzer.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14706 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14707 | ) |
| 14708 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14709 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14710 | target_include_directories(ssl_server_fuzzer_one_entry |
| 14711 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14712 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14713 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14714 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14715 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14716 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14717 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14718 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14719 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14720 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14721 | ) |
| 14722 | |
| 14723 | target_link_libraries(ssl_server_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14724 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14725 | grpc_test_util |
| 14726 | grpc |
| 14727 | gpr_test_util |
| 14728 | gpr |
| 14729 | ) |
| 14730 | |
| 14731 | endif (gRPC_BUILD_TESTS) |
| 14732 | if (gRPC_BUILD_TESTS) |
| 14733 | |
| 14734 | add_executable(uri_fuzzer_test_one_entry |
Yash Tibrewal | 34a57d0 | 2017-10-23 15:33:21 -0700 | [diff] [blame] | 14735 | test/core/client_channel/uri_fuzzer_test.cc |
Yash Tibrewal | 1cf9992 | 2017-10-26 11:19:27 -0700 | [diff] [blame] | 14736 | test/core/util/one_corpus_entry_fuzzer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14737 | ) |
| 14738 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14739 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14740 | target_include_directories(uri_fuzzer_test_one_entry |
| 14741 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14742 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
Jan Tattermusch | 86ef925 | 2017-12-14 02:42:34 +0100 | [diff] [blame] | 14743 | PRIVATE ${_gRPC_SSL_INCLUDE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14744 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14745 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14746 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14747 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14748 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14749 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14750 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14751 | ) |
| 14752 | |
| 14753 | target_link_libraries(uri_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14754 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14755 | grpc_test_util |
| 14756 | grpc |
| 14757 | gpr_test_util |
| 14758 | gpr |
| 14759 | ) |
| 14760 | |
| 14761 | endif (gRPC_BUILD_TESTS) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 14762 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 14763 | |
| 14764 | |
| 14765 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 14766 | |
| 14767 | |
| 14768 | |
Alex Merry | b5984fa | 2017-05-15 21:04:16 +0100 | [diff] [blame] | 14769 | if (gRPC_INSTALL) |
| 14770 | install(EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 14771 | DESTINATION ${gRPC_INSTALL_CMAKEDIR} |
Alex Merry | b5984fa | 2017-05-15 21:04:16 +0100 | [diff] [blame] | 14772 | NAMESPACE gRPC:: |
| 14773 | ) |
| 14774 | endif() |
| 14775 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 14776 | foreach(_config gRPCConfig gRPCConfigVersion) |
Jan Tattermusch | 9d1d052 | 2017-08-25 14:26:47 +0200 | [diff] [blame] | 14777 | configure_file(cmake/${_config}.cmake.in |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 14778 | ${_config}.cmake @ONLY) |
| 14779 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${_config}.cmake |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 14780 | DESTINATION ${gRPC_INSTALL_CMAKEDIR} |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 14781 | ) |
| 14782 | endforeach() |