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") |
murgatroid99 | 9887379 | 2017-10-02 17:28:27 -0700 | [diff] [blame] | 27 | set(PACKAGE_VERSION "1.8.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) |
| 227 | endif() |
| 228 | else() |
| 229 | message(WARNING "gRPC_SSL_PROVIDER is \"module\" but BORINGSSL_ROOT_DIR is wrong") |
| 230 | endif() |
Alex Merry | c17eb5c | 2017-05-15 21:17:29 +0100 | [diff] [blame] | 231 | if(gRPC_INSTALL) |
| 232 | message(WARNING "gRPC_INSTALL will be forced to FALSE because gRPC_SSL_PROVIDER is \"module\"") |
| 233 | set(gRPC_INSTALL FALSE) |
| 234 | endif() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 235 | elseif("${gRPC_SSL_PROVIDER}" STREQUAL "package") |
Jan Tattermusch | ae6fd66 | 2017-08-28 12:21:46 +0200 | [diff] [blame] | 236 | find_package(OpenSSL REQUIRED) |
| 237 | set(_gRPC_SSL_LIBRARIES ${OPENSSL_LIBRARIES}) |
| 238 | 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] | 239 | endif() |
| 240 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 241 | if("${gRPC_GFLAGS_PROVIDER}" STREQUAL "module") |
| 242 | if(NOT GFLAGS_ROOT_DIR) |
| 243 | set(GFLAGS_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/gflags) |
| 244 | endif() |
| 245 | if(EXISTS "${GFLAGS_ROOT_DIR}/CMakeLists.txt") |
| 246 | add_subdirectory(${GFLAGS_ROOT_DIR} third_party/gflags) |
| 247 | if(TARGET gflags_static) |
| 248 | set(_gRPC_GFLAGS_LIBRARIES gflags_static) |
| 249 | endif() |
| 250 | else() |
| 251 | message(WARNING "gRPC_GFLAGS_PROVIDER is \"module\" but GFLAGS_ROOT_DIR is wrong") |
| 252 | endif() |
| 253 | elseif("${gRPC_GFLAGS_PROVIDER}" STREQUAL "package") |
| 254 | find_package(gflags) |
| 255 | if(TARGET gflags::gflags) |
| 256 | set(_gRPC_GFLAGS_LIBRARIES gflags::gflags) |
| 257 | endif() |
| 258 | set(_gRPC_FIND_GFLAGS "if(NOT gflags_FOUND)\n find_package(gflags)\nendif()") |
| 259 | endif() |
| 260 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 261 | if("${gRPC_BENCHMARK_PROVIDER}" STREQUAL "module") |
| 262 | if(NOT BENCHMARK_ROOT_DIR) |
| 263 | set(BENCHMARK_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/benchmark) |
| 264 | endif() |
| 265 | if(EXISTS "${BENCHMARK_ROOT_DIR}/CMakeLists.txt") |
| 266 | add_subdirectory(${BENCHMARK_ROOT_DIR} third_party/benchmark) |
| 267 | if(TARGET benchmark) |
| 268 | set(_gRPC_BENCHMARK_LIBRARIES benchmark) |
| 269 | endif() |
| 270 | else() |
| 271 | message(WARNING "gRPC_BENCHMARK_PROVIDER is \"module\" but BENCHMARK_ROOT_DIR is wrong") |
| 272 | endif() |
| 273 | elseif("${gRPC_BENCHMARK_PROVIDER}" STREQUAL "package") |
| 274 | find_package(benchmark) |
| 275 | if(TARGET benchmark::benchmark) |
| 276 | set(_gRPC_BENCHMARK_LIBRARIES benchmark::benchmark) |
| 277 | endif() |
| 278 | set(_gRPC_FIND_BENCHMARK "if(NOT benchmark_FOUND)\n find_package(benchmark)\nendif()") |
| 279 | endif() |
| 280 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 281 | if(NOT MSVC) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 282 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 283 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") |
| 284 | endif() |
| 285 | |
Mehrdad Afshari | 79ec0ff | 2017-04-19 03:14:26 -0700 | [diff] [blame] | 286 | if(_gRPC_PLATFORM_MAC) |
| 287 | set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} m pthread) |
| 288 | elseif(UNIX) |
| 289 | set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} rt m pthread) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 290 | endif() |
| 291 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 292 | if(WIN32 AND MSVC) |
| 293 | set(_gRPC_BASELIB_LIBRARIES wsock32 ws2_32) |
Tamas Berghammer | 2391156 | 2016-07-27 15:24:05 +0100 | [diff] [blame] | 294 | endif() |
| 295 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 296 | # Create directory for generated .proto files |
| 297 | set(_gRPC_PROTO_GENS_DIR ${CMAKE_BINARY_DIR}/gens) |
| 298 | file(MAKE_DIRECTORY ${_gRPC_PROTO_GENS_DIR}) |
| 299 | |
| 300 | # protobuf_generate_grpc_cpp |
| 301 | # -------------------------- |
| 302 | # |
| 303 | # Add custom commands to process ``.proto`` files to C++ using protoc and |
| 304 | # GRPC plugin:: |
| 305 | # |
| 306 | # protobuf_generate_grpc_cpp [<ARGN>...] |
| 307 | # |
| 308 | # ``ARGN`` |
| 309 | # ``.proto`` files |
| 310 | # |
| 311 | function(protobuf_generate_grpc_cpp) |
| 312 | if(NOT ARGN) |
| 313 | message(SEND_ERROR "Error: PROTOBUF_GENERATE_GRPC_CPP() called without any proto files") |
| 314 | return() |
| 315 | endif() |
| 316 | |
yang-g | 66d40c6 | 2017-04-12 10:18:10 -0700 | [diff] [blame] | 317 | set(_protobuf_include_path -I . -I ${PROTOBUF_WELLKNOWN_IMPORT_DIR}) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 318 | foreach(FIL ${ARGN}) |
| 319 | get_filename_component(ABS_FIL ${FIL} ABSOLUTE) |
| 320 | get_filename_component(FIL_WE ${FIL} NAME_WE) |
Jan Tattermusch | ecc457b | 2017-04-07 14:06:16 +0200 | [diff] [blame] | 321 | file(RELATIVE_PATH REL_FIL ${CMAKE_CURRENT_SOURCE_DIR} ${ABS_FIL}) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 322 | get_filename_component(REL_DIR ${REL_FIL} DIRECTORY) |
| 323 | set(RELFIL_WE "${REL_DIR}/${FIL_WE}") |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 324 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 325 | add_custom_command( |
| 326 | OUTPUT "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.cc" |
| 327 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.h" |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 328 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}_mock.grpc.pb.h" |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 329 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.cc" |
| 330 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.h" |
Jan Tattermusch | 210f2a5 | 2017-08-24 17:51:47 +0200 | [diff] [blame] | 331 | COMMAND ${_gRPC_PROTOBUF_PROTOC_EXECUTABLE} |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 332 | ARGS --grpc_out=generate_mock_code=true:${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 333 | --cpp_out=${_gRPC_PROTO_GENS_DIR} |
| 334 | --plugin=protoc-gen-grpc=$<TARGET_FILE:grpc_cpp_plugin> |
| 335 | ${_protobuf_include_path} |
| 336 | ${REL_FIL} |
| 337 | DEPENDS ${ABS_FIL} ${_gRPC_PROTOBUF_PROTOC} grpc_cpp_plugin |
Jan Tattermusch | ecc457b | 2017-04-07 14:06:16 +0200 | [diff] [blame] | 338 | WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 339 | COMMENT "Running gRPC C++ protocol buffer compiler on ${FIL}" |
| 340 | VERBATIM) |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 341 | |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 342 | 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] | 343 | endforeach() |
| 344 | endfunction() |
| 345 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 346 | add_custom_target(plugins |
| 347 | DEPENDS |
| 348 | grpc_cpp_plugin |
| 349 | grpc_csharp_plugin |
| 350 | grpc_node_plugin |
| 351 | grpc_objective_c_plugin |
| 352 | grpc_php_plugin |
| 353 | grpc_python_plugin |
| 354 | grpc_ruby_plugin |
| 355 | ) |
| 356 | |
| 357 | add_custom_target(tools_c |
| 358 | DEPENDS |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 359 | check_epollexclusive |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 360 | gen_hpack_tables |
| 361 | gen_legal_metadata_characters |
| 362 | gen_percent_encoding_tables |
| 363 | grpc_create_jwt |
| 364 | grpc_print_google_default_creds_token |
| 365 | grpc_verify_jwt |
| 366 | ) |
| 367 | |
| 368 | add_custom_target(tools_cxx |
| 369 | DEPENDS |
| 370 | ) |
| 371 | |
| 372 | add_custom_target(tools |
| 373 | DEPENDS tools_c tools_cxx) |
| 374 | |
| 375 | if (gRPC_BUILD_TESTS) |
| 376 | add_custom_target(buildtests_c) |
| 377 | add_dependencies(buildtests_c alarm_test) |
| 378 | add_dependencies(buildtests_c algorithm_test) |
| 379 | add_dependencies(buildtests_c alloc_test) |
| 380 | add_dependencies(buildtests_c alpn_test) |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 381 | add_dependencies(buildtests_c arena_test) |
Craig Tiller | c0df1c0 | 2017-07-17 16:12:33 -0700 | [diff] [blame] | 382 | add_dependencies(buildtests_c backoff_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 383 | add_dependencies(buildtests_c bad_server_response_test) |
Craig Tiller | 5395aba | 2017-02-02 10:29:04 -0800 | [diff] [blame] | 384 | add_dependencies(buildtests_c bdp_estimator_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 385 | add_dependencies(buildtests_c bin_decoder_test) |
| 386 | add_dependencies(buildtests_c bin_encoder_test) |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 387 | add_dependencies(buildtests_c byte_stream_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 388 | add_dependencies(buildtests_c census_context_test) |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 389 | add_dependencies(buildtests_c census_intrusive_hash_map_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 390 | add_dependencies(buildtests_c census_resource_test) |
| 391 | add_dependencies(buildtests_c census_trace_context_test) |
| 392 | add_dependencies(buildtests_c channel_create_test) |
| 393 | add_dependencies(buildtests_c chttp2_hpack_encoder_test) |
| 394 | add_dependencies(buildtests_c chttp2_stream_map_test) |
| 395 | add_dependencies(buildtests_c chttp2_varint_test) |
| 396 | add_dependencies(buildtests_c combiner_test) |
| 397 | add_dependencies(buildtests_c compression_test) |
| 398 | add_dependencies(buildtests_c concurrent_connectivity_test) |
| 399 | add_dependencies(buildtests_c connection_refused_test) |
| 400 | add_dependencies(buildtests_c dns_resolver_connectivity_test) |
| 401 | add_dependencies(buildtests_c dns_resolver_test) |
| 402 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 403 | add_dependencies(buildtests_c dualstack_socket_test) |
| 404 | endif() |
| 405 | add_dependencies(buildtests_c endpoint_pair_test) |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 406 | add_dependencies(buildtests_c error_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 407 | if(_gRPC_PLATFORM_LINUX) |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 408 | add_dependencies(buildtests_c ev_epollsig_linux_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 409 | endif() |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 410 | add_dependencies(buildtests_c fake_resolver_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 411 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 412 | add_dependencies(buildtests_c fake_transport_security_test) |
| 413 | endif() |
| 414 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 415 | add_dependencies(buildtests_c fd_conservation_posix_test) |
| 416 | endif() |
| 417 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 418 | add_dependencies(buildtests_c fd_posix_test) |
| 419 | endif() |
| 420 | add_dependencies(buildtests_c fling_client) |
| 421 | add_dependencies(buildtests_c fling_server) |
| 422 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 423 | add_dependencies(buildtests_c fling_stream_test) |
| 424 | endif() |
| 425 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 426 | add_dependencies(buildtests_c fling_test) |
| 427 | endif() |
| 428 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 429 | add_dependencies(buildtests_c goaway_server_test) |
| 430 | endif() |
| 431 | add_dependencies(buildtests_c gpr_avl_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 432 | add_dependencies(buildtests_c gpr_cmdline_test) |
| 433 | add_dependencies(buildtests_c gpr_cpu_test) |
| 434 | add_dependencies(buildtests_c gpr_env_test) |
| 435 | add_dependencies(buildtests_c gpr_histogram_test) |
| 436 | add_dependencies(buildtests_c gpr_host_port_test) |
| 437 | add_dependencies(buildtests_c gpr_log_test) |
| 438 | add_dependencies(buildtests_c gpr_mpscq_test) |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 439 | add_dependencies(buildtests_c gpr_spinlock_test) |
Ken Payson | a4710a0 | 2017-07-10 16:49:59 -0700 | [diff] [blame] | 440 | add_dependencies(buildtests_c gpr_stack_lockfree_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 441 | add_dependencies(buildtests_c gpr_string_test) |
| 442 | add_dependencies(buildtests_c gpr_sync_test) |
| 443 | add_dependencies(buildtests_c gpr_thd_test) |
| 444 | add_dependencies(buildtests_c gpr_time_test) |
| 445 | add_dependencies(buildtests_c gpr_tls_test) |
| 446 | add_dependencies(buildtests_c gpr_useful_test) |
| 447 | add_dependencies(buildtests_c grpc_auth_context_test) |
| 448 | add_dependencies(buildtests_c grpc_b64_test) |
| 449 | add_dependencies(buildtests_c grpc_byte_buffer_reader_test) |
| 450 | add_dependencies(buildtests_c grpc_channel_args_test) |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 451 | add_dependencies(buildtests_c grpc_channel_stack_builder_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 452 | add_dependencies(buildtests_c grpc_channel_stack_test) |
| 453 | add_dependencies(buildtests_c grpc_completion_queue_test) |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 454 | add_dependencies(buildtests_c grpc_completion_queue_threading_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 455 | add_dependencies(buildtests_c grpc_credentials_test) |
| 456 | add_dependencies(buildtests_c grpc_fetch_oauth2) |
| 457 | add_dependencies(buildtests_c grpc_invalid_channel_args_test) |
| 458 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 459 | add_dependencies(buildtests_c grpc_json_token_test) |
| 460 | endif() |
| 461 | add_dependencies(buildtests_c grpc_jwt_verifier_test) |
| 462 | add_dependencies(buildtests_c grpc_security_connector_test) |
| 463 | if(_gRPC_PLATFORM_LINUX) |
| 464 | add_dependencies(buildtests_c handshake_client) |
| 465 | endif() |
| 466 | if(_gRPC_PLATFORM_LINUX) |
| 467 | add_dependencies(buildtests_c handshake_server) |
| 468 | endif() |
| 469 | add_dependencies(buildtests_c hpack_parser_test) |
| 470 | add_dependencies(buildtests_c hpack_table_test) |
| 471 | add_dependencies(buildtests_c http_parser_test) |
| 472 | add_dependencies(buildtests_c httpcli_format_request_test) |
| 473 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 474 | add_dependencies(buildtests_c httpcli_test) |
| 475 | endif() |
| 476 | if(_gRPC_PLATFORM_LINUX) |
| 477 | add_dependencies(buildtests_c httpscli_test) |
| 478 | endif() |
| 479 | add_dependencies(buildtests_c init_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 480 | add_dependencies(buildtests_c invalid_call_argument_test) |
| 481 | add_dependencies(buildtests_c json_rewrite) |
| 482 | add_dependencies(buildtests_c json_rewrite_test) |
| 483 | add_dependencies(buildtests_c json_stream_error_test) |
| 484 | add_dependencies(buildtests_c json_test) |
| 485 | add_dependencies(buildtests_c lame_client_test) |
| 486 | add_dependencies(buildtests_c lb_policies_test) |
| 487 | add_dependencies(buildtests_c load_file_test) |
| 488 | add_dependencies(buildtests_c memory_profile_client) |
| 489 | add_dependencies(buildtests_c memory_profile_server) |
| 490 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 491 | add_dependencies(buildtests_c memory_profile_test) |
| 492 | endif() |
| 493 | add_dependencies(buildtests_c message_compress_test) |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 494 | add_dependencies(buildtests_c minimal_stack_is_minimal_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 495 | add_dependencies(buildtests_c mlog_test) |
| 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) |
| 546 | add_dependencies(buildtests_c transport_metadata_test) |
| 547 | add_dependencies(buildtests_c transport_pid_controller_test) |
| 548 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 549 | add_dependencies(buildtests_c transport_security_test) |
| 550 | endif() |
| 551 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 552 | add_dependencies(buildtests_c udp_server_test) |
| 553 | endif() |
| 554 | add_dependencies(buildtests_c uri_parser_test) |
| 555 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 556 | add_dependencies(buildtests_c wakeup_fd_cv_test) |
| 557 | endif() |
| 558 | add_dependencies(buildtests_c public_headers_must_be_c89) |
| 559 | add_dependencies(buildtests_c badreq_bad_client_test) |
| 560 | add_dependencies(buildtests_c connection_prefix_bad_client_test) |
| 561 | add_dependencies(buildtests_c head_of_line_blocking_bad_client_test) |
| 562 | add_dependencies(buildtests_c headers_bad_client_test) |
| 563 | add_dependencies(buildtests_c initial_settings_frame_bad_client_test) |
| 564 | add_dependencies(buildtests_c large_metadata_bad_client_test) |
| 565 | add_dependencies(buildtests_c server_registered_method_bad_client_test) |
| 566 | add_dependencies(buildtests_c simple_request_bad_client_test) |
| 567 | add_dependencies(buildtests_c unknown_frame_bad_client_test) |
| 568 | add_dependencies(buildtests_c window_overflow_bad_client_test) |
| 569 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 570 | add_dependencies(buildtests_c bad_ssl_cert_server) |
| 571 | endif() |
| 572 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 573 | add_dependencies(buildtests_c bad_ssl_cert_test) |
| 574 | endif() |
| 575 | add_dependencies(buildtests_c h2_census_test) |
| 576 | add_dependencies(buildtests_c h2_compress_test) |
| 577 | add_dependencies(buildtests_c h2_fakesec_test) |
| 578 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 579 | add_dependencies(buildtests_c h2_fd_test) |
| 580 | endif() |
| 581 | add_dependencies(buildtests_c h2_full_test) |
| 582 | if(_gRPC_PLATFORM_LINUX) |
| 583 | add_dependencies(buildtests_c h2_full+pipe_test) |
| 584 | endif() |
| 585 | add_dependencies(buildtests_c h2_full+trace_test) |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 586 | add_dependencies(buildtests_c h2_full+workarounds_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 587 | add_dependencies(buildtests_c h2_http_proxy_test) |
| 588 | add_dependencies(buildtests_c h2_load_reporting_test) |
| 589 | add_dependencies(buildtests_c h2_oauth2_test) |
| 590 | add_dependencies(buildtests_c h2_proxy_test) |
| 591 | add_dependencies(buildtests_c h2_sockpair_test) |
| 592 | add_dependencies(buildtests_c h2_sockpair+trace_test) |
| 593 | add_dependencies(buildtests_c h2_sockpair_1byte_test) |
| 594 | add_dependencies(buildtests_c h2_ssl_test) |
| 595 | add_dependencies(buildtests_c h2_ssl_cert_test) |
| 596 | add_dependencies(buildtests_c h2_ssl_proxy_test) |
| 597 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 598 | add_dependencies(buildtests_c h2_uds_test) |
| 599 | endif() |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 600 | add_dependencies(buildtests_c inproc_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 601 | add_dependencies(buildtests_c h2_census_nosec_test) |
| 602 | add_dependencies(buildtests_c h2_compress_nosec_test) |
| 603 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 604 | add_dependencies(buildtests_c h2_fd_nosec_test) |
| 605 | endif() |
| 606 | add_dependencies(buildtests_c h2_full_nosec_test) |
| 607 | if(_gRPC_PLATFORM_LINUX) |
| 608 | add_dependencies(buildtests_c h2_full+pipe_nosec_test) |
| 609 | endif() |
| 610 | add_dependencies(buildtests_c h2_full+trace_nosec_test) |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 611 | add_dependencies(buildtests_c h2_full+workarounds_nosec_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 612 | add_dependencies(buildtests_c h2_http_proxy_nosec_test) |
| 613 | add_dependencies(buildtests_c h2_load_reporting_nosec_test) |
| 614 | add_dependencies(buildtests_c h2_proxy_nosec_test) |
| 615 | add_dependencies(buildtests_c h2_sockpair_nosec_test) |
| 616 | add_dependencies(buildtests_c h2_sockpair+trace_nosec_test) |
| 617 | add_dependencies(buildtests_c h2_sockpair_1byte_nosec_test) |
| 618 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 619 | add_dependencies(buildtests_c h2_uds_nosec_test) |
| 620 | endif() |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 621 | add_dependencies(buildtests_c inproc_nosec_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 622 | add_dependencies(buildtests_c api_fuzzer_one_entry) |
| 623 | add_dependencies(buildtests_c client_fuzzer_one_entry) |
| 624 | add_dependencies(buildtests_c hpack_parser_fuzzer_test_one_entry) |
| 625 | add_dependencies(buildtests_c http_request_fuzzer_test_one_entry) |
| 626 | add_dependencies(buildtests_c http_response_fuzzer_test_one_entry) |
| 627 | add_dependencies(buildtests_c json_fuzzer_test_one_entry) |
| 628 | add_dependencies(buildtests_c nanopb_fuzzer_response_test_one_entry) |
| 629 | add_dependencies(buildtests_c nanopb_fuzzer_serverlist_test_one_entry) |
| 630 | add_dependencies(buildtests_c percent_decode_fuzzer_one_entry) |
| 631 | add_dependencies(buildtests_c percent_encode_fuzzer_one_entry) |
| 632 | add_dependencies(buildtests_c server_fuzzer_one_entry) |
| 633 | add_dependencies(buildtests_c ssl_server_fuzzer_one_entry) |
| 634 | add_dependencies(buildtests_c uri_fuzzer_test_one_entry) |
| 635 | |
| 636 | add_custom_target(buildtests_cxx) |
| 637 | add_dependencies(buildtests_cxx alarm_cpp_test) |
| 638 | add_dependencies(buildtests_cxx async_end2end_test) |
| 639 | add_dependencies(buildtests_cxx auth_property_iterator_test) |
| 640 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 641 | add_dependencies(buildtests_cxx bm_arena) |
| 642 | endif() |
| 643 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 644 | add_dependencies(buildtests_cxx bm_call_create) |
| 645 | endif() |
| 646 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 647 | add_dependencies(buildtests_cxx bm_chttp2_hpack) |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 648 | endif() |
| 649 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 650 | add_dependencies(buildtests_cxx bm_chttp2_transport) |
| 651 | endif() |
| 652 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 653 | add_dependencies(buildtests_cxx bm_closure) |
| 654 | endif() |
| 655 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 656 | add_dependencies(buildtests_cxx bm_cq) |
| 657 | endif() |
| 658 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 659 | add_dependencies(buildtests_cxx bm_cq_multiple_threads) |
| 660 | endif() |
| 661 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 662 | add_dependencies(buildtests_cxx bm_error) |
| 663 | endif() |
| 664 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 665 | add_dependencies(buildtests_cxx bm_fullstack_streaming_ping_pong) |
| 666 | endif() |
| 667 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 668 | add_dependencies(buildtests_cxx bm_fullstack_streaming_pump) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 669 | endif() |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 670 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 671 | add_dependencies(buildtests_cxx bm_fullstack_trickle) |
| 672 | endif() |
| 673 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 674 | add_dependencies(buildtests_cxx bm_fullstack_unary_ping_pong) |
| 675 | endif() |
| 676 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 677 | add_dependencies(buildtests_cxx bm_metadata) |
| 678 | endif() |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 679 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 680 | add_dependencies(buildtests_cxx bm_pollset) |
| 681 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 682 | add_dependencies(buildtests_cxx channel_arguments_test) |
| 683 | add_dependencies(buildtests_cxx channel_filter_test) |
| 684 | add_dependencies(buildtests_cxx cli_call_test) |
| 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) |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 707 | add_dependencies(buildtests_cxx health_service_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 708 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 709 | add_dependencies(buildtests_cxx http2_client) |
| 710 | endif() |
| 711 | add_dependencies(buildtests_cxx hybrid_end2end_test) |
| 712 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 713 | add_dependencies(buildtests_cxx interop_client) |
| 714 | endif() |
| 715 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 716 | add_dependencies(buildtests_cxx interop_server) |
| 717 | endif() |
| 718 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 719 | add_dependencies(buildtests_cxx interop_test) |
| 720 | endif() |
| 721 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 722 | add_dependencies(buildtests_cxx json_run_localhost) |
| 723 | endif() |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 724 | add_dependencies(buildtests_cxx memory_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 725 | add_dependencies(buildtests_cxx metrics_client) |
| 726 | add_dependencies(buildtests_cxx mock_test) |
| 727 | add_dependencies(buildtests_cxx noop-benchmark) |
| 728 | add_dependencies(buildtests_cxx proto_server_reflection_test) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 729 | add_dependencies(buildtests_cxx proto_utils_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 730 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 731 | add_dependencies(buildtests_cxx qps_interarrival_test) |
| 732 | endif() |
| 733 | add_dependencies(buildtests_cxx qps_json_driver) |
| 734 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 735 | add_dependencies(buildtests_cxx qps_openloop_test) |
| 736 | endif() |
| 737 | add_dependencies(buildtests_cxx qps_worker) |
| 738 | add_dependencies(buildtests_cxx reconnect_interop_client) |
| 739 | add_dependencies(buildtests_cxx reconnect_interop_server) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 740 | add_dependencies(buildtests_cxx secure_auth_context_test) |
| 741 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 742 | add_dependencies(buildtests_cxx secure_sync_unary_ping_pong_test) |
| 743 | endif() |
| 744 | add_dependencies(buildtests_cxx server_builder_plugin_test) |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 745 | add_dependencies(buildtests_cxx server_builder_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 746 | add_dependencies(buildtests_cxx server_context_test_spouse_test) |
| 747 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 748 | add_dependencies(buildtests_cxx server_crash_test) |
| 749 | endif() |
| 750 | add_dependencies(buildtests_cxx server_crash_test_client) |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 751 | add_dependencies(buildtests_cxx server_request_call_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 752 | add_dependencies(buildtests_cxx shutdown_test) |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 753 | add_dependencies(buildtests_cxx stats_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 754 | add_dependencies(buildtests_cxx status_test) |
| 755 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 756 | add_dependencies(buildtests_cxx streaming_throughput_test) |
| 757 | endif() |
| 758 | add_dependencies(buildtests_cxx stress_test) |
| 759 | add_dependencies(buildtests_cxx thread_manager_test) |
| 760 | add_dependencies(buildtests_cxx thread_stress_test) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 761 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 762 | add_dependencies(buildtests_cxx writes_per_rpc_test) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 763 | endif() |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 764 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 765 | add_dependencies(buildtests_cxx resolver_component_test_unsecure) |
| 766 | endif() |
| 767 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 768 | add_dependencies(buildtests_cxx resolver_component_test) |
| 769 | endif() |
| 770 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 771 | add_dependencies(buildtests_cxx resolver_component_tests_runner_invoker_unsecure) |
| 772 | endif() |
| 773 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 774 | add_dependencies(buildtests_cxx resolver_component_tests_runner_invoker) |
| 775 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 776 | |
| 777 | add_custom_target(buildtests |
| 778 | DEPENDS buildtests_c buildtests_cxx) |
| 779 | endif (gRPC_BUILD_TESTS) |
| 780 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 781 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 782 | add_library(gpr |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 783 | src/core/lib/profiling/basic_timers.cc |
| 784 | src/core/lib/profiling/stap_timers.cc |
| 785 | src/core/lib/support/alloc.cc |
| 786 | src/core/lib/support/arena.cc |
| 787 | src/core/lib/support/atm.cc |
| 788 | src/core/lib/support/avl.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 789 | src/core/lib/support/cmdline.cc |
| 790 | src/core/lib/support/cpu_iphone.cc |
| 791 | src/core/lib/support/cpu_linux.cc |
| 792 | src/core/lib/support/cpu_posix.cc |
| 793 | src/core/lib/support/cpu_windows.cc |
| 794 | src/core/lib/support/env_linux.cc |
| 795 | src/core/lib/support/env_posix.cc |
| 796 | src/core/lib/support/env_windows.cc |
| 797 | src/core/lib/support/histogram.cc |
| 798 | src/core/lib/support/host_port.cc |
| 799 | src/core/lib/support/log.cc |
| 800 | src/core/lib/support/log_android.cc |
| 801 | src/core/lib/support/log_linux.cc |
| 802 | src/core/lib/support/log_posix.cc |
| 803 | src/core/lib/support/log_windows.cc |
| 804 | src/core/lib/support/mpscq.cc |
| 805 | src/core/lib/support/murmur_hash.cc |
| 806 | src/core/lib/support/stack_lockfree.cc |
| 807 | src/core/lib/support/string.cc |
| 808 | src/core/lib/support/string_posix.cc |
| 809 | src/core/lib/support/string_util_windows.cc |
| 810 | src/core/lib/support/string_windows.cc |
| 811 | src/core/lib/support/subprocess_posix.cc |
| 812 | src/core/lib/support/subprocess_windows.cc |
| 813 | src/core/lib/support/sync.cc |
| 814 | src/core/lib/support/sync_posix.cc |
| 815 | src/core/lib/support/sync_windows.cc |
| 816 | src/core/lib/support/thd.cc |
| 817 | src/core/lib/support/thd_posix.cc |
| 818 | src/core/lib/support/thd_windows.cc |
| 819 | src/core/lib/support/time.cc |
| 820 | src/core/lib/support/time_posix.cc |
| 821 | src/core/lib/support/time_precise.cc |
| 822 | src/core/lib/support/time_windows.cc |
| 823 | src/core/lib/support/tls_pthread.cc |
| 824 | src/core/lib/support/tmpfile_msys.cc |
| 825 | src/core/lib/support/tmpfile_posix.cc |
| 826 | src/core/lib/support/tmpfile_windows.cc |
| 827 | src/core/lib/support/wrap_memcpy.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 828 | ) |
| 829 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 830 | if(WIN32 AND MSVC) |
| 831 | set_target_properties(gpr PROPERTIES COMPILE_PDB_NAME "gpr" |
| 832 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 833 | ) |
| 834 | if (gRPC_INSTALL) |
| 835 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 836 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 837 | ) |
| 838 | endif() |
| 839 | endif() |
| 840 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 841 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 842 | target_include_directories(gpr |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 843 | 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] | 844 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 845 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 846 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 847 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 848 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 849 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 850 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 851 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 852 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 853 | ) |
| 854 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 855 | target_link_libraries(gpr |
| 856 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 857 | ) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 858 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 859 | foreach(_hdr |
| 860 | include/grpc/support/alloc.h |
| 861 | include/grpc/support/atm.h |
| 862 | include/grpc/support/atm_gcc_atomic.h |
| 863 | include/grpc/support/atm_gcc_sync.h |
| 864 | include/grpc/support/atm_windows.h |
| 865 | include/grpc/support/avl.h |
| 866 | include/grpc/support/cmdline.h |
| 867 | include/grpc/support/cpu.h |
| 868 | include/grpc/support/histogram.h |
| 869 | include/grpc/support/host_port.h |
| 870 | include/grpc/support/log.h |
| 871 | include/grpc/support/log_windows.h |
| 872 | include/grpc/support/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 873 | include/grpc/support/string_util.h |
| 874 | include/grpc/support/subprocess.h |
| 875 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 876 | include/grpc/support/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 877 | include/grpc/support/sync_generic.h |
| 878 | include/grpc/support/sync_posix.h |
| 879 | include/grpc/support/sync_windows.h |
| 880 | include/grpc/support/thd.h |
| 881 | include/grpc/support/time.h |
| 882 | include/grpc/support/tls.h |
| 883 | include/grpc/support/tls_gcc.h |
| 884 | include/grpc/support/tls_msvc.h |
| 885 | include/grpc/support/tls_pthread.h |
| 886 | include/grpc/support/useful.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 887 | include/grpc/impl/codegen/atm.h |
| 888 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 889 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 890 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 891 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 892 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 893 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 894 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 895 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 896 | include/grpc/impl/codegen/sync_generic.h |
| 897 | include/grpc/impl/codegen/sync_posix.h |
| 898 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 899 | ) |
| 900 | string(REPLACE "include/" "" _path ${_hdr}) |
| 901 | get_filename_component(_path ${_path} PATH) |
| 902 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 903 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 904 | ) |
| 905 | endforeach() |
| 906 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 907 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 908 | if (gRPC_INSTALL) |
| 909 | install(TARGETS gpr EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 910 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 911 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 912 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 913 | ) |
| 914 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 915 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 916 | if (gRPC_BUILD_TESTS) |
| 917 | |
| 918 | add_library(gpr_test_util |
| 919 | test/core/util/test_config.c |
| 920 | ) |
| 921 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 922 | if(WIN32 AND MSVC) |
| 923 | set_target_properties(gpr_test_util PROPERTIES COMPILE_PDB_NAME "gpr_test_util" |
| 924 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 925 | ) |
| 926 | if (gRPC_INSTALL) |
| 927 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 928 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 929 | ) |
| 930 | endif() |
| 931 | endif() |
| 932 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 933 | |
| 934 | target_include_directories(gpr_test_util |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 935 | 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] | 936 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 937 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 938 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 939 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 940 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 941 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 942 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 943 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 944 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 945 | ) |
| 946 | |
| 947 | target_link_libraries(gpr_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 948 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 949 | gpr |
| 950 | ) |
| 951 | |
| 952 | |
| 953 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 954 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 955 | add_library(grpc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 956 | src/core/lib/surface/init.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 957 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 958 | src/core/lib/channel/channel_args.cc |
| 959 | src/core/lib/channel/channel_stack.cc |
| 960 | src/core/lib/channel/channel_stack_builder.cc |
| 961 | src/core/lib/channel/connected_channel.cc |
| 962 | src/core/lib/channel/handshaker.cc |
| 963 | src/core/lib/channel/handshaker_factory.cc |
| 964 | src/core/lib/channel/handshaker_registry.cc |
| 965 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 966 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 967 | src/core/lib/compression/message_compress.cc |
| 968 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 969 | src/core/lib/compression/stream_compression_gzip.cc |
| 970 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 971 | src/core/lib/debug/stats.cc |
| 972 | src/core/lib/debug/stats_data.cc |
| 973 | src/core/lib/http/format_request.cc |
| 974 | src/core/lib/http/httpcli.cc |
| 975 | src/core/lib/http/parser.cc |
| 976 | src/core/lib/iomgr/call_combiner.cc |
| 977 | src/core/lib/iomgr/closure.cc |
| 978 | src/core/lib/iomgr/combiner.cc |
| 979 | src/core/lib/iomgr/endpoint.cc |
| 980 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 981 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 982 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 983 | src/core/lib/iomgr/error.cc |
| 984 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 985 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 986 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 987 | src/core/lib/iomgr/ev_poll_posix.cc |
| 988 | src/core/lib/iomgr/ev_posix.cc |
| 989 | src/core/lib/iomgr/ev_windows.cc |
| 990 | src/core/lib/iomgr/exec_ctx.cc |
| 991 | src/core/lib/iomgr/executor.cc |
| 992 | src/core/lib/iomgr/gethostname_fallback.cc |
| 993 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 994 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 995 | src/core/lib/iomgr/iocp_windows.cc |
| 996 | src/core/lib/iomgr/iomgr.cc |
| 997 | src/core/lib/iomgr/iomgr_posix.cc |
| 998 | src/core/lib/iomgr/iomgr_uv.cc |
| 999 | src/core/lib/iomgr/iomgr_windows.cc |
| 1000 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 1001 | src/core/lib/iomgr/load_file.cc |
| 1002 | src/core/lib/iomgr/lockfree_event.cc |
| 1003 | src/core/lib/iomgr/network_status_tracker.cc |
| 1004 | src/core/lib/iomgr/polling_entity.cc |
| 1005 | src/core/lib/iomgr/pollset_set_uv.cc |
| 1006 | src/core/lib/iomgr/pollset_set_windows.cc |
| 1007 | src/core/lib/iomgr/pollset_uv.cc |
| 1008 | src/core/lib/iomgr/pollset_windows.cc |
| 1009 | src/core/lib/iomgr/resolve_address_posix.cc |
| 1010 | src/core/lib/iomgr/resolve_address_uv.cc |
| 1011 | src/core/lib/iomgr/resolve_address_windows.cc |
| 1012 | src/core/lib/iomgr/resource_quota.cc |
| 1013 | src/core/lib/iomgr/sockaddr_utils.cc |
| 1014 | src/core/lib/iomgr/socket_factory_posix.cc |
| 1015 | src/core/lib/iomgr/socket_mutator.cc |
| 1016 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 1017 | src/core/lib/iomgr/socket_utils_linux.cc |
| 1018 | src/core/lib/iomgr/socket_utils_posix.cc |
| 1019 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 1020 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1021 | src/core/lib/iomgr/socket_windows.cc |
| 1022 | src/core/lib/iomgr/tcp_client_posix.cc |
| 1023 | src/core/lib/iomgr/tcp_client_uv.cc |
| 1024 | src/core/lib/iomgr/tcp_client_windows.cc |
| 1025 | src/core/lib/iomgr/tcp_posix.cc |
| 1026 | src/core/lib/iomgr/tcp_server_posix.cc |
| 1027 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 1028 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 1029 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 1030 | src/core/lib/iomgr/tcp_server_uv.cc |
| 1031 | src/core/lib/iomgr/tcp_server_windows.cc |
| 1032 | src/core/lib/iomgr/tcp_uv.cc |
| 1033 | src/core/lib/iomgr/tcp_windows.cc |
| 1034 | src/core/lib/iomgr/time_averaged_stats.cc |
| 1035 | src/core/lib/iomgr/timer_generic.cc |
| 1036 | src/core/lib/iomgr/timer_heap.cc |
| 1037 | src/core/lib/iomgr/timer_manager.cc |
| 1038 | src/core/lib/iomgr/timer_uv.cc |
| 1039 | src/core/lib/iomgr/udp_server.cc |
| 1040 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 1041 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 1042 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 1043 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 1044 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 1045 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 1046 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 1047 | src/core/lib/json/json.cc |
| 1048 | src/core/lib/json/json_reader.cc |
| 1049 | src/core/lib/json/json_string.cc |
| 1050 | src/core/lib/json/json_writer.cc |
| 1051 | src/core/lib/slice/b64.cc |
| 1052 | src/core/lib/slice/percent_encoding.cc |
| 1053 | src/core/lib/slice/slice.cc |
| 1054 | src/core/lib/slice/slice_buffer.cc |
| 1055 | src/core/lib/slice/slice_hash_table.cc |
| 1056 | src/core/lib/slice/slice_intern.cc |
| 1057 | src/core/lib/slice/slice_string_helpers.cc |
| 1058 | src/core/lib/surface/alarm.cc |
| 1059 | src/core/lib/surface/api_trace.cc |
| 1060 | src/core/lib/surface/byte_buffer.cc |
| 1061 | src/core/lib/surface/byte_buffer_reader.cc |
| 1062 | src/core/lib/surface/call.cc |
| 1063 | src/core/lib/surface/call_details.cc |
| 1064 | src/core/lib/surface/call_log_batch.cc |
| 1065 | src/core/lib/surface/channel.cc |
| 1066 | src/core/lib/surface/channel_init.cc |
| 1067 | src/core/lib/surface/channel_ping.cc |
| 1068 | src/core/lib/surface/channel_stack_type.cc |
| 1069 | src/core/lib/surface/completion_queue.cc |
| 1070 | src/core/lib/surface/completion_queue_factory.cc |
| 1071 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1072 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1073 | src/core/lib/surface/metadata_array.cc |
| 1074 | src/core/lib/surface/server.cc |
| 1075 | src/core/lib/surface/validate_metadata.cc |
| 1076 | src/core/lib/surface/version.cc |
| 1077 | src/core/lib/transport/bdp_estimator.cc |
| 1078 | src/core/lib/transport/byte_stream.cc |
| 1079 | src/core/lib/transport/connectivity_state.cc |
| 1080 | src/core/lib/transport/error_utils.cc |
| 1081 | src/core/lib/transport/metadata.cc |
| 1082 | src/core/lib/transport/metadata_batch.cc |
| 1083 | src/core/lib/transport/pid_controller.cc |
| 1084 | src/core/lib/transport/service_config.cc |
| 1085 | src/core/lib/transport/static_metadata.cc |
| 1086 | src/core/lib/transport/status_conversion.cc |
| 1087 | src/core/lib/transport/timeout_encoding.cc |
| 1088 | src/core/lib/transport/transport.cc |
| 1089 | src/core/lib/transport/transport_op_string.cc |
| 1090 | src/core/lib/debug/trace.cc |
| 1091 | src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.cc |
| 1092 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 1093 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 1094 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 1095 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 1096 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 1097 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 1098 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 1099 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 1100 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 1101 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 1102 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 1103 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 1104 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 1105 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 1106 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 1107 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 1108 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 1109 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 1110 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 1111 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 1112 | src/core/ext/transport/chttp2/transport/varint.cc |
| 1113 | src/core/ext/transport/chttp2/transport/writing.cc |
| 1114 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 1115 | src/core/ext/filters/http/client/http_client_filter.cc |
| 1116 | src/core/ext/filters/http/http_filters_plugin.cc |
| 1117 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 1118 | src/core/ext/filters/http/server/http_server_filter.cc |
| 1119 | src/core/lib/http/httpcli_security_connector.cc |
| 1120 | src/core/lib/security/context/security_context.cc |
| 1121 | src/core/lib/security/credentials/composite/composite_credentials.cc |
| 1122 | src/core/lib/security/credentials/credentials.cc |
| 1123 | src/core/lib/security/credentials/credentials_metadata.cc |
| 1124 | src/core/lib/security/credentials/fake/fake_credentials.cc |
| 1125 | src/core/lib/security/credentials/google_default/credentials_generic.cc |
| 1126 | src/core/lib/security/credentials/google_default/google_default_credentials.cc |
| 1127 | src/core/lib/security/credentials/iam/iam_credentials.cc |
| 1128 | src/core/lib/security/credentials/jwt/json_token.cc |
| 1129 | src/core/lib/security/credentials/jwt/jwt_credentials.cc |
| 1130 | src/core/lib/security/credentials/jwt/jwt_verifier.cc |
| 1131 | src/core/lib/security/credentials/oauth2/oauth2_credentials.cc |
| 1132 | src/core/lib/security/credentials/plugin/plugin_credentials.cc |
| 1133 | src/core/lib/security/credentials/ssl/ssl_credentials.cc |
| 1134 | src/core/lib/security/transport/client_auth_filter.cc |
| 1135 | src/core/lib/security/transport/lb_targets_info.cc |
| 1136 | src/core/lib/security/transport/secure_endpoint.cc |
| 1137 | src/core/lib/security/transport/security_connector.cc |
| 1138 | src/core/lib/security/transport/security_handshaker.cc |
| 1139 | src/core/lib/security/transport/server_auth_filter.cc |
| 1140 | src/core/lib/security/transport/tsi_error.cc |
| 1141 | src/core/lib/security/util/json_util.cc |
| 1142 | src/core/lib/surface/init_secure.cc |
| 1143 | src/core/tsi/fake_transport_security.cc |
| 1144 | src/core/tsi/gts_transport_security.cc |
| 1145 | src/core/tsi/ssl_transport_security.cc |
| 1146 | src/core/tsi/transport_security_grpc.cc |
| 1147 | src/core/tsi/transport_security.cc |
| 1148 | src/core/tsi/transport_security_adapter.cc |
| 1149 | src/core/ext/transport/chttp2/server/chttp2_server.cc |
| 1150 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc |
| 1151 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 1152 | src/core/ext/filters/client_channel/client_channel.cc |
| 1153 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 1154 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 1155 | src/core/ext/filters/client_channel/connector.cc |
| 1156 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 1157 | src/core/ext/filters/client_channel/http_proxy.cc |
| 1158 | src/core/ext/filters/client_channel/lb_policy.cc |
| 1159 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 1160 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 1161 | src/core/ext/filters/client_channel/parse_address.cc |
| 1162 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 1163 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1164 | src/core/ext/filters/client_channel/resolver.cc |
| 1165 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 1166 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1167 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1168 | src/core/ext/filters/client_channel/subchannel.cc |
| 1169 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1170 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1171 | src/core/ext/filters/deadline/deadline_filter.cc |
| 1172 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
| 1173 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc |
| 1174 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc |
| 1175 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 1176 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
| 1177 | src/core/ext/transport/inproc/inproc_plugin.cc |
| 1178 | src/core/ext/transport/inproc/inproc_transport.cc |
| 1179 | src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc |
| 1180 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc |
| 1181 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc |
| 1182 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc |
| 1183 | 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] | 1184 | 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] | 1185 | third_party/nanopb/pb_common.c |
| 1186 | third_party/nanopb/pb_decode.c |
| 1187 | third_party/nanopb/pb_encode.c |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1188 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
| 1189 | src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc |
| 1190 | src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc |
| 1191 | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc |
| 1192 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc |
| 1193 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc |
| 1194 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc |
| 1195 | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc |
| 1196 | src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc |
| 1197 | src/core/ext/filters/load_reporting/server_load_reporting_filter.cc |
| 1198 | src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc |
| 1199 | src/core/ext/census/base_resources.cc |
| 1200 | src/core/ext/census/context.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1201 | src/core/ext/census/gen/census.pb.c |
Alistair Veitch | a0c69f9 | 2016-08-31 12:01:27 -0700 | [diff] [blame] | 1202 | src/core/ext/census/gen/trace_context.pb.c |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1203 | src/core/ext/census/grpc_context.cc |
| 1204 | src/core/ext/census/grpc_filter.cc |
| 1205 | src/core/ext/census/grpc_plugin.cc |
| 1206 | src/core/ext/census/initialize.cc |
| 1207 | src/core/ext/census/intrusive_hash_map.cc |
| 1208 | src/core/ext/census/mlog.cc |
| 1209 | src/core/ext/census/operation.cc |
| 1210 | src/core/ext/census/placeholders.cc |
| 1211 | src/core/ext/census/resource.cc |
| 1212 | src/core/ext/census/trace_context.cc |
| 1213 | src/core/ext/census/tracing.cc |
| 1214 | src/core/ext/filters/max_age/max_age_filter.cc |
| 1215 | src/core/ext/filters/message_size/message_size_filter.cc |
| 1216 | src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc |
| 1217 | src/core/ext/filters/workarounds/workaround_utils.cc |
Yash Tibrewal | 1c9b584 | 2017-09-21 15:49:55 -0700 | [diff] [blame] | 1218 | src/core/plugin_registry/grpc_plugin_registry.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1219 | ) |
| 1220 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1221 | if(WIN32 AND MSVC) |
| 1222 | set_target_properties(grpc PROPERTIES COMPILE_PDB_NAME "grpc" |
| 1223 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1224 | ) |
| 1225 | if (gRPC_INSTALL) |
| 1226 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1227 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1228 | ) |
| 1229 | endif() |
| 1230 | endif() |
| 1231 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1232 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1233 | target_include_directories(grpc |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1234 | 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] | 1235 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1236 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1237 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1238 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1239 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1240 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1241 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1242 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1243 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1244 | ) |
| 1245 | |
| 1246 | target_link_libraries(grpc |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1247 | ${_gRPC_BASELIB_LIBRARIES} |
| 1248 | ${_gRPC_SSL_LIBRARIES} |
| 1249 | ${_gRPC_ZLIB_LIBRARIES} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1250 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1251 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1252 | gpr |
| 1253 | ) |
| 1254 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1255 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 1256 | include/grpc/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1257 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1258 | include/grpc/impl/codegen/compression_types.h |
| 1259 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 1260 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1261 | include/grpc/impl/codegen/grpc_types.h |
| 1262 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1263 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1264 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1265 | include/grpc/impl/codegen/atm.h |
| 1266 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1267 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1268 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1269 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1270 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1271 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1272 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1273 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1274 | include/grpc/impl/codegen/sync_generic.h |
| 1275 | include/grpc/impl/codegen/sync_posix.h |
| 1276 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1277 | include/grpc/grpc_security.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 1278 | include/grpc/byte_buffer.h |
| 1279 | include/grpc/byte_buffer_reader.h |
| 1280 | include/grpc/compression.h |
| 1281 | include/grpc/grpc.h |
| 1282 | include/grpc/grpc_posix.h |
| 1283 | include/grpc/grpc_security_constants.h |
| 1284 | include/grpc/load_reporting.h |
| 1285 | include/grpc/slice.h |
| 1286 | include/grpc/slice_buffer.h |
| 1287 | include/grpc/status.h |
| 1288 | include/grpc/support/workaround_list.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1289 | include/grpc/census.h |
| 1290 | ) |
| 1291 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1292 | get_filename_component(_path ${_path} PATH) |
| 1293 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1294 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1295 | ) |
| 1296 | endforeach() |
| 1297 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1298 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1299 | if (gRPC_INSTALL) |
| 1300 | install(TARGETS grpc EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1301 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 1302 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 1303 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1304 | ) |
| 1305 | endif() |
| 1306 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1307 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1308 | add_library(grpc_cronet |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1309 | src/core/lib/surface/init.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 1310 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1311 | src/core/lib/channel/channel_args.cc |
| 1312 | src/core/lib/channel/channel_stack.cc |
| 1313 | src/core/lib/channel/channel_stack_builder.cc |
| 1314 | src/core/lib/channel/connected_channel.cc |
| 1315 | src/core/lib/channel/handshaker.cc |
| 1316 | src/core/lib/channel/handshaker_factory.cc |
| 1317 | src/core/lib/channel/handshaker_registry.cc |
| 1318 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 1319 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1320 | src/core/lib/compression/message_compress.cc |
| 1321 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 1322 | src/core/lib/compression/stream_compression_gzip.cc |
| 1323 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1324 | src/core/lib/debug/stats.cc |
| 1325 | src/core/lib/debug/stats_data.cc |
| 1326 | src/core/lib/http/format_request.cc |
| 1327 | src/core/lib/http/httpcli.cc |
| 1328 | src/core/lib/http/parser.cc |
| 1329 | src/core/lib/iomgr/call_combiner.cc |
| 1330 | src/core/lib/iomgr/closure.cc |
| 1331 | src/core/lib/iomgr/combiner.cc |
| 1332 | src/core/lib/iomgr/endpoint.cc |
| 1333 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 1334 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 1335 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 1336 | src/core/lib/iomgr/error.cc |
| 1337 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 1338 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 1339 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 1340 | src/core/lib/iomgr/ev_poll_posix.cc |
| 1341 | src/core/lib/iomgr/ev_posix.cc |
| 1342 | src/core/lib/iomgr/ev_windows.cc |
| 1343 | src/core/lib/iomgr/exec_ctx.cc |
| 1344 | src/core/lib/iomgr/executor.cc |
| 1345 | src/core/lib/iomgr/gethostname_fallback.cc |
| 1346 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 1347 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 1348 | src/core/lib/iomgr/iocp_windows.cc |
| 1349 | src/core/lib/iomgr/iomgr.cc |
| 1350 | src/core/lib/iomgr/iomgr_posix.cc |
| 1351 | src/core/lib/iomgr/iomgr_uv.cc |
| 1352 | src/core/lib/iomgr/iomgr_windows.cc |
| 1353 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 1354 | src/core/lib/iomgr/load_file.cc |
| 1355 | src/core/lib/iomgr/lockfree_event.cc |
| 1356 | src/core/lib/iomgr/network_status_tracker.cc |
| 1357 | src/core/lib/iomgr/polling_entity.cc |
| 1358 | src/core/lib/iomgr/pollset_set_uv.cc |
| 1359 | src/core/lib/iomgr/pollset_set_windows.cc |
| 1360 | src/core/lib/iomgr/pollset_uv.cc |
| 1361 | src/core/lib/iomgr/pollset_windows.cc |
| 1362 | src/core/lib/iomgr/resolve_address_posix.cc |
| 1363 | src/core/lib/iomgr/resolve_address_uv.cc |
| 1364 | src/core/lib/iomgr/resolve_address_windows.cc |
| 1365 | src/core/lib/iomgr/resource_quota.cc |
| 1366 | src/core/lib/iomgr/sockaddr_utils.cc |
| 1367 | src/core/lib/iomgr/socket_factory_posix.cc |
| 1368 | src/core/lib/iomgr/socket_mutator.cc |
| 1369 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 1370 | src/core/lib/iomgr/socket_utils_linux.cc |
| 1371 | src/core/lib/iomgr/socket_utils_posix.cc |
| 1372 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 1373 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1374 | src/core/lib/iomgr/socket_windows.cc |
| 1375 | src/core/lib/iomgr/tcp_client_posix.cc |
| 1376 | src/core/lib/iomgr/tcp_client_uv.cc |
| 1377 | src/core/lib/iomgr/tcp_client_windows.cc |
| 1378 | src/core/lib/iomgr/tcp_posix.cc |
| 1379 | src/core/lib/iomgr/tcp_server_posix.cc |
| 1380 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 1381 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 1382 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 1383 | src/core/lib/iomgr/tcp_server_uv.cc |
| 1384 | src/core/lib/iomgr/tcp_server_windows.cc |
| 1385 | src/core/lib/iomgr/tcp_uv.cc |
| 1386 | src/core/lib/iomgr/tcp_windows.cc |
| 1387 | src/core/lib/iomgr/time_averaged_stats.cc |
| 1388 | src/core/lib/iomgr/timer_generic.cc |
| 1389 | src/core/lib/iomgr/timer_heap.cc |
| 1390 | src/core/lib/iomgr/timer_manager.cc |
| 1391 | src/core/lib/iomgr/timer_uv.cc |
| 1392 | src/core/lib/iomgr/udp_server.cc |
| 1393 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 1394 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 1395 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 1396 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 1397 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 1398 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 1399 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 1400 | src/core/lib/json/json.cc |
| 1401 | src/core/lib/json/json_reader.cc |
| 1402 | src/core/lib/json/json_string.cc |
| 1403 | src/core/lib/json/json_writer.cc |
| 1404 | src/core/lib/slice/b64.cc |
| 1405 | src/core/lib/slice/percent_encoding.cc |
| 1406 | src/core/lib/slice/slice.cc |
| 1407 | src/core/lib/slice/slice_buffer.cc |
| 1408 | src/core/lib/slice/slice_hash_table.cc |
| 1409 | src/core/lib/slice/slice_intern.cc |
| 1410 | src/core/lib/slice/slice_string_helpers.cc |
| 1411 | src/core/lib/surface/alarm.cc |
| 1412 | src/core/lib/surface/api_trace.cc |
| 1413 | src/core/lib/surface/byte_buffer.cc |
| 1414 | src/core/lib/surface/byte_buffer_reader.cc |
| 1415 | src/core/lib/surface/call.cc |
| 1416 | src/core/lib/surface/call_details.cc |
| 1417 | src/core/lib/surface/call_log_batch.cc |
| 1418 | src/core/lib/surface/channel.cc |
| 1419 | src/core/lib/surface/channel_init.cc |
| 1420 | src/core/lib/surface/channel_ping.cc |
| 1421 | src/core/lib/surface/channel_stack_type.cc |
| 1422 | src/core/lib/surface/completion_queue.cc |
| 1423 | src/core/lib/surface/completion_queue_factory.cc |
| 1424 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1425 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1426 | src/core/lib/surface/metadata_array.cc |
| 1427 | src/core/lib/surface/server.cc |
| 1428 | src/core/lib/surface/validate_metadata.cc |
| 1429 | src/core/lib/surface/version.cc |
| 1430 | src/core/lib/transport/bdp_estimator.cc |
| 1431 | src/core/lib/transport/byte_stream.cc |
| 1432 | src/core/lib/transport/connectivity_state.cc |
| 1433 | src/core/lib/transport/error_utils.cc |
| 1434 | src/core/lib/transport/metadata.cc |
| 1435 | src/core/lib/transport/metadata_batch.cc |
| 1436 | src/core/lib/transport/pid_controller.cc |
| 1437 | src/core/lib/transport/service_config.cc |
| 1438 | src/core/lib/transport/static_metadata.cc |
| 1439 | src/core/lib/transport/status_conversion.cc |
| 1440 | src/core/lib/transport/timeout_encoding.cc |
| 1441 | src/core/lib/transport/transport.cc |
| 1442 | src/core/lib/transport/transport_op_string.cc |
| 1443 | src/core/lib/debug/trace.cc |
| 1444 | src/core/ext/transport/cronet/client/secure/cronet_channel_create.cc |
| 1445 | src/core/ext/transport/cronet/transport/cronet_api_dummy.cc |
| 1446 | src/core/ext/transport/cronet/transport/cronet_transport.cc |
| 1447 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc |
| 1448 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 1449 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 1450 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 1451 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 1452 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 1453 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 1454 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 1455 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 1456 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 1457 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 1458 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 1459 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 1460 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 1461 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 1462 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 1463 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 1464 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 1465 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 1466 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 1467 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 1468 | src/core/ext/transport/chttp2/transport/varint.cc |
| 1469 | src/core/ext/transport/chttp2/transport/writing.cc |
| 1470 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 1471 | src/core/ext/filters/http/client/http_client_filter.cc |
| 1472 | src/core/ext/filters/http/http_filters_plugin.cc |
| 1473 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 1474 | src/core/ext/filters/http/server/http_server_filter.cc |
| 1475 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 1476 | src/core/ext/filters/client_channel/client_channel.cc |
| 1477 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 1478 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 1479 | src/core/ext/filters/client_channel/connector.cc |
| 1480 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 1481 | src/core/ext/filters/client_channel/http_proxy.cc |
| 1482 | src/core/ext/filters/client_channel/lb_policy.cc |
| 1483 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 1484 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 1485 | src/core/ext/filters/client_channel/parse_address.cc |
| 1486 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 1487 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1488 | src/core/ext/filters/client_channel/resolver.cc |
| 1489 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 1490 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1491 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1492 | src/core/ext/filters/client_channel/subchannel.cc |
| 1493 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1494 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1495 | src/core/ext/filters/deadline/deadline_filter.cc |
| 1496 | src/core/lib/http/httpcli_security_connector.cc |
| 1497 | src/core/lib/security/context/security_context.cc |
| 1498 | src/core/lib/security/credentials/composite/composite_credentials.cc |
| 1499 | src/core/lib/security/credentials/credentials.cc |
| 1500 | src/core/lib/security/credentials/credentials_metadata.cc |
| 1501 | src/core/lib/security/credentials/fake/fake_credentials.cc |
| 1502 | src/core/lib/security/credentials/google_default/credentials_generic.cc |
| 1503 | src/core/lib/security/credentials/google_default/google_default_credentials.cc |
| 1504 | src/core/lib/security/credentials/iam/iam_credentials.cc |
| 1505 | src/core/lib/security/credentials/jwt/json_token.cc |
| 1506 | src/core/lib/security/credentials/jwt/jwt_credentials.cc |
| 1507 | src/core/lib/security/credentials/jwt/jwt_verifier.cc |
| 1508 | src/core/lib/security/credentials/oauth2/oauth2_credentials.cc |
| 1509 | src/core/lib/security/credentials/plugin/plugin_credentials.cc |
| 1510 | src/core/lib/security/credentials/ssl/ssl_credentials.cc |
| 1511 | src/core/lib/security/transport/client_auth_filter.cc |
| 1512 | src/core/lib/security/transport/lb_targets_info.cc |
| 1513 | src/core/lib/security/transport/secure_endpoint.cc |
| 1514 | src/core/lib/security/transport/security_connector.cc |
| 1515 | src/core/lib/security/transport/security_handshaker.cc |
| 1516 | src/core/lib/security/transport/server_auth_filter.cc |
| 1517 | src/core/lib/security/transport/tsi_error.cc |
| 1518 | src/core/lib/security/util/json_util.cc |
| 1519 | src/core/lib/surface/init_secure.cc |
| 1520 | src/core/tsi/fake_transport_security.cc |
| 1521 | src/core/tsi/gts_transport_security.cc |
| 1522 | src/core/tsi/ssl_transport_security.cc |
| 1523 | src/core/tsi/transport_security_grpc.cc |
| 1524 | src/core/tsi/transport_security.cc |
| 1525 | src/core/tsi/transport_security_adapter.cc |
| 1526 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
| 1527 | src/core/ext/filters/load_reporting/server_load_reporting_filter.cc |
| 1528 | src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc |
Yash Tibrewal | 1c9b584 | 2017-09-21 15:49:55 -0700 | [diff] [blame] | 1529 | src/core/plugin_registry/grpc_cronet_plugin_registry.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1530 | ) |
| 1531 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1532 | if(WIN32 AND MSVC) |
| 1533 | set_target_properties(grpc_cronet PROPERTIES COMPILE_PDB_NAME "grpc_cronet" |
| 1534 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1535 | ) |
| 1536 | if (gRPC_INSTALL) |
| 1537 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cronet.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1538 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1539 | ) |
| 1540 | endif() |
| 1541 | endif() |
| 1542 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1543 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1544 | target_include_directories(grpc_cronet |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1545 | 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] | 1546 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1547 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1548 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1549 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1550 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1551 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1552 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1553 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1554 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1555 | ) |
| 1556 | |
| 1557 | target_link_libraries(grpc_cronet |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1558 | ${_gRPC_BASELIB_LIBRARIES} |
| 1559 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 807693b | 2017-06-12 10:15:27 +0200 | [diff] [blame] | 1560 | ${_gRPC_ZLIB_LIBRARIES} |
| 1561 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1562 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1563 | gpr |
| 1564 | ) |
| 1565 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1566 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 1567 | include/grpc/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1568 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1569 | include/grpc/impl/codegen/compression_types.h |
| 1570 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 1571 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1572 | include/grpc/impl/codegen/grpc_types.h |
| 1573 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1574 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1575 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1576 | include/grpc/impl/codegen/atm.h |
| 1577 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1578 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1579 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1580 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1581 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1582 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1583 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1584 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1585 | include/grpc/impl/codegen/sync_generic.h |
| 1586 | include/grpc/impl/codegen/sync_posix.h |
| 1587 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1588 | include/grpc/grpc_cronet.h |
| 1589 | include/grpc/grpc_security.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 1590 | include/grpc/grpc_security_constants.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1591 | ) |
| 1592 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1593 | get_filename_component(_path ${_path} PATH) |
| 1594 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1595 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1596 | ) |
| 1597 | endforeach() |
| 1598 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1599 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1600 | if (gRPC_INSTALL) |
| 1601 | install(TARGETS grpc_cronet EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1602 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 1603 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 1604 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1605 | ) |
| 1606 | endif() |
| 1607 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1608 | if (gRPC_BUILD_TESTS) |
| 1609 | |
| 1610 | add_library(grpc_test_util |
| 1611 | test/core/end2end/data/client_certs.c |
| 1612 | test/core/end2end/data/server1_cert.c |
| 1613 | test/core/end2end/data/server1_key.c |
| 1614 | test/core/end2end/data/test_root_cert.c |
| 1615 | test/core/security/oauth2_utils.c |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1616 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1617 | test/core/end2end/cq_verifier.c |
Craig Tiller | e067b6e | 2017-03-06 14:46:37 -0800 | [diff] [blame] | 1618 | test/core/end2end/fixtures/http_proxy_fixture.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1619 | test/core/end2end/fixtures/proxy.c |
| 1620 | test/core/iomgr/endpoint_tests.c |
Craig Tiller | 61eb40c | 2017-02-03 13:46:33 -0800 | [diff] [blame] | 1621 | test/core/util/debugger_macros.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1622 | test/core/util/grpc_profiler.c |
| 1623 | test/core/util/memory_counters.c |
| 1624 | test/core/util/mock_endpoint.c |
| 1625 | test/core/util/parse_hexstring.c |
| 1626 | test/core/util/passthru_endpoint.c |
Craig Tiller | cba864b | 2017-02-17 10:27:56 -0800 | [diff] [blame] | 1627 | test/core/util/port.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1628 | test/core/util/port_server_client.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1629 | test/core/util/slice_splitter.c |
Craig Tiller | fe5f497 | 2017-02-13 16:26:27 -0800 | [diff] [blame] | 1630 | test/core/util/trickle_endpoint.c |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 1631 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1632 | src/core/lib/channel/channel_args.cc |
| 1633 | src/core/lib/channel/channel_stack.cc |
| 1634 | src/core/lib/channel/channel_stack_builder.cc |
| 1635 | src/core/lib/channel/connected_channel.cc |
| 1636 | src/core/lib/channel/handshaker.cc |
| 1637 | src/core/lib/channel/handshaker_factory.cc |
| 1638 | src/core/lib/channel/handshaker_registry.cc |
| 1639 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 1640 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 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 |
| 1651 | src/core/lib/iomgr/closure.cc |
| 1652 | src/core/lib/iomgr/combiner.cc |
| 1653 | src/core/lib/iomgr/endpoint.cc |
| 1654 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 1655 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 1656 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 1657 | src/core/lib/iomgr/error.cc |
| 1658 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 1659 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 1660 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 1661 | src/core/lib/iomgr/ev_poll_posix.cc |
| 1662 | src/core/lib/iomgr/ev_posix.cc |
| 1663 | src/core/lib/iomgr/ev_windows.cc |
| 1664 | src/core/lib/iomgr/exec_ctx.cc |
| 1665 | src/core/lib/iomgr/executor.cc |
| 1666 | src/core/lib/iomgr/gethostname_fallback.cc |
| 1667 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 1668 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 1669 | src/core/lib/iomgr/iocp_windows.cc |
| 1670 | src/core/lib/iomgr/iomgr.cc |
| 1671 | src/core/lib/iomgr/iomgr_posix.cc |
| 1672 | src/core/lib/iomgr/iomgr_uv.cc |
| 1673 | src/core/lib/iomgr/iomgr_windows.cc |
| 1674 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 1675 | src/core/lib/iomgr/load_file.cc |
| 1676 | src/core/lib/iomgr/lockfree_event.cc |
| 1677 | src/core/lib/iomgr/network_status_tracker.cc |
| 1678 | src/core/lib/iomgr/polling_entity.cc |
| 1679 | src/core/lib/iomgr/pollset_set_uv.cc |
| 1680 | src/core/lib/iomgr/pollset_set_windows.cc |
| 1681 | src/core/lib/iomgr/pollset_uv.cc |
| 1682 | src/core/lib/iomgr/pollset_windows.cc |
| 1683 | src/core/lib/iomgr/resolve_address_posix.cc |
| 1684 | src/core/lib/iomgr/resolve_address_uv.cc |
| 1685 | src/core/lib/iomgr/resolve_address_windows.cc |
| 1686 | src/core/lib/iomgr/resource_quota.cc |
| 1687 | src/core/lib/iomgr/sockaddr_utils.cc |
| 1688 | src/core/lib/iomgr/socket_factory_posix.cc |
| 1689 | src/core/lib/iomgr/socket_mutator.cc |
| 1690 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 1691 | src/core/lib/iomgr/socket_utils_linux.cc |
| 1692 | src/core/lib/iomgr/socket_utils_posix.cc |
| 1693 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 1694 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1695 | src/core/lib/iomgr/socket_windows.cc |
| 1696 | src/core/lib/iomgr/tcp_client_posix.cc |
| 1697 | src/core/lib/iomgr/tcp_client_uv.cc |
| 1698 | src/core/lib/iomgr/tcp_client_windows.cc |
| 1699 | src/core/lib/iomgr/tcp_posix.cc |
| 1700 | src/core/lib/iomgr/tcp_server_posix.cc |
| 1701 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 1702 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 1703 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 1704 | src/core/lib/iomgr/tcp_server_uv.cc |
| 1705 | src/core/lib/iomgr/tcp_server_windows.cc |
| 1706 | src/core/lib/iomgr/tcp_uv.cc |
| 1707 | src/core/lib/iomgr/tcp_windows.cc |
| 1708 | src/core/lib/iomgr/time_averaged_stats.cc |
| 1709 | src/core/lib/iomgr/timer_generic.cc |
| 1710 | src/core/lib/iomgr/timer_heap.cc |
| 1711 | src/core/lib/iomgr/timer_manager.cc |
| 1712 | src/core/lib/iomgr/timer_uv.cc |
| 1713 | src/core/lib/iomgr/udp_server.cc |
| 1714 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 1715 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 1716 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 1717 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 1718 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 1719 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 1720 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 1721 | src/core/lib/json/json.cc |
| 1722 | src/core/lib/json/json_reader.cc |
| 1723 | src/core/lib/json/json_string.cc |
| 1724 | src/core/lib/json/json_writer.cc |
| 1725 | src/core/lib/slice/b64.cc |
| 1726 | src/core/lib/slice/percent_encoding.cc |
| 1727 | src/core/lib/slice/slice.cc |
| 1728 | src/core/lib/slice/slice_buffer.cc |
| 1729 | src/core/lib/slice/slice_hash_table.cc |
| 1730 | src/core/lib/slice/slice_intern.cc |
| 1731 | src/core/lib/slice/slice_string_helpers.cc |
| 1732 | src/core/lib/surface/alarm.cc |
| 1733 | src/core/lib/surface/api_trace.cc |
| 1734 | src/core/lib/surface/byte_buffer.cc |
| 1735 | src/core/lib/surface/byte_buffer_reader.cc |
| 1736 | src/core/lib/surface/call.cc |
| 1737 | src/core/lib/surface/call_details.cc |
| 1738 | src/core/lib/surface/call_log_batch.cc |
| 1739 | src/core/lib/surface/channel.cc |
| 1740 | src/core/lib/surface/channel_init.cc |
| 1741 | src/core/lib/surface/channel_ping.cc |
| 1742 | src/core/lib/surface/channel_stack_type.cc |
| 1743 | src/core/lib/surface/completion_queue.cc |
| 1744 | src/core/lib/surface/completion_queue_factory.cc |
| 1745 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 1746 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1747 | src/core/lib/surface/metadata_array.cc |
| 1748 | src/core/lib/surface/server.cc |
| 1749 | src/core/lib/surface/validate_metadata.cc |
| 1750 | src/core/lib/surface/version.cc |
| 1751 | src/core/lib/transport/bdp_estimator.cc |
| 1752 | src/core/lib/transport/byte_stream.cc |
| 1753 | src/core/lib/transport/connectivity_state.cc |
| 1754 | src/core/lib/transport/error_utils.cc |
| 1755 | src/core/lib/transport/metadata.cc |
| 1756 | src/core/lib/transport/metadata_batch.cc |
| 1757 | src/core/lib/transport/pid_controller.cc |
| 1758 | src/core/lib/transport/service_config.cc |
| 1759 | src/core/lib/transport/static_metadata.cc |
| 1760 | src/core/lib/transport/status_conversion.cc |
| 1761 | src/core/lib/transport/timeout_encoding.cc |
| 1762 | src/core/lib/transport/transport.cc |
| 1763 | src/core/lib/transport/transport_op_string.cc |
| 1764 | src/core/lib/debug/trace.cc |
| 1765 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 1766 | src/core/ext/filters/client_channel/client_channel.cc |
| 1767 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 1768 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 1769 | src/core/ext/filters/client_channel/connector.cc |
| 1770 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 1771 | src/core/ext/filters/client_channel/http_proxy.cc |
| 1772 | src/core/ext/filters/client_channel/lb_policy.cc |
| 1773 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 1774 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 1775 | src/core/ext/filters/client_channel/parse_address.cc |
| 1776 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 1777 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 1778 | src/core/ext/filters/client_channel/resolver.cc |
| 1779 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 1780 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 1781 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 1782 | src/core/ext/filters/client_channel/subchannel.cc |
| 1783 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 1784 | src/core/ext/filters/client_channel/uri_parser.cc |
| 1785 | src/core/ext/filters/deadline/deadline_filter.cc |
| 1786 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 1787 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 1788 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 1789 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 1790 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 1791 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 1792 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 1793 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 1794 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 1795 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 1796 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 1797 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 1798 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 1799 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 1800 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 1801 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 1802 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 1803 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 1804 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 1805 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 1806 | src/core/ext/transport/chttp2/transport/varint.cc |
| 1807 | src/core/ext/transport/chttp2/transport/writing.cc |
| 1808 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 1809 | src/core/ext/filters/http/client/http_client_filter.cc |
| 1810 | src/core/ext/filters/http/http_filters_plugin.cc |
| 1811 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 1812 | src/core/ext/filters/http/server/http_server_filter.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1813 | ) |
| 1814 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1815 | if(WIN32 AND MSVC) |
| 1816 | set_target_properties(grpc_test_util PROPERTIES COMPILE_PDB_NAME "grpc_test_util" |
| 1817 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1818 | ) |
| 1819 | if (gRPC_INSTALL) |
| 1820 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1821 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1822 | ) |
| 1823 | endif() |
| 1824 | endif() |
| 1825 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1826 | |
| 1827 | target_include_directories(grpc_test_util |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 1828 | 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] | 1829 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1830 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1831 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 1832 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1833 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1834 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 1835 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1836 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1837 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 1838 | ) |
| 1839 | |
| 1840 | target_link_libraries(grpc_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1841 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1842 | gpr_test_util |
| 1843 | gpr |
| 1844 | grpc |
| 1845 | ) |
| 1846 | |
| 1847 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 1848 | include/grpc/impl/codegen/byte_buffer.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1849 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1850 | include/grpc/impl/codegen/compression_types.h |
| 1851 | include/grpc/impl/codegen/connectivity_state.h |
| 1852 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 1853 | include/grpc/impl/codegen/grpc_types.h |
| 1854 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1855 | include/grpc/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1856 | include/grpc/impl/codegen/status.h |
| 1857 | include/grpc/impl/codegen/atm.h |
| 1858 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1859 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1860 | include/grpc/impl/codegen/atm_windows.h |
| 1861 | include/grpc/impl/codegen/gpr_slice.h |
| 1862 | include/grpc/impl/codegen/gpr_types.h |
| 1863 | include/grpc/impl/codegen/port_platform.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1864 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 1865 | include/grpc/impl/codegen/sync_custom.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1866 | include/grpc/impl/codegen/sync_generic.h |
| 1867 | include/grpc/impl/codegen/sync_posix.h |
| 1868 | include/grpc/impl/codegen/sync_windows.h |
| 1869 | ) |
| 1870 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1871 | get_filename_component(_path ${_path} PATH) |
| 1872 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 1873 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1874 | ) |
| 1875 | endforeach() |
| 1876 | |
| 1877 | endif (gRPC_BUILD_TESTS) |
| 1878 | if (gRPC_BUILD_TESTS) |
| 1879 | |
| 1880 | add_library(grpc_test_util_unsecure |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1881 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1882 | test/core/end2end/cq_verifier.c |
Craig Tiller | e067b6e | 2017-03-06 14:46:37 -0800 | [diff] [blame] | 1883 | test/core/end2end/fixtures/http_proxy_fixture.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1884 | test/core/end2end/fixtures/proxy.c |
| 1885 | test/core/iomgr/endpoint_tests.c |
Craig Tiller | 61eb40c | 2017-02-03 13:46:33 -0800 | [diff] [blame] | 1886 | test/core/util/debugger_macros.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1887 | test/core/util/grpc_profiler.c |
| 1888 | test/core/util/memory_counters.c |
| 1889 | test/core/util/mock_endpoint.c |
| 1890 | test/core/util/parse_hexstring.c |
| 1891 | test/core/util/passthru_endpoint.c |
Craig Tiller | cba864b | 2017-02-17 10:27:56 -0800 | [diff] [blame] | 1892 | test/core/util/port.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1893 | test/core/util/port_server_client.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1894 | test/core/util/slice_splitter.c |
Craig Tiller | fe5f497 | 2017-02-13 16:26:27 -0800 | [diff] [blame] | 1895 | test/core/util/trickle_endpoint.c |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 1896 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1897 | src/core/lib/channel/channel_args.cc |
| 1898 | src/core/lib/channel/channel_stack.cc |
| 1899 | src/core/lib/channel/channel_stack_builder.cc |
| 1900 | src/core/lib/channel/connected_channel.cc |
| 1901 | src/core/lib/channel/handshaker.cc |
| 1902 | src/core/lib/channel/handshaker_factory.cc |
| 1903 | src/core/lib/channel/handshaker_registry.cc |
| 1904 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 1905 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1906 | src/core/lib/compression/message_compress.cc |
| 1907 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 1908 | src/core/lib/compression/stream_compression_gzip.cc |
| 1909 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1910 | src/core/lib/debug/stats.cc |
| 1911 | src/core/lib/debug/stats_data.cc |
| 1912 | src/core/lib/http/format_request.cc |
| 1913 | src/core/lib/http/httpcli.cc |
| 1914 | src/core/lib/http/parser.cc |
| 1915 | src/core/lib/iomgr/call_combiner.cc |
| 1916 | src/core/lib/iomgr/closure.cc |
| 1917 | src/core/lib/iomgr/combiner.cc |
| 1918 | src/core/lib/iomgr/endpoint.cc |
| 1919 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 1920 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 1921 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 1922 | src/core/lib/iomgr/error.cc |
| 1923 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 1924 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 1925 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 1926 | src/core/lib/iomgr/ev_poll_posix.cc |
| 1927 | src/core/lib/iomgr/ev_posix.cc |
| 1928 | src/core/lib/iomgr/ev_windows.cc |
| 1929 | src/core/lib/iomgr/exec_ctx.cc |
| 1930 | src/core/lib/iomgr/executor.cc |
| 1931 | src/core/lib/iomgr/gethostname_fallback.cc |
| 1932 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 1933 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 1934 | src/core/lib/iomgr/iocp_windows.cc |
| 1935 | src/core/lib/iomgr/iomgr.cc |
| 1936 | src/core/lib/iomgr/iomgr_posix.cc |
| 1937 | src/core/lib/iomgr/iomgr_uv.cc |
| 1938 | src/core/lib/iomgr/iomgr_windows.cc |
| 1939 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 1940 | src/core/lib/iomgr/load_file.cc |
| 1941 | src/core/lib/iomgr/lockfree_event.cc |
| 1942 | src/core/lib/iomgr/network_status_tracker.cc |
| 1943 | src/core/lib/iomgr/polling_entity.cc |
| 1944 | src/core/lib/iomgr/pollset_set_uv.cc |
| 1945 | src/core/lib/iomgr/pollset_set_windows.cc |
| 1946 | src/core/lib/iomgr/pollset_uv.cc |
| 1947 | src/core/lib/iomgr/pollset_windows.cc |
| 1948 | src/core/lib/iomgr/resolve_address_posix.cc |
| 1949 | src/core/lib/iomgr/resolve_address_uv.cc |
| 1950 | src/core/lib/iomgr/resolve_address_windows.cc |
| 1951 | src/core/lib/iomgr/resource_quota.cc |
| 1952 | src/core/lib/iomgr/sockaddr_utils.cc |
| 1953 | src/core/lib/iomgr/socket_factory_posix.cc |
| 1954 | src/core/lib/iomgr/socket_mutator.cc |
| 1955 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 1956 | src/core/lib/iomgr/socket_utils_linux.cc |
| 1957 | src/core/lib/iomgr/socket_utils_posix.cc |
| 1958 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 1959 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 1960 | src/core/lib/iomgr/socket_windows.cc |
| 1961 | src/core/lib/iomgr/tcp_client_posix.cc |
| 1962 | src/core/lib/iomgr/tcp_client_uv.cc |
| 1963 | src/core/lib/iomgr/tcp_client_windows.cc |
| 1964 | src/core/lib/iomgr/tcp_posix.cc |
| 1965 | src/core/lib/iomgr/tcp_server_posix.cc |
| 1966 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 1967 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 1968 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 1969 | src/core/lib/iomgr/tcp_server_uv.cc |
| 1970 | src/core/lib/iomgr/tcp_server_windows.cc |
| 1971 | src/core/lib/iomgr/tcp_uv.cc |
| 1972 | src/core/lib/iomgr/tcp_windows.cc |
| 1973 | src/core/lib/iomgr/time_averaged_stats.cc |
| 1974 | src/core/lib/iomgr/timer_generic.cc |
| 1975 | src/core/lib/iomgr/timer_heap.cc |
| 1976 | src/core/lib/iomgr/timer_manager.cc |
| 1977 | src/core/lib/iomgr/timer_uv.cc |
| 1978 | src/core/lib/iomgr/udp_server.cc |
| 1979 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 1980 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 1981 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 1982 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 1983 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 1984 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 1985 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 1986 | src/core/lib/json/json.cc |
| 1987 | src/core/lib/json/json_reader.cc |
| 1988 | src/core/lib/json/json_string.cc |
| 1989 | src/core/lib/json/json_writer.cc |
| 1990 | src/core/lib/slice/b64.cc |
| 1991 | src/core/lib/slice/percent_encoding.cc |
| 1992 | src/core/lib/slice/slice.cc |
| 1993 | src/core/lib/slice/slice_buffer.cc |
| 1994 | src/core/lib/slice/slice_hash_table.cc |
| 1995 | src/core/lib/slice/slice_intern.cc |
| 1996 | src/core/lib/slice/slice_string_helpers.cc |
| 1997 | src/core/lib/surface/alarm.cc |
| 1998 | src/core/lib/surface/api_trace.cc |
| 1999 | src/core/lib/surface/byte_buffer.cc |
| 2000 | src/core/lib/surface/byte_buffer_reader.cc |
| 2001 | src/core/lib/surface/call.cc |
| 2002 | src/core/lib/surface/call_details.cc |
| 2003 | src/core/lib/surface/call_log_batch.cc |
| 2004 | src/core/lib/surface/channel.cc |
| 2005 | src/core/lib/surface/channel_init.cc |
| 2006 | src/core/lib/surface/channel_ping.cc |
| 2007 | src/core/lib/surface/channel_stack_type.cc |
| 2008 | src/core/lib/surface/completion_queue.cc |
| 2009 | src/core/lib/surface/completion_queue_factory.cc |
| 2010 | src/core/lib/surface/event_string.cc |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 2011 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2012 | src/core/lib/surface/metadata_array.cc |
| 2013 | src/core/lib/surface/server.cc |
| 2014 | src/core/lib/surface/validate_metadata.cc |
| 2015 | src/core/lib/surface/version.cc |
| 2016 | src/core/lib/transport/bdp_estimator.cc |
| 2017 | src/core/lib/transport/byte_stream.cc |
| 2018 | src/core/lib/transport/connectivity_state.cc |
| 2019 | src/core/lib/transport/error_utils.cc |
| 2020 | src/core/lib/transport/metadata.cc |
| 2021 | src/core/lib/transport/metadata_batch.cc |
| 2022 | src/core/lib/transport/pid_controller.cc |
| 2023 | src/core/lib/transport/service_config.cc |
| 2024 | src/core/lib/transport/static_metadata.cc |
| 2025 | src/core/lib/transport/status_conversion.cc |
| 2026 | src/core/lib/transport/timeout_encoding.cc |
| 2027 | src/core/lib/transport/transport.cc |
| 2028 | src/core/lib/transport/transport_op_string.cc |
| 2029 | src/core/lib/debug/trace.cc |
| 2030 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 2031 | src/core/ext/filters/client_channel/client_channel.cc |
| 2032 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 2033 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 2034 | src/core/ext/filters/client_channel/connector.cc |
| 2035 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 2036 | src/core/ext/filters/client_channel/http_proxy.cc |
| 2037 | src/core/ext/filters/client_channel/lb_policy.cc |
| 2038 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 2039 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 2040 | src/core/ext/filters/client_channel/parse_address.cc |
| 2041 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 2042 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 2043 | src/core/ext/filters/client_channel/resolver.cc |
| 2044 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 2045 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 2046 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 2047 | src/core/ext/filters/client_channel/subchannel.cc |
| 2048 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 2049 | src/core/ext/filters/client_channel/uri_parser.cc |
| 2050 | src/core/ext/filters/deadline/deadline_filter.cc |
| 2051 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 2052 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 2053 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 2054 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 2055 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 2056 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 2057 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 2058 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 2059 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 2060 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 2061 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 2062 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 2063 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 2064 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 2065 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 2066 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 2067 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 2068 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 2069 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 2070 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 2071 | src/core/ext/transport/chttp2/transport/varint.cc |
| 2072 | src/core/ext/transport/chttp2/transport/writing.cc |
| 2073 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 2074 | src/core/ext/filters/http/client/http_client_filter.cc |
| 2075 | src/core/ext/filters/http/http_filters_plugin.cc |
| 2076 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 2077 | src/core/ext/filters/http/server/http_server_filter.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2078 | ) |
| 2079 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2080 | if(WIN32 AND MSVC) |
| 2081 | set_target_properties(grpc_test_util_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_test_util_unsecure" |
| 2082 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2083 | ) |
| 2084 | if (gRPC_INSTALL) |
| 2085 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2086 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2087 | ) |
| 2088 | endif() |
| 2089 | endif() |
| 2090 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2091 | |
| 2092 | target_include_directories(grpc_test_util_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2093 | 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] | 2094 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2095 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2096 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2097 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2098 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2099 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 2100 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2101 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2102 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2103 | ) |
| 2104 | |
| 2105 | target_link_libraries(grpc_test_util_unsecure |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2106 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2107 | gpr |
| 2108 | gpr_test_util |
| 2109 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2110 | ) |
| 2111 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 2112 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2113 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 2114 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2115 | include/grpc/impl/codegen/compression_types.h |
| 2116 | include/grpc/impl/codegen/connectivity_state.h |
| 2117 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 2118 | include/grpc/impl/codegen/grpc_types.h |
| 2119 | include/grpc/impl/codegen/propagation_bits.h |
| 2120 | include/grpc/impl/codegen/slice.h |
| 2121 | include/grpc/impl/codegen/status.h |
| 2122 | include/grpc/impl/codegen/atm.h |
| 2123 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2124 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2125 | include/grpc/impl/codegen/atm_windows.h |
| 2126 | include/grpc/impl/codegen/gpr_slice.h |
| 2127 | include/grpc/impl/codegen/gpr_types.h |
| 2128 | include/grpc/impl/codegen/port_platform.h |
| 2129 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2130 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 2131 | include/grpc/impl/codegen/sync_generic.h |
| 2132 | include/grpc/impl/codegen/sync_posix.h |
| 2133 | include/grpc/impl/codegen/sync_windows.h |
| 2134 | ) |
| 2135 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2136 | get_filename_component(_path ${_path} PATH) |
| 2137 | install(FILES ${_hdr} |
| 2138 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
| 2139 | ) |
| 2140 | endforeach() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2141 | |
| 2142 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2143 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2144 | add_library(grpc_unsecure |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2145 | src/core/lib/surface/init.cc |
| 2146 | src/core/lib/surface/init_unsecure.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 2147 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2148 | src/core/lib/channel/channel_args.cc |
| 2149 | src/core/lib/channel/channel_stack.cc |
| 2150 | src/core/lib/channel/channel_stack_builder.cc |
| 2151 | src/core/lib/channel/connected_channel.cc |
| 2152 | src/core/lib/channel/handshaker.cc |
| 2153 | src/core/lib/channel/handshaker_factory.cc |
| 2154 | src/core/lib/channel/handshaker_registry.cc |
| 2155 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 2156 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2157 | src/core/lib/compression/message_compress.cc |
| 2158 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 2159 | src/core/lib/compression/stream_compression_gzip.cc |
| 2160 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2161 | src/core/lib/debug/stats.cc |
| 2162 | src/core/lib/debug/stats_data.cc |
| 2163 | src/core/lib/http/format_request.cc |
| 2164 | src/core/lib/http/httpcli.cc |
| 2165 | src/core/lib/http/parser.cc |
| 2166 | src/core/lib/iomgr/call_combiner.cc |
| 2167 | src/core/lib/iomgr/closure.cc |
| 2168 | src/core/lib/iomgr/combiner.cc |
| 2169 | src/core/lib/iomgr/endpoint.cc |
| 2170 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 2171 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 2172 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 2173 | src/core/lib/iomgr/error.cc |
| 2174 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 2175 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 2176 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 2177 | src/core/lib/iomgr/ev_poll_posix.cc |
| 2178 | src/core/lib/iomgr/ev_posix.cc |
| 2179 | src/core/lib/iomgr/ev_windows.cc |
| 2180 | src/core/lib/iomgr/exec_ctx.cc |
| 2181 | src/core/lib/iomgr/executor.cc |
| 2182 | src/core/lib/iomgr/gethostname_fallback.cc |
| 2183 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 2184 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 2185 | src/core/lib/iomgr/iocp_windows.cc |
| 2186 | src/core/lib/iomgr/iomgr.cc |
| 2187 | src/core/lib/iomgr/iomgr_posix.cc |
| 2188 | src/core/lib/iomgr/iomgr_uv.cc |
| 2189 | src/core/lib/iomgr/iomgr_windows.cc |
| 2190 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 2191 | src/core/lib/iomgr/load_file.cc |
| 2192 | src/core/lib/iomgr/lockfree_event.cc |
| 2193 | src/core/lib/iomgr/network_status_tracker.cc |
| 2194 | src/core/lib/iomgr/polling_entity.cc |
| 2195 | src/core/lib/iomgr/pollset_set_uv.cc |
| 2196 | src/core/lib/iomgr/pollset_set_windows.cc |
| 2197 | src/core/lib/iomgr/pollset_uv.cc |
| 2198 | src/core/lib/iomgr/pollset_windows.cc |
| 2199 | src/core/lib/iomgr/resolve_address_posix.cc |
| 2200 | src/core/lib/iomgr/resolve_address_uv.cc |
| 2201 | src/core/lib/iomgr/resolve_address_windows.cc |
| 2202 | src/core/lib/iomgr/resource_quota.cc |
| 2203 | src/core/lib/iomgr/sockaddr_utils.cc |
| 2204 | src/core/lib/iomgr/socket_factory_posix.cc |
| 2205 | src/core/lib/iomgr/socket_mutator.cc |
| 2206 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 2207 | src/core/lib/iomgr/socket_utils_linux.cc |
| 2208 | src/core/lib/iomgr/socket_utils_posix.cc |
| 2209 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 2210 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2211 | src/core/lib/iomgr/socket_windows.cc |
| 2212 | src/core/lib/iomgr/tcp_client_posix.cc |
| 2213 | src/core/lib/iomgr/tcp_client_uv.cc |
| 2214 | src/core/lib/iomgr/tcp_client_windows.cc |
| 2215 | src/core/lib/iomgr/tcp_posix.cc |
| 2216 | src/core/lib/iomgr/tcp_server_posix.cc |
| 2217 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 2218 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 2219 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 2220 | src/core/lib/iomgr/tcp_server_uv.cc |
| 2221 | src/core/lib/iomgr/tcp_server_windows.cc |
| 2222 | src/core/lib/iomgr/tcp_uv.cc |
| 2223 | src/core/lib/iomgr/tcp_windows.cc |
| 2224 | src/core/lib/iomgr/time_averaged_stats.cc |
| 2225 | src/core/lib/iomgr/timer_generic.cc |
| 2226 | src/core/lib/iomgr/timer_heap.cc |
| 2227 | src/core/lib/iomgr/timer_manager.cc |
| 2228 | src/core/lib/iomgr/timer_uv.cc |
| 2229 | src/core/lib/iomgr/udp_server.cc |
| 2230 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 2231 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 2232 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 2233 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 2234 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 2235 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 2236 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 2237 | src/core/lib/json/json.cc |
| 2238 | src/core/lib/json/json_reader.cc |
| 2239 | src/core/lib/json/json_string.cc |
| 2240 | src/core/lib/json/json_writer.cc |
| 2241 | src/core/lib/slice/b64.cc |
| 2242 | src/core/lib/slice/percent_encoding.cc |
| 2243 | src/core/lib/slice/slice.cc |
| 2244 | src/core/lib/slice/slice_buffer.cc |
| 2245 | src/core/lib/slice/slice_hash_table.cc |
| 2246 | src/core/lib/slice/slice_intern.cc |
| 2247 | src/core/lib/slice/slice_string_helpers.cc |
| 2248 | src/core/lib/surface/alarm.cc |
| 2249 | src/core/lib/surface/api_trace.cc |
| 2250 | src/core/lib/surface/byte_buffer.cc |
| 2251 | src/core/lib/surface/byte_buffer_reader.cc |
| 2252 | src/core/lib/surface/call.cc |
| 2253 | src/core/lib/surface/call_details.cc |
| 2254 | src/core/lib/surface/call_log_batch.cc |
| 2255 | src/core/lib/surface/channel.cc |
| 2256 | src/core/lib/surface/channel_init.cc |
| 2257 | src/core/lib/surface/channel_ping.cc |
| 2258 | src/core/lib/surface/channel_stack_type.cc |
| 2259 | src/core/lib/surface/completion_queue.cc |
| 2260 | src/core/lib/surface/completion_queue_factory.cc |
| 2261 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 2262 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2263 | src/core/lib/surface/metadata_array.cc |
| 2264 | src/core/lib/surface/server.cc |
| 2265 | src/core/lib/surface/validate_metadata.cc |
| 2266 | src/core/lib/surface/version.cc |
| 2267 | src/core/lib/transport/bdp_estimator.cc |
| 2268 | src/core/lib/transport/byte_stream.cc |
| 2269 | src/core/lib/transport/connectivity_state.cc |
| 2270 | src/core/lib/transport/error_utils.cc |
| 2271 | src/core/lib/transport/metadata.cc |
| 2272 | src/core/lib/transport/metadata_batch.cc |
| 2273 | src/core/lib/transport/pid_controller.cc |
| 2274 | src/core/lib/transport/service_config.cc |
| 2275 | src/core/lib/transport/static_metadata.cc |
| 2276 | src/core/lib/transport/status_conversion.cc |
| 2277 | src/core/lib/transport/timeout_encoding.cc |
| 2278 | src/core/lib/transport/transport.cc |
| 2279 | src/core/lib/transport/transport_op_string.cc |
| 2280 | src/core/lib/debug/trace.cc |
| 2281 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc |
| 2282 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc |
| 2283 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 2284 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 2285 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 2286 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 2287 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 2288 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 2289 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 2290 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 2291 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 2292 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 2293 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 2294 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 2295 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 2296 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 2297 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 2298 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 2299 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 2300 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 2301 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 2302 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 2303 | src/core/ext/transport/chttp2/transport/varint.cc |
| 2304 | src/core/ext/transport/chttp2/transport/writing.cc |
| 2305 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 2306 | src/core/ext/filters/http/client/http_client_filter.cc |
| 2307 | src/core/ext/filters/http/http_filters_plugin.cc |
| 2308 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 2309 | src/core/ext/filters/http/server/http_server_filter.cc |
| 2310 | src/core/ext/transport/chttp2/server/chttp2_server.cc |
| 2311 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 2312 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
| 2313 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
| 2314 | src/core/ext/filters/client_channel/channel_connectivity.cc |
| 2315 | src/core/ext/filters/client_channel/client_channel.cc |
| 2316 | src/core/ext/filters/client_channel/client_channel_factory.cc |
| 2317 | src/core/ext/filters/client_channel/client_channel_plugin.cc |
| 2318 | src/core/ext/filters/client_channel/connector.cc |
| 2319 | src/core/ext/filters/client_channel/http_connect_handshaker.cc |
| 2320 | src/core/ext/filters/client_channel/http_proxy.cc |
| 2321 | src/core/ext/filters/client_channel/lb_policy.cc |
| 2322 | src/core/ext/filters/client_channel/lb_policy_factory.cc |
| 2323 | src/core/ext/filters/client_channel/lb_policy_registry.cc |
| 2324 | src/core/ext/filters/client_channel/parse_address.cc |
| 2325 | src/core/ext/filters/client_channel/proxy_mapper.cc |
| 2326 | src/core/ext/filters/client_channel/proxy_mapper_registry.cc |
| 2327 | src/core/ext/filters/client_channel/resolver.cc |
| 2328 | src/core/ext/filters/client_channel/resolver_factory.cc |
| 2329 | src/core/ext/filters/client_channel/resolver_registry.cc |
| 2330 | src/core/ext/filters/client_channel/retry_throttle.cc |
| 2331 | src/core/ext/filters/client_channel/subchannel.cc |
| 2332 | src/core/ext/filters/client_channel/subchannel_index.cc |
| 2333 | src/core/ext/filters/client_channel/uri_parser.cc |
| 2334 | src/core/ext/filters/deadline/deadline_filter.cc |
| 2335 | src/core/ext/transport/inproc/inproc_plugin.cc |
| 2336 | src/core/ext/transport/inproc/inproc_transport.cc |
| 2337 | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc |
| 2338 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc |
| 2339 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc |
| 2340 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc |
| 2341 | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc |
| 2342 | src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc |
| 2343 | src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc |
| 2344 | src/core/ext/filters/load_reporting/server_load_reporting_filter.cc |
| 2345 | src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc |
| 2346 | src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc |
| 2347 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc |
| 2348 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.cc |
| 2349 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc |
| 2350 | 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] | 2351 | 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] | 2352 | third_party/nanopb/pb_common.c |
| 2353 | third_party/nanopb/pb_decode.c |
| 2354 | third_party/nanopb/pb_encode.c |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2355 | src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc |
| 2356 | src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc |
| 2357 | src/core/ext/census/base_resources.cc |
| 2358 | src/core/ext/census/context.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2359 | src/core/ext/census/gen/census.pb.c |
Alistair Veitch | a0c69f9 | 2016-08-31 12:01:27 -0700 | [diff] [blame] | 2360 | src/core/ext/census/gen/trace_context.pb.c |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2361 | src/core/ext/census/grpc_context.cc |
| 2362 | src/core/ext/census/grpc_filter.cc |
| 2363 | src/core/ext/census/grpc_plugin.cc |
| 2364 | src/core/ext/census/initialize.cc |
| 2365 | src/core/ext/census/intrusive_hash_map.cc |
| 2366 | src/core/ext/census/mlog.cc |
| 2367 | src/core/ext/census/operation.cc |
| 2368 | src/core/ext/census/placeholders.cc |
| 2369 | src/core/ext/census/resource.cc |
| 2370 | src/core/ext/census/trace_context.cc |
| 2371 | src/core/ext/census/tracing.cc |
| 2372 | src/core/ext/filters/max_age/max_age_filter.cc |
| 2373 | src/core/ext/filters/message_size/message_size_filter.cc |
| 2374 | src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc |
| 2375 | src/core/ext/filters/workarounds/workaround_utils.cc |
Yash Tibrewal | 1c9b584 | 2017-09-21 15:49:55 -0700 | [diff] [blame] | 2376 | src/core/plugin_registry/grpc_unsecure_plugin_registry.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2377 | ) |
| 2378 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2379 | if(WIN32 AND MSVC) |
| 2380 | set_target_properties(grpc_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_unsecure" |
| 2381 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2382 | ) |
| 2383 | if (gRPC_INSTALL) |
| 2384 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2385 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2386 | ) |
| 2387 | endif() |
| 2388 | endif() |
| 2389 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2390 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2391 | target_include_directories(grpc_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2392 | 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] | 2393 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2394 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2395 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2396 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2397 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2398 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 2399 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2400 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2401 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2402 | ) |
| 2403 | |
| 2404 | target_link_libraries(grpc_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2405 | ${_gRPC_BASELIB_LIBRARIES} |
Jan Tattermusch | 807693b | 2017-06-12 10:15:27 +0200 | [diff] [blame] | 2406 | ${_gRPC_ZLIB_LIBRARIES} |
| 2407 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2408 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2409 | gpr |
| 2410 | ) |
| 2411 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2412 | foreach(_hdr |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2413 | include/grpc/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2414 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2415 | include/grpc/impl/codegen/compression_types.h |
| 2416 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 2417 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2418 | include/grpc/impl/codegen/grpc_types.h |
| 2419 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2420 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2421 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2422 | include/grpc/impl/codegen/atm.h |
| 2423 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2424 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2425 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 2426 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 2427 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2428 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2429 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2430 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2431 | include/grpc/impl/codegen/sync_generic.h |
| 2432 | include/grpc/impl/codegen/sync_posix.h |
| 2433 | include/grpc/impl/codegen/sync_windows.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2434 | include/grpc/byte_buffer.h |
| 2435 | include/grpc/byte_buffer_reader.h |
| 2436 | include/grpc/compression.h |
| 2437 | include/grpc/grpc.h |
| 2438 | include/grpc/grpc_posix.h |
| 2439 | include/grpc/grpc_security_constants.h |
| 2440 | include/grpc/load_reporting.h |
| 2441 | include/grpc/slice.h |
| 2442 | include/grpc/slice_buffer.h |
| 2443 | include/grpc/status.h |
| 2444 | include/grpc/support/workaround_list.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2445 | include/grpc/census.h |
| 2446 | ) |
| 2447 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2448 | get_filename_component(_path ${_path} PATH) |
| 2449 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2450 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2451 | ) |
| 2452 | endforeach() |
| 2453 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2454 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2455 | if (gRPC_INSTALL) |
| 2456 | install(TARGETS grpc_unsecure EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2457 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 2458 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 2459 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2460 | ) |
| 2461 | endif() |
| 2462 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2463 | if (gRPC_BUILD_TESTS) |
| 2464 | |
| 2465 | add_library(reconnect_server |
| 2466 | test/core/util/reconnect_server.c |
| 2467 | ) |
| 2468 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2469 | if(WIN32 AND MSVC) |
| 2470 | set_target_properties(reconnect_server PROPERTIES COMPILE_PDB_NAME "reconnect_server" |
| 2471 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2472 | ) |
| 2473 | if (gRPC_INSTALL) |
| 2474 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/reconnect_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2475 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2476 | ) |
| 2477 | endif() |
| 2478 | endif() |
| 2479 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2480 | |
| 2481 | target_include_directories(reconnect_server |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2482 | 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] | 2483 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2484 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2485 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2486 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2487 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2488 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 2489 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2490 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2491 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2492 | ) |
| 2493 | |
| 2494 | target_link_libraries(reconnect_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2495 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2496 | test_tcp_server |
| 2497 | grpc_test_util |
| 2498 | grpc |
| 2499 | gpr_test_util |
| 2500 | gpr |
| 2501 | ) |
| 2502 | |
| 2503 | |
| 2504 | endif (gRPC_BUILD_TESTS) |
| 2505 | if (gRPC_BUILD_TESTS) |
| 2506 | |
| 2507 | add_library(test_tcp_server |
| 2508 | test/core/util/test_tcp_server.c |
| 2509 | ) |
| 2510 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2511 | if(WIN32 AND MSVC) |
| 2512 | set_target_properties(test_tcp_server PROPERTIES COMPILE_PDB_NAME "test_tcp_server" |
| 2513 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2514 | ) |
| 2515 | if (gRPC_INSTALL) |
| 2516 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/test_tcp_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2517 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2518 | ) |
| 2519 | endif() |
| 2520 | endif() |
| 2521 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2522 | |
| 2523 | target_include_directories(test_tcp_server |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2524 | 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] | 2525 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2526 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2527 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2528 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2529 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2530 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 2531 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2532 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2533 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2534 | ) |
| 2535 | |
| 2536 | target_link_libraries(test_tcp_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2537 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2538 | grpc_test_util |
| 2539 | grpc |
| 2540 | gpr_test_util |
| 2541 | gpr |
| 2542 | ) |
| 2543 | |
| 2544 | |
| 2545 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2546 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2547 | add_library(grpc++ |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2548 | src/cpp/client/insecure_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2549 | src/cpp/client/secure_credentials.cc |
| 2550 | src/cpp/common/auth_property_iterator.cc |
| 2551 | src/cpp/common/secure_auth_context.cc |
| 2552 | src/cpp/common/secure_channel_arguments.cc |
| 2553 | src/cpp/common/secure_create_auth_context.cc |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2554 | src/cpp/server/insecure_server_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2555 | src/cpp/server/secure_server_credentials.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2556 | src/cpp/client/channel_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2557 | src/cpp/client/client_context.cc |
| 2558 | src/cpp/client/create_channel.cc |
| 2559 | src/cpp/client/create_channel_internal.cc |
| 2560 | src/cpp/client/create_channel_posix.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2561 | src/cpp/client/credentials_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2562 | src/cpp/client/generic_stub.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2563 | src/cpp/common/channel_arguments.cc |
Mark D. Roth | 4004ac2 | 2016-08-02 10:08:27 -0700 | [diff] [blame] | 2564 | src/cpp/common/channel_filter.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2565 | src/cpp/common/completion_queue_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2566 | src/cpp/common/core_codegen.cc |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2567 | src/cpp/common/resource_quota_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2568 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 2569 | src/cpp/common/version_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2570 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2571 | src/cpp/server/channel_argument_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2572 | src/cpp/server/create_default_thread_pool.cc |
| 2573 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 2574 | src/cpp/server/health/default_health_check_service.cc |
| 2575 | src/cpp/server/health/health.pb.c |
| 2576 | src/cpp/server/health/health_check_service.cc |
| 2577 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2578 | src/cpp/server/server_builder.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2579 | src/cpp/server/server_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2580 | src/cpp/server/server_context.cc |
| 2581 | src/cpp/server/server_credentials.cc |
| 2582 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 8f7739b | 2016-10-13 15:12:55 -0700 | [diff] [blame] | 2583 | src/cpp/thread_manager/thread_manager.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2584 | src/cpp/util/byte_buffer_cc.cc |
| 2585 | src/cpp/util/slice_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2586 | src/cpp/util/status.cc |
| 2587 | src/cpp/util/string_ref.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2588 | src/cpp/util/time_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2589 | src/cpp/codegen/codegen_init.cc |
| 2590 | ) |
| 2591 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2592 | if(WIN32 AND MSVC) |
| 2593 | set_target_properties(grpc++ PROPERTIES COMPILE_PDB_NAME "grpc++" |
| 2594 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2595 | ) |
| 2596 | if (gRPC_INSTALL) |
| 2597 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2598 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2599 | ) |
| 2600 | endif() |
| 2601 | endif() |
| 2602 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2603 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2604 | target_include_directories(grpc++ |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2605 | 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] | 2606 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2607 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2608 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2609 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2610 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2611 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 2612 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2613 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2614 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2615 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2616 | ) |
| 2617 | |
| 2618 | target_link_libraries(grpc++ |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2619 | ${_gRPC_BASELIB_LIBRARIES} |
| 2620 | ${_gRPC_SSL_LIBRARIES} |
| 2621 | ${_gRPC_PROTOBUF_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2622 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2623 | grpc |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2624 | gpr |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2625 | ) |
| 2626 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2627 | foreach(_hdr |
| 2628 | include/grpc++/alarm.h |
| 2629 | include/grpc++/channel.h |
| 2630 | include/grpc++/client_context.h |
| 2631 | include/grpc++/completion_queue.h |
| 2632 | include/grpc++/create_channel.h |
| 2633 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 2634 | include/grpc++/ext/health_check_service_server_builder_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2635 | include/grpc++/generic/async_generic_service.h |
| 2636 | include/grpc++/generic/generic_stub.h |
| 2637 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 2638 | include/grpc++/health_check_service_interface.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2639 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2640 | include/grpc++/impl/channel_argument_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2641 | include/grpc++/impl/client_unary_call.h |
| 2642 | include/grpc++/impl/codegen/core_codegen.h |
| 2643 | include/grpc++/impl/grpc_library.h |
| 2644 | include/grpc++/impl/method_handler_impl.h |
| 2645 | include/grpc++/impl/rpc_method.h |
| 2646 | include/grpc++/impl/rpc_service_method.h |
| 2647 | include/grpc++/impl/serialization_traits.h |
| 2648 | include/grpc++/impl/server_builder_option.h |
| 2649 | include/grpc++/impl/server_builder_plugin.h |
| 2650 | include/grpc++/impl/server_initializer.h |
| 2651 | include/grpc++/impl/service_type.h |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2652 | include/grpc++/resource_quota.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2653 | include/grpc++/security/auth_context.h |
| 2654 | include/grpc++/security/auth_metadata_processor.h |
| 2655 | include/grpc++/security/credentials.h |
| 2656 | include/grpc++/security/server_credentials.h |
| 2657 | include/grpc++/server.h |
| 2658 | include/grpc++/server_builder.h |
| 2659 | include/grpc++/server_context.h |
| 2660 | include/grpc++/server_posix.h |
| 2661 | include/grpc++/support/async_stream.h |
| 2662 | include/grpc++/support/async_unary_call.h |
| 2663 | include/grpc++/support/byte_buffer.h |
| 2664 | include/grpc++/support/channel_arguments.h |
| 2665 | include/grpc++/support/config.h |
| 2666 | include/grpc++/support/slice.h |
| 2667 | include/grpc++/support/status.h |
| 2668 | include/grpc++/support/status_code_enum.h |
| 2669 | include/grpc++/support/string_ref.h |
| 2670 | include/grpc++/support/stub_options.h |
| 2671 | include/grpc++/support/sync_stream.h |
| 2672 | include/grpc++/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2673 | include/grpc/support/alloc.h |
| 2674 | include/grpc/support/atm.h |
| 2675 | include/grpc/support/atm_gcc_atomic.h |
| 2676 | include/grpc/support/atm_gcc_sync.h |
| 2677 | include/grpc/support/atm_windows.h |
| 2678 | include/grpc/support/avl.h |
| 2679 | include/grpc/support/cmdline.h |
| 2680 | include/grpc/support/cpu.h |
| 2681 | include/grpc/support/histogram.h |
| 2682 | include/grpc/support/host_port.h |
| 2683 | include/grpc/support/log.h |
| 2684 | include/grpc/support/log_windows.h |
| 2685 | include/grpc/support/port_platform.h |
| 2686 | include/grpc/support/string_util.h |
| 2687 | include/grpc/support/subprocess.h |
| 2688 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2689 | include/grpc/support/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2690 | include/grpc/support/sync_generic.h |
| 2691 | include/grpc/support/sync_posix.h |
| 2692 | include/grpc/support/sync_windows.h |
| 2693 | include/grpc/support/thd.h |
| 2694 | include/grpc/support/time.h |
| 2695 | include/grpc/support/tls.h |
| 2696 | include/grpc/support/tls_gcc.h |
| 2697 | include/grpc/support/tls_msvc.h |
| 2698 | include/grpc/support/tls_pthread.h |
| 2699 | include/grpc/support/useful.h |
| 2700 | include/grpc/impl/codegen/atm.h |
| 2701 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2702 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2703 | include/grpc/impl/codegen/atm_windows.h |
| 2704 | include/grpc/impl/codegen/gpr_slice.h |
| 2705 | include/grpc/impl/codegen/gpr_types.h |
| 2706 | include/grpc/impl/codegen/port_platform.h |
| 2707 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 2708 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2709 | include/grpc/impl/codegen/sync_generic.h |
| 2710 | include/grpc/impl/codegen/sync_posix.h |
| 2711 | include/grpc/impl/codegen/sync_windows.h |
| 2712 | include/grpc/byte_buffer.h |
| 2713 | include/grpc/byte_buffer_reader.h |
| 2714 | include/grpc/compression.h |
| 2715 | include/grpc/grpc.h |
| 2716 | include/grpc/grpc_posix.h |
| 2717 | include/grpc/grpc_security_constants.h |
| 2718 | include/grpc/load_reporting.h |
| 2719 | include/grpc/slice.h |
| 2720 | include/grpc/slice_buffer.h |
| 2721 | include/grpc/status.h |
| 2722 | include/grpc/support/workaround_list.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2723 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 2724 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2725 | include/grpc/impl/codegen/compression_types.h |
| 2726 | include/grpc/impl/codegen/connectivity_state.h |
| 2727 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 2728 | include/grpc/impl/codegen/grpc_types.h |
| 2729 | include/grpc/impl/codegen/propagation_bits.h |
| 2730 | include/grpc/impl/codegen/slice.h |
| 2731 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2732 | include/grpc++/impl/codegen/async_stream.h |
| 2733 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 2734 | include/grpc++/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2735 | include/grpc++/impl/codegen/call.h |
| 2736 | include/grpc++/impl/codegen/call_hook.h |
| 2737 | include/grpc++/impl/codegen/channel_interface.h |
| 2738 | include/grpc++/impl/codegen/client_context.h |
| 2739 | include/grpc++/impl/codegen/client_unary_call.h |
| 2740 | include/grpc++/impl/codegen/completion_queue.h |
| 2741 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 2742 | include/grpc++/impl/codegen/config.h |
| 2743 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 2744 | include/grpc++/impl/codegen/create_auth_context.h |
| 2745 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 2746 | include/grpc++/impl/codegen/metadata_map.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2747 | include/grpc++/impl/codegen/method_handler_impl.h |
| 2748 | include/grpc++/impl/codegen/rpc_method.h |
| 2749 | include/grpc++/impl/codegen/rpc_service_method.h |
| 2750 | include/grpc++/impl/codegen/security/auth_context.h |
| 2751 | include/grpc++/impl/codegen/serialization_traits.h |
| 2752 | include/grpc++/impl/codegen/server_context.h |
| 2753 | include/grpc++/impl/codegen/server_interface.h |
| 2754 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2755 | include/grpc++/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2756 | include/grpc++/impl/codegen/status.h |
| 2757 | include/grpc++/impl/codegen/status_code_enum.h |
| 2758 | include/grpc++/impl/codegen/string_ref.h |
| 2759 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2760 | include/grpc++/impl/codegen/sync_stream.h |
| 2761 | include/grpc++/impl/codegen/time.h |
Piotr Pietraszkiewicz | a5fac1f | 2017-02-09 11:15:44 +0100 | [diff] [blame] | 2762 | include/grpc++/impl/codegen/proto_utils.h |
| 2763 | include/grpc++/impl/codegen/config_protobuf.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2764 | ) |
| 2765 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2766 | get_filename_component(_path ${_path} PATH) |
| 2767 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2768 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2769 | ) |
| 2770 | endforeach() |
| 2771 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2772 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2773 | if (gRPC_INSTALL) |
| 2774 | install(TARGETS grpc++ EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 2775 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 2776 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 2777 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2778 | ) |
| 2779 | endif() |
| 2780 | |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 2781 | if (gRPC_BUILD_TESTS) |
| 2782 | |
| 2783 | add_library(grpc++_core_stats |
| 2784 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.pb.cc |
| 2785 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.grpc.pb.cc |
| 2786 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.pb.h |
| 2787 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/core/stats.grpc.pb.h |
| 2788 | src/cpp/util/core_stats.cc |
| 2789 | ) |
| 2790 | |
| 2791 | if(WIN32 AND MSVC) |
| 2792 | set_target_properties(grpc++_core_stats PROPERTIES COMPILE_PDB_NAME "grpc++_core_stats" |
| 2793 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2794 | ) |
| 2795 | if (gRPC_INSTALL) |
| 2796 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_core_stats.pdb |
| 2797 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
| 2798 | ) |
| 2799 | endif() |
| 2800 | endif() |
| 2801 | |
| 2802 | protobuf_generate_grpc_cpp( |
| 2803 | src/proto/grpc/core/stats.proto |
| 2804 | ) |
| 2805 | |
| 2806 | target_include_directories(grpc++_core_stats |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 2807 | 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] | 2808 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2809 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2810 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2811 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 2812 | PRIVATE ${BENCHMARK}/include |
| 2813 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 2814 | PRIVATE ${CARES_INCLUDE_DIR} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 2815 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 2816 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2817 | PRIVATE third_party/googletest/googletest/include |
| 2818 | PRIVATE third_party/googletest/googletest |
| 2819 | PRIVATE third_party/googletest/googlemock/include |
| 2820 | PRIVATE third_party/googletest/googlemock |
| 2821 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 2822 | ) |
| 2823 | |
| 2824 | target_link_libraries(grpc++_core_stats |
| 2825 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2826 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 2827 | grpc++ |
| 2828 | ) |
| 2829 | |
| 2830 | foreach(_hdr |
| 2831 | src/cpp/util/core_stats.h |
| 2832 | ) |
| 2833 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2834 | get_filename_component(_path ${_path} PATH) |
| 2835 | install(FILES ${_hdr} |
| 2836 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
| 2837 | ) |
| 2838 | endforeach() |
| 2839 | |
| 2840 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2841 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2842 | add_library(grpc++_cronet |
| 2843 | src/cpp/client/cronet_credentials.cc |
| 2844 | src/cpp/client/insecure_credentials.cc |
| 2845 | src/cpp/common/insecure_create_auth_context.cc |
| 2846 | src/cpp/server/insecure_server_credentials.cc |
| 2847 | src/cpp/client/channel_cc.cc |
| 2848 | src/cpp/client/client_context.cc |
| 2849 | src/cpp/client/create_channel.cc |
| 2850 | src/cpp/client/create_channel_internal.cc |
| 2851 | src/cpp/client/create_channel_posix.cc |
| 2852 | src/cpp/client/credentials_cc.cc |
| 2853 | src/cpp/client/generic_stub.cc |
| 2854 | src/cpp/common/channel_arguments.cc |
| 2855 | src/cpp/common/channel_filter.cc |
| 2856 | src/cpp/common/completion_queue_cc.cc |
| 2857 | src/cpp/common/core_codegen.cc |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 2858 | src/cpp/common/resource_quota_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2859 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 2860 | src/cpp/common/version_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2861 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2862 | src/cpp/server/channel_argument_option.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2863 | src/cpp/server/create_default_thread_pool.cc |
| 2864 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 2865 | src/cpp/server/health/default_health_check_service.cc |
| 2866 | src/cpp/server/health/health.pb.c |
| 2867 | src/cpp/server/health/health_check_service.cc |
| 2868 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2869 | src/cpp/server/server_builder.cc |
| 2870 | src/cpp/server/server_cc.cc |
| 2871 | src/cpp/server/server_context.cc |
| 2872 | src/cpp/server/server_credentials.cc |
| 2873 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 33d5494 | 2016-10-25 10:03:52 -0700 | [diff] [blame] | 2874 | src/cpp/thread_manager/thread_manager.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2875 | src/cpp/util/byte_buffer_cc.cc |
| 2876 | src/cpp/util/slice_cc.cc |
| 2877 | src/cpp/util/status.cc |
| 2878 | src/cpp/util/string_ref.cc |
| 2879 | src/cpp/util/time_cc.cc |
yang-g | 75ea6a2 | 2017-05-19 13:06:37 -0700 | [diff] [blame] | 2880 | src/cpp/codegen/codegen_init.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2881 | src/core/ext/transport/chttp2/client/insecure/channel_create.cc |
| 2882 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc |
| 2883 | src/core/ext/transport/chttp2/client/chttp2_connector.cc |
| 2884 | src/core/ext/transport/chttp2/transport/bin_decoder.cc |
| 2885 | src/core/ext/transport/chttp2/transport/bin_encoder.cc |
| 2886 | src/core/ext/transport/chttp2/transport/chttp2_plugin.cc |
| 2887 | src/core/ext/transport/chttp2/transport/chttp2_transport.cc |
| 2888 | src/core/ext/transport/chttp2/transport/flow_control.cc |
| 2889 | src/core/ext/transport/chttp2/transport/frame_data.cc |
| 2890 | src/core/ext/transport/chttp2/transport/frame_goaway.cc |
| 2891 | src/core/ext/transport/chttp2/transport/frame_ping.cc |
| 2892 | src/core/ext/transport/chttp2/transport/frame_rst_stream.cc |
| 2893 | src/core/ext/transport/chttp2/transport/frame_settings.cc |
| 2894 | src/core/ext/transport/chttp2/transport/frame_window_update.cc |
| 2895 | src/core/ext/transport/chttp2/transport/hpack_encoder.cc |
| 2896 | src/core/ext/transport/chttp2/transport/hpack_parser.cc |
| 2897 | src/core/ext/transport/chttp2/transport/hpack_table.cc |
| 2898 | src/core/ext/transport/chttp2/transport/http2_settings.cc |
| 2899 | src/core/ext/transport/chttp2/transport/huffsyms.cc |
| 2900 | src/core/ext/transport/chttp2/transport/incoming_metadata.cc |
| 2901 | src/core/ext/transport/chttp2/transport/parsing.cc |
| 2902 | src/core/ext/transport/chttp2/transport/stream_lists.cc |
| 2903 | src/core/ext/transport/chttp2/transport/stream_map.cc |
| 2904 | src/core/ext/transport/chttp2/transport/varint.cc |
| 2905 | src/core/ext/transport/chttp2/transport/writing.cc |
Craig Tiller | d48bd07 | 2017-10-06 11:25:14 -0700 | [diff] [blame] | 2906 | src/core/lib/backoff/backoff.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2907 | src/core/lib/channel/channel_args.cc |
| 2908 | src/core/lib/channel/channel_stack.cc |
| 2909 | src/core/lib/channel/channel_stack_builder.cc |
| 2910 | src/core/lib/channel/connected_channel.cc |
| 2911 | src/core/lib/channel/handshaker.cc |
| 2912 | src/core/lib/channel/handshaker_factory.cc |
| 2913 | src/core/lib/channel/handshaker_registry.cc |
| 2914 | src/core/lib/compression/compression.cc |
Muxi Yan | 03fc857 | 2017-10-06 18:47:09 -0700 | [diff] [blame] | 2915 | src/core/lib/compression/compression_internal.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2916 | src/core/lib/compression/message_compress.cc |
| 2917 | src/core/lib/compression/stream_compression.cc |
Yash Tibrewal | bc460fa | 2017-10-02 17:42:41 -0700 | [diff] [blame] | 2918 | src/core/lib/compression/stream_compression_gzip.cc |
| 2919 | src/core/lib/compression/stream_compression_identity.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2920 | src/core/lib/debug/stats.cc |
| 2921 | src/core/lib/debug/stats_data.cc |
| 2922 | src/core/lib/http/format_request.cc |
| 2923 | src/core/lib/http/httpcli.cc |
| 2924 | src/core/lib/http/parser.cc |
| 2925 | src/core/lib/iomgr/call_combiner.cc |
| 2926 | src/core/lib/iomgr/closure.cc |
| 2927 | src/core/lib/iomgr/combiner.cc |
| 2928 | src/core/lib/iomgr/endpoint.cc |
| 2929 | src/core/lib/iomgr/endpoint_pair_posix.cc |
| 2930 | src/core/lib/iomgr/endpoint_pair_uv.cc |
| 2931 | src/core/lib/iomgr/endpoint_pair_windows.cc |
| 2932 | src/core/lib/iomgr/error.cc |
| 2933 | src/core/lib/iomgr/ev_epoll1_linux.cc |
| 2934 | src/core/lib/iomgr/ev_epollex_linux.cc |
| 2935 | src/core/lib/iomgr/ev_epollsig_linux.cc |
| 2936 | src/core/lib/iomgr/ev_poll_posix.cc |
| 2937 | src/core/lib/iomgr/ev_posix.cc |
| 2938 | src/core/lib/iomgr/ev_windows.cc |
| 2939 | src/core/lib/iomgr/exec_ctx.cc |
| 2940 | src/core/lib/iomgr/executor.cc |
| 2941 | src/core/lib/iomgr/gethostname_fallback.cc |
| 2942 | src/core/lib/iomgr/gethostname_host_name_max.cc |
| 2943 | src/core/lib/iomgr/gethostname_sysconf.cc |
| 2944 | src/core/lib/iomgr/iocp_windows.cc |
| 2945 | src/core/lib/iomgr/iomgr.cc |
| 2946 | src/core/lib/iomgr/iomgr_posix.cc |
| 2947 | src/core/lib/iomgr/iomgr_uv.cc |
| 2948 | src/core/lib/iomgr/iomgr_windows.cc |
| 2949 | src/core/lib/iomgr/is_epollexclusive_available.cc |
| 2950 | src/core/lib/iomgr/load_file.cc |
| 2951 | src/core/lib/iomgr/lockfree_event.cc |
| 2952 | src/core/lib/iomgr/network_status_tracker.cc |
| 2953 | src/core/lib/iomgr/polling_entity.cc |
| 2954 | src/core/lib/iomgr/pollset_set_uv.cc |
| 2955 | src/core/lib/iomgr/pollset_set_windows.cc |
| 2956 | src/core/lib/iomgr/pollset_uv.cc |
| 2957 | src/core/lib/iomgr/pollset_windows.cc |
| 2958 | src/core/lib/iomgr/resolve_address_posix.cc |
| 2959 | src/core/lib/iomgr/resolve_address_uv.cc |
| 2960 | src/core/lib/iomgr/resolve_address_windows.cc |
| 2961 | src/core/lib/iomgr/resource_quota.cc |
| 2962 | src/core/lib/iomgr/sockaddr_utils.cc |
| 2963 | src/core/lib/iomgr/socket_factory_posix.cc |
| 2964 | src/core/lib/iomgr/socket_mutator.cc |
| 2965 | src/core/lib/iomgr/socket_utils_common_posix.cc |
| 2966 | src/core/lib/iomgr/socket_utils_linux.cc |
| 2967 | src/core/lib/iomgr/socket_utils_posix.cc |
| 2968 | src/core/lib/iomgr/socket_utils_uv.cc |
Yash Tibrewal | 26c7803 | 2017-09-28 14:34:43 -0700 | [diff] [blame] | 2969 | src/core/lib/iomgr/socket_utils_windows.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 2970 | src/core/lib/iomgr/socket_windows.cc |
| 2971 | src/core/lib/iomgr/tcp_client_posix.cc |
| 2972 | src/core/lib/iomgr/tcp_client_uv.cc |
| 2973 | src/core/lib/iomgr/tcp_client_windows.cc |
| 2974 | src/core/lib/iomgr/tcp_posix.cc |
| 2975 | src/core/lib/iomgr/tcp_server_posix.cc |
| 2976 | src/core/lib/iomgr/tcp_server_utils_posix_common.cc |
| 2977 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc |
| 2978 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc |
| 2979 | src/core/lib/iomgr/tcp_server_uv.cc |
| 2980 | src/core/lib/iomgr/tcp_server_windows.cc |
| 2981 | src/core/lib/iomgr/tcp_uv.cc |
| 2982 | src/core/lib/iomgr/tcp_windows.cc |
| 2983 | src/core/lib/iomgr/time_averaged_stats.cc |
| 2984 | src/core/lib/iomgr/timer_generic.cc |
| 2985 | src/core/lib/iomgr/timer_heap.cc |
| 2986 | src/core/lib/iomgr/timer_manager.cc |
| 2987 | src/core/lib/iomgr/timer_uv.cc |
| 2988 | src/core/lib/iomgr/udp_server.cc |
| 2989 | src/core/lib/iomgr/unix_sockets_posix.cc |
| 2990 | src/core/lib/iomgr/unix_sockets_posix_noop.cc |
| 2991 | src/core/lib/iomgr/wakeup_fd_cv.cc |
| 2992 | src/core/lib/iomgr/wakeup_fd_eventfd.cc |
| 2993 | src/core/lib/iomgr/wakeup_fd_nospecial.cc |
| 2994 | src/core/lib/iomgr/wakeup_fd_pipe.cc |
| 2995 | src/core/lib/iomgr/wakeup_fd_posix.cc |
| 2996 | src/core/lib/json/json.cc |
| 2997 | src/core/lib/json/json_reader.cc |
| 2998 | src/core/lib/json/json_string.cc |
| 2999 | src/core/lib/json/json_writer.cc |
| 3000 | src/core/lib/slice/b64.cc |
| 3001 | src/core/lib/slice/percent_encoding.cc |
| 3002 | src/core/lib/slice/slice.cc |
| 3003 | src/core/lib/slice/slice_buffer.cc |
| 3004 | src/core/lib/slice/slice_hash_table.cc |
| 3005 | src/core/lib/slice/slice_intern.cc |
| 3006 | src/core/lib/slice/slice_string_helpers.cc |
| 3007 | src/core/lib/surface/alarm.cc |
| 3008 | src/core/lib/surface/api_trace.cc |
| 3009 | src/core/lib/surface/byte_buffer.cc |
| 3010 | src/core/lib/surface/byte_buffer_reader.cc |
| 3011 | src/core/lib/surface/call.cc |
| 3012 | src/core/lib/surface/call_details.cc |
| 3013 | src/core/lib/surface/call_log_batch.cc |
| 3014 | src/core/lib/surface/channel.cc |
| 3015 | src/core/lib/surface/channel_init.cc |
| 3016 | src/core/lib/surface/channel_ping.cc |
| 3017 | src/core/lib/surface/channel_stack_type.cc |
| 3018 | src/core/lib/surface/completion_queue.cc |
| 3019 | src/core/lib/surface/completion_queue_factory.cc |
| 3020 | src/core/lib/surface/event_string.cc |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 3021 | src/core/lib/surface/lame_client.cc |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3022 | src/core/lib/surface/metadata_array.cc |
| 3023 | src/core/lib/surface/server.cc |
| 3024 | src/core/lib/surface/validate_metadata.cc |
| 3025 | src/core/lib/surface/version.cc |
| 3026 | src/core/lib/transport/bdp_estimator.cc |
| 3027 | src/core/lib/transport/byte_stream.cc |
| 3028 | src/core/lib/transport/connectivity_state.cc |
| 3029 | src/core/lib/transport/error_utils.cc |
| 3030 | src/core/lib/transport/metadata.cc |
| 3031 | src/core/lib/transport/metadata_batch.cc |
| 3032 | src/core/lib/transport/pid_controller.cc |
| 3033 | src/core/lib/transport/service_config.cc |
| 3034 | src/core/lib/transport/static_metadata.cc |
| 3035 | src/core/lib/transport/status_conversion.cc |
| 3036 | src/core/lib/transport/timeout_encoding.cc |
| 3037 | src/core/lib/transport/transport.cc |
| 3038 | src/core/lib/transport/transport_op_string.cc |
| 3039 | src/core/lib/debug/trace.cc |
| 3040 | src/core/ext/transport/chttp2/alpn/alpn.cc |
| 3041 | src/core/ext/filters/http/client/http_client_filter.cc |
| 3042 | src/core/ext/filters/http/http_filters_plugin.cc |
| 3043 | src/core/ext/filters/http/message_compress/message_compress_filter.cc |
| 3044 | src/core/ext/filters/http/server/http_server_filter.cc |
| 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 |
| 3069 | src/core/ext/census/base_resources.cc |
| 3070 | src/core/ext/census/context.cc |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 3071 | src/core/ext/census/gen/census.pb.c |
| 3072 | src/core/ext/census/gen/trace_context.pb.c |
Yash Tibrewal | 8306284 | 2017-09-21 18:56:08 -0700 | [diff] [blame] | 3073 | src/core/ext/census/grpc_context.cc |
| 3074 | src/core/ext/census/grpc_filter.cc |
| 3075 | src/core/ext/census/grpc_plugin.cc |
| 3076 | src/core/ext/census/initialize.cc |
| 3077 | src/core/ext/census/intrusive_hash_map.cc |
| 3078 | src/core/ext/census/mlog.cc |
| 3079 | src/core/ext/census/operation.cc |
| 3080 | src/core/ext/census/placeholders.cc |
| 3081 | src/core/ext/census/resource.cc |
| 3082 | src/core/ext/census/trace_context.cc |
| 3083 | src/core/ext/census/tracing.cc |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3084 | third_party/nanopb/pb_common.c |
| 3085 | third_party/nanopb/pb_decode.c |
| 3086 | third_party/nanopb/pb_encode.c |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3087 | ) |
| 3088 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3089 | if(WIN32 AND MSVC) |
| 3090 | set_target_properties(grpc++_cronet PROPERTIES COMPILE_PDB_NAME "grpc++_cronet" |
| 3091 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3092 | ) |
| 3093 | if (gRPC_INSTALL) |
| 3094 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_cronet.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3095 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3096 | ) |
| 3097 | endif() |
| 3098 | endif() |
| 3099 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3100 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3101 | target_include_directories(grpc++_cronet |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3102 | 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] | 3103 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3104 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3105 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3106 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3107 | PRIVATE ${BENCHMARK}/include |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3108 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | f1cd449 | 2016-10-25 11:26:17 -0700 | [diff] [blame] | 3109 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3110 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3111 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3112 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3113 | ) |
| 3114 | |
| 3115 | target_link_libraries(grpc++_cronet |
| 3116 | ${_gRPC_BASELIB_LIBRARIES} |
| 3117 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3118 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3119 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3120 | gpr |
| 3121 | grpc_cronet |
yang-g | 75ea6a2 | 2017-05-19 13:06:37 -0700 | [diff] [blame] | 3122 | grpc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3123 | ) |
| 3124 | |
| 3125 | foreach(_hdr |
| 3126 | include/grpc++/alarm.h |
| 3127 | include/grpc++/channel.h |
| 3128 | include/grpc++/client_context.h |
| 3129 | include/grpc++/completion_queue.h |
| 3130 | include/grpc++/create_channel.h |
| 3131 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 3132 | include/grpc++/ext/health_check_service_server_builder_option.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3133 | include/grpc++/generic/async_generic_service.h |
| 3134 | include/grpc++/generic/generic_stub.h |
| 3135 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 3136 | include/grpc++/health_check_service_interface.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3137 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 3138 | include/grpc++/impl/channel_argument_option.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3139 | include/grpc++/impl/client_unary_call.h |
| 3140 | include/grpc++/impl/codegen/core_codegen.h |
| 3141 | include/grpc++/impl/grpc_library.h |
| 3142 | include/grpc++/impl/method_handler_impl.h |
| 3143 | include/grpc++/impl/rpc_method.h |
| 3144 | include/grpc++/impl/rpc_service_method.h |
| 3145 | include/grpc++/impl/serialization_traits.h |
| 3146 | include/grpc++/impl/server_builder_option.h |
| 3147 | include/grpc++/impl/server_builder_plugin.h |
| 3148 | include/grpc++/impl/server_initializer.h |
| 3149 | include/grpc++/impl/service_type.h |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 3150 | include/grpc++/resource_quota.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3151 | include/grpc++/security/auth_context.h |
| 3152 | include/grpc++/security/auth_metadata_processor.h |
| 3153 | include/grpc++/security/credentials.h |
| 3154 | include/grpc++/security/server_credentials.h |
| 3155 | include/grpc++/server.h |
| 3156 | include/grpc++/server_builder.h |
| 3157 | include/grpc++/server_context.h |
| 3158 | include/grpc++/server_posix.h |
| 3159 | include/grpc++/support/async_stream.h |
| 3160 | include/grpc++/support/async_unary_call.h |
| 3161 | include/grpc++/support/byte_buffer.h |
| 3162 | include/grpc++/support/channel_arguments.h |
| 3163 | include/grpc++/support/config.h |
| 3164 | include/grpc++/support/slice.h |
| 3165 | include/grpc++/support/status.h |
| 3166 | include/grpc++/support/status_code_enum.h |
| 3167 | include/grpc++/support/string_ref.h |
| 3168 | include/grpc++/support/stub_options.h |
| 3169 | include/grpc++/support/sync_stream.h |
| 3170 | include/grpc++/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3171 | include/grpc/support/alloc.h |
| 3172 | include/grpc/support/atm.h |
| 3173 | include/grpc/support/atm_gcc_atomic.h |
| 3174 | include/grpc/support/atm_gcc_sync.h |
| 3175 | include/grpc/support/atm_windows.h |
| 3176 | include/grpc/support/avl.h |
| 3177 | include/grpc/support/cmdline.h |
| 3178 | include/grpc/support/cpu.h |
| 3179 | include/grpc/support/histogram.h |
| 3180 | include/grpc/support/host_port.h |
| 3181 | include/grpc/support/log.h |
| 3182 | include/grpc/support/log_windows.h |
| 3183 | include/grpc/support/port_platform.h |
| 3184 | include/grpc/support/string_util.h |
| 3185 | include/grpc/support/subprocess.h |
| 3186 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3187 | include/grpc/support/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3188 | include/grpc/support/sync_generic.h |
| 3189 | include/grpc/support/sync_posix.h |
| 3190 | include/grpc/support/sync_windows.h |
| 3191 | include/grpc/support/thd.h |
| 3192 | include/grpc/support/time.h |
| 3193 | include/grpc/support/tls.h |
| 3194 | include/grpc/support/tls_gcc.h |
| 3195 | include/grpc/support/tls_msvc.h |
| 3196 | include/grpc/support/tls_pthread.h |
| 3197 | include/grpc/support/useful.h |
| 3198 | include/grpc/impl/codegen/atm.h |
| 3199 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3200 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3201 | include/grpc/impl/codegen/atm_windows.h |
| 3202 | include/grpc/impl/codegen/gpr_slice.h |
| 3203 | include/grpc/impl/codegen/gpr_types.h |
| 3204 | include/grpc/impl/codegen/port_platform.h |
| 3205 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3206 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3207 | include/grpc/impl/codegen/sync_generic.h |
| 3208 | include/grpc/impl/codegen/sync_posix.h |
| 3209 | include/grpc/impl/codegen/sync_windows.h |
| 3210 | include/grpc/byte_buffer.h |
| 3211 | include/grpc/byte_buffer_reader.h |
| 3212 | include/grpc/compression.h |
| 3213 | include/grpc/grpc.h |
| 3214 | include/grpc/grpc_posix.h |
| 3215 | include/grpc/grpc_security_constants.h |
| 3216 | include/grpc/load_reporting.h |
| 3217 | include/grpc/slice.h |
| 3218 | include/grpc/slice_buffer.h |
| 3219 | include/grpc/status.h |
| 3220 | include/grpc/support/workaround_list.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3221 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3222 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3223 | include/grpc/impl/codegen/compression_types.h |
| 3224 | include/grpc/impl/codegen/connectivity_state.h |
| 3225 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 3226 | include/grpc/impl/codegen/grpc_types.h |
| 3227 | include/grpc/impl/codegen/propagation_bits.h |
| 3228 | include/grpc/impl/codegen/slice.h |
| 3229 | include/grpc/impl/codegen/status.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3230 | include/grpc++/impl/codegen/async_stream.h |
| 3231 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3232 | include/grpc++/impl/codegen/byte_buffer.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3233 | include/grpc++/impl/codegen/call.h |
| 3234 | include/grpc++/impl/codegen/call_hook.h |
| 3235 | include/grpc++/impl/codegen/channel_interface.h |
| 3236 | include/grpc++/impl/codegen/client_context.h |
| 3237 | include/grpc++/impl/codegen/client_unary_call.h |
| 3238 | include/grpc++/impl/codegen/completion_queue.h |
| 3239 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3240 | include/grpc++/impl/codegen/config.h |
| 3241 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3242 | include/grpc++/impl/codegen/create_auth_context.h |
| 3243 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3244 | include/grpc++/impl/codegen/metadata_map.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3245 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3246 | include/grpc++/impl/codegen/rpc_method.h |
| 3247 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3248 | include/grpc++/impl/codegen/security/auth_context.h |
| 3249 | include/grpc++/impl/codegen/serialization_traits.h |
| 3250 | include/grpc++/impl/codegen/server_context.h |
| 3251 | include/grpc++/impl/codegen/server_interface.h |
| 3252 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3253 | include/grpc++/impl/codegen/slice.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3254 | include/grpc++/impl/codegen/status.h |
| 3255 | include/grpc++/impl/codegen/status_code_enum.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3256 | include/grpc++/impl/codegen/string_ref.h |
| 3257 | include/grpc++/impl/codegen/stub_options.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3258 | include/grpc++/impl/codegen/sync_stream.h |
| 3259 | include/grpc++/impl/codegen/time.h |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 3260 | include/grpc/census.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3261 | ) |
| 3262 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3263 | get_filename_component(_path ${_path} PATH) |
| 3264 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3265 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3266 | ) |
| 3267 | endforeach() |
| 3268 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3269 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3270 | if (gRPC_INSTALL) |
| 3271 | install(TARGETS grpc++_cronet EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3272 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3273 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3274 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 3275 | ) |
| 3276 | endif() |
| 3277 | |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3278 | |
| 3279 | add_library(grpc++_error_details |
| 3280 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.cc |
| 3281 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.cc |
| 3282 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.h |
| 3283 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.h |
| 3284 | src/cpp/util/error_details.cc |
| 3285 | ) |
| 3286 | |
| 3287 | if(WIN32 AND MSVC) |
| 3288 | set_target_properties(grpc++_error_details PROPERTIES COMPILE_PDB_NAME "grpc++_error_details" |
| 3289 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3290 | ) |
| 3291 | if (gRPC_INSTALL) |
| 3292 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_error_details.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3293 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3294 | ) |
| 3295 | endif() |
| 3296 | endif() |
| 3297 | |
| 3298 | protobuf_generate_grpc_cpp( |
| 3299 | src/proto/grpc/status/status.proto |
| 3300 | ) |
| 3301 | |
| 3302 | target_include_directories(grpc++_error_details |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3303 | 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] | 3304 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3305 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3306 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3307 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 3308 | PRIVATE ${BENCHMARK}/include |
| 3309 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3310 | PRIVATE ${CARES_INCLUDE_DIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3311 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 3312 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3313 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3314 | ) |
| 3315 | |
| 3316 | target_link_libraries(grpc++_error_details |
| 3317 | ${_gRPC_BASELIB_LIBRARIES} |
| 3318 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3319 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3320 | grpc++ |
| 3321 | ) |
| 3322 | |
| 3323 | foreach(_hdr |
| 3324 | include/grpc++/support/error_details.h |
| 3325 | ) |
| 3326 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3327 | get_filename_component(_path ${_path} PATH) |
| 3328 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3329 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3330 | ) |
| 3331 | endforeach() |
| 3332 | |
| 3333 | |
| 3334 | if (gRPC_INSTALL) |
| 3335 | install(TARGETS grpc++_error_details EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3336 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3337 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3338 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 3339 | ) |
| 3340 | endif() |
| 3341 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3342 | if (gRPC_BUILD_TESTS) |
| 3343 | |
| 3344 | add_library(grpc++_proto_reflection_desc_db |
| 3345 | test/cpp/util/proto_reflection_descriptor_database.cc |
| 3346 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3347 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3348 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3349 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3350 | ) |
| 3351 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3352 | if(WIN32 AND MSVC) |
| 3353 | set_target_properties(grpc++_proto_reflection_desc_db PROPERTIES COMPILE_PDB_NAME "grpc++_proto_reflection_desc_db" |
| 3354 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3355 | ) |
| 3356 | if (gRPC_INSTALL) |
| 3357 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_proto_reflection_desc_db.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3358 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3359 | ) |
| 3360 | endif() |
| 3361 | endif() |
| 3362 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3363 | protobuf_generate_grpc_cpp( |
| 3364 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3365 | ) |
| 3366 | |
| 3367 | target_include_directories(grpc++_proto_reflection_desc_db |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3368 | 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] | 3369 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3370 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3371 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3372 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3373 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3374 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3375 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3376 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3377 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3378 | PRIVATE third_party/googletest/googletest/include |
| 3379 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3380 | PRIVATE third_party/googletest/googlemock/include |
| 3381 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3382 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3383 | ) |
| 3384 | |
| 3385 | target_link_libraries(grpc++_proto_reflection_desc_db |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3386 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3387 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3388 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3389 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3390 | ) |
| 3391 | |
| 3392 | foreach(_hdr |
| 3393 | include/grpc++/impl/codegen/config_protobuf.h |
| 3394 | ) |
| 3395 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3396 | get_filename_component(_path ${_path} PATH) |
| 3397 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3398 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3399 | ) |
| 3400 | endforeach() |
| 3401 | |
| 3402 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3403 | |
| 3404 | add_library(grpc++_reflection |
| 3405 | src/cpp/ext/proto_server_reflection.cc |
| 3406 | src/cpp/ext/proto_server_reflection_plugin.cc |
| 3407 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3408 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3409 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3410 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3411 | ) |
| 3412 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3413 | if(WIN32 AND MSVC) |
| 3414 | set_target_properties(grpc++_reflection PROPERTIES COMPILE_PDB_NAME "grpc++_reflection" |
| 3415 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3416 | ) |
| 3417 | if (gRPC_INSTALL) |
| 3418 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_reflection.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3419 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3420 | ) |
| 3421 | endif() |
| 3422 | endif() |
| 3423 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3424 | protobuf_generate_grpc_cpp( |
| 3425 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3426 | ) |
| 3427 | |
| 3428 | target_include_directories(grpc++_reflection |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3429 | 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] | 3430 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3431 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3432 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3433 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3434 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3435 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3436 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3437 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3438 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3439 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3440 | ) |
| 3441 | |
| 3442 | target_link_libraries(grpc++_reflection |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3443 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3444 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3445 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3446 | grpc |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3447 | ) |
| 3448 | |
| 3449 | foreach(_hdr |
| 3450 | include/grpc++/ext/proto_server_reflection_plugin.h |
| 3451 | ) |
| 3452 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3453 | get_filename_component(_path ${_path} PATH) |
| 3454 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3455 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3456 | ) |
| 3457 | endforeach() |
| 3458 | |
| 3459 | |
| 3460 | if (gRPC_INSTALL) |
| 3461 | install(TARGETS grpc++_reflection EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3462 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 3463 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 3464 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3465 | ) |
| 3466 | endif() |
| 3467 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3468 | if (gRPC_BUILD_TESTS) |
| 3469 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3470 | add_library(grpc++_test_config |
| 3471 | test/cpp/util/test_config_cc.cc |
| 3472 | ) |
| 3473 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3474 | if(WIN32 AND MSVC) |
| 3475 | set_target_properties(grpc++_test_config PROPERTIES COMPILE_PDB_NAME "grpc++_test_config" |
| 3476 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3477 | ) |
| 3478 | if (gRPC_INSTALL) |
| 3479 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_config.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3480 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3481 | ) |
| 3482 | endif() |
| 3483 | endif() |
| 3484 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3485 | |
| 3486 | target_include_directories(grpc++_test_config |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3487 | 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] | 3488 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3489 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3490 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3491 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3492 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3493 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3494 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3495 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3496 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3497 | PRIVATE third_party/googletest/googletest/include |
| 3498 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3499 | PRIVATE third_party/googletest/googlemock/include |
| 3500 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3501 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3502 | ) |
| 3503 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3504 | target_link_libraries(grpc++_test_config |
| 3505 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3506 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3507 | ) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3508 | |
| 3509 | |
| 3510 | endif (gRPC_BUILD_TESTS) |
| 3511 | if (gRPC_BUILD_TESTS) |
| 3512 | |
| 3513 | add_library(grpc++_test_util |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 3514 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.cc |
| 3515 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.cc |
| 3516 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.h |
| 3517 | ${_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] | 3518 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 3519 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 3520 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 3521 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 3522 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 3523 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 3524 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 3525 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3526 | ${_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] | 3527 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc |
| 3528 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 3529 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h |
| 3530 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h |
| 3531 | test/cpp/end2end/test_service_impl.cc |
| 3532 | test/cpp/util/byte_buffer_proto_helper.cc |
| 3533 | test/cpp/util/create_test_channel.cc |
| 3534 | test/cpp/util/string_ref_helper.cc |
| 3535 | test/cpp/util/subprocess.cc |
| 3536 | test/cpp/util/test_credentials_provider.cc |
| 3537 | src/cpp/codegen/codegen_init.cc |
| 3538 | ) |
| 3539 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3540 | if(WIN32 AND MSVC) |
| 3541 | set_target_properties(grpc++_test_util PROPERTIES COMPILE_PDB_NAME "grpc++_test_util" |
| 3542 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3543 | ) |
| 3544 | if (gRPC_INSTALL) |
| 3545 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_util.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3546 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3547 | ) |
| 3548 | endif() |
| 3549 | endif() |
| 3550 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3551 | protobuf_generate_grpc_cpp( |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 3552 | src/proto/grpc/health/v1/health.proto |
| 3553 | ) |
| 3554 | protobuf_generate_grpc_cpp( |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3555 | src/proto/grpc/testing/echo_messages.proto |
| 3556 | ) |
| 3557 | protobuf_generate_grpc_cpp( |
| 3558 | src/proto/grpc/testing/echo.proto |
| 3559 | ) |
| 3560 | protobuf_generate_grpc_cpp( |
| 3561 | src/proto/grpc/testing/duplicate/echo_duplicate.proto |
| 3562 | ) |
| 3563 | |
| 3564 | target_include_directories(grpc++_test_util |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3565 | 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] | 3566 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3567 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3568 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3569 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3570 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3571 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3572 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3573 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3574 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3575 | PRIVATE third_party/googletest/googletest/include |
| 3576 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 3577 | PRIVATE third_party/googletest/googlemock/include |
| 3578 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3579 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3580 | ) |
| 3581 | |
| 3582 | target_link_libraries(grpc++_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3583 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3584 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3585 | grpc++ |
| 3586 | grpc_test_util |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 3587 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3588 | ) |
| 3589 | |
| 3590 | foreach(_hdr |
| 3591 | include/grpc++/impl/codegen/async_stream.h |
| 3592 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3593 | include/grpc++/impl/codegen/byte_buffer.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3594 | include/grpc++/impl/codegen/call.h |
| 3595 | include/grpc++/impl/codegen/call_hook.h |
| 3596 | include/grpc++/impl/codegen/channel_interface.h |
| 3597 | include/grpc++/impl/codegen/client_context.h |
| 3598 | include/grpc++/impl/codegen/client_unary_call.h |
| 3599 | include/grpc++/impl/codegen/completion_queue.h |
| 3600 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3601 | include/grpc++/impl/codegen/config.h |
| 3602 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3603 | include/grpc++/impl/codegen/create_auth_context.h |
| 3604 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3605 | include/grpc++/impl/codegen/metadata_map.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3606 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3607 | include/grpc++/impl/codegen/rpc_method.h |
| 3608 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3609 | include/grpc++/impl/codegen/security/auth_context.h |
| 3610 | include/grpc++/impl/codegen/serialization_traits.h |
| 3611 | include/grpc++/impl/codegen/server_context.h |
| 3612 | include/grpc++/impl/codegen/server_interface.h |
| 3613 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3614 | include/grpc++/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3615 | include/grpc++/impl/codegen/status.h |
| 3616 | include/grpc++/impl/codegen/status_code_enum.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3617 | include/grpc++/impl/codegen/string_ref.h |
| 3618 | include/grpc++/impl/codegen/stub_options.h |
| 3619 | include/grpc++/impl/codegen/sync_stream.h |
| 3620 | include/grpc++/impl/codegen/time.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3621 | include/grpc/impl/codegen/byte_buffer.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3622 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3623 | include/grpc/impl/codegen/compression_types.h |
| 3624 | include/grpc/impl/codegen/connectivity_state.h |
| 3625 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 3626 | include/grpc/impl/codegen/grpc_types.h |
| 3627 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3628 | include/grpc/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3629 | include/grpc/impl/codegen/status.h |
| 3630 | include/grpc/impl/codegen/atm.h |
| 3631 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3632 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3633 | include/grpc/impl/codegen/atm_windows.h |
| 3634 | include/grpc/impl/codegen/gpr_slice.h |
| 3635 | include/grpc/impl/codegen/gpr_types.h |
| 3636 | include/grpc/impl/codegen/port_platform.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3637 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3638 | include/grpc/impl/codegen/sync_custom.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3639 | include/grpc/impl/codegen/sync_generic.h |
| 3640 | include/grpc/impl/codegen/sync_posix.h |
| 3641 | include/grpc/impl/codegen/sync_windows.h |
| 3642 | include/grpc++/impl/codegen/proto_utils.h |
| 3643 | include/grpc++/impl/codegen/config_protobuf.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3644 | ) |
| 3645 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3646 | get_filename_component(_path ${_path} PATH) |
| 3647 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3648 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3649 | ) |
| 3650 | endforeach() |
| 3651 | |
| 3652 | endif (gRPC_BUILD_TESTS) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3653 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3654 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3655 | add_library(grpc++_test_util_unsecure |
| 3656 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.cc |
| 3657 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.cc |
| 3658 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.h |
| 3659 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.h |
| 3660 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 3661 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 3662 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 3663 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 3664 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 3665 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 3666 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 3667 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 3668 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_mock.grpc.pb.h |
| 3669 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc |
| 3670 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 3671 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h |
| 3672 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h |
| 3673 | test/cpp/end2end/test_service_impl.cc |
| 3674 | test/cpp/util/byte_buffer_proto_helper.cc |
| 3675 | test/cpp/util/string_ref_helper.cc |
| 3676 | test/cpp/util/subprocess.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3677 | src/cpp/codegen/codegen_init.cc |
| 3678 | ) |
| 3679 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3680 | if(WIN32 AND MSVC) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3681 | 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] | 3682 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3683 | ) |
| 3684 | if (gRPC_INSTALL) |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3685 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_util_unsecure.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 3686 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3687 | ) |
| 3688 | endif() |
| 3689 | endif() |
| 3690 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3691 | protobuf_generate_grpc_cpp( |
| 3692 | src/proto/grpc/health/v1/health.proto |
| 3693 | ) |
| 3694 | protobuf_generate_grpc_cpp( |
| 3695 | src/proto/grpc/testing/echo_messages.proto |
| 3696 | ) |
| 3697 | protobuf_generate_grpc_cpp( |
| 3698 | src/proto/grpc/testing/echo.proto |
| 3699 | ) |
| 3700 | protobuf_generate_grpc_cpp( |
| 3701 | src/proto/grpc/testing/duplicate/echo_duplicate.proto |
| 3702 | ) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3703 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3704 | target_include_directories(grpc++_test_util_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3705 | 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] | 3706 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3707 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3708 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3709 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3710 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3711 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 3712 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3713 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3714 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3715 | PRIVATE third_party/googletest/googletest/include |
| 3716 | PRIVATE third_party/googletest/googletest |
| 3717 | PRIVATE third_party/googletest/googlemock/include |
| 3718 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3719 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3720 | ) |
| 3721 | |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3722 | target_link_libraries(grpc++_test_util_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3723 | ${_gRPC_PROTOBUF_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3724 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 3725 | grpc++_unsecure |
| 3726 | grpc_test_util_unsecure |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3727 | grpc_unsecure |
| 3728 | ) |
| 3729 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3730 | foreach(_hdr |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3731 | include/grpc++/impl/codegen/async_stream.h |
| 3732 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3733 | include/grpc++/impl/codegen/byte_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3734 | include/grpc++/impl/codegen/call.h |
| 3735 | include/grpc++/impl/codegen/call_hook.h |
| 3736 | include/grpc++/impl/codegen/channel_interface.h |
| 3737 | include/grpc++/impl/codegen/client_context.h |
| 3738 | include/grpc++/impl/codegen/client_unary_call.h |
| 3739 | include/grpc++/impl/codegen/completion_queue.h |
| 3740 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3741 | include/grpc++/impl/codegen/config.h |
| 3742 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3743 | include/grpc++/impl/codegen/create_auth_context.h |
| 3744 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3745 | include/grpc++/impl/codegen/metadata_map.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3746 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3747 | include/grpc++/impl/codegen/rpc_method.h |
| 3748 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3749 | include/grpc++/impl/codegen/security/auth_context.h |
| 3750 | include/grpc++/impl/codegen/serialization_traits.h |
| 3751 | include/grpc++/impl/codegen/server_context.h |
| 3752 | include/grpc++/impl/codegen/server_interface.h |
| 3753 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3754 | include/grpc++/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3755 | include/grpc++/impl/codegen/status.h |
| 3756 | include/grpc++/impl/codegen/status_code_enum.h |
| 3757 | include/grpc++/impl/codegen/string_ref.h |
| 3758 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3759 | include/grpc++/impl/codegen/sync_stream.h |
| 3760 | include/grpc++/impl/codegen/time.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3761 | include/grpc/impl/codegen/byte_buffer.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3762 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3763 | include/grpc/impl/codegen/compression_types.h |
| 3764 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 3765 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3766 | include/grpc/impl/codegen/grpc_types.h |
| 3767 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3768 | include/grpc/impl/codegen/slice.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3769 | include/grpc/impl/codegen/status.h |
| 3770 | include/grpc/impl/codegen/atm.h |
| 3771 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3772 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3773 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 3774 | include/grpc/impl/codegen/gpr_slice.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3775 | include/grpc/impl/codegen/gpr_types.h |
| 3776 | include/grpc/impl/codegen/port_platform.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3777 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3778 | include/grpc/impl/codegen/sync_custom.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3779 | include/grpc/impl/codegen/sync_generic.h |
| 3780 | include/grpc/impl/codegen/sync_posix.h |
| 3781 | include/grpc/impl/codegen/sync_windows.h |
| 3782 | include/grpc++/impl/codegen/proto_utils.h |
| 3783 | include/grpc++/impl/codegen/config_protobuf.h |
| 3784 | ) |
| 3785 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3786 | get_filename_component(_path ${_path} PATH) |
| 3787 | install(FILES ${_hdr} |
| 3788 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
| 3789 | ) |
| 3790 | endforeach() |
| 3791 | |
| 3792 | endif (gRPC_BUILD_TESTS) |
| 3793 | |
| 3794 | add_library(grpc++_unsecure |
| 3795 | src/cpp/client/insecure_credentials.cc |
| 3796 | src/cpp/common/insecure_create_auth_context.cc |
| 3797 | src/cpp/server/insecure_server_credentials.cc |
| 3798 | src/cpp/client/channel_cc.cc |
| 3799 | src/cpp/client/client_context.cc |
| 3800 | src/cpp/client/create_channel.cc |
| 3801 | src/cpp/client/create_channel_internal.cc |
| 3802 | src/cpp/client/create_channel_posix.cc |
| 3803 | src/cpp/client/credentials_cc.cc |
| 3804 | src/cpp/client/generic_stub.cc |
| 3805 | src/cpp/common/channel_arguments.cc |
| 3806 | src/cpp/common/channel_filter.cc |
| 3807 | src/cpp/common/completion_queue_cc.cc |
| 3808 | src/cpp/common/core_codegen.cc |
| 3809 | src/cpp/common/resource_quota_cc.cc |
| 3810 | src/cpp/common/rpc_method.cc |
| 3811 | src/cpp/common/version_cc.cc |
| 3812 | src/cpp/server/async_generic_service.cc |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3813 | src/cpp/server/channel_argument_option.cc |
| 3814 | src/cpp/server/create_default_thread_pool.cc |
| 3815 | src/cpp/server/dynamic_thread_pool.cc |
| 3816 | src/cpp/server/health/default_health_check_service.cc |
| 3817 | src/cpp/server/health/health.pb.c |
| 3818 | src/cpp/server/health/health_check_service.cc |
| 3819 | src/cpp/server/health/health_check_service_server_builder_option.cc |
| 3820 | src/cpp/server/server_builder.cc |
| 3821 | src/cpp/server/server_cc.cc |
| 3822 | src/cpp/server/server_context.cc |
| 3823 | src/cpp/server/server_credentials.cc |
| 3824 | src/cpp/server/server_posix.cc |
| 3825 | src/cpp/thread_manager/thread_manager.cc |
| 3826 | src/cpp/util/byte_buffer_cc.cc |
| 3827 | src/cpp/util/slice_cc.cc |
| 3828 | src/cpp/util/status.cc |
| 3829 | src/cpp/util/string_ref.cc |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3830 | src/cpp/util/time_cc.cc |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3831 | src/cpp/codegen/codegen_init.cc |
| 3832 | ) |
| 3833 | |
| 3834 | if(WIN32 AND MSVC) |
| 3835 | set_target_properties(grpc++_unsecure PROPERTIES COMPILE_PDB_NAME "grpc++_unsecure" |
| 3836 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3837 | ) |
| 3838 | if (gRPC_INSTALL) |
| 3839 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_unsecure.pdb |
| 3840 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
| 3841 | ) |
| 3842 | endif() |
| 3843 | endif() |
| 3844 | |
| 3845 | |
| 3846 | target_include_directories(grpc++_unsecure |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 3847 | 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] | 3848 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3849 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3850 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3851 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 3852 | PRIVATE ${BENCHMARK}/include |
| 3853 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3854 | PRIVATE ${CARES_INCLUDE_DIR} |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3855 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 3856 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3857 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3858 | ) |
| 3859 | |
| 3860 | target_link_libraries(grpc++_unsecure |
| 3861 | ${_gRPC_BASELIB_LIBRARIES} |
| 3862 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3863 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 3864 | gpr |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3865 | grpc_unsecure |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3866 | ) |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 3867 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3868 | foreach(_hdr |
| 3869 | include/grpc++/alarm.h |
| 3870 | include/grpc++/channel.h |
| 3871 | include/grpc++/client_context.h |
| 3872 | include/grpc++/completion_queue.h |
| 3873 | include/grpc++/create_channel.h |
| 3874 | include/grpc++/create_channel_posix.h |
| 3875 | include/grpc++/ext/health_check_service_server_builder_option.h |
| 3876 | include/grpc++/generic/async_generic_service.h |
| 3877 | include/grpc++/generic/generic_stub.h |
| 3878 | include/grpc++/grpc++.h |
| 3879 | include/grpc++/health_check_service_interface.h |
| 3880 | include/grpc++/impl/call.h |
| 3881 | include/grpc++/impl/channel_argument_option.h |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3882 | include/grpc++/impl/client_unary_call.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3883 | include/grpc++/impl/codegen/core_codegen.h |
| 3884 | include/grpc++/impl/grpc_library.h |
| 3885 | include/grpc++/impl/method_handler_impl.h |
| 3886 | include/grpc++/impl/rpc_method.h |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3887 | include/grpc++/impl/rpc_service_method.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3888 | include/grpc++/impl/serialization_traits.h |
| 3889 | include/grpc++/impl/server_builder_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3890 | include/grpc++/impl/server_builder_plugin.h |
| 3891 | include/grpc++/impl/server_initializer.h |
| 3892 | include/grpc++/impl/service_type.h |
| 3893 | include/grpc++/resource_quota.h |
| 3894 | include/grpc++/security/auth_context.h |
| 3895 | include/grpc++/security/auth_metadata_processor.h |
| 3896 | include/grpc++/security/credentials.h |
| 3897 | include/grpc++/security/server_credentials.h |
| 3898 | include/grpc++/server.h |
| 3899 | include/grpc++/server_builder.h |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 3900 | include/grpc++/server_context.h |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3901 | include/grpc++/server_posix.h |
| 3902 | include/grpc++/support/async_stream.h |
| 3903 | include/grpc++/support/async_unary_call.h |
| 3904 | include/grpc++/support/byte_buffer.h |
| 3905 | include/grpc++/support/channel_arguments.h |
| 3906 | include/grpc++/support/config.h |
| 3907 | include/grpc++/support/slice.h |
| 3908 | include/grpc++/support/status.h |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 3909 | include/grpc++/support/status_code_enum.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3910 | include/grpc++/support/string_ref.h |
| 3911 | include/grpc++/support/stub_options.h |
| 3912 | include/grpc++/support/sync_stream.h |
| 3913 | include/grpc++/support/time.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3914 | include/grpc/support/alloc.h |
| 3915 | include/grpc/support/atm.h |
| 3916 | include/grpc/support/atm_gcc_atomic.h |
| 3917 | include/grpc/support/atm_gcc_sync.h |
| 3918 | include/grpc/support/atm_windows.h |
| 3919 | include/grpc/support/avl.h |
| 3920 | include/grpc/support/cmdline.h |
| 3921 | include/grpc/support/cpu.h |
| 3922 | include/grpc/support/histogram.h |
| 3923 | include/grpc/support/host_port.h |
| 3924 | include/grpc/support/log.h |
| 3925 | include/grpc/support/log_windows.h |
| 3926 | include/grpc/support/port_platform.h |
| 3927 | include/grpc/support/string_util.h |
| 3928 | include/grpc/support/subprocess.h |
| 3929 | include/grpc/support/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3930 | include/grpc/support/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3931 | include/grpc/support/sync_generic.h |
| 3932 | include/grpc/support/sync_posix.h |
| 3933 | include/grpc/support/sync_windows.h |
| 3934 | include/grpc/support/thd.h |
| 3935 | include/grpc/support/time.h |
| 3936 | include/grpc/support/tls.h |
| 3937 | include/grpc/support/tls_gcc.h |
| 3938 | include/grpc/support/tls_msvc.h |
| 3939 | include/grpc/support/tls_pthread.h |
| 3940 | include/grpc/support/useful.h |
| 3941 | include/grpc/impl/codegen/atm.h |
| 3942 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3943 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3944 | include/grpc/impl/codegen/atm_windows.h |
| 3945 | include/grpc/impl/codegen/gpr_slice.h |
| 3946 | include/grpc/impl/codegen/gpr_types.h |
| 3947 | include/grpc/impl/codegen/port_platform.h |
| 3948 | include/grpc/impl/codegen/sync.h |
yang-g | 9ff6031 | 2017-08-24 09:08:21 -0700 | [diff] [blame] | 3949 | include/grpc/impl/codegen/sync_custom.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3950 | include/grpc/impl/codegen/sync_generic.h |
| 3951 | include/grpc/impl/codegen/sync_posix.h |
| 3952 | include/grpc/impl/codegen/sync_windows.h |
| 3953 | include/grpc/byte_buffer.h |
| 3954 | include/grpc/byte_buffer_reader.h |
| 3955 | include/grpc/compression.h |
| 3956 | include/grpc/grpc.h |
| 3957 | include/grpc/grpc_posix.h |
| 3958 | include/grpc/grpc_security_constants.h |
| 3959 | include/grpc/load_reporting.h |
| 3960 | include/grpc/slice.h |
| 3961 | include/grpc/slice_buffer.h |
| 3962 | include/grpc/status.h |
| 3963 | include/grpc/support/workaround_list.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3964 | include/grpc/impl/codegen/byte_buffer.h |
Vijay Pai | 4280725 | 2017-07-28 15:08:24 -0700 | [diff] [blame] | 3965 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3966 | include/grpc/impl/codegen/compression_types.h |
| 3967 | include/grpc/impl/codegen/connectivity_state.h |
| 3968 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 3969 | include/grpc/impl/codegen/grpc_types.h |
| 3970 | include/grpc/impl/codegen/propagation_bits.h |
| 3971 | include/grpc/impl/codegen/slice.h |
| 3972 | include/grpc/impl/codegen/status.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3973 | include/grpc++/impl/codegen/async_stream.h |
| 3974 | include/grpc++/impl/codegen/async_unary_call.h |
Vijay Pai | efce6e1 | 2017-09-14 09:07:50 -0700 | [diff] [blame] | 3975 | include/grpc++/impl/codegen/byte_buffer.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3976 | include/grpc++/impl/codegen/call.h |
| 3977 | include/grpc++/impl/codegen/call_hook.h |
| 3978 | include/grpc++/impl/codegen/channel_interface.h |
| 3979 | include/grpc++/impl/codegen/client_context.h |
| 3980 | include/grpc++/impl/codegen/client_unary_call.h |
| 3981 | include/grpc++/impl/codegen/completion_queue.h |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3982 | include/grpc++/impl/codegen/completion_queue_tag.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3983 | include/grpc++/impl/codegen/config.h |
| 3984 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3985 | include/grpc++/impl/codegen/create_auth_context.h |
| 3986 | include/grpc++/impl/codegen/grpc_library.h |
| 3987 | include/grpc++/impl/codegen/metadata_map.h |
| 3988 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3989 | include/grpc++/impl/codegen/rpc_method.h |
| 3990 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3991 | include/grpc++/impl/codegen/security/auth_context.h |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 3992 | include/grpc++/impl/codegen/serialization_traits.h |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3993 | include/grpc++/impl/codegen/server_context.h |
| 3994 | include/grpc++/impl/codegen/server_interface.h |
| 3995 | include/grpc++/impl/codegen/service_type.h |
| 3996 | include/grpc++/impl/codegen/slice.h |
| 3997 | include/grpc++/impl/codegen/status.h |
| 3998 | include/grpc++/impl/codegen/status_code_enum.h |
| 3999 | include/grpc++/impl/codegen/string_ref.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4000 | include/grpc++/impl/codegen/stub_options.h |
| 4001 | include/grpc++/impl/codegen/sync_stream.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4002 | include/grpc++/impl/codegen/time.h |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4003 | ) |
| 4004 | string(REPLACE "include/" "" _path ${_hdr}) |
| 4005 | get_filename_component(_path ${_path} PATH) |
| 4006 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4007 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4008 | ) |
| 4009 | endforeach() |
| 4010 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 4011 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4012 | if (gRPC_INSTALL) |
| 4013 | install(TARGETS grpc++_unsecure EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4014 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 4015 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 4016 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4017 | ) |
| 4018 | endif() |
| 4019 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4020 | if (gRPC_BUILD_TESTS) |
| 4021 | |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 4022 | add_library(grpc_benchmark |
Craig Tiller | f09ec59 | 2017-03-03 16:52:37 -0800 | [diff] [blame] | 4023 | test/cpp/microbenchmarks/helpers.cc |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 4024 | ) |
| 4025 | |
| 4026 | if(WIN32 AND MSVC) |
| 4027 | set_target_properties(grpc_benchmark PROPERTIES COMPILE_PDB_NAME "grpc_benchmark" |
| 4028 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4029 | ) |
| 4030 | if (gRPC_INSTALL) |
| 4031 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_benchmark.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4032 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 4033 | ) |
| 4034 | endif() |
| 4035 | endif() |
| 4036 | |
| 4037 | |
| 4038 | target_include_directories(grpc_benchmark |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4039 | 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] | 4040 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 4041 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4042 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4043 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 4044 | PRIVATE ${BENCHMARK}/include |
| 4045 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 9bc0d82 | 2017-03-17 13:02:03 -0700 | [diff] [blame] | 4046 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4047 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 4048 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4049 | PRIVATE third_party/googletest/googletest/include |
| 4050 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4051 | PRIVATE third_party/googletest/googlemock/include |
| 4052 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 4053 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4054 | ) |
| 4055 | |
| 4056 | target_link_libraries(grpc_benchmark |
| 4057 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4058 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4059 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 4060 | grpc++_unsecure |
| 4061 | grpc_test_util_unsecure |
| 4062 | grpc_unsecure |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 4063 | ${_gRPC_GFLAGS_LIBRARIES} |
| 4064 | ) |
| 4065 | |
| 4066 | |
| 4067 | endif (gRPC_BUILD_TESTS) |
| 4068 | if (gRPC_BUILD_TESTS) |
| 4069 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4070 | add_library(grpc_cli_libs |
| 4071 | test/cpp/util/cli_call.cc |
| 4072 | test/cpp/util/cli_credentials.cc |
| 4073 | test/cpp/util/grpc_tool.cc |
| 4074 | test/cpp/util/proto_file_parser.cc |
| 4075 | test/cpp/util/service_describer.cc |
| 4076 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 4077 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 4078 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 4079 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 4080 | ) |
| 4081 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4082 | if(WIN32 AND MSVC) |
| 4083 | set_target_properties(grpc_cli_libs PROPERTIES COMPILE_PDB_NAME "grpc_cli_libs" |
| 4084 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4085 | ) |
| 4086 | if (gRPC_INSTALL) |
| 4087 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cli_libs.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4088 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4089 | ) |
| 4090 | endif() |
| 4091 | endif() |
| 4092 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4093 | protobuf_generate_grpc_cpp( |
| 4094 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 4095 | ) |
| 4096 | |
| 4097 | target_include_directories(grpc_cli_libs |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4098 | 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] | 4099 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4100 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4101 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4102 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4103 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4104 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4105 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4106 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4107 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4108 | PRIVATE third_party/googletest/googletest/include |
| 4109 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4110 | PRIVATE third_party/googletest/googlemock/include |
| 4111 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4112 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4113 | ) |
| 4114 | |
| 4115 | target_link_libraries(grpc_cli_libs |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4116 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4117 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4118 | grpc++_proto_reflection_desc_db |
| 4119 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 4120 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4121 | ) |
| 4122 | |
| 4123 | foreach(_hdr |
| 4124 | include/grpc++/impl/codegen/config_protobuf.h |
| 4125 | ) |
| 4126 | string(REPLACE "include/" "" _path ${_hdr}) |
| 4127 | get_filename_component(_path ${_path} PATH) |
| 4128 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4129 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4130 | ) |
| 4131 | endforeach() |
| 4132 | |
| 4133 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 4134 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4135 | add_library(grpc_plugin_support |
| 4136 | src/compiler/cpp_generator.cc |
| 4137 | src/compiler/csharp_generator.cc |
| 4138 | src/compiler/node_generator.cc |
| 4139 | src/compiler/objective_c_generator.cc |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 4140 | src/compiler/php_generator.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4141 | src/compiler/python_generator.cc |
| 4142 | src/compiler/ruby_generator.cc |
| 4143 | ) |
| 4144 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4145 | if(WIN32 AND MSVC) |
| 4146 | set_target_properties(grpc_plugin_support PROPERTIES COMPILE_PDB_NAME "grpc_plugin_support" |
| 4147 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4148 | ) |
| 4149 | if (gRPC_INSTALL) |
| 4150 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_plugin_support.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4151 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4152 | ) |
| 4153 | endif() |
| 4154 | endif() |
| 4155 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 4156 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4157 | target_include_directories(grpc_plugin_support |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4158 | 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] | 4159 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4160 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4161 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4162 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4163 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4164 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 4165 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4166 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4167 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4168 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4169 | ) |
| 4170 | |
| 4171 | target_link_libraries(grpc_plugin_support |
| 4172 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4173 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4174 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4175 | ) |
| 4176 | |
| 4177 | foreach(_hdr |
| 4178 | include/grpc++/impl/codegen/config_protobuf.h |
| 4179 | ) |
| 4180 | string(REPLACE "include/" "" _path ${_hdr}) |
| 4181 | get_filename_component(_path ${_path} PATH) |
| 4182 | install(FILES ${_hdr} |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4183 | DESTINATION "${gRPC_INSTALL_INCLUDEDIR}/${_path}" |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4184 | ) |
| 4185 | endforeach() |
| 4186 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 4187 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4188 | if (gRPC_INSTALL) |
| 4189 | install(TARGETS grpc_plugin_support EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4190 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 4191 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 4192 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4193 | ) |
| 4194 | endif() |
| 4195 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4196 | if (gRPC_BUILD_TESTS) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4197 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4198 | add_library(http2_client_main |
| 4199 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 4200 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 4201 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 4202 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 4203 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4204 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4205 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4206 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4207 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 4208 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 4209 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4210 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4211 | test/cpp/interop/http2_client.cc |
| 4212 | ) |
| 4213 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4214 | if(WIN32 AND MSVC) |
| 4215 | set_target_properties(http2_client_main PROPERTIES COMPILE_PDB_NAME "http2_client_main" |
| 4216 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4217 | ) |
| 4218 | if (gRPC_INSTALL) |
| 4219 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/http2_client_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4220 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4221 | ) |
| 4222 | endif() |
| 4223 | endif() |
| 4224 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4225 | protobuf_generate_grpc_cpp( |
| 4226 | src/proto/grpc/testing/empty.proto |
| 4227 | ) |
| 4228 | protobuf_generate_grpc_cpp( |
| 4229 | src/proto/grpc/testing/messages.proto |
| 4230 | ) |
| 4231 | protobuf_generate_grpc_cpp( |
| 4232 | src/proto/grpc/testing/test.proto |
| 4233 | ) |
| 4234 | |
| 4235 | target_include_directories(http2_client_main |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4236 | 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] | 4237 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4238 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4239 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4240 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4241 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4242 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4243 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4244 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4245 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4246 | PRIVATE third_party/googletest/googletest/include |
| 4247 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4248 | PRIVATE third_party/googletest/googlemock/include |
| 4249 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4250 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4251 | ) |
| 4252 | |
| 4253 | target_link_libraries(http2_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4254 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4255 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4256 | grpc++_test_util |
| 4257 | grpc_test_util |
| 4258 | grpc++ |
| 4259 | grpc |
| 4260 | grpc++_test_config |
| 4261 | ) |
| 4262 | |
| 4263 | |
| 4264 | endif (gRPC_BUILD_TESTS) |
| 4265 | if (gRPC_BUILD_TESTS) |
| 4266 | |
| 4267 | add_library(interop_client_helper |
| 4268 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4269 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4270 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4271 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4272 | test/cpp/interop/client_helper.cc |
| 4273 | ) |
| 4274 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4275 | if(WIN32 AND MSVC) |
| 4276 | set_target_properties(interop_client_helper PROPERTIES COMPILE_PDB_NAME "interop_client_helper" |
| 4277 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4278 | ) |
| 4279 | if (gRPC_INSTALL) |
| 4280 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_helper.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4281 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4282 | ) |
| 4283 | endif() |
| 4284 | endif() |
| 4285 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4286 | protobuf_generate_grpc_cpp( |
| 4287 | src/proto/grpc/testing/messages.proto |
| 4288 | ) |
| 4289 | |
| 4290 | target_include_directories(interop_client_helper |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4291 | 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] | 4292 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4293 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4294 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4295 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4296 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4297 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4298 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4299 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4300 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4301 | PRIVATE third_party/googletest/googletest/include |
| 4302 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4303 | PRIVATE third_party/googletest/googlemock/include |
| 4304 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4305 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4306 | ) |
| 4307 | |
| 4308 | target_link_libraries(interop_client_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4309 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4310 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4311 | grpc++_test_util |
| 4312 | grpc_test_util |
| 4313 | grpc++ |
| 4314 | grpc |
| 4315 | gpr |
| 4316 | ) |
| 4317 | |
| 4318 | |
| 4319 | endif (gRPC_BUILD_TESTS) |
| 4320 | if (gRPC_BUILD_TESTS) |
| 4321 | |
| 4322 | add_library(interop_client_main |
| 4323 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 4324 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 4325 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 4326 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 4327 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4328 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4329 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4330 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4331 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 4332 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 4333 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4334 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4335 | test/cpp/interop/client.cc |
| 4336 | test/cpp/interop/interop_client.cc |
| 4337 | ) |
| 4338 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4339 | if(WIN32 AND MSVC) |
| 4340 | set_target_properties(interop_client_main PROPERTIES COMPILE_PDB_NAME "interop_client_main" |
| 4341 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4342 | ) |
| 4343 | if (gRPC_INSTALL) |
| 4344 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4345 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4346 | ) |
| 4347 | endif() |
| 4348 | endif() |
| 4349 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4350 | protobuf_generate_grpc_cpp( |
| 4351 | src/proto/grpc/testing/empty.proto |
| 4352 | ) |
| 4353 | protobuf_generate_grpc_cpp( |
| 4354 | src/proto/grpc/testing/messages.proto |
| 4355 | ) |
| 4356 | protobuf_generate_grpc_cpp( |
| 4357 | src/proto/grpc/testing/test.proto |
| 4358 | ) |
| 4359 | |
| 4360 | target_include_directories(interop_client_main |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4361 | 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] | 4362 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4363 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4364 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4365 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4366 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4367 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4368 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4369 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4370 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4371 | PRIVATE third_party/googletest/googletest/include |
| 4372 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4373 | PRIVATE third_party/googletest/googlemock/include |
| 4374 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4375 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4376 | ) |
| 4377 | |
| 4378 | target_link_libraries(interop_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4379 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4380 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4381 | interop_client_helper |
| 4382 | grpc++_test_util |
| 4383 | grpc_test_util |
| 4384 | grpc++ |
| 4385 | grpc |
| 4386 | gpr_test_util |
| 4387 | gpr |
| 4388 | grpc++_test_config |
| 4389 | ) |
| 4390 | |
| 4391 | |
| 4392 | endif (gRPC_BUILD_TESTS) |
| 4393 | if (gRPC_BUILD_TESTS) |
| 4394 | |
| 4395 | add_library(interop_server_helper |
| 4396 | test/cpp/interop/server_helper.cc |
| 4397 | ) |
| 4398 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4399 | if(WIN32 AND MSVC) |
| 4400 | set_target_properties(interop_server_helper PROPERTIES COMPILE_PDB_NAME "interop_server_helper" |
| 4401 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4402 | ) |
| 4403 | if (gRPC_INSTALL) |
| 4404 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_helper.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4405 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4406 | ) |
| 4407 | endif() |
| 4408 | endif() |
| 4409 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4410 | |
| 4411 | target_include_directories(interop_server_helper |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4412 | 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] | 4413 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4414 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4415 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4416 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4417 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4418 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4419 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4420 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4421 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4422 | PRIVATE third_party/googletest/googletest/include |
| 4423 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4424 | PRIVATE third_party/googletest/googlemock/include |
| 4425 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4426 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4427 | ) |
| 4428 | |
| 4429 | target_link_libraries(interop_server_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4430 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4431 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4432 | grpc++_test_util |
| 4433 | grpc_test_util |
| 4434 | grpc++ |
| 4435 | grpc |
| 4436 | gpr |
| 4437 | ) |
| 4438 | |
| 4439 | |
| 4440 | endif (gRPC_BUILD_TESTS) |
| 4441 | if (gRPC_BUILD_TESTS) |
| 4442 | |
| 4443 | add_library(interop_server_lib |
| 4444 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 4445 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 4446 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 4447 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 4448 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4449 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4450 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4451 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4452 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 4453 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 4454 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4455 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4456 | test/cpp/interop/interop_server.cc |
| 4457 | ) |
| 4458 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4459 | if(WIN32 AND MSVC) |
| 4460 | set_target_properties(interop_server_lib PROPERTIES COMPILE_PDB_NAME "interop_server_lib" |
| 4461 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4462 | ) |
| 4463 | if (gRPC_INSTALL) |
| 4464 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_lib.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4465 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4466 | ) |
| 4467 | endif() |
| 4468 | endif() |
| 4469 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4470 | protobuf_generate_grpc_cpp( |
| 4471 | src/proto/grpc/testing/empty.proto |
| 4472 | ) |
| 4473 | protobuf_generate_grpc_cpp( |
| 4474 | src/proto/grpc/testing/messages.proto |
| 4475 | ) |
| 4476 | protobuf_generate_grpc_cpp( |
| 4477 | src/proto/grpc/testing/test.proto |
| 4478 | ) |
| 4479 | |
| 4480 | target_include_directories(interop_server_lib |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4481 | 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] | 4482 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4483 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4484 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4485 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4486 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4487 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4488 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4489 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4490 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4491 | PRIVATE third_party/googletest/googletest/include |
| 4492 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4493 | PRIVATE third_party/googletest/googlemock/include |
| 4494 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4495 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4496 | ) |
| 4497 | |
| 4498 | target_link_libraries(interop_server_lib |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4499 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4500 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4501 | interop_server_helper |
| 4502 | grpc++_test_util |
| 4503 | grpc_test_util |
| 4504 | grpc++ |
| 4505 | grpc |
| 4506 | gpr_test_util |
| 4507 | gpr |
| 4508 | grpc++_test_config |
| 4509 | ) |
| 4510 | |
| 4511 | |
| 4512 | endif (gRPC_BUILD_TESTS) |
| 4513 | if (gRPC_BUILD_TESTS) |
| 4514 | |
| 4515 | add_library(interop_server_main |
| 4516 | test/cpp/interop/interop_server_bootstrap.cc |
| 4517 | ) |
| 4518 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4519 | if(WIN32 AND MSVC) |
| 4520 | set_target_properties(interop_server_main PROPERTIES COMPILE_PDB_NAME "interop_server_main" |
| 4521 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4522 | ) |
| 4523 | if (gRPC_INSTALL) |
| 4524 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_main.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4525 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4526 | ) |
| 4527 | endif() |
| 4528 | endif() |
| 4529 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4530 | |
| 4531 | target_include_directories(interop_server_main |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4532 | 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] | 4533 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4534 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4535 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4536 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4537 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4538 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4539 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4540 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4541 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4542 | PRIVATE third_party/googletest/googletest/include |
| 4543 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4544 | PRIVATE third_party/googletest/googlemock/include |
| 4545 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4546 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4547 | ) |
| 4548 | |
| 4549 | target_link_libraries(interop_server_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4550 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4551 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4552 | interop_server_lib |
| 4553 | ) |
| 4554 | |
| 4555 | |
| 4556 | endif (gRPC_BUILD_TESTS) |
| 4557 | if (gRPC_BUILD_TESTS) |
| 4558 | |
| 4559 | add_library(qps |
| 4560 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4561 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4562 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4563 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4564 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 4565 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 4566 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 4567 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 4568 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 4569 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 4570 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 4571 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
| 4572 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 4573 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 4574 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 4575 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 4576 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 4577 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 4578 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 4579 | ${_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] | 4580 | test/cpp/qps/benchmark_config.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4581 | test/cpp/qps/client_async.cc |
| 4582 | test/cpp/qps/client_sync.cc |
| 4583 | test/cpp/qps/driver.cc |
| 4584 | test/cpp/qps/parse_json.cc |
| 4585 | test/cpp/qps/qps_worker.cc |
| 4586 | test/cpp/qps/report.cc |
| 4587 | test/cpp/qps/server_async.cc |
| 4588 | test/cpp/qps/server_sync.cc |
| 4589 | test/cpp/qps/usage_timer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4590 | ) |
| 4591 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4592 | if(WIN32 AND MSVC) |
| 4593 | set_target_properties(qps PROPERTIES COMPILE_PDB_NAME "qps" |
| 4594 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4595 | ) |
| 4596 | if (gRPC_INSTALL) |
| 4597 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qps.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4598 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4599 | ) |
| 4600 | endif() |
| 4601 | endif() |
| 4602 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4603 | protobuf_generate_grpc_cpp( |
| 4604 | src/proto/grpc/testing/messages.proto |
| 4605 | ) |
| 4606 | protobuf_generate_grpc_cpp( |
| 4607 | src/proto/grpc/testing/payloads.proto |
| 4608 | ) |
| 4609 | protobuf_generate_grpc_cpp( |
| 4610 | src/proto/grpc/testing/stats.proto |
| 4611 | ) |
| 4612 | protobuf_generate_grpc_cpp( |
| 4613 | src/proto/grpc/testing/control.proto |
| 4614 | ) |
| 4615 | protobuf_generate_grpc_cpp( |
| 4616 | src/proto/grpc/testing/services.proto |
| 4617 | ) |
| 4618 | |
| 4619 | target_include_directories(qps |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4620 | 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] | 4621 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4622 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4623 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4624 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4625 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4626 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4627 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4628 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4629 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4630 | PRIVATE third_party/googletest/googletest/include |
| 4631 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 4632 | PRIVATE third_party/googletest/googlemock/include |
| 4633 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4634 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4635 | ) |
| 4636 | |
| 4637 | target_link_libraries(qps |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4638 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4639 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4640 | grpc_test_util |
| 4641 | grpc++_test_util |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 4642 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4643 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 4644 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4645 | ) |
| 4646 | |
| 4647 | |
| 4648 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4649 | |
Jan Tattermusch | c09656c | 2017-01-27 13:36:24 +0100 | [diff] [blame] | 4650 | add_library(grpc_csharp_ext SHARED |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4651 | src/csharp/ext/grpc_csharp_ext.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4652 | ) |
| 4653 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4654 | if(WIN32 AND MSVC) |
| 4655 | set_target_properties(grpc_csharp_ext PROPERTIES COMPILE_PDB_NAME "grpc_csharp_ext" |
| 4656 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4657 | ) |
| 4658 | if (gRPC_INSTALL) |
| 4659 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_csharp_ext.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4660 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4661 | ) |
| 4662 | endif() |
| 4663 | endif() |
| 4664 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4665 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4666 | target_include_directories(grpc_csharp_ext |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4667 | 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] | 4668 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4669 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4670 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4671 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4672 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4673 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4674 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4675 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4676 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4677 | ) |
| 4678 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4679 | target_link_libraries(grpc_csharp_ext |
| 4680 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4681 | grpc |
| 4682 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4683 | ) |
| 4684 | |
| 4685 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4686 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4687 | if (gRPC_INSTALL) |
| 4688 | install(TARGETS grpc_csharp_ext EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4689 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 4690 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 4691 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4692 | ) |
| 4693 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4694 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4695 | if (gRPC_BUILD_TESTS) |
| 4696 | |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4697 | add_library(ares |
Yuchen Zeng | 6694bb0 | 2017-01-23 17:09:51 -0800 | [diff] [blame] | 4698 | third_party/cares/cares/ares__close_sockets.c |
| 4699 | third_party/cares/cares/ares__get_hostent.c |
| 4700 | third_party/cares/cares/ares__read_line.c |
| 4701 | third_party/cares/cares/ares__timeval.c |
| 4702 | third_party/cares/cares/ares_cancel.c |
| 4703 | third_party/cares/cares/ares_create_query.c |
| 4704 | third_party/cares/cares/ares_data.c |
| 4705 | third_party/cares/cares/ares_destroy.c |
| 4706 | third_party/cares/cares/ares_expand_name.c |
| 4707 | third_party/cares/cares/ares_expand_string.c |
| 4708 | third_party/cares/cares/ares_fds.c |
| 4709 | third_party/cares/cares/ares_free_hostent.c |
| 4710 | third_party/cares/cares/ares_free_string.c |
| 4711 | third_party/cares/cares/ares_getenv.c |
| 4712 | third_party/cares/cares/ares_gethostbyaddr.c |
| 4713 | third_party/cares/cares/ares_gethostbyname.c |
| 4714 | third_party/cares/cares/ares_getnameinfo.c |
| 4715 | third_party/cares/cares/ares_getopt.c |
| 4716 | third_party/cares/cares/ares_getsock.c |
| 4717 | third_party/cares/cares/ares_init.c |
| 4718 | third_party/cares/cares/ares_library_init.c |
| 4719 | third_party/cares/cares/ares_llist.c |
| 4720 | third_party/cares/cares/ares_mkquery.c |
| 4721 | third_party/cares/cares/ares_nowarn.c |
| 4722 | third_party/cares/cares/ares_options.c |
| 4723 | third_party/cares/cares/ares_parse_a_reply.c |
| 4724 | third_party/cares/cares/ares_parse_aaaa_reply.c |
| 4725 | third_party/cares/cares/ares_parse_mx_reply.c |
| 4726 | third_party/cares/cares/ares_parse_naptr_reply.c |
| 4727 | third_party/cares/cares/ares_parse_ns_reply.c |
| 4728 | third_party/cares/cares/ares_parse_ptr_reply.c |
| 4729 | third_party/cares/cares/ares_parse_soa_reply.c |
| 4730 | third_party/cares/cares/ares_parse_srv_reply.c |
| 4731 | third_party/cares/cares/ares_parse_txt_reply.c |
| 4732 | third_party/cares/cares/ares_platform.c |
| 4733 | third_party/cares/cares/ares_process.c |
| 4734 | third_party/cares/cares/ares_query.c |
| 4735 | third_party/cares/cares/ares_search.c |
| 4736 | third_party/cares/cares/ares_send.c |
| 4737 | third_party/cares/cares/ares_strcasecmp.c |
| 4738 | third_party/cares/cares/ares_strdup.c |
| 4739 | third_party/cares/cares/ares_strerror.c |
| 4740 | third_party/cares/cares/ares_timeout.c |
| 4741 | third_party/cares/cares/ares_version.c |
| 4742 | third_party/cares/cares/ares_writev.c |
| 4743 | third_party/cares/cares/bitncmp.c |
| 4744 | third_party/cares/cares/inet_net_pton.c |
| 4745 | third_party/cares/cares/inet_ntop.c |
| 4746 | third_party/cares/cares/windows_port.c |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4747 | ) |
| 4748 | |
Yuchen Zeng | 2c97708 | 2017-02-27 13:35:41 -0800 | [diff] [blame] | 4749 | if(WIN32 AND MSVC) |
| 4750 | set_target_properties(ares PROPERTIES COMPILE_PDB_NAME "ares" |
| 4751 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4752 | ) |
| 4753 | if (gRPC_INSTALL) |
| 4754 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ares.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4755 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Yuchen Zeng | 2c97708 | 2017-02-27 13:35:41 -0800 | [diff] [blame] | 4756 | ) |
| 4757 | endif() |
| 4758 | endif() |
| 4759 | |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4760 | |
| 4761 | target_include_directories(ares |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4762 | PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4763 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4764 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4765 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4766 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Yuchen Zeng | 1492f6c | 2017-02-02 12:42:54 -0800 | [diff] [blame] | 4767 | PRIVATE ${BENCHMARK}/include |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4768 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4769 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4770 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4771 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4772 | ) |
| 4773 | |
| 4774 | target_link_libraries(ares |
| 4775 | ${_gRPC_SSL_LIBRARIES} |
Yuchen Zeng | 1492f6c | 2017-02-02 12:42:54 -0800 | [diff] [blame] | 4776 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4777 | ) |
| 4778 | |
| 4779 | |
| 4780 | endif (gRPC_BUILD_TESTS) |
| 4781 | if (gRPC_BUILD_TESTS) |
| 4782 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4783 | add_library(bad_client_test |
| 4784 | test/core/bad_client/bad_client.c |
| 4785 | ) |
| 4786 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4787 | if(WIN32 AND MSVC) |
| 4788 | set_target_properties(bad_client_test PROPERTIES COMPILE_PDB_NAME "bad_client_test" |
| 4789 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4790 | ) |
| 4791 | if (gRPC_INSTALL) |
| 4792 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_client_test.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4793 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4794 | ) |
| 4795 | endif() |
| 4796 | endif() |
| 4797 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4798 | |
| 4799 | target_include_directories(bad_client_test |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4800 | 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] | 4801 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4802 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4803 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4804 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4805 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4806 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4807 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4808 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4809 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4810 | ) |
| 4811 | |
| 4812 | target_link_libraries(bad_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4813 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4814 | grpc_test_util_unsecure |
| 4815 | grpc_unsecure |
| 4816 | gpr_test_util |
| 4817 | gpr |
| 4818 | ) |
| 4819 | |
| 4820 | |
| 4821 | endif (gRPC_BUILD_TESTS) |
| 4822 | if (gRPC_BUILD_TESTS) |
| 4823 | |
| 4824 | add_library(bad_ssl_test_server |
| 4825 | test/core/bad_ssl/server_common.c |
| 4826 | ) |
| 4827 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4828 | if(WIN32 AND MSVC) |
| 4829 | set_target_properties(bad_ssl_test_server PROPERTIES COMPILE_PDB_NAME "bad_ssl_test_server" |
| 4830 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4831 | ) |
| 4832 | if (gRPC_INSTALL) |
| 4833 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_ssl_test_server.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4834 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4835 | ) |
| 4836 | endif() |
| 4837 | endif() |
| 4838 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4839 | |
| 4840 | target_include_directories(bad_ssl_test_server |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4841 | 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] | 4842 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4843 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4844 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4845 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4846 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4847 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4848 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4849 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4850 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4851 | ) |
| 4852 | |
| 4853 | target_link_libraries(bad_ssl_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4854 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4855 | grpc_test_util |
| 4856 | grpc |
| 4857 | gpr_test_util |
| 4858 | gpr |
| 4859 | ) |
| 4860 | |
| 4861 | |
| 4862 | endif (gRPC_BUILD_TESTS) |
| 4863 | if (gRPC_BUILD_TESTS) |
| 4864 | |
| 4865 | add_library(end2end_tests |
| 4866 | test/core/end2end/end2end_tests.c |
| 4867 | test/core/end2end/end2end_test_utils.c |
| 4868 | test/core/end2end/tests/authority_not_supported.c |
| 4869 | test/core/end2end/tests/bad_hostname.c |
Yuchen Zeng | af5c505 | 2017-02-28 16:24:00 -0800 | [diff] [blame] | 4870 | test/core/end2end/tests/bad_ping.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4871 | test/core/end2end/tests/binary_metadata.c |
| 4872 | test/core/end2end/tests/call_creds.c |
| 4873 | test/core/end2end/tests/cancel_after_accept.c |
| 4874 | test/core/end2end/tests/cancel_after_client_done.c |
| 4875 | test/core/end2end/tests/cancel_after_invoke.c |
Muxi Yan | d19c112 | 2017-06-23 17:00:20 -0700 | [diff] [blame] | 4876 | test/core/end2end/tests/cancel_after_round_trip.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4877 | test/core/end2end/tests/cancel_before_invoke.c |
| 4878 | test/core/end2end/tests/cancel_in_a_vacuum.c |
| 4879 | test/core/end2end/tests/cancel_with_status.c |
| 4880 | test/core/end2end/tests/compressed_payload.c |
| 4881 | test/core/end2end/tests/connectivity.c |
| 4882 | test/core/end2end/tests/default_host.c |
| 4883 | test/core/end2end/tests/disappearing_server.c |
| 4884 | test/core/end2end/tests/empty_batch.c |
| 4885 | test/core/end2end/tests/filter_call_init_fails.c |
| 4886 | test/core/end2end/tests/filter_causes_close.c |
| 4887 | test/core/end2end/tests/filter_latency.c |
| 4888 | test/core/end2end/tests/graceful_server_shutdown.c |
| 4889 | test/core/end2end/tests/high_initial_seqno.c |
| 4890 | test/core/end2end/tests/hpack_size.c |
| 4891 | test/core/end2end/tests/idempotent_request.c |
| 4892 | test/core/end2end/tests/invoke_large_request.c |
Yuchen Zeng | 990d9fe | 2017-02-26 16:54:18 -0800 | [diff] [blame] | 4893 | test/core/end2end/tests/keepalive_timeout.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4894 | test/core/end2end/tests/large_metadata.c |
| 4895 | test/core/end2end/tests/load_reporting_hook.c |
| 4896 | test/core/end2end/tests/max_concurrent_streams.c |
Yuchen Zeng | 22321fc | 2017-03-28 19:10:09 -0700 | [diff] [blame] | 4897 | test/core/end2end/tests/max_connection_age.c |
Yuchen Zeng | b2caafc | 2017-03-29 01:54:08 -0700 | [diff] [blame] | 4898 | test/core/end2end/tests/max_connection_idle.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4899 | test/core/end2end/tests/max_message_length.c |
| 4900 | test/core/end2end/tests/negative_deadline.c |
| 4901 | test/core/end2end/tests/network_status_change.c |
| 4902 | test/core/end2end/tests/no_logging.c |
| 4903 | test/core/end2end/tests/no_op.c |
| 4904 | test/core/end2end/tests/payload.c |
| 4905 | test/core/end2end/tests/ping.c |
| 4906 | test/core/end2end/tests/ping_pong_streaming.c |
Yash Tibrewal | c62ce80 | 2017-07-20 16:48:01 -0700 | [diff] [blame] | 4907 | test/core/end2end/tests/proxy_auth.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4908 | test/core/end2end/tests/registered_call.c |
| 4909 | test/core/end2end/tests/request_with_flags.c |
| 4910 | test/core/end2end/tests/request_with_payload.c |
| 4911 | test/core/end2end/tests/resource_quota_server.c |
| 4912 | test/core/end2end/tests/server_finishes_request.c |
| 4913 | test/core/end2end/tests/shutdown_finishes_calls.c |
| 4914 | test/core/end2end/tests/shutdown_finishes_tags.c |
| 4915 | test/core/end2end/tests/simple_cacheable_request.c |
| 4916 | test/core/end2end/tests/simple_delayed_request.c |
| 4917 | test/core/end2end/tests/simple_metadata.c |
| 4918 | test/core/end2end/tests/simple_request.c |
Muxi Yan | 4078771 | 2017-08-15 09:56:10 -0700 | [diff] [blame] | 4919 | test/core/end2end/tests/stream_compression_compressed_payload.c |
| 4920 | test/core/end2end/tests/stream_compression_payload.c |
| 4921 | test/core/end2end/tests/stream_compression_ping_pong_streaming.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4922 | test/core/end2end/tests/streaming_error_response.c |
| 4923 | test/core/end2end/tests/trailing_metadata.c |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 4924 | test/core/end2end/tests/workaround_cronet_compression.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4925 | test/core/end2end/tests/write_buffering.c |
| 4926 | test/core/end2end/tests/write_buffering_at_end.c |
| 4927 | ) |
| 4928 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4929 | if(WIN32 AND MSVC) |
| 4930 | set_target_properties(end2end_tests PROPERTIES COMPILE_PDB_NAME "end2end_tests" |
| 4931 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4932 | ) |
| 4933 | if (gRPC_INSTALL) |
| 4934 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_tests.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 4935 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4936 | ) |
| 4937 | endif() |
| 4938 | endif() |
| 4939 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4940 | |
| 4941 | target_include_directories(end2end_tests |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 4942 | 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] | 4943 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4944 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4945 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4946 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4947 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4948 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4949 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4950 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4951 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4952 | ) |
| 4953 | |
| 4954 | target_link_libraries(end2end_tests |
| 4955 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4956 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4957 | grpc_test_util |
| 4958 | grpc |
| 4959 | gpr_test_util |
| 4960 | gpr |
| 4961 | ) |
| 4962 | |
| 4963 | |
| 4964 | endif (gRPC_BUILD_TESTS) |
| 4965 | if (gRPC_BUILD_TESTS) |
| 4966 | |
| 4967 | add_library(end2end_nosec_tests |
| 4968 | test/core/end2end/end2end_nosec_tests.c |
| 4969 | test/core/end2end/end2end_test_utils.c |
| 4970 | test/core/end2end/tests/authority_not_supported.c |
| 4971 | test/core/end2end/tests/bad_hostname.c |
Yuchen Zeng | af5c505 | 2017-02-28 16:24:00 -0800 | [diff] [blame] | 4972 | test/core/end2end/tests/bad_ping.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4973 | test/core/end2end/tests/binary_metadata.c |
| 4974 | test/core/end2end/tests/cancel_after_accept.c |
| 4975 | test/core/end2end/tests/cancel_after_client_done.c |
| 4976 | test/core/end2end/tests/cancel_after_invoke.c |
Muxi Yan | d19c112 | 2017-06-23 17:00:20 -0700 | [diff] [blame] | 4977 | test/core/end2end/tests/cancel_after_round_trip.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4978 | test/core/end2end/tests/cancel_before_invoke.c |
| 4979 | test/core/end2end/tests/cancel_in_a_vacuum.c |
| 4980 | test/core/end2end/tests/cancel_with_status.c |
| 4981 | test/core/end2end/tests/compressed_payload.c |
| 4982 | test/core/end2end/tests/connectivity.c |
| 4983 | test/core/end2end/tests/default_host.c |
| 4984 | test/core/end2end/tests/disappearing_server.c |
| 4985 | test/core/end2end/tests/empty_batch.c |
| 4986 | test/core/end2end/tests/filter_call_init_fails.c |
| 4987 | test/core/end2end/tests/filter_causes_close.c |
| 4988 | test/core/end2end/tests/filter_latency.c |
| 4989 | test/core/end2end/tests/graceful_server_shutdown.c |
| 4990 | test/core/end2end/tests/high_initial_seqno.c |
| 4991 | test/core/end2end/tests/hpack_size.c |
| 4992 | test/core/end2end/tests/idempotent_request.c |
| 4993 | test/core/end2end/tests/invoke_large_request.c |
Yuchen Zeng | 990d9fe | 2017-02-26 16:54:18 -0800 | [diff] [blame] | 4994 | test/core/end2end/tests/keepalive_timeout.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4995 | test/core/end2end/tests/large_metadata.c |
| 4996 | test/core/end2end/tests/load_reporting_hook.c |
| 4997 | test/core/end2end/tests/max_concurrent_streams.c |
Yuchen Zeng | 22321fc | 2017-03-28 19:10:09 -0700 | [diff] [blame] | 4998 | test/core/end2end/tests/max_connection_age.c |
Yuchen Zeng | b2caafc | 2017-03-29 01:54:08 -0700 | [diff] [blame] | 4999 | test/core/end2end/tests/max_connection_idle.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5000 | test/core/end2end/tests/max_message_length.c |
| 5001 | test/core/end2end/tests/negative_deadline.c |
| 5002 | test/core/end2end/tests/network_status_change.c |
| 5003 | test/core/end2end/tests/no_logging.c |
| 5004 | test/core/end2end/tests/no_op.c |
| 5005 | test/core/end2end/tests/payload.c |
| 5006 | test/core/end2end/tests/ping.c |
| 5007 | test/core/end2end/tests/ping_pong_streaming.c |
Yash Tibrewal | c62ce80 | 2017-07-20 16:48:01 -0700 | [diff] [blame] | 5008 | test/core/end2end/tests/proxy_auth.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5009 | test/core/end2end/tests/registered_call.c |
| 5010 | test/core/end2end/tests/request_with_flags.c |
| 5011 | test/core/end2end/tests/request_with_payload.c |
| 5012 | test/core/end2end/tests/resource_quota_server.c |
| 5013 | test/core/end2end/tests/server_finishes_request.c |
| 5014 | test/core/end2end/tests/shutdown_finishes_calls.c |
| 5015 | test/core/end2end/tests/shutdown_finishes_tags.c |
| 5016 | test/core/end2end/tests/simple_cacheable_request.c |
| 5017 | test/core/end2end/tests/simple_delayed_request.c |
| 5018 | test/core/end2end/tests/simple_metadata.c |
| 5019 | test/core/end2end/tests/simple_request.c |
Muxi Yan | 4078771 | 2017-08-15 09:56:10 -0700 | [diff] [blame] | 5020 | test/core/end2end/tests/stream_compression_compressed_payload.c |
| 5021 | test/core/end2end/tests/stream_compression_payload.c |
| 5022 | test/core/end2end/tests/stream_compression_ping_pong_streaming.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5023 | test/core/end2end/tests/streaming_error_response.c |
| 5024 | test/core/end2end/tests/trailing_metadata.c |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 5025 | test/core/end2end/tests/workaround_cronet_compression.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5026 | test/core/end2end/tests/write_buffering.c |
| 5027 | test/core/end2end/tests/write_buffering_at_end.c |
| 5028 | ) |
| 5029 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5030 | if(WIN32 AND MSVC) |
| 5031 | set_target_properties(end2end_nosec_tests PROPERTIES COMPILE_PDB_NAME "end2end_nosec_tests" |
| 5032 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 5033 | ) |
| 5034 | if (gRPC_INSTALL) |
| 5035 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_nosec_tests.pdb |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5036 | DESTINATION ${gRPC_INSTALL_LIBDIR} OPTIONAL |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 5037 | ) |
| 5038 | endif() |
| 5039 | endif() |
| 5040 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5041 | |
| 5042 | target_include_directories(end2end_nosec_tests |
Jan Tattermusch | f567ab0 | 2017-08-25 16:13:30 +0200 | [diff] [blame] | 5043 | 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] | 5044 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5045 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5046 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5047 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5048 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5049 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 5050 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 5051 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5052 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5053 | ) |
| 5054 | |
| 5055 | target_link_libraries(end2end_nosec_tests |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5056 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5057 | grpc_test_util_unsecure |
| 5058 | grpc_unsecure |
| 5059 | gpr_test_util |
| 5060 | gpr |
| 5061 | ) |
| 5062 | |
| 5063 | |
| 5064 | endif (gRPC_BUILD_TESTS) |
| 5065 | |
| 5066 | if (gRPC_BUILD_TESTS) |
| 5067 | |
| 5068 | add_executable(alarm_test |
| 5069 | test/core/surface/alarm_test.c |
| 5070 | ) |
| 5071 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5072 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5073 | target_include_directories(alarm_test |
| 5074 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5075 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5076 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5077 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5078 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5079 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5080 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5081 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5082 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5083 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5084 | ) |
| 5085 | |
| 5086 | target_link_libraries(alarm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5087 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5088 | grpc_test_util |
| 5089 | grpc |
| 5090 | gpr_test_util |
| 5091 | gpr |
| 5092 | ) |
| 5093 | |
| 5094 | endif (gRPC_BUILD_TESTS) |
| 5095 | if (gRPC_BUILD_TESTS) |
| 5096 | |
| 5097 | add_executable(algorithm_test |
| 5098 | test/core/compression/algorithm_test.c |
| 5099 | ) |
| 5100 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5101 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5102 | target_include_directories(algorithm_test |
| 5103 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5104 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5105 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5106 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5107 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5108 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5109 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5110 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5111 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5112 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5113 | ) |
| 5114 | |
| 5115 | target_link_libraries(algorithm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5116 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5117 | grpc_test_util |
| 5118 | grpc |
| 5119 | gpr_test_util |
| 5120 | gpr |
| 5121 | ) |
| 5122 | |
| 5123 | endif (gRPC_BUILD_TESTS) |
| 5124 | if (gRPC_BUILD_TESTS) |
| 5125 | |
| 5126 | add_executable(alloc_test |
| 5127 | test/core/support/alloc_test.c |
| 5128 | ) |
| 5129 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5130 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5131 | target_include_directories(alloc_test |
| 5132 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5133 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5134 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5135 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5136 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5137 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5138 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5139 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5140 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5141 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5142 | ) |
| 5143 | |
| 5144 | target_link_libraries(alloc_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5145 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5146 | gpr_test_util |
| 5147 | gpr |
| 5148 | ) |
| 5149 | |
| 5150 | endif (gRPC_BUILD_TESTS) |
| 5151 | if (gRPC_BUILD_TESTS) |
| 5152 | |
| 5153 | add_executable(alpn_test |
| 5154 | test/core/transport/chttp2/alpn_test.c |
| 5155 | ) |
| 5156 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5157 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5158 | target_include_directories(alpn_test |
| 5159 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5160 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5161 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5162 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5163 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5164 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5165 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5166 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5167 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5168 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5169 | ) |
| 5170 | |
| 5171 | target_link_libraries(alpn_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5172 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5173 | grpc_test_util |
| 5174 | grpc |
| 5175 | gpr_test_util |
| 5176 | gpr |
| 5177 | ) |
| 5178 | |
| 5179 | endif (gRPC_BUILD_TESTS) |
| 5180 | if (gRPC_BUILD_TESTS) |
| 5181 | |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 5182 | add_executable(arena_test |
| 5183 | test/core/support/arena_test.c |
| 5184 | ) |
| 5185 | |
| 5186 | |
| 5187 | target_include_directories(arena_test |
| 5188 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5189 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5190 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5191 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5192 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5193 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5194 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5195 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5196 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 5197 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5198 | ) |
| 5199 | |
| 5200 | target_link_libraries(arena_test |
| 5201 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5202 | gpr_test_util |
| 5203 | gpr |
| 5204 | ) |
| 5205 | |
| 5206 | endif (gRPC_BUILD_TESTS) |
| 5207 | if (gRPC_BUILD_TESTS) |
| 5208 | |
Craig Tiller | c0df1c0 | 2017-07-17 16:12:33 -0700 | [diff] [blame] | 5209 | add_executable(backoff_test |
| 5210 | test/core/backoff/backoff_test.c |
| 5211 | ) |
| 5212 | |
| 5213 | |
| 5214 | target_include_directories(backoff_test |
| 5215 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5216 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5217 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5218 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5219 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5220 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5221 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Craig Tiller | c0df1c0 | 2017-07-17 16:12:33 -0700 | [diff] [blame] | 5222 | PRIVATE ${CARES_INCLUDE_DIR} |
Craig Tiller | c0df1c0 | 2017-07-17 16:12:33 -0700 | [diff] [blame] | 5223 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5224 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5225 | ) |
| 5226 | |
| 5227 | target_link_libraries(backoff_test |
| 5228 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5229 | grpc_test_util |
| 5230 | grpc |
| 5231 | gpr_test_util |
| 5232 | gpr |
| 5233 | ) |
| 5234 | |
| 5235 | endif (gRPC_BUILD_TESTS) |
| 5236 | if (gRPC_BUILD_TESTS) |
| 5237 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5238 | add_executable(bad_server_response_test |
| 5239 | test/core/end2end/bad_server_response_test.c |
| 5240 | ) |
| 5241 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5242 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5243 | target_include_directories(bad_server_response_test |
| 5244 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5245 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5246 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5247 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5248 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5249 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5250 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5251 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5252 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5253 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5254 | ) |
| 5255 | |
| 5256 | target_link_libraries(bad_server_response_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5257 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5258 | test_tcp_server |
| 5259 | grpc_test_util |
| 5260 | grpc |
| 5261 | gpr_test_util |
| 5262 | gpr |
| 5263 | ) |
| 5264 | |
| 5265 | endif (gRPC_BUILD_TESTS) |
| 5266 | if (gRPC_BUILD_TESTS) |
| 5267 | |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 5268 | add_executable(bdp_estimator_test |
| 5269 | test/core/transport/bdp_estimator_test.c |
| 5270 | ) |
| 5271 | |
Craig Tiller | 5395aba | 2017-02-02 10:29:04 -0800 | [diff] [blame] | 5272 | |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 5273 | target_include_directories(bdp_estimator_test |
| 5274 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5275 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5276 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5277 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Craig Tiller | 5395aba | 2017-02-02 10:29:04 -0800 | [diff] [blame] | 5278 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 5279 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5280 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5281 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5282 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 5283 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5284 | ) |
| 5285 | |
| 5286 | target_link_libraries(bdp_estimator_test |
Craig Tiller | 5395aba | 2017-02-02 10:29:04 -0800 | [diff] [blame] | 5287 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 5288 | grpc_test_util |
| 5289 | grpc |
| 5290 | gpr_test_util |
| 5291 | gpr |
| 5292 | ) |
| 5293 | |
| 5294 | endif (gRPC_BUILD_TESTS) |
| 5295 | if (gRPC_BUILD_TESTS) |
| 5296 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5297 | add_executable(bin_decoder_test |
| 5298 | test/core/transport/chttp2/bin_decoder_test.c |
| 5299 | ) |
| 5300 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5301 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5302 | target_include_directories(bin_decoder_test |
| 5303 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5304 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5305 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5306 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5307 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5308 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5309 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5310 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5311 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5312 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5313 | ) |
| 5314 | |
| 5315 | target_link_libraries(bin_decoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5316 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5317 | grpc_test_util |
| 5318 | grpc |
| 5319 | ) |
| 5320 | |
| 5321 | endif (gRPC_BUILD_TESTS) |
| 5322 | if (gRPC_BUILD_TESTS) |
| 5323 | |
| 5324 | add_executable(bin_encoder_test |
| 5325 | test/core/transport/chttp2/bin_encoder_test.c |
| 5326 | ) |
| 5327 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5328 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5329 | target_include_directories(bin_encoder_test |
| 5330 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5331 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5332 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5333 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5334 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5335 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5336 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5337 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5338 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5339 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5340 | ) |
| 5341 | |
| 5342 | target_link_libraries(bin_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5343 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5344 | grpc_test_util |
| 5345 | grpc |
| 5346 | ) |
| 5347 | |
| 5348 | endif (gRPC_BUILD_TESTS) |
| 5349 | if (gRPC_BUILD_TESTS) |
| 5350 | |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 5351 | add_executable(byte_stream_test |
| 5352 | test/core/transport/byte_stream_test.c |
| 5353 | ) |
| 5354 | |
| 5355 | |
| 5356 | target_include_directories(byte_stream_test |
| 5357 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5358 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5359 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5360 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5361 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5362 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5363 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 5364 | PRIVATE ${CARES_INCLUDE_DIR} |
Mark D. Roth | 5794061 | 2017-07-26 14:29:52 -0700 | [diff] [blame] | 5365 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5366 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5367 | ) |
| 5368 | |
| 5369 | target_link_libraries(byte_stream_test |
| 5370 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5371 | grpc_test_util |
| 5372 | grpc |
| 5373 | gpr_test_util |
| 5374 | gpr |
| 5375 | ) |
| 5376 | |
| 5377 | endif (gRPC_BUILD_TESTS) |
| 5378 | if (gRPC_BUILD_TESTS) |
| 5379 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5380 | add_executable(census_context_test |
| 5381 | test/core/census/context_test.c |
| 5382 | ) |
| 5383 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5384 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5385 | target_include_directories(census_context_test |
| 5386 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5387 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5388 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5389 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5390 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5391 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5392 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5393 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5394 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5395 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5396 | ) |
| 5397 | |
| 5398 | target_link_libraries(census_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5399 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5400 | grpc_test_util |
| 5401 | grpc |
| 5402 | gpr_test_util |
| 5403 | gpr |
| 5404 | ) |
| 5405 | |
| 5406 | endif (gRPC_BUILD_TESTS) |
| 5407 | if (gRPC_BUILD_TESTS) |
| 5408 | |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 5409 | add_executable(census_intrusive_hash_map_test |
| 5410 | test/core/census/intrusive_hash_map_test.c |
| 5411 | ) |
| 5412 | |
| 5413 | |
| 5414 | target_include_directories(census_intrusive_hash_map_test |
| 5415 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5416 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5417 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5418 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5419 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5420 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5421 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 5422 | PRIVATE ${CARES_INCLUDE_DIR} |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 5423 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5424 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5425 | ) |
| 5426 | |
| 5427 | target_link_libraries(census_intrusive_hash_map_test |
| 5428 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5429 | grpc_test_util |
| 5430 | grpc |
| 5431 | gpr_test_util |
| 5432 | gpr |
| 5433 | ) |
| 5434 | |
| 5435 | endif (gRPC_BUILD_TESTS) |
| 5436 | if (gRPC_BUILD_TESTS) |
| 5437 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5438 | add_executable(census_resource_test |
| 5439 | test/core/census/resource_test.c |
| 5440 | ) |
| 5441 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5442 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5443 | target_include_directories(census_resource_test |
| 5444 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5445 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5446 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5447 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5448 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5449 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5450 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5451 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5452 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5453 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5454 | ) |
| 5455 | |
| 5456 | target_link_libraries(census_resource_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5457 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5458 | grpc_test_util |
| 5459 | grpc |
| 5460 | gpr_test_util |
| 5461 | gpr |
| 5462 | ) |
| 5463 | |
| 5464 | endif (gRPC_BUILD_TESTS) |
| 5465 | if (gRPC_BUILD_TESTS) |
| 5466 | |
| 5467 | add_executable(census_trace_context_test |
| 5468 | test/core/census/trace_context_test.c |
| 5469 | ) |
| 5470 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5471 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5472 | target_include_directories(census_trace_context_test |
| 5473 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5474 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5475 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5476 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5477 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5478 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5479 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5480 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5481 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5482 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5483 | ) |
| 5484 | |
| 5485 | target_link_libraries(census_trace_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5486 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5487 | grpc_test_util |
| 5488 | grpc |
| 5489 | gpr_test_util |
| 5490 | gpr |
| 5491 | ) |
| 5492 | |
| 5493 | endif (gRPC_BUILD_TESTS) |
| 5494 | if (gRPC_BUILD_TESTS) |
| 5495 | |
| 5496 | add_executable(channel_create_test |
| 5497 | test/core/surface/channel_create_test.c |
| 5498 | ) |
| 5499 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5500 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5501 | target_include_directories(channel_create_test |
| 5502 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5503 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5504 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5505 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5506 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5507 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5508 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5509 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5510 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5511 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5512 | ) |
| 5513 | |
| 5514 | target_link_libraries(channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5515 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5516 | grpc_test_util |
| 5517 | grpc |
| 5518 | gpr_test_util |
| 5519 | gpr |
| 5520 | ) |
| 5521 | |
| 5522 | endif (gRPC_BUILD_TESTS) |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5523 | |
| 5524 | add_executable(check_epollexclusive |
| 5525 | test/build/check_epollexclusive.c |
| 5526 | ) |
| 5527 | |
| 5528 | |
| 5529 | target_include_directories(check_epollexclusive |
| 5530 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5531 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5532 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5533 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5534 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5535 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5536 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5537 | PRIVATE ${CARES_INCLUDE_DIR} |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5538 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5539 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5540 | ) |
| 5541 | |
| 5542 | target_link_libraries(check_epollexclusive |
| 5543 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5544 | grpc |
| 5545 | gpr |
| 5546 | ) |
| 5547 | |
| 5548 | |
| 5549 | if (gRPC_INSTALL) |
| 5550 | install(TARGETS check_epollexclusive EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 5551 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 5552 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 5553 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 5554 | ) |
| 5555 | endif() |
| 5556 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5557 | if (gRPC_BUILD_TESTS) |
| 5558 | |
| 5559 | add_executable(chttp2_hpack_encoder_test |
| 5560 | test/core/transport/chttp2/hpack_encoder_test.c |
| 5561 | ) |
| 5562 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5563 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5564 | target_include_directories(chttp2_hpack_encoder_test |
| 5565 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5566 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5567 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5568 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5569 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5570 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5571 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5572 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5573 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5574 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5575 | ) |
| 5576 | |
| 5577 | target_link_libraries(chttp2_hpack_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5578 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5579 | grpc_test_util |
| 5580 | grpc |
| 5581 | gpr_test_util |
| 5582 | gpr |
| 5583 | ) |
| 5584 | |
| 5585 | endif (gRPC_BUILD_TESTS) |
| 5586 | if (gRPC_BUILD_TESTS) |
| 5587 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5588 | add_executable(chttp2_stream_map_test |
| 5589 | test/core/transport/chttp2/stream_map_test.c |
| 5590 | ) |
| 5591 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5592 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5593 | target_include_directories(chttp2_stream_map_test |
| 5594 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5595 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5596 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5597 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5598 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5599 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5600 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5601 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5602 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5603 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5604 | ) |
| 5605 | |
| 5606 | target_link_libraries(chttp2_stream_map_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5607 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5608 | grpc_test_util |
| 5609 | grpc |
| 5610 | gpr_test_util |
| 5611 | gpr |
| 5612 | ) |
| 5613 | |
| 5614 | endif (gRPC_BUILD_TESTS) |
| 5615 | if (gRPC_BUILD_TESTS) |
| 5616 | |
| 5617 | add_executable(chttp2_varint_test |
| 5618 | test/core/transport/chttp2/varint_test.c |
| 5619 | ) |
| 5620 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5621 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5622 | target_include_directories(chttp2_varint_test |
| 5623 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5624 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5625 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5626 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5627 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5628 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5629 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5630 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5631 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5632 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5633 | ) |
| 5634 | |
| 5635 | target_link_libraries(chttp2_varint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5636 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5637 | grpc_test_util |
| 5638 | grpc |
| 5639 | gpr_test_util |
| 5640 | gpr |
| 5641 | ) |
| 5642 | |
| 5643 | endif (gRPC_BUILD_TESTS) |
| 5644 | if (gRPC_BUILD_TESTS) |
| 5645 | |
| 5646 | add_executable(combiner_test |
| 5647 | test/core/iomgr/combiner_test.c |
| 5648 | ) |
| 5649 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5650 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5651 | target_include_directories(combiner_test |
| 5652 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5653 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5654 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5655 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5656 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5657 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5658 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5659 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5660 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5661 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5662 | ) |
| 5663 | |
| 5664 | target_link_libraries(combiner_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5665 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5666 | grpc_test_util |
| 5667 | grpc |
| 5668 | gpr_test_util |
| 5669 | gpr |
| 5670 | ) |
| 5671 | |
| 5672 | endif (gRPC_BUILD_TESTS) |
| 5673 | if (gRPC_BUILD_TESTS) |
| 5674 | |
| 5675 | add_executable(compression_test |
| 5676 | test/core/compression/compression_test.c |
| 5677 | ) |
| 5678 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5679 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5680 | target_include_directories(compression_test |
| 5681 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5682 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5683 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5684 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5685 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5686 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5687 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5688 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5689 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5690 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5691 | ) |
| 5692 | |
| 5693 | target_link_libraries(compression_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5694 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5695 | grpc_test_util |
| 5696 | grpc |
| 5697 | gpr_test_util |
| 5698 | gpr |
| 5699 | ) |
| 5700 | |
| 5701 | endif (gRPC_BUILD_TESTS) |
| 5702 | if (gRPC_BUILD_TESTS) |
| 5703 | |
| 5704 | add_executable(concurrent_connectivity_test |
| 5705 | test/core/surface/concurrent_connectivity_test.c |
| 5706 | ) |
| 5707 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5708 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5709 | target_include_directories(concurrent_connectivity_test |
| 5710 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5711 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5712 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5713 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5714 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5715 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5716 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5717 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5718 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5719 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5720 | ) |
| 5721 | |
| 5722 | target_link_libraries(concurrent_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5723 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5724 | grpc_test_util |
| 5725 | grpc |
| 5726 | gpr_test_util |
| 5727 | gpr |
| 5728 | ) |
| 5729 | |
| 5730 | endif (gRPC_BUILD_TESTS) |
| 5731 | if (gRPC_BUILD_TESTS) |
| 5732 | |
| 5733 | add_executable(connection_refused_test |
| 5734 | test/core/end2end/connection_refused_test.c |
| 5735 | ) |
| 5736 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5737 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5738 | target_include_directories(connection_refused_test |
| 5739 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5740 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5741 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5742 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5743 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5744 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5745 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5746 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5747 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5748 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5749 | ) |
| 5750 | |
| 5751 | target_link_libraries(connection_refused_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5752 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5753 | grpc_test_util |
| 5754 | grpc |
| 5755 | gpr_test_util |
| 5756 | gpr |
| 5757 | ) |
| 5758 | |
| 5759 | endif (gRPC_BUILD_TESTS) |
| 5760 | if (gRPC_BUILD_TESTS) |
| 5761 | |
| 5762 | add_executable(dns_resolver_connectivity_test |
| 5763 | test/core/client_channel/resolvers/dns_resolver_connectivity_test.c |
| 5764 | ) |
| 5765 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5766 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5767 | target_include_directories(dns_resolver_connectivity_test |
| 5768 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5769 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5770 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5771 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5772 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5773 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5774 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5775 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5776 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5777 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5778 | ) |
| 5779 | |
| 5780 | target_link_libraries(dns_resolver_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5781 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5782 | grpc_test_util |
| 5783 | grpc |
| 5784 | gpr_test_util |
| 5785 | gpr |
| 5786 | ) |
| 5787 | |
| 5788 | endif (gRPC_BUILD_TESTS) |
| 5789 | if (gRPC_BUILD_TESTS) |
| 5790 | |
| 5791 | add_executable(dns_resolver_test |
| 5792 | test/core/client_channel/resolvers/dns_resolver_test.c |
| 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(dns_resolver_test |
| 5797 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5798 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5799 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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(dns_resolver_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 | |
| 5817 | endif (gRPC_BUILD_TESTS) |
| 5818 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5819 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5820 | |
| 5821 | add_executable(dualstack_socket_test |
| 5822 | test/core/end2end/dualstack_socket_test.c |
| 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(dualstack_socket_test |
| 5827 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5828 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5829 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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(dualstack_socket_test |
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 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5847 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5848 | endif (gRPC_BUILD_TESTS) |
| 5849 | if (gRPC_BUILD_TESTS) |
| 5850 | |
| 5851 | add_executable(endpoint_pair_test |
| 5852 | test/core/iomgr/endpoint_pair_test.c |
| 5853 | ) |
| 5854 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5855 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5856 | target_include_directories(endpoint_pair_test |
| 5857 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5858 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5859 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5860 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5861 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5862 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5863 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5864 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5865 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5866 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5867 | ) |
| 5868 | |
| 5869 | target_link_libraries(endpoint_pair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5870 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5871 | grpc_test_util |
| 5872 | grpc |
| 5873 | gpr_test_util |
| 5874 | gpr |
| 5875 | ) |
| 5876 | |
| 5877 | endif (gRPC_BUILD_TESTS) |
| 5878 | if (gRPC_BUILD_TESTS) |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5879 | |
| 5880 | add_executable(error_test |
| 5881 | test/core/iomgr/error_test.c |
| 5882 | ) |
| 5883 | |
| 5884 | |
| 5885 | target_include_directories(error_test |
| 5886 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5887 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5888 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5889 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5890 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 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 |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5895 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5896 | ) |
| 5897 | |
| 5898 | target_link_libraries(error_test |
| 5899 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5900 | grpc_test_util |
| 5901 | grpc |
| 5902 | gpr_test_util |
| 5903 | gpr |
| 5904 | ) |
| 5905 | |
| 5906 | endif (gRPC_BUILD_TESTS) |
| 5907 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5908 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5909 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5910 | add_executable(ev_epollsig_linux_test |
| 5911 | test/core/iomgr/ev_epollsig_linux_test.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5912 | ) |
| 5913 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5914 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5915 | target_include_directories(ev_epollsig_linux_test |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5916 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5917 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5918 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5919 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5920 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5921 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5922 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5923 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5924 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5925 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5926 | ) |
| 5927 | |
Craig Tiller | 6a85ee0 | 2017-04-27 19:17:11 +0000 | [diff] [blame] | 5928 | target_link_libraries(ev_epollsig_linux_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5929 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5930 | grpc_test_util |
| 5931 | grpc |
| 5932 | gpr_test_util |
| 5933 | gpr |
| 5934 | ) |
| 5935 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5936 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5937 | endif (gRPC_BUILD_TESTS) |
| 5938 | if (gRPC_BUILD_TESTS) |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5939 | |
| 5940 | add_executable(fake_resolver_test |
| 5941 | test/core/client_channel/resolvers/fake_resolver_test.c |
| 5942 | ) |
| 5943 | |
| 5944 | |
| 5945 | target_include_directories(fake_resolver_test |
| 5946 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5947 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5948 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5949 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5950 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5951 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5952 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5953 | PRIVATE ${CARES_INCLUDE_DIR} |
David Garcia Quintas | 53af23c | 2017-04-15 10:29:46 -0700 | [diff] [blame] | 5954 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5955 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5956 | ) |
| 5957 | |
| 5958 | target_link_libraries(fake_resolver_test |
| 5959 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5960 | grpc_test_util |
| 5961 | grpc |
| 5962 | gpr_test_util |
| 5963 | gpr |
| 5964 | ) |
| 5965 | |
| 5966 | endif (gRPC_BUILD_TESTS) |
| 5967 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5968 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5969 | |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 5970 | add_executable(fake_transport_security_test |
| 5971 | test/core/tsi/fake_transport_security_test.c |
| 5972 | test/core/tsi/transport_security_test_lib.c |
| 5973 | ) |
| 5974 | |
| 5975 | |
| 5976 | target_include_directories(fake_transport_security_test |
| 5977 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5978 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5979 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5980 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5981 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5982 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5983 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 5984 | PRIVATE ${CARES_INCLUDE_DIR} |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 5985 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 5986 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5987 | ) |
| 5988 | |
| 5989 | target_link_libraries(fake_transport_security_test |
| 5990 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5991 | gpr_test_util |
| 5992 | gpr |
| 5993 | grpc |
| 5994 | ) |
| 5995 | |
| 5996 | endif() |
| 5997 | endif (gRPC_BUILD_TESTS) |
| 5998 | if (gRPC_BUILD_TESTS) |
| 5999 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 6000 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6001 | add_executable(fd_conservation_posix_test |
| 6002 | test/core/iomgr/fd_conservation_posix_test.c |
| 6003 | ) |
| 6004 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6005 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6006 | target_include_directories(fd_conservation_posix_test |
| 6007 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6008 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6009 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6010 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6011 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6012 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6013 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6014 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6015 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6016 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6017 | ) |
| 6018 | |
| 6019 | target_link_libraries(fd_conservation_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6020 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6021 | grpc_test_util |
| 6022 | grpc |
| 6023 | gpr_test_util |
| 6024 | gpr |
| 6025 | ) |
| 6026 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6027 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6028 | endif (gRPC_BUILD_TESTS) |
| 6029 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6030 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6031 | |
| 6032 | add_executable(fd_posix_test |
| 6033 | test/core/iomgr/fd_posix_test.c |
| 6034 | ) |
| 6035 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6036 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6037 | target_include_directories(fd_posix_test |
| 6038 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6039 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6040 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6041 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6042 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6043 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6044 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6045 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6046 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6047 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6048 | ) |
| 6049 | |
| 6050 | target_link_libraries(fd_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6051 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6052 | grpc_test_util |
| 6053 | grpc |
| 6054 | gpr_test_util |
| 6055 | gpr |
| 6056 | ) |
| 6057 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6058 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6059 | endif (gRPC_BUILD_TESTS) |
| 6060 | if (gRPC_BUILD_TESTS) |
| 6061 | |
| 6062 | add_executable(fling_client |
| 6063 | test/core/fling/client.c |
| 6064 | ) |
| 6065 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6066 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6067 | target_include_directories(fling_client |
| 6068 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6069 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6070 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6071 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6072 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6073 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6074 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6075 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6076 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6077 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6078 | ) |
| 6079 | |
| 6080 | target_link_libraries(fling_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6081 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6082 | grpc_test_util |
| 6083 | grpc |
| 6084 | gpr_test_util |
| 6085 | gpr |
| 6086 | ) |
| 6087 | |
| 6088 | endif (gRPC_BUILD_TESTS) |
| 6089 | if (gRPC_BUILD_TESTS) |
| 6090 | |
| 6091 | add_executable(fling_server |
| 6092 | test/core/fling/server.c |
| 6093 | ) |
| 6094 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6095 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6096 | target_include_directories(fling_server |
| 6097 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6098 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6099 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6100 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6101 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6102 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6103 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6104 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6105 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6106 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6107 | ) |
| 6108 | |
| 6109 | target_link_libraries(fling_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6110 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6111 | grpc_test_util |
| 6112 | grpc |
| 6113 | gpr_test_util |
| 6114 | gpr |
| 6115 | ) |
| 6116 | |
| 6117 | endif (gRPC_BUILD_TESTS) |
| 6118 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6119 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6120 | |
| 6121 | add_executable(fling_stream_test |
| 6122 | test/core/fling/fling_stream_test.c |
| 6123 | ) |
| 6124 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6125 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6126 | target_include_directories(fling_stream_test |
| 6127 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6128 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6129 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6130 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6131 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6132 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6133 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6134 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6135 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6136 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6137 | ) |
| 6138 | |
| 6139 | target_link_libraries(fling_stream_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6140 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6141 | grpc_test_util |
| 6142 | grpc |
| 6143 | gpr_test_util |
| 6144 | gpr |
| 6145 | ) |
| 6146 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6147 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6148 | endif (gRPC_BUILD_TESTS) |
| 6149 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6150 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6151 | |
| 6152 | add_executable(fling_test |
| 6153 | test/core/fling/fling_test.c |
| 6154 | ) |
| 6155 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6156 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6157 | target_include_directories(fling_test |
| 6158 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6159 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6160 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6161 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6162 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6163 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6164 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6165 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6166 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6167 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6168 | ) |
| 6169 | |
| 6170 | target_link_libraries(fling_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6171 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6172 | grpc_test_util |
| 6173 | grpc |
| 6174 | gpr_test_util |
| 6175 | gpr |
| 6176 | ) |
| 6177 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6178 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6179 | endif (gRPC_BUILD_TESTS) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 6180 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6181 | add_executable(gen_hpack_tables |
| 6182 | tools/codegen/core/gen_hpack_tables.c |
| 6183 | ) |
| 6184 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6185 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6186 | target_include_directories(gen_hpack_tables |
| 6187 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6188 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6189 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6190 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6191 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6192 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6193 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6194 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6195 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6196 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6197 | ) |
| 6198 | |
| 6199 | target_link_libraries(gen_hpack_tables |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6200 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6201 | gpr |
| 6202 | grpc |
| 6203 | ) |
| 6204 | |
| 6205 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6206 | if (gRPC_INSTALL) |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 6207 | install(TARGETS gen_hpack_tables EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6208 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6209 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6210 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 6211 | ) |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6212 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6213 | |
| 6214 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6215 | add_executable(gen_legal_metadata_characters |
| 6216 | tools/codegen/core/gen_legal_metadata_characters.c |
| 6217 | ) |
| 6218 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6219 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6220 | target_include_directories(gen_legal_metadata_characters |
| 6221 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6222 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6223 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6224 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6225 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +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 |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6231 | ) |
| 6232 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6233 | target_link_libraries(gen_legal_metadata_characters |
| 6234 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6235 | ) |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6236 | |
| 6237 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6238 | if (gRPC_INSTALL) |
| 6239 | install(TARGETS gen_legal_metadata_characters EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6240 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6241 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6242 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6243 | ) |
| 6244 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6245 | |
| 6246 | |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 6247 | add_executable(gen_percent_encoding_tables |
| 6248 | tools/codegen/core/gen_percent_encoding_tables.c |
| 6249 | ) |
| 6250 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6251 | |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 6252 | target_include_directories(gen_percent_encoding_tables |
| 6253 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6254 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6255 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6256 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6257 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 6258 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6259 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6260 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6261 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6262 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 6263 | ) |
| 6264 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6265 | target_link_libraries(gen_percent_encoding_tables |
| 6266 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6267 | ) |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 6268 | |
| 6269 | |
Craig Tiller | 426dcde | 2016-09-07 15:43:10 -0700 | [diff] [blame] | 6270 | if (gRPC_INSTALL) |
| 6271 | install(TARGETS gen_percent_encoding_tables EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 6272 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 6273 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 6274 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Craig Tiller | 426dcde | 2016-09-07 15:43:10 -0700 | [diff] [blame] | 6275 | ) |
| 6276 | endif() |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 6277 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6278 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6279 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6280 | |
| 6281 | add_executable(goaway_server_test |
| 6282 | test/core/end2end/goaway_server_test.c |
| 6283 | ) |
| 6284 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6285 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6286 | target_include_directories(goaway_server_test |
| 6287 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6288 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6289 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6290 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6291 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6292 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6293 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6294 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6295 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6296 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6297 | ) |
| 6298 | |
| 6299 | target_link_libraries(goaway_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6300 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6301 | grpc_test_util |
| 6302 | grpc |
| 6303 | gpr_test_util |
| 6304 | gpr |
| 6305 | ) |
| 6306 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6307 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6308 | endif (gRPC_BUILD_TESTS) |
| 6309 | if (gRPC_BUILD_TESTS) |
| 6310 | |
| 6311 | add_executable(gpr_avl_test |
| 6312 | test/core/support/avl_test.c |
| 6313 | ) |
| 6314 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6315 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6316 | target_include_directories(gpr_avl_test |
| 6317 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6318 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6319 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6320 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6321 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6322 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6323 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6324 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6325 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6326 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6327 | ) |
| 6328 | |
| 6329 | target_link_libraries(gpr_avl_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6330 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6331 | gpr_test_util |
| 6332 | gpr |
| 6333 | ) |
| 6334 | |
| 6335 | endif (gRPC_BUILD_TESTS) |
| 6336 | if (gRPC_BUILD_TESTS) |
| 6337 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6338 | add_executable(gpr_cmdline_test |
| 6339 | test/core/support/cmdline_test.c |
| 6340 | ) |
| 6341 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6342 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6343 | target_include_directories(gpr_cmdline_test |
| 6344 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6345 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6346 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6347 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6348 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6349 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6350 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6351 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6352 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6353 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6354 | ) |
| 6355 | |
| 6356 | target_link_libraries(gpr_cmdline_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6357 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6358 | gpr_test_util |
| 6359 | gpr |
| 6360 | ) |
| 6361 | |
| 6362 | endif (gRPC_BUILD_TESTS) |
| 6363 | if (gRPC_BUILD_TESTS) |
| 6364 | |
| 6365 | add_executable(gpr_cpu_test |
| 6366 | test/core/support/cpu_test.c |
| 6367 | ) |
| 6368 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6369 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6370 | target_include_directories(gpr_cpu_test |
| 6371 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6372 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6373 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6374 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6375 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6376 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6377 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6378 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6379 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6380 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6381 | ) |
| 6382 | |
| 6383 | target_link_libraries(gpr_cpu_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6384 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6385 | gpr_test_util |
| 6386 | gpr |
| 6387 | ) |
| 6388 | |
| 6389 | endif (gRPC_BUILD_TESTS) |
| 6390 | if (gRPC_BUILD_TESTS) |
| 6391 | |
| 6392 | add_executable(gpr_env_test |
| 6393 | test/core/support/env_test.c |
| 6394 | ) |
| 6395 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6396 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6397 | target_include_directories(gpr_env_test |
| 6398 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6399 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6400 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6401 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6402 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6403 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6404 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6405 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6406 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6407 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6408 | ) |
| 6409 | |
| 6410 | target_link_libraries(gpr_env_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6411 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6412 | gpr_test_util |
| 6413 | gpr |
| 6414 | ) |
| 6415 | |
| 6416 | endif (gRPC_BUILD_TESTS) |
| 6417 | if (gRPC_BUILD_TESTS) |
| 6418 | |
| 6419 | add_executable(gpr_histogram_test |
| 6420 | test/core/support/histogram_test.c |
| 6421 | ) |
| 6422 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6423 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6424 | target_include_directories(gpr_histogram_test |
| 6425 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6426 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6427 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6428 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6429 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6430 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6431 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6432 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6433 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6434 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6435 | ) |
| 6436 | |
| 6437 | target_link_libraries(gpr_histogram_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6438 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6439 | gpr_test_util |
| 6440 | gpr |
| 6441 | ) |
| 6442 | |
| 6443 | endif (gRPC_BUILD_TESTS) |
| 6444 | if (gRPC_BUILD_TESTS) |
| 6445 | |
| 6446 | add_executable(gpr_host_port_test |
| 6447 | test/core/support/host_port_test.c |
| 6448 | ) |
| 6449 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6450 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6451 | target_include_directories(gpr_host_port_test |
| 6452 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6453 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6454 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6455 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6456 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6457 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6458 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6459 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6460 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6461 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6462 | ) |
| 6463 | |
| 6464 | target_link_libraries(gpr_host_port_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6465 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6466 | gpr_test_util |
| 6467 | gpr |
| 6468 | ) |
| 6469 | |
| 6470 | endif (gRPC_BUILD_TESTS) |
| 6471 | if (gRPC_BUILD_TESTS) |
| 6472 | |
| 6473 | add_executable(gpr_log_test |
| 6474 | test/core/support/log_test.c |
| 6475 | ) |
| 6476 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6477 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6478 | target_include_directories(gpr_log_test |
| 6479 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6480 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6481 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6482 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6483 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6484 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6485 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6486 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6487 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6488 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6489 | ) |
| 6490 | |
| 6491 | target_link_libraries(gpr_log_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6492 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6493 | gpr_test_util |
| 6494 | gpr |
| 6495 | ) |
| 6496 | |
| 6497 | endif (gRPC_BUILD_TESTS) |
| 6498 | if (gRPC_BUILD_TESTS) |
| 6499 | |
| 6500 | add_executable(gpr_mpscq_test |
| 6501 | test/core/support/mpscq_test.c |
| 6502 | ) |
| 6503 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6504 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6505 | target_include_directories(gpr_mpscq_test |
| 6506 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6507 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6508 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6509 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6510 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6511 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6512 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6513 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6514 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6515 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6516 | ) |
| 6517 | |
| 6518 | target_link_libraries(gpr_mpscq_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6519 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6520 | gpr_test_util |
| 6521 | gpr |
| 6522 | ) |
| 6523 | |
| 6524 | endif (gRPC_BUILD_TESTS) |
| 6525 | if (gRPC_BUILD_TESTS) |
| 6526 | |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 6527 | add_executable(gpr_spinlock_test |
| 6528 | test/core/support/spinlock_test.c |
| 6529 | ) |
| 6530 | |
| 6531 | |
| 6532 | target_include_directories(gpr_spinlock_test |
| 6533 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6534 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6535 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6536 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 6537 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 6538 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6539 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6540 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6541 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 6542 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6543 | ) |
| 6544 | |
| 6545 | target_link_libraries(gpr_spinlock_test |
| 6546 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6547 | gpr_test_util |
| 6548 | gpr |
| 6549 | ) |
| 6550 | |
| 6551 | endif (gRPC_BUILD_TESTS) |
| 6552 | if (gRPC_BUILD_TESTS) |
| 6553 | |
Ken Payson | a4710a0 | 2017-07-10 16:49:59 -0700 | [diff] [blame] | 6554 | add_executable(gpr_stack_lockfree_test |
| 6555 | test/core/support/stack_lockfree_test.c |
| 6556 | ) |
| 6557 | |
| 6558 | |
| 6559 | target_include_directories(gpr_stack_lockfree_test |
| 6560 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6561 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6562 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6563 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 6564 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 6565 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6566 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Ken Payson | a4710a0 | 2017-07-10 16:49:59 -0700 | [diff] [blame] | 6567 | PRIVATE ${CARES_INCLUDE_DIR} |
Ken Payson | a4710a0 | 2017-07-10 16:49:59 -0700 | [diff] [blame] | 6568 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 6569 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6570 | ) |
| 6571 | |
| 6572 | target_link_libraries(gpr_stack_lockfree_test |
| 6573 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6574 | gpr_test_util |
| 6575 | gpr |
| 6576 | ) |
| 6577 | |
| 6578 | endif (gRPC_BUILD_TESTS) |
| 6579 | if (gRPC_BUILD_TESTS) |
| 6580 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6581 | add_executable(gpr_string_test |
| 6582 | test/core/support/string_test.c |
| 6583 | ) |
| 6584 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6585 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6586 | target_include_directories(gpr_string_test |
| 6587 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6588 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6589 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6590 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6591 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6592 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6593 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6594 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6595 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6596 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6597 | ) |
| 6598 | |
| 6599 | target_link_libraries(gpr_string_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6600 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6601 | gpr_test_util |
| 6602 | gpr |
| 6603 | ) |
| 6604 | |
| 6605 | endif (gRPC_BUILD_TESTS) |
| 6606 | if (gRPC_BUILD_TESTS) |
| 6607 | |
| 6608 | add_executable(gpr_sync_test |
| 6609 | test/core/support/sync_test.c |
| 6610 | ) |
| 6611 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6612 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6613 | target_include_directories(gpr_sync_test |
| 6614 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6615 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6616 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6617 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6618 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +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 |
| 6624 | ) |
| 6625 | |
| 6626 | target_link_libraries(gpr_sync_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6627 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6628 | gpr_test_util |
| 6629 | gpr |
| 6630 | ) |
| 6631 | |
| 6632 | endif (gRPC_BUILD_TESTS) |
| 6633 | if (gRPC_BUILD_TESTS) |
| 6634 | |
| 6635 | add_executable(gpr_thd_test |
| 6636 | test/core/support/thd_test.c |
| 6637 | ) |
| 6638 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6639 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6640 | target_include_directories(gpr_thd_test |
| 6641 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6642 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6643 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6644 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6645 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6646 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6647 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6648 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6649 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6650 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6651 | ) |
| 6652 | |
| 6653 | target_link_libraries(gpr_thd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6654 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6655 | gpr_test_util |
| 6656 | gpr |
| 6657 | ) |
| 6658 | |
| 6659 | endif (gRPC_BUILD_TESTS) |
| 6660 | if (gRPC_BUILD_TESTS) |
| 6661 | |
| 6662 | add_executable(gpr_time_test |
| 6663 | test/core/support/time_test.c |
| 6664 | ) |
| 6665 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6666 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6667 | target_include_directories(gpr_time_test |
| 6668 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6669 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6670 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6671 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6672 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6673 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6674 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6675 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6676 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6677 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6678 | ) |
| 6679 | |
| 6680 | target_link_libraries(gpr_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6681 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6682 | gpr_test_util |
| 6683 | gpr |
| 6684 | ) |
| 6685 | |
| 6686 | endif (gRPC_BUILD_TESTS) |
| 6687 | if (gRPC_BUILD_TESTS) |
| 6688 | |
| 6689 | add_executable(gpr_tls_test |
| 6690 | test/core/support/tls_test.c |
| 6691 | ) |
| 6692 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6693 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6694 | target_include_directories(gpr_tls_test |
| 6695 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6696 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6697 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6698 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6699 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6700 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6701 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6702 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6703 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6704 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6705 | ) |
| 6706 | |
| 6707 | target_link_libraries(gpr_tls_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6708 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6709 | gpr_test_util |
| 6710 | gpr |
| 6711 | ) |
| 6712 | |
| 6713 | endif (gRPC_BUILD_TESTS) |
| 6714 | if (gRPC_BUILD_TESTS) |
| 6715 | |
| 6716 | add_executable(gpr_useful_test |
| 6717 | test/core/support/useful_test.c |
| 6718 | ) |
| 6719 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6720 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6721 | target_include_directories(gpr_useful_test |
| 6722 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6723 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6724 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6725 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6726 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6727 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6728 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6729 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6730 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6731 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6732 | ) |
| 6733 | |
| 6734 | target_link_libraries(gpr_useful_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6735 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6736 | gpr_test_util |
| 6737 | gpr |
| 6738 | ) |
| 6739 | |
| 6740 | endif (gRPC_BUILD_TESTS) |
| 6741 | if (gRPC_BUILD_TESTS) |
| 6742 | |
| 6743 | add_executable(grpc_auth_context_test |
| 6744 | test/core/security/auth_context_test.c |
| 6745 | ) |
| 6746 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6747 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6748 | target_include_directories(grpc_auth_context_test |
| 6749 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6750 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6751 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6752 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6753 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6754 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6755 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6756 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6757 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6758 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6759 | ) |
| 6760 | |
| 6761 | target_link_libraries(grpc_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6762 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6763 | grpc_test_util |
| 6764 | grpc |
| 6765 | gpr_test_util |
| 6766 | gpr |
| 6767 | ) |
| 6768 | |
| 6769 | endif (gRPC_BUILD_TESTS) |
| 6770 | if (gRPC_BUILD_TESTS) |
| 6771 | |
| 6772 | add_executable(grpc_b64_test |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 6773 | test/core/slice/b64_test.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6774 | ) |
| 6775 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6776 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6777 | target_include_directories(grpc_b64_test |
| 6778 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6779 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6780 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6781 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6782 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6783 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6784 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6785 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6786 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6787 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6788 | ) |
| 6789 | |
| 6790 | target_link_libraries(grpc_b64_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6791 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6792 | grpc_test_util |
| 6793 | grpc |
| 6794 | gpr_test_util |
| 6795 | gpr |
| 6796 | ) |
| 6797 | |
| 6798 | endif (gRPC_BUILD_TESTS) |
| 6799 | if (gRPC_BUILD_TESTS) |
| 6800 | |
| 6801 | add_executable(grpc_byte_buffer_reader_test |
| 6802 | test/core/surface/byte_buffer_reader_test.c |
| 6803 | ) |
| 6804 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6805 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6806 | target_include_directories(grpc_byte_buffer_reader_test |
| 6807 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6808 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6809 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6810 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6811 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6812 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6813 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6814 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6815 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6816 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6817 | ) |
| 6818 | |
| 6819 | target_link_libraries(grpc_byte_buffer_reader_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6820 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6821 | grpc_test_util |
| 6822 | grpc |
| 6823 | gpr_test_util |
| 6824 | gpr |
| 6825 | ) |
| 6826 | |
| 6827 | endif (gRPC_BUILD_TESTS) |
| 6828 | if (gRPC_BUILD_TESTS) |
| 6829 | |
| 6830 | add_executable(grpc_channel_args_test |
| 6831 | test/core/channel/channel_args_test.c |
| 6832 | ) |
| 6833 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6834 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6835 | target_include_directories(grpc_channel_args_test |
| 6836 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6837 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6838 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6839 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6840 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6841 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6842 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6843 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6844 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6845 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6846 | ) |
| 6847 | |
| 6848 | target_link_libraries(grpc_channel_args_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6849 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6850 | grpc_test_util |
| 6851 | grpc |
| 6852 | gpr_test_util |
| 6853 | gpr |
| 6854 | ) |
| 6855 | |
| 6856 | endif (gRPC_BUILD_TESTS) |
| 6857 | if (gRPC_BUILD_TESTS) |
| 6858 | |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6859 | add_executable(grpc_channel_stack_builder_test |
| 6860 | test/core/channel/channel_stack_builder_test.c |
| 6861 | ) |
| 6862 | |
| 6863 | |
| 6864 | target_include_directories(grpc_channel_stack_builder_test |
| 6865 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6866 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6867 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6868 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 6869 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 6870 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6871 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6872 | PRIVATE ${CARES_INCLUDE_DIR} |
David Garcia Quintas | 243fe9d | 2017-08-24 14:16:37 -0700 | [diff] [blame] | 6873 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 6874 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6875 | ) |
| 6876 | |
| 6877 | target_link_libraries(grpc_channel_stack_builder_test |
| 6878 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6879 | grpc_test_util |
| 6880 | grpc |
| 6881 | gpr_test_util |
| 6882 | gpr |
| 6883 | ) |
| 6884 | |
| 6885 | endif (gRPC_BUILD_TESTS) |
| 6886 | if (gRPC_BUILD_TESTS) |
| 6887 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6888 | add_executable(grpc_channel_stack_test |
| 6889 | test/core/channel/channel_stack_test.c |
| 6890 | ) |
| 6891 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6892 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6893 | target_include_directories(grpc_channel_stack_test |
| 6894 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6895 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6896 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6897 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6898 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6899 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6900 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6901 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6902 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6903 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6904 | ) |
| 6905 | |
| 6906 | target_link_libraries(grpc_channel_stack_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6907 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6908 | grpc_test_util |
| 6909 | grpc |
| 6910 | gpr_test_util |
| 6911 | gpr |
| 6912 | ) |
| 6913 | |
| 6914 | endif (gRPC_BUILD_TESTS) |
| 6915 | if (gRPC_BUILD_TESTS) |
| 6916 | |
| 6917 | add_executable(grpc_completion_queue_test |
| 6918 | test/core/surface/completion_queue_test.c |
| 6919 | ) |
| 6920 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6921 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6922 | target_include_directories(grpc_completion_queue_test |
| 6923 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6924 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6925 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6926 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6927 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6928 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6929 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6930 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6931 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6932 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6933 | ) |
| 6934 | |
| 6935 | target_link_libraries(grpc_completion_queue_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6936 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6937 | grpc_test_util |
| 6938 | grpc |
| 6939 | gpr_test_util |
| 6940 | gpr |
| 6941 | ) |
| 6942 | |
| 6943 | endif (gRPC_BUILD_TESTS) |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6944 | if (gRPC_BUILD_TESTS) |
| 6945 | |
| 6946 | add_executable(grpc_completion_queue_threading_test |
| 6947 | test/core/surface/completion_queue_threading_test.c |
| 6948 | ) |
| 6949 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6950 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6951 | target_include_directories(grpc_completion_queue_threading_test |
| 6952 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6953 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6954 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6955 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6956 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6957 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6958 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6959 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6960 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6961 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6962 | ) |
| 6963 | |
| 6964 | target_link_libraries(grpc_completion_queue_threading_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6965 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6966 | grpc_test_util |
| 6967 | grpc |
| 6968 | gpr_test_util |
| 6969 | gpr |
| 6970 | ) |
| 6971 | |
| 6972 | endif (gRPC_BUILD_TESTS) |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 6973 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6974 | add_executable(grpc_create_jwt |
| 6975 | test/core/security/create_jwt.c |
| 6976 | ) |
| 6977 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6978 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6979 | target_include_directories(grpc_create_jwt |
| 6980 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6981 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6982 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6983 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6984 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6985 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6986 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6987 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6988 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6989 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6990 | ) |
| 6991 | |
| 6992 | target_link_libraries(grpc_create_jwt |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 6993 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6994 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6995 | grpc |
| 6996 | gpr |
| 6997 | ) |
| 6998 | |
| 6999 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 7000 | if (gRPC_INSTALL) |
| 7001 | install(TARGETS grpc_create_jwt EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 7002 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 7003 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 7004 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 7005 | ) |
| 7006 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 7007 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7008 | if (gRPC_BUILD_TESTS) |
| 7009 | |
| 7010 | add_executable(grpc_credentials_test |
| 7011 | test/core/security/credentials_test.c |
| 7012 | ) |
| 7013 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7014 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7015 | target_include_directories(grpc_credentials_test |
| 7016 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7017 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7018 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7019 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7020 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7021 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7022 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7023 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7024 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7025 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7026 | ) |
| 7027 | |
| 7028 | target_link_libraries(grpc_credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7029 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7030 | grpc_test_util |
| 7031 | grpc |
| 7032 | gpr_test_util |
| 7033 | gpr |
| 7034 | ) |
| 7035 | |
| 7036 | endif (gRPC_BUILD_TESTS) |
| 7037 | if (gRPC_BUILD_TESTS) |
| 7038 | |
| 7039 | add_executable(grpc_fetch_oauth2 |
| 7040 | test/core/security/fetch_oauth2.c |
| 7041 | ) |
| 7042 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7043 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7044 | target_include_directories(grpc_fetch_oauth2 |
| 7045 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7046 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7047 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7048 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7049 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7050 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7051 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7052 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7053 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7054 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7055 | ) |
| 7056 | |
| 7057 | target_link_libraries(grpc_fetch_oauth2 |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7058 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7059 | grpc_test_util |
| 7060 | grpc |
| 7061 | gpr_test_util |
| 7062 | gpr |
| 7063 | ) |
| 7064 | |
| 7065 | endif (gRPC_BUILD_TESTS) |
| 7066 | if (gRPC_BUILD_TESTS) |
| 7067 | |
| 7068 | add_executable(grpc_invalid_channel_args_test |
| 7069 | test/core/surface/invalid_channel_args_test.c |
| 7070 | ) |
| 7071 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7072 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7073 | target_include_directories(grpc_invalid_channel_args_test |
| 7074 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7075 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7076 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7077 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7078 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7079 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7080 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7081 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7082 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7083 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7084 | ) |
| 7085 | |
| 7086 | target_link_libraries(grpc_invalid_channel_args_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7087 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7088 | grpc_test_util |
| 7089 | grpc |
| 7090 | gpr_test_util |
| 7091 | gpr |
| 7092 | ) |
| 7093 | |
| 7094 | endif (gRPC_BUILD_TESTS) |
| 7095 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7096 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7097 | |
| 7098 | add_executable(grpc_json_token_test |
| 7099 | test/core/security/json_token_test.c |
| 7100 | ) |
| 7101 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7102 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7103 | target_include_directories(grpc_json_token_test |
| 7104 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7105 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7106 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7107 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7108 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7109 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7110 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7111 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7112 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7113 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7114 | ) |
| 7115 | |
| 7116 | target_link_libraries(grpc_json_token_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7117 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7118 | grpc_test_util |
| 7119 | grpc |
| 7120 | gpr_test_util |
| 7121 | gpr |
| 7122 | ) |
| 7123 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7124 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7125 | endif (gRPC_BUILD_TESTS) |
| 7126 | if (gRPC_BUILD_TESTS) |
| 7127 | |
| 7128 | add_executable(grpc_jwt_verifier_test |
| 7129 | test/core/security/jwt_verifier_test.c |
| 7130 | ) |
| 7131 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7132 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7133 | target_include_directories(grpc_jwt_verifier_test |
| 7134 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7135 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7136 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7137 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7138 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7139 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7140 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7141 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7142 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7143 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7144 | ) |
| 7145 | |
| 7146 | target_link_libraries(grpc_jwt_verifier_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7147 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7148 | grpc_test_util |
| 7149 | grpc |
| 7150 | gpr_test_util |
| 7151 | gpr |
| 7152 | ) |
| 7153 | |
| 7154 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 7155 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7156 | add_executable(grpc_print_google_default_creds_token |
| 7157 | test/core/security/print_google_default_creds_token.c |
| 7158 | ) |
| 7159 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7160 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7161 | target_include_directories(grpc_print_google_default_creds_token |
| 7162 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7163 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7164 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7165 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7166 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7167 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7168 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7169 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7170 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7171 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7172 | ) |
| 7173 | |
| 7174 | target_link_libraries(grpc_print_google_default_creds_token |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7175 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7176 | grpc |
| 7177 | gpr |
| 7178 | ) |
| 7179 | |
| 7180 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 7181 | if (gRPC_INSTALL) |
| 7182 | install(TARGETS grpc_print_google_default_creds_token EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 7183 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 7184 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 7185 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 7186 | ) |
| 7187 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 7188 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7189 | if (gRPC_BUILD_TESTS) |
| 7190 | |
| 7191 | add_executable(grpc_security_connector_test |
| 7192 | test/core/security/security_connector_test.c |
| 7193 | ) |
| 7194 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7195 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7196 | target_include_directories(grpc_security_connector_test |
| 7197 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7198 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7199 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7200 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7201 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7202 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7203 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7204 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7205 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7206 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7207 | ) |
| 7208 | |
| 7209 | target_link_libraries(grpc_security_connector_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7210 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7211 | grpc_test_util |
| 7212 | grpc |
| 7213 | gpr_test_util |
| 7214 | gpr |
| 7215 | ) |
| 7216 | |
| 7217 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 7218 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7219 | add_executable(grpc_verify_jwt |
| 7220 | test/core/security/verify_jwt.c |
| 7221 | ) |
| 7222 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7223 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7224 | target_include_directories(grpc_verify_jwt |
| 7225 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7226 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7227 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7228 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7229 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7230 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7231 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7232 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7233 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7234 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7235 | ) |
| 7236 | |
| 7237 | target_link_libraries(grpc_verify_jwt |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7238 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 7239 | grpc |
| 7240 | gpr |
| 7241 | ) |
| 7242 | |
| 7243 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 7244 | if (gRPC_INSTALL) |
| 7245 | install(TARGETS grpc_verify_jwt EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 7246 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 7247 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 7248 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 7249 | ) |
| 7250 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 7251 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7252 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7253 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7254 | |
| 7255 | add_executable(handshake_client |
| 7256 | test/core/handshake/client_ssl.c |
| 7257 | ) |
| 7258 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7259 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7260 | target_include_directories(handshake_client |
| 7261 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7262 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7263 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7264 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7265 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7266 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7267 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7268 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7269 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7270 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7271 | ) |
| 7272 | |
| 7273 | target_link_libraries(handshake_client |
| 7274 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7275 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7276 | grpc_test_util |
| 7277 | grpc |
| 7278 | gpr_test_util |
| 7279 | gpr |
| 7280 | ) |
| 7281 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7282 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7283 | endif (gRPC_BUILD_TESTS) |
| 7284 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7285 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7286 | |
| 7287 | add_executable(handshake_server |
| 7288 | test/core/handshake/server_ssl.c |
| 7289 | ) |
| 7290 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7291 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7292 | target_include_directories(handshake_server |
| 7293 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7294 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7295 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7296 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7297 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7298 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7299 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7300 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7301 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7302 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7303 | ) |
| 7304 | |
| 7305 | target_link_libraries(handshake_server |
| 7306 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7307 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7308 | grpc_test_util |
| 7309 | grpc |
| 7310 | gpr_test_util |
| 7311 | gpr |
| 7312 | ) |
| 7313 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7314 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7315 | endif (gRPC_BUILD_TESTS) |
| 7316 | if (gRPC_BUILD_TESTS) |
| 7317 | |
| 7318 | add_executable(hpack_parser_test |
| 7319 | test/core/transport/chttp2/hpack_parser_test.c |
| 7320 | ) |
| 7321 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7322 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7323 | target_include_directories(hpack_parser_test |
| 7324 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7325 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7326 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7327 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7328 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7329 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7330 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7331 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7332 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7333 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7334 | ) |
| 7335 | |
| 7336 | target_link_libraries(hpack_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7337 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7338 | grpc_test_util |
| 7339 | grpc |
| 7340 | gpr_test_util |
| 7341 | gpr |
| 7342 | ) |
| 7343 | |
| 7344 | endif (gRPC_BUILD_TESTS) |
| 7345 | if (gRPC_BUILD_TESTS) |
| 7346 | |
| 7347 | add_executable(hpack_table_test |
| 7348 | test/core/transport/chttp2/hpack_table_test.c |
| 7349 | ) |
| 7350 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7351 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7352 | target_include_directories(hpack_table_test |
| 7353 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7354 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7355 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7356 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7357 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7358 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7359 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7360 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7361 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7362 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7363 | ) |
| 7364 | |
| 7365 | target_link_libraries(hpack_table_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7366 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7367 | grpc_test_util |
| 7368 | grpc |
| 7369 | gpr_test_util |
| 7370 | gpr |
| 7371 | ) |
| 7372 | |
| 7373 | endif (gRPC_BUILD_TESTS) |
| 7374 | if (gRPC_BUILD_TESTS) |
| 7375 | |
| 7376 | add_executable(http_parser_test |
| 7377 | test/core/http/parser_test.c |
| 7378 | ) |
| 7379 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7380 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7381 | target_include_directories(http_parser_test |
| 7382 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7383 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7384 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7385 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7386 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7387 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7388 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7389 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7390 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7391 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7392 | ) |
| 7393 | |
| 7394 | target_link_libraries(http_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7395 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7396 | grpc_test_util |
| 7397 | grpc |
| 7398 | gpr_test_util |
| 7399 | gpr |
| 7400 | ) |
| 7401 | |
| 7402 | endif (gRPC_BUILD_TESTS) |
| 7403 | if (gRPC_BUILD_TESTS) |
| 7404 | |
| 7405 | add_executable(httpcli_format_request_test |
| 7406 | test/core/http/format_request_test.c |
| 7407 | ) |
| 7408 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7409 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7410 | target_include_directories(httpcli_format_request_test |
| 7411 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7412 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7413 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7414 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7415 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7416 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7417 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7418 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7419 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7420 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7421 | ) |
| 7422 | |
| 7423 | target_link_libraries(httpcli_format_request_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7424 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7425 | grpc_test_util |
| 7426 | grpc |
| 7427 | gpr_test_util |
| 7428 | gpr |
| 7429 | ) |
| 7430 | |
| 7431 | endif (gRPC_BUILD_TESTS) |
| 7432 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7433 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7434 | |
| 7435 | add_executable(httpcli_test |
| 7436 | test/core/http/httpcli_test.c |
| 7437 | ) |
| 7438 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7439 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7440 | target_include_directories(httpcli_test |
| 7441 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7442 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7443 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7444 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7445 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7446 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7447 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7448 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7449 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7450 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7451 | ) |
| 7452 | |
| 7453 | target_link_libraries(httpcli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7454 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7455 | grpc_test_util |
| 7456 | grpc |
| 7457 | gpr_test_util |
| 7458 | gpr |
| 7459 | ) |
| 7460 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7461 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7462 | endif (gRPC_BUILD_TESTS) |
| 7463 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7464 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7465 | |
| 7466 | add_executable(httpscli_test |
| 7467 | test/core/http/httpscli_test.c |
| 7468 | ) |
| 7469 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7470 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7471 | target_include_directories(httpscli_test |
| 7472 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7473 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7474 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7475 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7476 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7477 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7478 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7479 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7480 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7481 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7482 | ) |
| 7483 | |
| 7484 | target_link_libraries(httpscli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7485 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7486 | grpc_test_util |
| 7487 | grpc |
| 7488 | gpr_test_util |
| 7489 | gpr |
| 7490 | ) |
| 7491 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7492 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7493 | endif (gRPC_BUILD_TESTS) |
| 7494 | if (gRPC_BUILD_TESTS) |
| 7495 | |
| 7496 | add_executable(init_test |
| 7497 | test/core/surface/init_test.c |
| 7498 | ) |
| 7499 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7500 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7501 | target_include_directories(init_test |
| 7502 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7503 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7504 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7505 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7506 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7507 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7508 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7509 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7510 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7511 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7512 | ) |
| 7513 | |
| 7514 | target_link_libraries(init_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7515 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7516 | grpc_test_util |
| 7517 | grpc |
| 7518 | gpr_test_util |
| 7519 | gpr |
| 7520 | ) |
| 7521 | |
| 7522 | endif (gRPC_BUILD_TESTS) |
| 7523 | if (gRPC_BUILD_TESTS) |
| 7524 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7525 | add_executable(invalid_call_argument_test |
| 7526 | test/core/end2end/invalid_call_argument_test.c |
| 7527 | ) |
| 7528 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7529 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7530 | target_include_directories(invalid_call_argument_test |
| 7531 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7532 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7533 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7534 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7535 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7536 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7537 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7538 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7539 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7540 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7541 | ) |
| 7542 | |
| 7543 | target_link_libraries(invalid_call_argument_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7544 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7545 | grpc_test_util |
| 7546 | grpc |
| 7547 | gpr_test_util |
| 7548 | gpr |
| 7549 | ) |
| 7550 | |
| 7551 | endif (gRPC_BUILD_TESTS) |
| 7552 | if (gRPC_BUILD_TESTS) |
| 7553 | |
| 7554 | add_executable(json_rewrite |
| 7555 | test/core/json/json_rewrite.c |
| 7556 | ) |
| 7557 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7558 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7559 | target_include_directories(json_rewrite |
| 7560 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7561 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7562 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7563 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7564 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7565 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7566 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7567 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7568 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7569 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7570 | ) |
| 7571 | |
| 7572 | target_link_libraries(json_rewrite |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7573 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7574 | grpc |
| 7575 | gpr |
| 7576 | ) |
| 7577 | |
| 7578 | endif (gRPC_BUILD_TESTS) |
| 7579 | if (gRPC_BUILD_TESTS) |
| 7580 | |
| 7581 | add_executable(json_rewrite_test |
| 7582 | test/core/json/json_rewrite_test.c |
| 7583 | ) |
| 7584 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7585 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7586 | target_include_directories(json_rewrite_test |
| 7587 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7588 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7589 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7590 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7591 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7592 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7593 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7594 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7595 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7596 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7597 | ) |
| 7598 | |
| 7599 | target_link_libraries(json_rewrite_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7600 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7601 | grpc_test_util |
| 7602 | grpc |
| 7603 | gpr_test_util |
| 7604 | gpr |
| 7605 | ) |
| 7606 | |
| 7607 | endif (gRPC_BUILD_TESTS) |
| 7608 | if (gRPC_BUILD_TESTS) |
| 7609 | |
| 7610 | add_executable(json_stream_error_test |
| 7611 | test/core/json/json_stream_error_test.c |
| 7612 | ) |
| 7613 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7614 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7615 | target_include_directories(json_stream_error_test |
| 7616 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7617 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7618 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7619 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7620 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7621 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7622 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7623 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7624 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7625 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7626 | ) |
| 7627 | |
| 7628 | target_link_libraries(json_stream_error_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7629 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7630 | grpc_test_util |
| 7631 | grpc |
| 7632 | gpr_test_util |
| 7633 | gpr |
| 7634 | ) |
| 7635 | |
| 7636 | endif (gRPC_BUILD_TESTS) |
| 7637 | if (gRPC_BUILD_TESTS) |
| 7638 | |
| 7639 | add_executable(json_test |
| 7640 | test/core/json/json_test.c |
| 7641 | ) |
| 7642 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7643 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7644 | target_include_directories(json_test |
| 7645 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7646 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7647 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7648 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7649 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7650 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7651 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7652 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7653 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7654 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7655 | ) |
| 7656 | |
| 7657 | target_link_libraries(json_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7658 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7659 | grpc_test_util |
| 7660 | grpc |
| 7661 | gpr_test_util |
| 7662 | gpr |
| 7663 | ) |
| 7664 | |
| 7665 | endif (gRPC_BUILD_TESTS) |
| 7666 | if (gRPC_BUILD_TESTS) |
| 7667 | |
| 7668 | add_executable(lame_client_test |
| 7669 | test/core/surface/lame_client_test.c |
| 7670 | ) |
| 7671 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7672 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7673 | target_include_directories(lame_client_test |
| 7674 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7675 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7676 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7677 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7678 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7679 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7680 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7681 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7682 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7683 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7684 | ) |
| 7685 | |
| 7686 | target_link_libraries(lame_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7687 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7688 | grpc_test_util |
| 7689 | grpc |
| 7690 | gpr_test_util |
| 7691 | gpr |
| 7692 | ) |
| 7693 | |
| 7694 | endif (gRPC_BUILD_TESTS) |
| 7695 | if (gRPC_BUILD_TESTS) |
| 7696 | |
| 7697 | add_executable(lb_policies_test |
| 7698 | test/core/client_channel/lb_policies_test.c |
| 7699 | ) |
| 7700 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7701 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7702 | target_include_directories(lb_policies_test |
| 7703 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7704 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7705 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7706 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7707 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7708 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7709 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7710 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7711 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7712 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7713 | ) |
| 7714 | |
| 7715 | target_link_libraries(lb_policies_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7716 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7717 | grpc_test_util |
| 7718 | grpc |
| 7719 | gpr_test_util |
| 7720 | gpr |
| 7721 | ) |
| 7722 | |
| 7723 | endif (gRPC_BUILD_TESTS) |
| 7724 | if (gRPC_BUILD_TESTS) |
| 7725 | |
| 7726 | add_executable(load_file_test |
| 7727 | test/core/iomgr/load_file_test.c |
| 7728 | ) |
| 7729 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7730 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7731 | target_include_directories(load_file_test |
| 7732 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7733 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7734 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7735 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7736 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7737 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7738 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7739 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7740 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7741 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7742 | ) |
| 7743 | |
| 7744 | target_link_libraries(load_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7745 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7746 | grpc_test_util |
| 7747 | grpc |
| 7748 | gpr_test_util |
| 7749 | gpr |
| 7750 | ) |
| 7751 | |
| 7752 | endif (gRPC_BUILD_TESTS) |
| 7753 | if (gRPC_BUILD_TESTS) |
| 7754 | |
| 7755 | add_executable(memory_profile_client |
| 7756 | test/core/memory_usage/client.c |
| 7757 | ) |
| 7758 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7759 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7760 | target_include_directories(memory_profile_client |
| 7761 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7762 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7763 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7764 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7765 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7766 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7767 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7768 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7769 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7770 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7771 | ) |
| 7772 | |
| 7773 | target_link_libraries(memory_profile_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7774 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7775 | grpc_test_util |
| 7776 | grpc |
| 7777 | gpr_test_util |
| 7778 | gpr |
| 7779 | ) |
| 7780 | |
| 7781 | endif (gRPC_BUILD_TESTS) |
| 7782 | if (gRPC_BUILD_TESTS) |
| 7783 | |
| 7784 | add_executable(memory_profile_server |
| 7785 | test/core/memory_usage/server.c |
| 7786 | ) |
| 7787 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7788 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7789 | target_include_directories(memory_profile_server |
| 7790 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7791 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7792 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7793 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7794 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7795 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7796 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7797 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7798 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7799 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7800 | ) |
| 7801 | |
| 7802 | target_link_libraries(memory_profile_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7803 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7804 | grpc_test_util |
| 7805 | grpc |
| 7806 | gpr_test_util |
| 7807 | gpr |
| 7808 | ) |
| 7809 | |
| 7810 | endif (gRPC_BUILD_TESTS) |
| 7811 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7812 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7813 | |
| 7814 | add_executable(memory_profile_test |
| 7815 | test/core/memory_usage/memory_usage_test.c |
| 7816 | ) |
| 7817 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7818 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7819 | target_include_directories(memory_profile_test |
| 7820 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7821 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7822 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7823 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7824 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7825 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7826 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7827 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7828 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7829 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7830 | ) |
| 7831 | |
| 7832 | target_link_libraries(memory_profile_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7833 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7834 | grpc_test_util |
| 7835 | grpc |
| 7836 | gpr_test_util |
| 7837 | gpr |
| 7838 | ) |
| 7839 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7840 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7841 | endif (gRPC_BUILD_TESTS) |
| 7842 | if (gRPC_BUILD_TESTS) |
| 7843 | |
| 7844 | add_executable(message_compress_test |
| 7845 | test/core/compression/message_compress_test.c |
| 7846 | ) |
| 7847 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7848 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7849 | target_include_directories(message_compress_test |
| 7850 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7851 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7852 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7853 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7854 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7855 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7856 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7857 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7858 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7859 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7860 | ) |
| 7861 | |
| 7862 | target_link_libraries(message_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7863 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7864 | grpc_test_util |
| 7865 | grpc |
| 7866 | gpr_test_util |
| 7867 | gpr |
| 7868 | ) |
| 7869 | |
| 7870 | endif (gRPC_BUILD_TESTS) |
| 7871 | if (gRPC_BUILD_TESTS) |
| 7872 | |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7873 | add_executable(minimal_stack_is_minimal_test |
| 7874 | test/core/channel/minimal_stack_is_minimal_test.c |
| 7875 | ) |
| 7876 | |
| 7877 | |
| 7878 | target_include_directories(minimal_stack_is_minimal_test |
| 7879 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7880 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7881 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7882 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 7883 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 7884 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7885 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7886 | PRIVATE ${CARES_INCLUDE_DIR} |
Craig Tiller | 494e72d | 2017-04-03 08:43:22 -0700 | [diff] [blame] | 7887 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 7888 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7889 | ) |
| 7890 | |
| 7891 | target_link_libraries(minimal_stack_is_minimal_test |
| 7892 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 7893 | grpc_test_util |
| 7894 | grpc |
| 7895 | gpr_test_util |
| 7896 | gpr |
| 7897 | ) |
| 7898 | |
| 7899 | endif (gRPC_BUILD_TESTS) |
| 7900 | if (gRPC_BUILD_TESTS) |
| 7901 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7902 | add_executable(mlog_test |
| 7903 | test/core/census/mlog_test.c |
| 7904 | ) |
| 7905 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7906 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7907 | target_include_directories(mlog_test |
| 7908 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7909 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7910 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7911 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7912 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7913 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7914 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7915 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7916 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7917 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7918 | ) |
| 7919 | |
| 7920 | target_link_libraries(mlog_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7921 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7922 | grpc_test_util |
| 7923 | grpc |
| 7924 | gpr_test_util |
| 7925 | gpr |
| 7926 | ) |
| 7927 | |
| 7928 | endif (gRPC_BUILD_TESTS) |
| 7929 | if (gRPC_BUILD_TESTS) |
| 7930 | |
| 7931 | add_executable(multiple_server_queues_test |
| 7932 | test/core/end2end/multiple_server_queues_test.c |
| 7933 | ) |
| 7934 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7935 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7936 | target_include_directories(multiple_server_queues_test |
| 7937 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7938 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7939 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7940 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7941 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7942 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7943 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7944 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7945 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7946 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7947 | ) |
| 7948 | |
| 7949 | target_link_libraries(multiple_server_queues_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7950 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7951 | grpc_test_util |
| 7952 | grpc |
| 7953 | gpr_test_util |
| 7954 | gpr |
| 7955 | ) |
| 7956 | |
| 7957 | endif (gRPC_BUILD_TESTS) |
| 7958 | if (gRPC_BUILD_TESTS) |
| 7959 | |
| 7960 | add_executable(murmur_hash_test |
| 7961 | test/core/support/murmur_hash_test.c |
| 7962 | ) |
| 7963 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7964 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7965 | target_include_directories(murmur_hash_test |
| 7966 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7967 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7968 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7969 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7970 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7971 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7972 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7973 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7974 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7975 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7976 | ) |
| 7977 | |
| 7978 | target_link_libraries(murmur_hash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7979 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7980 | gpr_test_util |
| 7981 | gpr |
| 7982 | ) |
| 7983 | |
| 7984 | endif (gRPC_BUILD_TESTS) |
| 7985 | if (gRPC_BUILD_TESTS) |
| 7986 | |
| 7987 | add_executable(no_server_test |
| 7988 | test/core/end2end/no_server_test.c |
| 7989 | ) |
| 7990 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7991 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7992 | target_include_directories(no_server_test |
| 7993 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7994 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7995 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7996 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7997 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7998 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7999 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8000 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8001 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8002 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8003 | ) |
| 8004 | |
| 8005 | target_link_libraries(no_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8006 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8007 | grpc_test_util |
| 8008 | grpc |
| 8009 | gpr_test_util |
| 8010 | gpr |
| 8011 | ) |
| 8012 | |
| 8013 | endif (gRPC_BUILD_TESTS) |
| 8014 | if (gRPC_BUILD_TESTS) |
| 8015 | |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 8016 | add_executable(num_external_connectivity_watchers_test |
| 8017 | test/core/surface/num_external_connectivity_watchers_test.c |
| 8018 | ) |
| 8019 | |
| 8020 | |
| 8021 | target_include_directories(num_external_connectivity_watchers_test |
| 8022 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8023 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8024 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8025 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8026 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8027 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8028 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 8029 | PRIVATE ${CARES_INCLUDE_DIR} |
Alexander Polcyn | c3b1f18 | 2017-04-18 13:51:36 -0700 | [diff] [blame] | 8030 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 8031 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8032 | ) |
| 8033 | |
| 8034 | target_link_libraries(num_external_connectivity_watchers_test |
| 8035 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8036 | grpc_test_util |
| 8037 | grpc |
| 8038 | gpr_test_util |
| 8039 | gpr |
| 8040 | ) |
| 8041 | |
| 8042 | endif (gRPC_BUILD_TESTS) |
| 8043 | if (gRPC_BUILD_TESTS) |
| 8044 | |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 8045 | add_executable(parse_address_test |
| 8046 | test/core/client_channel/parse_address_test.c |
| 8047 | ) |
| 8048 | |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 8049 | |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 8050 | target_include_directories(parse_address_test |
| 8051 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8052 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8053 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8054 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 8055 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 8056 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8057 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8058 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8059 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 8060 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8061 | ) |
| 8062 | |
| 8063 | target_link_libraries(parse_address_test |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 8064 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 8065 | grpc_test_util |
| 8066 | grpc |
| 8067 | gpr_test_util |
| 8068 | gpr |
| 8069 | ) |
| 8070 | |
| 8071 | endif (gRPC_BUILD_TESTS) |
| 8072 | if (gRPC_BUILD_TESTS) |
| 8073 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8074 | add_executable(percent_encoding_test |
| 8075 | test/core/slice/percent_encoding_test.c |
| 8076 | ) |
| 8077 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8078 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8079 | target_include_directories(percent_encoding_test |
| 8080 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8081 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8082 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8083 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8084 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8085 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8086 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8087 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8088 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8089 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8090 | ) |
| 8091 | |
| 8092 | target_link_libraries(percent_encoding_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8093 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8094 | grpc_test_util |
| 8095 | grpc |
| 8096 | gpr_test_util |
| 8097 | gpr |
| 8098 | ) |
| 8099 | |
| 8100 | endif (gRPC_BUILD_TESTS) |
| 8101 | if (gRPC_BUILD_TESTS) |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 8102 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8103 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 8104 | add_executable(pollset_set_test |
| 8105 | test/core/iomgr/pollset_set_test.c |
| 8106 | ) |
| 8107 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 8108 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 8109 | target_include_directories(pollset_set_test |
| 8110 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8111 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8112 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8113 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 8114 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 8115 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8116 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8117 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8118 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 8119 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8120 | ) |
| 8121 | |
| 8122 | target_link_libraries(pollset_set_test |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 8123 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 8124 | grpc_test_util |
| 8125 | grpc |
| 8126 | gpr_test_util |
| 8127 | gpr |
| 8128 | ) |
| 8129 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 8130 | endif() |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 8131 | endif (gRPC_BUILD_TESTS) |
| 8132 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8133 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8134 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 8135 | add_executable(resolve_address_posix_test |
| 8136 | test/core/iomgr/resolve_address_posix_test.c |
| 8137 | ) |
| 8138 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8139 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 8140 | target_include_directories(resolve_address_posix_test |
| 8141 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8142 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8143 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8144 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8145 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 8146 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8147 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8148 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8149 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 8150 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8151 | ) |
| 8152 | |
| 8153 | target_link_libraries(resolve_address_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8154 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 8155 | grpc_test_util |
| 8156 | grpc |
| 8157 | gpr_test_util |
| 8158 | gpr |
| 8159 | ) |
| 8160 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8161 | endif() |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 8162 | endif (gRPC_BUILD_TESTS) |
| 8163 | if (gRPC_BUILD_TESTS) |
| 8164 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8165 | add_executable(resolve_address_test |
| 8166 | test/core/iomgr/resolve_address_test.c |
| 8167 | ) |
| 8168 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8169 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8170 | target_include_directories(resolve_address_test |
| 8171 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8172 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8173 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8174 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8175 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8176 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8177 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8178 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8179 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8180 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8181 | ) |
| 8182 | |
| 8183 | target_link_libraries(resolve_address_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8184 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8185 | grpc_test_util |
| 8186 | grpc |
| 8187 | gpr_test_util |
| 8188 | gpr |
| 8189 | ) |
| 8190 | |
| 8191 | endif (gRPC_BUILD_TESTS) |
| 8192 | if (gRPC_BUILD_TESTS) |
| 8193 | |
| 8194 | add_executable(resource_quota_test |
| 8195 | test/core/iomgr/resource_quota_test.c |
| 8196 | ) |
| 8197 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8198 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8199 | target_include_directories(resource_quota_test |
| 8200 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8201 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8202 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8203 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8204 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8205 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8206 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8207 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8208 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8209 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8210 | ) |
| 8211 | |
| 8212 | target_link_libraries(resource_quota_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8213 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8214 | grpc_test_util |
| 8215 | grpc |
| 8216 | gpr_test_util |
| 8217 | gpr |
| 8218 | ) |
| 8219 | |
| 8220 | endif (gRPC_BUILD_TESTS) |
| 8221 | if (gRPC_BUILD_TESTS) |
| 8222 | |
| 8223 | add_executable(secure_channel_create_test |
| 8224 | test/core/surface/secure_channel_create_test.c |
| 8225 | ) |
| 8226 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8227 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8228 | target_include_directories(secure_channel_create_test |
| 8229 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8230 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8231 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8232 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8233 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8234 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8235 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8236 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8237 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8238 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8239 | ) |
| 8240 | |
| 8241 | target_link_libraries(secure_channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8242 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8243 | grpc_test_util |
| 8244 | grpc |
| 8245 | gpr_test_util |
| 8246 | gpr |
| 8247 | ) |
| 8248 | |
| 8249 | endif (gRPC_BUILD_TESTS) |
| 8250 | if (gRPC_BUILD_TESTS) |
| 8251 | |
| 8252 | add_executable(secure_endpoint_test |
| 8253 | test/core/security/secure_endpoint_test.c |
| 8254 | ) |
| 8255 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8256 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8257 | target_include_directories(secure_endpoint_test |
| 8258 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8259 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8260 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8261 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8262 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8263 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8264 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8265 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8266 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8267 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8268 | ) |
| 8269 | |
| 8270 | target_link_libraries(secure_endpoint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8271 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8272 | grpc_test_util |
| 8273 | grpc |
| 8274 | gpr_test_util |
| 8275 | gpr |
| 8276 | ) |
| 8277 | |
| 8278 | endif (gRPC_BUILD_TESTS) |
| 8279 | if (gRPC_BUILD_TESTS) |
| 8280 | |
| 8281 | add_executable(sequential_connectivity_test |
| 8282 | test/core/surface/sequential_connectivity_test.c |
| 8283 | ) |
| 8284 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8285 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8286 | target_include_directories(sequential_connectivity_test |
| 8287 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8288 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8289 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8290 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8291 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8292 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8293 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8294 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8295 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8296 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8297 | ) |
| 8298 | |
| 8299 | target_link_libraries(sequential_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8300 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8301 | grpc_test_util |
| 8302 | grpc |
| 8303 | gpr_test_util |
| 8304 | gpr |
| 8305 | ) |
| 8306 | |
| 8307 | endif (gRPC_BUILD_TESTS) |
| 8308 | if (gRPC_BUILD_TESTS) |
| 8309 | |
| 8310 | add_executable(server_chttp2_test |
| 8311 | test/core/surface/server_chttp2_test.c |
| 8312 | ) |
| 8313 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8314 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8315 | target_include_directories(server_chttp2_test |
| 8316 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8317 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8318 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8319 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8320 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8321 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8322 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8323 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8324 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8325 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8326 | ) |
| 8327 | |
| 8328 | target_link_libraries(server_chttp2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8329 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8330 | grpc_test_util |
| 8331 | grpc |
| 8332 | gpr_test_util |
| 8333 | gpr |
| 8334 | ) |
| 8335 | |
| 8336 | endif (gRPC_BUILD_TESTS) |
| 8337 | if (gRPC_BUILD_TESTS) |
| 8338 | |
| 8339 | add_executable(server_test |
| 8340 | test/core/surface/server_test.c |
| 8341 | ) |
| 8342 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8343 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8344 | target_include_directories(server_test |
| 8345 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8346 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8347 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8348 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8349 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8350 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8351 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8352 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8353 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8354 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8355 | ) |
| 8356 | |
| 8357 | target_link_libraries(server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8358 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8359 | grpc_test_util |
| 8360 | grpc |
| 8361 | gpr_test_util |
| 8362 | gpr |
| 8363 | ) |
| 8364 | |
| 8365 | endif (gRPC_BUILD_TESTS) |
| 8366 | if (gRPC_BUILD_TESTS) |
| 8367 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8368 | add_executable(slice_buffer_test |
| 8369 | test/core/slice/slice_buffer_test.c |
| 8370 | ) |
| 8371 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8372 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8373 | target_include_directories(slice_buffer_test |
| 8374 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8375 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8376 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8377 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8378 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8379 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8380 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8381 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8382 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8383 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8384 | ) |
| 8385 | |
| 8386 | target_link_libraries(slice_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8387 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8388 | grpc_test_util |
| 8389 | grpc |
| 8390 | gpr_test_util |
| 8391 | gpr |
| 8392 | ) |
| 8393 | |
| 8394 | endif (gRPC_BUILD_TESTS) |
| 8395 | if (gRPC_BUILD_TESTS) |
| 8396 | |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 8397 | add_executable(slice_hash_table_test |
| 8398 | test/core/slice/slice_hash_table_test.c |
| 8399 | ) |
| 8400 | |
| 8401 | |
| 8402 | target_include_directories(slice_hash_table_test |
| 8403 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8404 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8405 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8406 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8407 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8408 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8409 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 8410 | PRIVATE ${CARES_INCLUDE_DIR} |
Mark D. Roth | 0c0b89a | 2017-04-19 13:28:24 -0700 | [diff] [blame] | 8411 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 8412 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8413 | ) |
| 8414 | |
| 8415 | target_link_libraries(slice_hash_table_test |
| 8416 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8417 | grpc_test_util |
| 8418 | grpc |
| 8419 | gpr_test_util |
| 8420 | gpr |
| 8421 | ) |
| 8422 | |
| 8423 | endif (gRPC_BUILD_TESTS) |
| 8424 | if (gRPC_BUILD_TESTS) |
| 8425 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8426 | add_executable(slice_string_helpers_test |
| 8427 | test/core/slice/slice_string_helpers_test.c |
| 8428 | ) |
| 8429 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8430 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8431 | target_include_directories(slice_string_helpers_test |
| 8432 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8433 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8434 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8435 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8436 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8437 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8438 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8439 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8440 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8441 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8442 | ) |
| 8443 | |
| 8444 | target_link_libraries(slice_string_helpers_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8445 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8446 | grpc_test_util |
| 8447 | grpc |
| 8448 | gpr_test_util |
| 8449 | gpr |
| 8450 | ) |
| 8451 | |
| 8452 | endif (gRPC_BUILD_TESTS) |
| 8453 | if (gRPC_BUILD_TESTS) |
| 8454 | |
| 8455 | add_executable(slice_test |
| 8456 | test/core/slice/slice_test.c |
| 8457 | ) |
| 8458 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8459 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8460 | target_include_directories(slice_test |
| 8461 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8462 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8463 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8464 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8465 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8466 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8467 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8468 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8469 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8470 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8471 | ) |
| 8472 | |
| 8473 | target_link_libraries(slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8474 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8475 | grpc_test_util |
| 8476 | grpc |
| 8477 | gpr_test_util |
| 8478 | gpr |
| 8479 | ) |
| 8480 | |
| 8481 | endif (gRPC_BUILD_TESTS) |
| 8482 | if (gRPC_BUILD_TESTS) |
| 8483 | |
| 8484 | add_executable(sockaddr_resolver_test |
| 8485 | test/core/client_channel/resolvers/sockaddr_resolver_test.c |
| 8486 | ) |
| 8487 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8488 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8489 | target_include_directories(sockaddr_resolver_test |
| 8490 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8491 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8492 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8493 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8494 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8495 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8496 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8497 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8498 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8499 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8500 | ) |
| 8501 | |
| 8502 | target_link_libraries(sockaddr_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8503 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8504 | grpc_test_util |
| 8505 | grpc |
| 8506 | gpr_test_util |
| 8507 | gpr |
| 8508 | ) |
| 8509 | |
| 8510 | endif (gRPC_BUILD_TESTS) |
| 8511 | if (gRPC_BUILD_TESTS) |
| 8512 | |
| 8513 | add_executable(sockaddr_utils_test |
| 8514 | test/core/iomgr/sockaddr_utils_test.c |
| 8515 | ) |
| 8516 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8517 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8518 | target_include_directories(sockaddr_utils_test |
| 8519 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8520 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8521 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8522 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8523 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8524 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8525 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8526 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8527 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8528 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8529 | ) |
| 8530 | |
| 8531 | target_link_libraries(sockaddr_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8532 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8533 | grpc_test_util |
| 8534 | grpc |
| 8535 | gpr_test_util |
| 8536 | gpr |
| 8537 | ) |
| 8538 | |
| 8539 | endif (gRPC_BUILD_TESTS) |
| 8540 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8541 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8542 | |
| 8543 | add_executable(socket_utils_test |
| 8544 | test/core/iomgr/socket_utils_test.c |
| 8545 | ) |
| 8546 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8547 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8548 | target_include_directories(socket_utils_test |
| 8549 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8550 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8551 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8552 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8553 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8554 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8555 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8556 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8557 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8558 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8559 | ) |
| 8560 | |
| 8561 | target_link_libraries(socket_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8562 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8563 | grpc_test_util |
| 8564 | grpc |
| 8565 | gpr_test_util |
| 8566 | gpr |
| 8567 | ) |
| 8568 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8569 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8570 | endif (gRPC_BUILD_TESTS) |
| 8571 | if (gRPC_BUILD_TESTS) |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 8572 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8573 | |
| 8574 | add_executable(ssl_transport_security_test |
| 8575 | test/core/tsi/ssl_transport_security_test.c |
| 8576 | test/core/tsi/transport_security_test_lib.c |
| 8577 | ) |
| 8578 | |
| 8579 | |
| 8580 | target_include_directories(ssl_transport_security_test |
| 8581 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8582 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8583 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8584 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8585 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8586 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8587 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 8588 | PRIVATE ${CARES_INCLUDE_DIR} |
Yihua Zhang | 7fab9bf | 2017-08-22 12:32:43 -0700 | [diff] [blame] | 8589 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 8590 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8591 | ) |
| 8592 | |
| 8593 | target_link_libraries(ssl_transport_security_test |
| 8594 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8595 | gpr_test_util |
| 8596 | gpr |
| 8597 | grpc |
| 8598 | ) |
| 8599 | |
| 8600 | endif() |
| 8601 | endif (gRPC_BUILD_TESTS) |
| 8602 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8603 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8604 | add_executable(status_conversion_test |
| 8605 | test/core/transport/status_conversion_test.c |
| 8606 | ) |
| 8607 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8608 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8609 | target_include_directories(status_conversion_test |
| 8610 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8611 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8612 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8613 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8614 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8615 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8616 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8617 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8618 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8619 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8620 | ) |
| 8621 | |
| 8622 | target_link_libraries(status_conversion_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8623 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8624 | grpc_test_util |
| 8625 | grpc |
| 8626 | gpr_test_util |
| 8627 | gpr |
| 8628 | ) |
| 8629 | |
| 8630 | endif (gRPC_BUILD_TESTS) |
| 8631 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8632 | |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 8633 | add_executable(stream_compression_test |
| 8634 | test/core/compression/stream_compression_test.c |
| 8635 | ) |
| 8636 | |
| 8637 | |
| 8638 | target_include_directories(stream_compression_test |
| 8639 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8640 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8641 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8642 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8643 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8644 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8645 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 8646 | PRIVATE ${CARES_INCLUDE_DIR} |
Muxi Yan | c1f837c | 2017-05-04 18:17:13 -0700 | [diff] [blame] | 8647 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 8648 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8649 | ) |
| 8650 | |
| 8651 | target_link_libraries(stream_compression_test |
| 8652 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8653 | grpc_test_util |
| 8654 | grpc |
| 8655 | gpr_test_util |
| 8656 | gpr |
| 8657 | ) |
| 8658 | |
| 8659 | endif (gRPC_BUILD_TESTS) |
| 8660 | if (gRPC_BUILD_TESTS) |
| 8661 | |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8662 | add_executable(stream_owned_slice_test |
| 8663 | test/core/transport/stream_owned_slice_test.c |
| 8664 | ) |
| 8665 | |
| 8666 | |
| 8667 | target_include_directories(stream_owned_slice_test |
| 8668 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8669 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8670 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8671 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8672 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8673 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8674 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8675 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8676 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8677 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8678 | ) |
| 8679 | |
| 8680 | target_link_libraries(stream_owned_slice_test |
| 8681 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8682 | grpc_test_util |
| 8683 | grpc |
| 8684 | gpr_test_util |
| 8685 | gpr |
| 8686 | ) |
| 8687 | |
| 8688 | endif (gRPC_BUILD_TESTS) |
| 8689 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8690 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8691 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8692 | add_executable(tcp_client_posix_test |
| 8693 | test/core/iomgr/tcp_client_posix_test.c |
| 8694 | ) |
| 8695 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8696 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8697 | target_include_directories(tcp_client_posix_test |
| 8698 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8699 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8700 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8701 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8702 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8703 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8704 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8705 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8706 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8707 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8708 | ) |
| 8709 | |
| 8710 | target_link_libraries(tcp_client_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8711 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8712 | grpc_test_util |
| 8713 | grpc |
| 8714 | gpr_test_util |
| 8715 | gpr |
| 8716 | ) |
| 8717 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8718 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8719 | endif (gRPC_BUILD_TESTS) |
| 8720 | if (gRPC_BUILD_TESTS) |
| 8721 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8722 | add_executable(tcp_client_uv_test |
| 8723 | test/core/iomgr/tcp_client_uv_test.c |
| 8724 | ) |
| 8725 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8726 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8727 | target_include_directories(tcp_client_uv_test |
| 8728 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8729 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8730 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8731 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8732 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8733 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8734 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8735 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8736 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8737 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8738 | ) |
| 8739 | |
| 8740 | target_link_libraries(tcp_client_uv_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8741 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8742 | grpc_test_util |
| 8743 | grpc |
| 8744 | gpr_test_util |
| 8745 | gpr |
| 8746 | ) |
| 8747 | |
| 8748 | endif (gRPC_BUILD_TESTS) |
| 8749 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8750 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8751 | |
| 8752 | add_executable(tcp_posix_test |
| 8753 | test/core/iomgr/tcp_posix_test.c |
| 8754 | ) |
| 8755 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8756 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8757 | target_include_directories(tcp_posix_test |
| 8758 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8759 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8760 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8761 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8762 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8763 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8764 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8765 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8766 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8767 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8768 | ) |
| 8769 | |
| 8770 | target_link_libraries(tcp_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8771 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8772 | grpc_test_util |
| 8773 | grpc |
| 8774 | gpr_test_util |
| 8775 | gpr |
| 8776 | ) |
| 8777 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8778 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8779 | endif (gRPC_BUILD_TESTS) |
| 8780 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8781 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8782 | |
| 8783 | add_executable(tcp_server_posix_test |
| 8784 | test/core/iomgr/tcp_server_posix_test.c |
| 8785 | ) |
| 8786 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8787 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8788 | target_include_directories(tcp_server_posix_test |
| 8789 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8790 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8791 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8792 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8793 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8794 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8795 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8796 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8797 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8798 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8799 | ) |
| 8800 | |
| 8801 | target_link_libraries(tcp_server_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8802 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8803 | grpc_test_util |
| 8804 | grpc |
| 8805 | gpr_test_util |
| 8806 | gpr |
| 8807 | ) |
| 8808 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8809 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8810 | endif (gRPC_BUILD_TESTS) |
| 8811 | if (gRPC_BUILD_TESTS) |
| 8812 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8813 | add_executable(tcp_server_uv_test |
| 8814 | test/core/iomgr/tcp_server_uv_test.c |
| 8815 | ) |
| 8816 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8817 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8818 | target_include_directories(tcp_server_uv_test |
| 8819 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8820 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8821 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8822 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8823 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8824 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8825 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8826 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8827 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8828 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8829 | ) |
| 8830 | |
| 8831 | target_link_libraries(tcp_server_uv_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8832 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8833 | grpc_test_util |
| 8834 | grpc |
| 8835 | gpr_test_util |
| 8836 | gpr |
| 8837 | ) |
| 8838 | |
| 8839 | endif (gRPC_BUILD_TESTS) |
| 8840 | if (gRPC_BUILD_TESTS) |
| 8841 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8842 | add_executable(time_averaged_stats_test |
| 8843 | test/core/iomgr/time_averaged_stats_test.c |
| 8844 | ) |
| 8845 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8846 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8847 | target_include_directories(time_averaged_stats_test |
| 8848 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8849 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8850 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8851 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8852 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8853 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8854 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8855 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8856 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8857 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8858 | ) |
| 8859 | |
| 8860 | target_link_libraries(time_averaged_stats_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8861 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8862 | grpc_test_util |
| 8863 | grpc |
| 8864 | gpr_test_util |
| 8865 | gpr |
| 8866 | ) |
| 8867 | |
| 8868 | endif (gRPC_BUILD_TESTS) |
| 8869 | if (gRPC_BUILD_TESTS) |
| 8870 | |
| 8871 | add_executable(timeout_encoding_test |
| 8872 | test/core/transport/timeout_encoding_test.c |
| 8873 | ) |
| 8874 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8875 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8876 | target_include_directories(timeout_encoding_test |
| 8877 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8878 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8879 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8880 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8881 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8882 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8883 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8884 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8885 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8886 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8887 | ) |
| 8888 | |
| 8889 | target_link_libraries(timeout_encoding_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8890 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8891 | grpc_test_util |
| 8892 | grpc |
| 8893 | gpr_test_util |
| 8894 | gpr |
| 8895 | ) |
| 8896 | |
| 8897 | endif (gRPC_BUILD_TESTS) |
| 8898 | if (gRPC_BUILD_TESTS) |
| 8899 | |
| 8900 | add_executable(timer_heap_test |
| 8901 | test/core/iomgr/timer_heap_test.c |
| 8902 | ) |
| 8903 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8904 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8905 | target_include_directories(timer_heap_test |
| 8906 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8907 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8908 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8909 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8910 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8911 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8912 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8913 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8914 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8915 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8916 | ) |
| 8917 | |
| 8918 | target_link_libraries(timer_heap_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8919 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8920 | grpc_test_util |
| 8921 | grpc |
| 8922 | gpr_test_util |
| 8923 | gpr |
| 8924 | ) |
| 8925 | |
| 8926 | endif (gRPC_BUILD_TESTS) |
| 8927 | if (gRPC_BUILD_TESTS) |
| 8928 | |
| 8929 | add_executable(timer_list_test |
| 8930 | test/core/iomgr/timer_list_test.c |
| 8931 | ) |
| 8932 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8933 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8934 | target_include_directories(timer_list_test |
| 8935 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8936 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8937 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8938 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8939 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8940 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8941 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8942 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8943 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8944 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8945 | ) |
| 8946 | |
| 8947 | target_link_libraries(timer_list_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8948 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8949 | grpc_test_util |
| 8950 | grpc |
| 8951 | gpr_test_util |
| 8952 | gpr |
| 8953 | ) |
| 8954 | |
| 8955 | endif (gRPC_BUILD_TESTS) |
| 8956 | if (gRPC_BUILD_TESTS) |
| 8957 | |
| 8958 | add_executable(transport_connectivity_state_test |
| 8959 | test/core/transport/connectivity_state_test.c |
| 8960 | ) |
| 8961 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8962 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8963 | target_include_directories(transport_connectivity_state_test |
| 8964 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8965 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8966 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8967 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8968 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8969 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8970 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8971 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8972 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8973 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8974 | ) |
| 8975 | |
| 8976 | target_link_libraries(transport_connectivity_state_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8977 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8978 | grpc_test_util |
| 8979 | grpc |
| 8980 | gpr_test_util |
| 8981 | gpr |
| 8982 | ) |
| 8983 | |
| 8984 | endif (gRPC_BUILD_TESTS) |
| 8985 | if (gRPC_BUILD_TESTS) |
| 8986 | |
| 8987 | add_executable(transport_metadata_test |
| 8988 | test/core/transport/metadata_test.c |
| 8989 | ) |
| 8990 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8991 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8992 | target_include_directories(transport_metadata_test |
| 8993 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8994 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8995 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8996 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8997 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8998 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8999 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9000 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9001 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9002 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9003 | ) |
| 9004 | |
| 9005 | target_link_libraries(transport_metadata_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9006 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9007 | grpc_test_util |
| 9008 | grpc |
| 9009 | gpr_test_util |
| 9010 | gpr |
| 9011 | ) |
| 9012 | |
| 9013 | endif (gRPC_BUILD_TESTS) |
| 9014 | if (gRPC_BUILD_TESTS) |
| 9015 | |
| 9016 | add_executable(transport_pid_controller_test |
| 9017 | test/core/transport/pid_controller_test.c |
| 9018 | ) |
| 9019 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9020 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9021 | target_include_directories(transport_pid_controller_test |
| 9022 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9023 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9024 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9025 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9026 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9027 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9028 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9029 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9030 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9031 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9032 | ) |
| 9033 | |
| 9034 | target_link_libraries(transport_pid_controller_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9035 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9036 | grpc_test_util |
| 9037 | grpc |
| 9038 | gpr_test_util |
| 9039 | gpr |
| 9040 | ) |
| 9041 | |
| 9042 | endif (gRPC_BUILD_TESTS) |
| 9043 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9044 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9045 | |
| 9046 | add_executable(transport_security_test |
| 9047 | test/core/tsi/transport_security_test.c |
| 9048 | ) |
| 9049 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9050 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9051 | target_include_directories(transport_security_test |
| 9052 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9053 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9054 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9055 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9056 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9057 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9058 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9059 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9060 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9061 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9062 | ) |
| 9063 | |
| 9064 | target_link_libraries(transport_security_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9065 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9066 | grpc_test_util |
| 9067 | grpc |
| 9068 | gpr_test_util |
| 9069 | gpr |
| 9070 | ) |
| 9071 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9072 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9073 | endif (gRPC_BUILD_TESTS) |
| 9074 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9075 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9076 | |
| 9077 | add_executable(udp_server_test |
| 9078 | test/core/iomgr/udp_server_test.c |
| 9079 | ) |
| 9080 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9081 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9082 | target_include_directories(udp_server_test |
| 9083 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9084 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9085 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9086 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9087 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9088 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9089 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9090 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9091 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9092 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9093 | ) |
| 9094 | |
| 9095 | target_link_libraries(udp_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9096 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9097 | grpc_test_util |
| 9098 | grpc |
| 9099 | gpr_test_util |
| 9100 | gpr |
| 9101 | ) |
| 9102 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9103 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9104 | endif (gRPC_BUILD_TESTS) |
| 9105 | if (gRPC_BUILD_TESTS) |
| 9106 | |
| 9107 | add_executable(uri_parser_test |
| 9108 | test/core/client_channel/uri_parser_test.c |
| 9109 | ) |
| 9110 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9111 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9112 | target_include_directories(uri_parser_test |
| 9113 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9114 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9115 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9116 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9117 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9118 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9119 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9120 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9121 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9122 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9123 | ) |
| 9124 | |
| 9125 | target_link_libraries(uri_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9126 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9127 | grpc_test_util |
| 9128 | grpc |
| 9129 | gpr_test_util |
| 9130 | gpr |
| 9131 | ) |
| 9132 | |
| 9133 | endif (gRPC_BUILD_TESTS) |
| 9134 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9135 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9136 | |
| 9137 | add_executable(wakeup_fd_cv_test |
| 9138 | test/core/iomgr/wakeup_fd_cv_test.c |
| 9139 | ) |
| 9140 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9141 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9142 | target_include_directories(wakeup_fd_cv_test |
| 9143 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9144 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9145 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9146 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9147 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9148 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9149 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9150 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9151 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9152 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9153 | ) |
| 9154 | |
| 9155 | target_link_libraries(wakeup_fd_cv_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9156 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9157 | grpc_test_util |
| 9158 | grpc |
| 9159 | gpr_test_util |
| 9160 | gpr |
| 9161 | ) |
| 9162 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9163 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9164 | endif (gRPC_BUILD_TESTS) |
| 9165 | if (gRPC_BUILD_TESTS) |
| 9166 | |
| 9167 | add_executable(alarm_cpp_test |
| 9168 | test/cpp/common/alarm_cpp_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9169 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9170 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9171 | ) |
| 9172 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9173 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9174 | target_include_directories(alarm_cpp_test |
| 9175 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9176 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9177 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9178 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9179 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9180 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9181 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9182 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9183 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9184 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9185 | PRIVATE third_party/googletest/googletest/include |
| 9186 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9187 | PRIVATE third_party/googletest/googlemock/include |
| 9188 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9189 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9190 | ) |
| 9191 | |
| 9192 | target_link_libraries(alarm_cpp_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9193 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9194 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9195 | grpc++_test_util_unsecure |
| 9196 | grpc_test_util_unsecure |
| 9197 | grpc++_unsecure |
| 9198 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9199 | gpr_test_util |
| 9200 | gpr |
| 9201 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9202 | ) |
| 9203 | |
| 9204 | endif (gRPC_BUILD_TESTS) |
| 9205 | if (gRPC_BUILD_TESTS) |
| 9206 | |
| 9207 | add_executable(async_end2end_test |
| 9208 | test/cpp/end2end/async_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9209 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9210 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9211 | ) |
| 9212 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9213 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9214 | target_include_directories(async_end2end_test |
| 9215 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9216 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9217 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9218 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9219 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9220 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9221 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9222 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9223 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9224 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9225 | PRIVATE third_party/googletest/googletest/include |
| 9226 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9227 | PRIVATE third_party/googletest/googlemock/include |
| 9228 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9229 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9230 | ) |
| 9231 | |
| 9232 | target_link_libraries(async_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9233 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9234 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9235 | grpc++_test_util |
| 9236 | grpc_test_util |
| 9237 | grpc++ |
| 9238 | grpc |
| 9239 | gpr_test_util |
| 9240 | gpr |
| 9241 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9242 | ) |
| 9243 | |
| 9244 | endif (gRPC_BUILD_TESTS) |
| 9245 | if (gRPC_BUILD_TESTS) |
| 9246 | |
| 9247 | add_executable(auth_property_iterator_test |
| 9248 | test/cpp/common/auth_property_iterator_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9249 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9250 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9251 | ) |
| 9252 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9253 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9254 | target_include_directories(auth_property_iterator_test |
| 9255 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9256 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9257 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9258 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9259 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9260 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9261 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9262 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9263 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9264 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9265 | PRIVATE third_party/googletest/googletest/include |
| 9266 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9267 | PRIVATE third_party/googletest/googlemock/include |
| 9268 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9269 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9270 | ) |
| 9271 | |
| 9272 | target_link_libraries(auth_property_iterator_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9273 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9274 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9275 | grpc++_test_util |
| 9276 | grpc_test_util |
| 9277 | grpc++ |
| 9278 | grpc |
| 9279 | gpr_test_util |
| 9280 | gpr |
| 9281 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9282 | ) |
| 9283 | |
| 9284 | endif (gRPC_BUILD_TESTS) |
| 9285 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9286 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9287 | |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 9288 | add_executable(bm_arena |
| 9289 | test/cpp/microbenchmarks/bm_arena.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9290 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9291 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 9292 | ) |
| 9293 | |
| 9294 | |
| 9295 | target_include_directories(bm_arena |
| 9296 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9297 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9298 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9299 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9300 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9301 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9302 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9303 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9304 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 9305 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9306 | PRIVATE third_party/googletest/googletest/include |
| 9307 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9308 | PRIVATE third_party/googletest/googlemock/include |
| 9309 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 9310 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9311 | ) |
| 9312 | |
| 9313 | target_link_libraries(bm_arena |
| 9314 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9315 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9316 | grpc_benchmark |
| 9317 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9318 | grpc++_test_util_unsecure |
| 9319 | grpc_test_util_unsecure |
| 9320 | grpc++_unsecure |
| 9321 | grpc_unsecure |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 9322 | gpr_test_util |
| 9323 | gpr |
| 9324 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9325 | ) |
| 9326 | |
| 9327 | endif() |
| 9328 | endif (gRPC_BUILD_TESTS) |
| 9329 | if (gRPC_BUILD_TESTS) |
| 9330 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9331 | |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9332 | add_executable(bm_call_create |
| 9333 | test/cpp/microbenchmarks/bm_call_create.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9334 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9335 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9336 | ) |
| 9337 | |
| 9338 | |
| 9339 | target_include_directories(bm_call_create |
| 9340 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9341 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9342 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9343 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9344 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9345 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9346 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9347 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9348 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9349 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9350 | PRIVATE third_party/googletest/googletest/include |
| 9351 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9352 | PRIVATE third_party/googletest/googlemock/include |
| 9353 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9354 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9355 | ) |
| 9356 | |
| 9357 | target_link_libraries(bm_call_create |
| 9358 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9359 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9360 | grpc_benchmark |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9361 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9362 | grpc++_test_util_unsecure |
| 9363 | grpc_test_util_unsecure |
| 9364 | grpc++_unsecure |
| 9365 | grpc_unsecure |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 9366 | gpr_test_util |
| 9367 | gpr |
| 9368 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9369 | ) |
| 9370 | |
| 9371 | endif() |
| 9372 | endif (gRPC_BUILD_TESTS) |
| 9373 | if (gRPC_BUILD_TESTS) |
| 9374 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9375 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 9376 | add_executable(bm_chttp2_hpack |
| 9377 | test/cpp/microbenchmarks/bm_chttp2_hpack.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9378 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9379 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9380 | ) |
| 9381 | |
| 9382 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 9383 | target_include_directories(bm_chttp2_hpack |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9384 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9385 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9386 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9387 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9388 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9389 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9390 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9391 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9392 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9393 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9394 | PRIVATE third_party/googletest/googletest/include |
| 9395 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9396 | PRIVATE third_party/googletest/googlemock/include |
| 9397 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9398 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9399 | ) |
| 9400 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 9401 | target_link_libraries(bm_chttp2_hpack |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9402 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9403 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9404 | grpc_benchmark |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9405 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9406 | grpc++_test_util_unsecure |
| 9407 | grpc_test_util_unsecure |
| 9408 | grpc++_unsecure |
| 9409 | grpc_unsecure |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 9410 | gpr_test_util |
| 9411 | gpr |
| 9412 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9413 | ) |
| 9414 | |
| 9415 | endif() |
| 9416 | endif (gRPC_BUILD_TESTS) |
| 9417 | if (gRPC_BUILD_TESTS) |
| 9418 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9419 | |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9420 | add_executable(bm_chttp2_transport |
| 9421 | test/cpp/microbenchmarks/bm_chttp2_transport.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9422 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9423 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9424 | ) |
| 9425 | |
| 9426 | |
| 9427 | target_include_directories(bm_chttp2_transport |
| 9428 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9429 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9430 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9431 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9432 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9433 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9434 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 937302b | 2017-03-22 10:54:31 -0700 | [diff] [blame] | 9435 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | 937302b | 2017-03-22 10:54:31 -0700 | [diff] [blame] | 9436 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9437 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9438 | PRIVATE third_party/googletest/googletest/include |
| 9439 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9440 | PRIVATE third_party/googletest/googlemock/include |
| 9441 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9442 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9443 | ) |
| 9444 | |
| 9445 | target_link_libraries(bm_chttp2_transport |
| 9446 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9447 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9448 | grpc_benchmark |
| 9449 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9450 | grpc++_test_util_unsecure |
| 9451 | grpc_test_util_unsecure |
| 9452 | grpc++_unsecure |
| 9453 | grpc_unsecure |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 9454 | gpr_test_util |
| 9455 | gpr |
| 9456 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9457 | ) |
| 9458 | |
| 9459 | endif() |
| 9460 | endif (gRPC_BUILD_TESTS) |
| 9461 | if (gRPC_BUILD_TESTS) |
| 9462 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9463 | |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9464 | add_executable(bm_closure |
| 9465 | test/cpp/microbenchmarks/bm_closure.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9466 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9467 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9468 | ) |
| 9469 | |
| 9470 | |
| 9471 | target_include_directories(bm_closure |
| 9472 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9473 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9474 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9475 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9476 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9477 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9478 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9479 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9480 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9481 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9482 | PRIVATE third_party/googletest/googletest/include |
| 9483 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9484 | PRIVATE third_party/googletest/googlemock/include |
| 9485 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9486 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9487 | ) |
| 9488 | |
| 9489 | target_link_libraries(bm_closure |
| 9490 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9491 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9492 | grpc_benchmark |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9493 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9494 | grpc++_test_util_unsecure |
| 9495 | grpc_test_util_unsecure |
| 9496 | grpc++_unsecure |
| 9497 | grpc_unsecure |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9498 | gpr_test_util |
| 9499 | gpr |
| 9500 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9501 | ) |
| 9502 | |
| 9503 | endif() |
| 9504 | endif (gRPC_BUILD_TESTS) |
| 9505 | if (gRPC_BUILD_TESTS) |
| 9506 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9507 | |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9508 | add_executable(bm_cq |
| 9509 | test/cpp/microbenchmarks/bm_cq.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9510 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9511 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9512 | ) |
| 9513 | |
| 9514 | |
| 9515 | target_include_directories(bm_cq |
| 9516 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9517 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9518 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9519 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9520 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9521 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9522 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9523 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9524 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9525 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9526 | PRIVATE third_party/googletest/googletest/include |
| 9527 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9528 | PRIVATE third_party/googletest/googlemock/include |
| 9529 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9530 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9531 | ) |
| 9532 | |
| 9533 | target_link_libraries(bm_cq |
| 9534 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9535 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9536 | grpc_benchmark |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9537 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9538 | grpc++_test_util_unsecure |
| 9539 | grpc_test_util_unsecure |
| 9540 | grpc++_unsecure |
| 9541 | grpc_unsecure |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9542 | gpr_test_util |
| 9543 | gpr |
| 9544 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9545 | ) |
| 9546 | |
| 9547 | endif() |
| 9548 | endif (gRPC_BUILD_TESTS) |
| 9549 | if (gRPC_BUILD_TESTS) |
| 9550 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9551 | |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9552 | add_executable(bm_cq_multiple_threads |
| 9553 | test/cpp/microbenchmarks/bm_cq_multiple_threads.cc |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 9554 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9555 | third_party/googletest/googlemock/src/gmock-all.cc |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9556 | ) |
| 9557 | |
| 9558 | |
| 9559 | target_include_directories(bm_cq_multiple_threads |
| 9560 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9561 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9562 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9563 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9564 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9565 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9566 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9567 | PRIVATE ${CARES_INCLUDE_DIR} |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9568 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 9569 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 9570 | PRIVATE third_party/googletest/googletest/include |
| 9571 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9572 | PRIVATE third_party/googletest/googlemock/include |
| 9573 | PRIVATE third_party/googletest/googlemock |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9574 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9575 | ) |
| 9576 | |
| 9577 | target_link_libraries(bm_cq_multiple_threads |
| 9578 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9579 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9580 | grpc_benchmark |
| 9581 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9582 | grpc++_test_util_unsecure |
| 9583 | grpc_test_util_unsecure |
| 9584 | grpc++_unsecure |
| 9585 | grpc_unsecure |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9586 | gpr_test_util |
| 9587 | gpr |
| 9588 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9589 | ) |
| 9590 | |
| 9591 | endif() |
| 9592 | endif (gRPC_BUILD_TESTS) |
| 9593 | if (gRPC_BUILD_TESTS) |
| 9594 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9595 | |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9596 | add_executable(bm_error |
| 9597 | test/cpp/microbenchmarks/bm_error.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9598 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9599 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9600 | ) |
| 9601 | |
| 9602 | |
| 9603 | target_include_directories(bm_error |
| 9604 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9605 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9606 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9607 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9608 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9609 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9610 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9611 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9612 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9613 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9614 | PRIVATE third_party/googletest/googletest/include |
| 9615 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9616 | PRIVATE third_party/googletest/googlemock/include |
| 9617 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9618 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9619 | ) |
| 9620 | |
| 9621 | target_link_libraries(bm_error |
| 9622 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9623 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9624 | grpc_benchmark |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9625 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9626 | grpc++_test_util_unsecure |
| 9627 | grpc_test_util_unsecure |
| 9628 | grpc++_unsecure |
| 9629 | grpc_unsecure |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9630 | gpr_test_util |
| 9631 | gpr |
| 9632 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9633 | ) |
| 9634 | |
| 9635 | endif() |
| 9636 | endif (gRPC_BUILD_TESTS) |
| 9637 | if (gRPC_BUILD_TESTS) |
| 9638 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9639 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9640 | add_executable(bm_fullstack_streaming_ping_pong |
| 9641 | test/cpp/microbenchmarks/bm_fullstack_streaming_ping_pong.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9642 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9643 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9644 | ) |
| 9645 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9646 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9647 | target_include_directories(bm_fullstack_streaming_ping_pong |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9648 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9649 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9650 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9651 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9652 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9653 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9654 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9655 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9656 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9657 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9658 | PRIVATE third_party/googletest/googletest/include |
| 9659 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9660 | PRIVATE third_party/googletest/googlemock/include |
| 9661 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9662 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9663 | ) |
| 9664 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9665 | target_link_libraries(bm_fullstack_streaming_ping_pong |
| 9666 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9667 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9668 | grpc_benchmark |
| 9669 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9670 | grpc++_test_util_unsecure |
| 9671 | grpc_test_util_unsecure |
| 9672 | grpc++_unsecure |
| 9673 | grpc_unsecure |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9674 | gpr_test_util |
| 9675 | gpr |
| 9676 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9677 | ) |
| 9678 | |
| 9679 | endif() |
| 9680 | endif (gRPC_BUILD_TESTS) |
| 9681 | if (gRPC_BUILD_TESTS) |
| 9682 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9683 | |
| 9684 | add_executable(bm_fullstack_streaming_pump |
| 9685 | test/cpp/microbenchmarks/bm_fullstack_streaming_pump.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9686 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9687 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9688 | ) |
| 9689 | |
| 9690 | |
| 9691 | target_include_directories(bm_fullstack_streaming_pump |
| 9692 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9693 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9694 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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 |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9699 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9700 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9701 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9702 | PRIVATE third_party/googletest/googletest/include |
| 9703 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9704 | PRIVATE third_party/googletest/googlemock/include |
| 9705 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9706 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9707 | ) |
| 9708 | |
| 9709 | target_link_libraries(bm_fullstack_streaming_pump |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9710 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9711 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9712 | grpc_benchmark |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9713 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9714 | grpc++_test_util_unsecure |
| 9715 | grpc_test_util_unsecure |
| 9716 | grpc++_unsecure |
| 9717 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9718 | gpr_test_util |
| 9719 | gpr |
| 9720 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9721 | ) |
| 9722 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9723 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9724 | endif (gRPC_BUILD_TESTS) |
| 9725 | if (gRPC_BUILD_TESTS) |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9726 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9727 | |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9728 | add_executable(bm_fullstack_trickle |
| 9729 | test/cpp/microbenchmarks/bm_fullstack_trickle.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9730 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9731 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9732 | ) |
| 9733 | |
| 9734 | |
| 9735 | target_include_directories(bm_fullstack_trickle |
| 9736 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9737 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9738 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9739 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9740 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9741 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9742 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9743 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9744 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9745 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9746 | PRIVATE third_party/googletest/googletest/include |
| 9747 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9748 | PRIVATE third_party/googletest/googlemock/include |
| 9749 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9750 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9751 | ) |
| 9752 | |
| 9753 | target_link_libraries(bm_fullstack_trickle |
| 9754 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9755 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9756 | grpc_benchmark |
| 9757 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9758 | grpc++_test_util_unsecure |
| 9759 | grpc_test_util_unsecure |
| 9760 | grpc++_unsecure |
| 9761 | grpc_unsecure |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9762 | gpr_test_util |
| 9763 | gpr |
ncteisen | c302eb9 | 2017-08-18 12:27:34 -0700 | [diff] [blame] | 9764 | grpc++_test_config |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9765 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9766 | ) |
| 9767 | |
| 9768 | endif() |
| 9769 | endif (gRPC_BUILD_TESTS) |
| 9770 | if (gRPC_BUILD_TESTS) |
| 9771 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9772 | |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9773 | add_executable(bm_fullstack_unary_ping_pong |
| 9774 | test/cpp/microbenchmarks/bm_fullstack_unary_ping_pong.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9775 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9776 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9777 | ) |
| 9778 | |
| 9779 | |
| 9780 | target_include_directories(bm_fullstack_unary_ping_pong |
| 9781 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9782 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9783 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9784 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9785 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9786 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9787 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9788 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9789 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9790 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9791 | PRIVATE third_party/googletest/googletest/include |
| 9792 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9793 | PRIVATE third_party/googletest/googlemock/include |
| 9794 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9795 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9796 | ) |
| 9797 | |
| 9798 | target_link_libraries(bm_fullstack_unary_ping_pong |
| 9799 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9800 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9801 | grpc_benchmark |
| 9802 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9803 | grpc++_test_util_unsecure |
| 9804 | grpc_test_util_unsecure |
| 9805 | grpc++_unsecure |
| 9806 | grpc_unsecure |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9807 | gpr_test_util |
| 9808 | gpr |
| 9809 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9810 | ) |
| 9811 | |
| 9812 | endif() |
| 9813 | endif (gRPC_BUILD_TESTS) |
| 9814 | if (gRPC_BUILD_TESTS) |
| 9815 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9816 | |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9817 | add_executable(bm_metadata |
| 9818 | test/cpp/microbenchmarks/bm_metadata.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9819 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9820 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9821 | ) |
| 9822 | |
| 9823 | |
| 9824 | target_include_directories(bm_metadata |
| 9825 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9826 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9827 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9828 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9829 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9830 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9831 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9832 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9833 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9834 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9835 | PRIVATE third_party/googletest/googletest/include |
| 9836 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9837 | PRIVATE third_party/googletest/googlemock/include |
| 9838 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9839 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9840 | ) |
| 9841 | |
| 9842 | target_link_libraries(bm_metadata |
| 9843 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9844 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9845 | grpc_benchmark |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9846 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9847 | grpc++_test_util_unsecure |
| 9848 | grpc_test_util_unsecure |
| 9849 | grpc++_unsecure |
| 9850 | grpc_unsecure |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9851 | gpr_test_util |
| 9852 | gpr |
| 9853 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9854 | ) |
| 9855 | |
| 9856 | endif() |
| 9857 | endif (gRPC_BUILD_TESTS) |
| 9858 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9859 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9860 | |
| 9861 | add_executable(bm_pollset |
| 9862 | test/cpp/microbenchmarks/bm_pollset.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9863 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9864 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9865 | ) |
| 9866 | |
| 9867 | |
| 9868 | target_include_directories(bm_pollset |
| 9869 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9870 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9871 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9872 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9873 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9874 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9875 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9876 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9877 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9878 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9879 | PRIVATE third_party/googletest/googletest/include |
| 9880 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9881 | PRIVATE third_party/googletest/googlemock/include |
| 9882 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9883 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9884 | ) |
| 9885 | |
| 9886 | target_link_libraries(bm_pollset |
| 9887 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9888 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9889 | grpc_benchmark |
| 9890 | benchmark |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 9891 | grpc++_test_util_unsecure |
| 9892 | grpc_test_util_unsecure |
| 9893 | grpc++_unsecure |
| 9894 | grpc_unsecure |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9895 | gpr_test_util |
| 9896 | gpr |
| 9897 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9898 | ) |
| 9899 | |
| 9900 | endif() |
| 9901 | endif (gRPC_BUILD_TESTS) |
| 9902 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9903 | |
| 9904 | add_executable(channel_arguments_test |
| 9905 | test/cpp/common/channel_arguments_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9906 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9907 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9908 | ) |
| 9909 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9910 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9911 | target_include_directories(channel_arguments_test |
| 9912 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9913 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9914 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9915 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9916 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9917 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9918 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9919 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9920 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9921 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9922 | PRIVATE third_party/googletest/googletest/include |
| 9923 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9924 | PRIVATE third_party/googletest/googlemock/include |
| 9925 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9926 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9927 | ) |
| 9928 | |
| 9929 | target_link_libraries(channel_arguments_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9930 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9931 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9932 | grpc++ |
| 9933 | grpc |
| 9934 | gpr |
| 9935 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9936 | ) |
| 9937 | |
| 9938 | endif (gRPC_BUILD_TESTS) |
| 9939 | if (gRPC_BUILD_TESTS) |
| 9940 | |
| 9941 | add_executable(channel_filter_test |
| 9942 | test/cpp/common/channel_filter_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9943 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9944 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9945 | ) |
| 9946 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9947 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9948 | target_include_directories(channel_filter_test |
| 9949 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9950 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9951 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9952 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9953 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9954 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9955 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9956 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9957 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9958 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9959 | PRIVATE third_party/googletest/googletest/include |
| 9960 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9961 | PRIVATE third_party/googletest/googlemock/include |
| 9962 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9963 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9964 | ) |
| 9965 | |
| 9966 | target_link_libraries(channel_filter_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9967 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9968 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9969 | grpc++ |
| 9970 | grpc |
| 9971 | gpr |
| 9972 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9973 | ) |
| 9974 | |
| 9975 | endif (gRPC_BUILD_TESTS) |
| 9976 | if (gRPC_BUILD_TESTS) |
| 9977 | |
| 9978 | add_executable(cli_call_test |
| 9979 | test/cpp/util/cli_call_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9980 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9981 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9982 | ) |
| 9983 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9984 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9985 | target_include_directories(cli_call_test |
| 9986 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9987 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9988 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9989 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9990 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9991 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9992 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9993 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9994 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9995 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9996 | PRIVATE third_party/googletest/googletest/include |
| 9997 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 9998 | PRIVATE third_party/googletest/googlemock/include |
| 9999 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10000 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10001 | ) |
| 10002 | |
| 10003 | target_link_libraries(cli_call_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10004 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10005 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10006 | grpc_cli_libs |
| 10007 | grpc++_test_util |
| 10008 | grpc_test_util |
| 10009 | grpc++ |
| 10010 | grpc |
| 10011 | gpr_test_util |
| 10012 | gpr |
| 10013 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10014 | ) |
| 10015 | |
| 10016 | endif (gRPC_BUILD_TESTS) |
| 10017 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10018 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10019 | |
| 10020 | add_executable(client_crash_test |
| 10021 | test/cpp/end2end/client_crash_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10022 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10023 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10024 | ) |
| 10025 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10026 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10027 | target_include_directories(client_crash_test |
| 10028 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10029 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10030 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10031 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10032 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10033 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10034 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10035 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10036 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10037 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10038 | PRIVATE third_party/googletest/googletest/include |
| 10039 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10040 | PRIVATE third_party/googletest/googlemock/include |
| 10041 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10042 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10043 | ) |
| 10044 | |
| 10045 | target_link_libraries(client_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10046 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10047 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10048 | grpc++_test_util |
| 10049 | grpc_test_util |
| 10050 | grpc++ |
| 10051 | grpc |
| 10052 | gpr_test_util |
| 10053 | gpr |
| 10054 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10055 | ) |
| 10056 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10057 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10058 | endif (gRPC_BUILD_TESTS) |
| 10059 | if (gRPC_BUILD_TESTS) |
| 10060 | |
| 10061 | add_executable(client_crash_test_server |
| 10062 | test/cpp/end2end/client_crash_test_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10063 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10064 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10065 | ) |
| 10066 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10067 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10068 | target_include_directories(client_crash_test_server |
| 10069 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10070 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10071 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10072 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10073 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10074 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10075 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10076 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10077 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10078 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10079 | PRIVATE third_party/googletest/googletest/include |
| 10080 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10081 | PRIVATE third_party/googletest/googlemock/include |
| 10082 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10083 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10084 | ) |
| 10085 | |
| 10086 | target_link_libraries(client_crash_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10087 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10088 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10089 | grpc++_test_util |
| 10090 | grpc_test_util |
| 10091 | grpc++ |
| 10092 | grpc |
| 10093 | gpr_test_util |
| 10094 | gpr |
| 10095 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10096 | ) |
| 10097 | |
| 10098 | endif (gRPC_BUILD_TESTS) |
| 10099 | if (gRPC_BUILD_TESTS) |
| 10100 | |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 10101 | add_executable(client_lb_end2end_test |
| 10102 | test/cpp/end2end/client_lb_end2end_test.cc |
| 10103 | third_party/googletest/googletest/src/gtest-all.cc |
| 10104 | third_party/googletest/googlemock/src/gmock-all.cc |
| 10105 | ) |
| 10106 | |
| 10107 | |
| 10108 | target_include_directories(client_lb_end2end_test |
| 10109 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10110 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10111 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10112 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 10113 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 10114 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10115 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 10116 | PRIVATE ${CARES_INCLUDE_DIR} |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 10117 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 10118 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10119 | PRIVATE third_party/googletest/googletest/include |
| 10120 | PRIVATE third_party/googletest/googletest |
| 10121 | PRIVATE third_party/googletest/googlemock/include |
| 10122 | PRIVATE third_party/googletest/googlemock |
| 10123 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10124 | ) |
| 10125 | |
| 10126 | target_link_libraries(client_lb_end2end_test |
| 10127 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10128 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10129 | grpc++_test_util |
| 10130 | grpc_test_util |
| 10131 | grpc++ |
| 10132 | grpc |
| 10133 | gpr_test_util |
| 10134 | gpr |
| 10135 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10136 | ) |
| 10137 | |
| 10138 | endif (gRPC_BUILD_TESTS) |
| 10139 | if (gRPC_BUILD_TESTS) |
| 10140 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10141 | add_executable(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10142 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 10143 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 10144 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 10145 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 10146 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 10147 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 10148 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 10149 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 10150 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 10151 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 10152 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 10153 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 10154 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 10155 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 10156 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 10157 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
| 10158 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 10159 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 10160 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 10161 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10162 | test/cpp/codegen/codegen_test_full.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10163 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10164 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10165 | ) |
| 10166 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10167 | protobuf_generate_grpc_cpp( |
| 10168 | src/proto/grpc/testing/control.proto |
| 10169 | ) |
| 10170 | protobuf_generate_grpc_cpp( |
| 10171 | src/proto/grpc/testing/messages.proto |
| 10172 | ) |
| 10173 | protobuf_generate_grpc_cpp( |
| 10174 | src/proto/grpc/testing/payloads.proto |
| 10175 | ) |
| 10176 | protobuf_generate_grpc_cpp( |
| 10177 | src/proto/grpc/testing/services.proto |
| 10178 | ) |
| 10179 | protobuf_generate_grpc_cpp( |
| 10180 | src/proto/grpc/testing/stats.proto |
| 10181 | ) |
| 10182 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10183 | target_include_directories(codegen_test_full |
| 10184 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10185 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10186 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10187 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10188 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10189 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10190 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10191 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10192 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10193 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10194 | PRIVATE third_party/googletest/googletest/include |
| 10195 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10196 | PRIVATE third_party/googletest/googlemock/include |
| 10197 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10198 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10199 | ) |
| 10200 | |
| 10201 | target_link_libraries(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10202 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10203 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 10204 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10205 | grpc++ |
| 10206 | grpc |
| 10207 | gpr |
| 10208 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10209 | ) |
| 10210 | |
| 10211 | endif (gRPC_BUILD_TESTS) |
| 10212 | if (gRPC_BUILD_TESTS) |
| 10213 | |
| 10214 | add_executable(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10215 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 10216 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 10217 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 10218 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 10219 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 10220 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 10221 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 10222 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 10223 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 10224 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 10225 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 10226 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 10227 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 10228 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 10229 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 10230 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
| 10231 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 10232 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 10233 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 10234 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10235 | test/cpp/codegen/codegen_test_minimal.cc |
| 10236 | src/cpp/codegen/codegen_init.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10237 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10238 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10239 | ) |
| 10240 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10241 | protobuf_generate_grpc_cpp( |
| 10242 | src/proto/grpc/testing/control.proto |
| 10243 | ) |
| 10244 | protobuf_generate_grpc_cpp( |
| 10245 | src/proto/grpc/testing/messages.proto |
| 10246 | ) |
| 10247 | protobuf_generate_grpc_cpp( |
| 10248 | src/proto/grpc/testing/payloads.proto |
| 10249 | ) |
| 10250 | protobuf_generate_grpc_cpp( |
| 10251 | src/proto/grpc/testing/services.proto |
| 10252 | ) |
| 10253 | protobuf_generate_grpc_cpp( |
| 10254 | src/proto/grpc/testing/stats.proto |
| 10255 | ) |
| 10256 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10257 | target_include_directories(codegen_test_minimal |
| 10258 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10259 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10260 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10261 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10262 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10263 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10264 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10265 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10266 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10267 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10268 | PRIVATE third_party/googletest/googletest/include |
| 10269 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10270 | PRIVATE third_party/googletest/googlemock/include |
| 10271 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10272 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10273 | ) |
| 10274 | |
| 10275 | target_link_libraries(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10276 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10277 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 10278 | grpc++_core_stats |
Vijay Pai | c0e6701 | 2017-03-17 20:00:55 -0700 | [diff] [blame] | 10279 | grpc |
| 10280 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10281 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10282 | ) |
| 10283 | |
| 10284 | endif (gRPC_BUILD_TESTS) |
| 10285 | if (gRPC_BUILD_TESTS) |
| 10286 | |
| 10287 | add_executable(credentials_test |
| 10288 | test/cpp/client/credentials_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10289 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10290 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10291 | ) |
| 10292 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10293 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10294 | target_include_directories(credentials_test |
| 10295 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10296 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10297 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10298 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10299 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10300 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10301 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10302 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10303 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10304 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10305 | PRIVATE third_party/googletest/googletest/include |
| 10306 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10307 | PRIVATE third_party/googletest/googlemock/include |
| 10308 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10309 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10310 | ) |
| 10311 | |
| 10312 | target_link_libraries(credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10313 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10314 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10315 | grpc++ |
| 10316 | grpc |
| 10317 | gpr |
| 10318 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10319 | ) |
| 10320 | |
| 10321 | endif (gRPC_BUILD_TESTS) |
| 10322 | if (gRPC_BUILD_TESTS) |
| 10323 | |
| 10324 | add_executable(cxx_byte_buffer_test |
| 10325 | test/cpp/util/byte_buffer_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10326 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10327 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10328 | ) |
| 10329 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10330 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10331 | target_include_directories(cxx_byte_buffer_test |
| 10332 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10333 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10334 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10335 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10336 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10337 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10338 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10339 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10340 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10341 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10342 | PRIVATE third_party/googletest/googletest/include |
| 10343 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10344 | PRIVATE third_party/googletest/googlemock/include |
| 10345 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10346 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10347 | ) |
| 10348 | |
| 10349 | target_link_libraries(cxx_byte_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10350 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10351 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10352 | grpc_test_util |
| 10353 | grpc++ |
| 10354 | grpc |
| 10355 | gpr_test_util |
| 10356 | gpr |
| 10357 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10358 | ) |
| 10359 | |
| 10360 | endif (gRPC_BUILD_TESTS) |
| 10361 | if (gRPC_BUILD_TESTS) |
| 10362 | |
| 10363 | add_executable(cxx_slice_test |
| 10364 | test/cpp/util/slice_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10365 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10366 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10367 | ) |
| 10368 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10369 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10370 | target_include_directories(cxx_slice_test |
| 10371 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10372 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10373 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10374 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10375 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10376 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10377 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10378 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10379 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10380 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10381 | PRIVATE third_party/googletest/googletest/include |
| 10382 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10383 | PRIVATE third_party/googletest/googlemock/include |
| 10384 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10385 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10386 | ) |
| 10387 | |
| 10388 | target_link_libraries(cxx_slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10389 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10390 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10391 | grpc_test_util |
| 10392 | grpc++ |
| 10393 | grpc |
| 10394 | gpr_test_util |
| 10395 | gpr |
| 10396 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10397 | ) |
| 10398 | |
| 10399 | endif (gRPC_BUILD_TESTS) |
| 10400 | if (gRPC_BUILD_TESTS) |
| 10401 | |
| 10402 | add_executable(cxx_string_ref_test |
| 10403 | test/cpp/util/string_ref_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10404 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10405 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10406 | ) |
| 10407 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10408 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10409 | target_include_directories(cxx_string_ref_test |
| 10410 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10411 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10412 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10413 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10414 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10415 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10416 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10417 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10418 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10419 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10420 | PRIVATE third_party/googletest/googletest/include |
| 10421 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10422 | PRIVATE third_party/googletest/googlemock/include |
| 10423 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10424 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10425 | ) |
| 10426 | |
| 10427 | target_link_libraries(cxx_string_ref_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10428 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10429 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10430 | grpc++ |
Jan Tattermusch | b77a20b | 2017-05-18 16:45:07 +0200 | [diff] [blame] | 10431 | grpc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10432 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10433 | ) |
| 10434 | |
| 10435 | endif (gRPC_BUILD_TESTS) |
| 10436 | if (gRPC_BUILD_TESTS) |
| 10437 | |
| 10438 | add_executable(cxx_time_test |
| 10439 | test/cpp/util/time_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10440 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10441 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10442 | ) |
| 10443 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10444 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10445 | target_include_directories(cxx_time_test |
| 10446 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10447 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10448 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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(cxx_time_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_test_util |
| 10467 | grpc++ |
| 10468 | grpc |
| 10469 | gpr_test_util |
| 10470 | gpr |
| 10471 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10472 | ) |
| 10473 | |
| 10474 | endif (gRPC_BUILD_TESTS) |
| 10475 | if (gRPC_BUILD_TESTS) |
| 10476 | |
| 10477 | add_executable(end2end_test |
| 10478 | test/cpp/end2end/end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10479 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10480 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10481 | ) |
| 10482 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10483 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10484 | target_include_directories(end2end_test |
| 10485 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10486 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10487 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10488 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10489 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10490 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10491 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10492 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10493 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10494 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10495 | PRIVATE third_party/googletest/googletest/include |
| 10496 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10497 | PRIVATE third_party/googletest/googlemock/include |
| 10498 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10499 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10500 | ) |
| 10501 | |
| 10502 | target_link_libraries(end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10503 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10504 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10505 | grpc++_test_util |
| 10506 | grpc_test_util |
| 10507 | grpc++ |
| 10508 | grpc |
| 10509 | gpr_test_util |
| 10510 | gpr |
| 10511 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10512 | ) |
| 10513 | |
| 10514 | endif (gRPC_BUILD_TESTS) |
| 10515 | if (gRPC_BUILD_TESTS) |
| 10516 | |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10517 | add_executable(error_details_test |
| 10518 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 10519 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 10520 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 10521 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 10522 | test/cpp/util/error_details_test.cc |
| 10523 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10524 | third_party/googletest/googlemock/src/gmock-all.cc |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10525 | ) |
| 10526 | |
| 10527 | protobuf_generate_grpc_cpp( |
| 10528 | src/proto/grpc/testing/echo_messages.proto |
| 10529 | ) |
| 10530 | |
| 10531 | target_include_directories(error_details_test |
| 10532 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10533 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10534 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10535 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 10536 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 10537 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10538 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10539 | PRIVATE ${CARES_INCLUDE_DIR} |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10540 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 10541 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10542 | PRIVATE third_party/googletest/googletest/include |
| 10543 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10544 | PRIVATE third_party/googletest/googlemock/include |
| 10545 | PRIVATE third_party/googletest/googlemock |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 10546 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 10547 | ) |
| 10548 | |
| 10549 | target_link_libraries(error_details_test |
| 10550 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10551 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 10552 | grpc++_error_details |
| 10553 | grpc++ |
| 10554 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10555 | ) |
| 10556 | |
| 10557 | endif (gRPC_BUILD_TESTS) |
| 10558 | if (gRPC_BUILD_TESTS) |
| 10559 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10560 | add_executable(filter_end2end_test |
| 10561 | test/cpp/end2end/filter_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10562 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10563 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10564 | ) |
| 10565 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10566 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10567 | target_include_directories(filter_end2end_test |
| 10568 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10569 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10570 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10571 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10572 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10573 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10574 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10575 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10576 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10577 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10578 | PRIVATE third_party/googletest/googletest/include |
| 10579 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10580 | PRIVATE third_party/googletest/googlemock/include |
| 10581 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10582 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10583 | ) |
| 10584 | |
| 10585 | target_link_libraries(filter_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10586 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10587 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10588 | grpc++_test_util |
| 10589 | grpc_test_util |
| 10590 | grpc++ |
| 10591 | grpc |
| 10592 | gpr_test_util |
| 10593 | gpr |
| 10594 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10595 | ) |
| 10596 | |
| 10597 | endif (gRPC_BUILD_TESTS) |
| 10598 | if (gRPC_BUILD_TESTS) |
| 10599 | |
| 10600 | add_executable(generic_end2end_test |
| 10601 | test/cpp/end2end/generic_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10602 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10603 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10604 | ) |
| 10605 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10606 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10607 | target_include_directories(generic_end2end_test |
| 10608 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10609 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10610 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10611 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10612 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10613 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10614 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10615 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10616 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10617 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10618 | PRIVATE third_party/googletest/googletest/include |
| 10619 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10620 | PRIVATE third_party/googletest/googlemock/include |
| 10621 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10622 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10623 | ) |
| 10624 | |
| 10625 | target_link_libraries(generic_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10626 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10627 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10628 | grpc++_test_util |
| 10629 | grpc_test_util |
| 10630 | grpc++ |
| 10631 | grpc |
| 10632 | gpr_test_util |
| 10633 | gpr |
| 10634 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10635 | ) |
| 10636 | |
| 10637 | endif (gRPC_BUILD_TESTS) |
| 10638 | if (gRPC_BUILD_TESTS) |
| 10639 | |
| 10640 | add_executable(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10641 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.cc |
| 10642 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.grpc.pb.cc |
| 10643 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.h |
| 10644 | ${_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] | 10645 | test/cpp/codegen/golden_file_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10646 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10647 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10648 | ) |
| 10649 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10650 | protobuf_generate_grpc_cpp( |
| 10651 | src/proto/grpc/testing/compiler_test.proto |
| 10652 | ) |
| 10653 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10654 | target_include_directories(golden_file_test |
| 10655 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10656 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10657 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10658 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10659 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10660 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10661 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10662 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10663 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10664 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10665 | PRIVATE third_party/googletest/googletest/include |
| 10666 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10667 | PRIVATE third_party/googletest/googlemock/include |
| 10668 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10669 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10670 | ) |
| 10671 | |
| 10672 | target_link_libraries(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10673 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10674 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10675 | grpc++ |
| 10676 | grpc |
| 10677 | gpr |
| 10678 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10679 | ) |
| 10680 | |
| 10681 | endif (gRPC_BUILD_TESTS) |
| 10682 | if (gRPC_BUILD_TESTS) |
| 10683 | |
| 10684 | add_executable(grpc_cli |
| 10685 | test/cpp/util/grpc_cli.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10686 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10687 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10688 | ) |
| 10689 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10690 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10691 | target_include_directories(grpc_cli |
| 10692 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10693 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10694 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10695 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10696 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10697 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10698 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10699 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10700 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10701 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10702 | PRIVATE third_party/googletest/googletest/include |
| 10703 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10704 | PRIVATE third_party/googletest/googlemock/include |
| 10705 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10706 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10707 | ) |
| 10708 | |
| 10709 | target_link_libraries(grpc_cli |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10710 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10711 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10712 | grpc_cli_libs |
| 10713 | grpc++_proto_reflection_desc_db |
| 10714 | grpc++ |
| 10715 | grpc |
| 10716 | gpr |
| 10717 | grpc++_test_config |
| 10718 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10719 | ) |
| 10720 | |
| 10721 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10722 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10723 | add_executable(grpc_cpp_plugin |
| 10724 | src/compiler/cpp_plugin.cc |
| 10725 | ) |
| 10726 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10727 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10728 | target_include_directories(grpc_cpp_plugin |
| 10729 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10730 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10731 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10732 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10733 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10734 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10735 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10736 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10737 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10738 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10739 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10740 | ) |
| 10741 | |
| 10742 | target_link_libraries(grpc_cpp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10743 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10744 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10745 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10746 | grpc_plugin_support |
| 10747 | ) |
| 10748 | |
| 10749 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10750 | if (gRPC_INSTALL) |
| 10751 | install(TARGETS grpc_cpp_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10752 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10753 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10754 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10755 | ) |
| 10756 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10757 | |
| 10758 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10759 | add_executable(grpc_csharp_plugin |
| 10760 | src/compiler/csharp_plugin.cc |
| 10761 | ) |
| 10762 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10763 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10764 | target_include_directories(grpc_csharp_plugin |
| 10765 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10766 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10767 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10768 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10769 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10770 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10771 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10772 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10773 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10774 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10775 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10776 | ) |
| 10777 | |
| 10778 | target_link_libraries(grpc_csharp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10779 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10780 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10781 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10782 | grpc_plugin_support |
| 10783 | ) |
| 10784 | |
| 10785 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10786 | if (gRPC_INSTALL) |
| 10787 | install(TARGETS grpc_csharp_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10788 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10789 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10790 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10791 | ) |
| 10792 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10793 | |
| 10794 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10795 | add_executable(grpc_node_plugin |
| 10796 | src/compiler/node_plugin.cc |
| 10797 | ) |
| 10798 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10799 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10800 | target_include_directories(grpc_node_plugin |
| 10801 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10802 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10803 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10804 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10805 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10806 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10807 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10808 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10809 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10810 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10811 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10812 | ) |
| 10813 | |
| 10814 | target_link_libraries(grpc_node_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10815 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10816 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10817 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10818 | grpc_plugin_support |
| 10819 | ) |
| 10820 | |
| 10821 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10822 | if (gRPC_INSTALL) |
| 10823 | install(TARGETS grpc_node_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10824 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10825 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10826 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10827 | ) |
| 10828 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10829 | |
| 10830 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10831 | add_executable(grpc_objective_c_plugin |
| 10832 | src/compiler/objective_c_plugin.cc |
| 10833 | ) |
| 10834 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10835 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10836 | target_include_directories(grpc_objective_c_plugin |
| 10837 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10838 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10839 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10840 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10841 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10842 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10843 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10844 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10845 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10846 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10847 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10848 | ) |
| 10849 | |
| 10850 | target_link_libraries(grpc_objective_c_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10851 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10852 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10853 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10854 | grpc_plugin_support |
| 10855 | ) |
| 10856 | |
| 10857 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10858 | if (gRPC_INSTALL) |
| 10859 | install(TARGETS grpc_objective_c_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10860 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10861 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10862 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10863 | ) |
| 10864 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10865 | |
| 10866 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10867 | add_executable(grpc_php_plugin |
| 10868 | src/compiler/php_plugin.cc |
| 10869 | ) |
| 10870 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10871 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10872 | target_include_directories(grpc_php_plugin |
| 10873 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10874 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10875 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10876 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10877 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10878 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10879 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10880 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10881 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10882 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10883 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10884 | ) |
| 10885 | |
| 10886 | target_link_libraries(grpc_php_plugin |
| 10887 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10888 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10889 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10890 | grpc_plugin_support |
| 10891 | ) |
| 10892 | |
| 10893 | |
| 10894 | if (gRPC_INSTALL) |
| 10895 | install(TARGETS grpc_php_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10896 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10897 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10898 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10899 | ) |
| 10900 | endif() |
| 10901 | |
| 10902 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10903 | add_executable(grpc_python_plugin |
| 10904 | src/compiler/python_plugin.cc |
| 10905 | ) |
| 10906 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10907 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10908 | target_include_directories(grpc_python_plugin |
| 10909 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10910 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10911 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10912 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10913 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10914 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10915 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10916 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10917 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10918 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10919 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10920 | ) |
| 10921 | |
| 10922 | target_link_libraries(grpc_python_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10923 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10924 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10925 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10926 | grpc_plugin_support |
| 10927 | ) |
| 10928 | |
| 10929 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10930 | if (gRPC_INSTALL) |
| 10931 | install(TARGETS grpc_python_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10932 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10933 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10934 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10935 | ) |
| 10936 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10937 | |
| 10938 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10939 | add_executable(grpc_ruby_plugin |
| 10940 | src/compiler/ruby_plugin.cc |
| 10941 | ) |
| 10942 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10943 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10944 | target_include_directories(grpc_ruby_plugin |
| 10945 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10946 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10947 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10948 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10949 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10950 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10951 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10952 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10953 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10954 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10955 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10956 | ) |
| 10957 | |
| 10958 | target_link_libraries(grpc_ruby_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10959 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10960 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10961 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10962 | grpc_plugin_support |
| 10963 | ) |
| 10964 | |
| 10965 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10966 | if (gRPC_INSTALL) |
| 10967 | install(TARGETS grpc_ruby_plugin EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 10968 | RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} |
| 10969 | LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} |
| 10970 | ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR} |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10971 | ) |
| 10972 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10973 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10974 | if (gRPC_BUILD_TESTS) |
| 10975 | |
| 10976 | add_executable(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10977 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 10978 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 10979 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 10980 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 10981 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 10982 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 10983 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 10984 | ${_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] | 10985 | test/cpp/util/grpc_tool_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10986 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 10987 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10988 | ) |
| 10989 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10990 | protobuf_generate_grpc_cpp( |
| 10991 | src/proto/grpc/testing/echo.proto |
| 10992 | ) |
| 10993 | protobuf_generate_grpc_cpp( |
| 10994 | src/proto/grpc/testing/echo_messages.proto |
| 10995 | ) |
| 10996 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10997 | target_include_directories(grpc_tool_test |
| 10998 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10999 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11000 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11001 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11002 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11003 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11004 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11005 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11006 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11007 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11008 | PRIVATE third_party/googletest/googletest/include |
| 11009 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11010 | PRIVATE third_party/googletest/googlemock/include |
| 11011 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11012 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11013 | ) |
| 11014 | |
| 11015 | target_link_libraries(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11016 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11017 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11018 | grpc_cli_libs |
| 11019 | grpc++_proto_reflection_desc_db |
| 11020 | grpc++_reflection |
| 11021 | grpc++_test_util |
| 11022 | grpc_test_util |
| 11023 | grpc++ |
| 11024 | grpc |
| 11025 | gpr_test_util |
| 11026 | gpr |
| 11027 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11028 | ) |
| 11029 | |
| 11030 | endif (gRPC_BUILD_TESTS) |
| 11031 | if (gRPC_BUILD_TESTS) |
| 11032 | |
| 11033 | add_executable(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11034 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 11035 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 11036 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 11037 | ${_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] | 11038 | test/cpp/grpclb/grpclb_api_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11039 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11040 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11041 | ) |
| 11042 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11043 | protobuf_generate_grpc_cpp( |
| 11044 | src/proto/grpc/lb/v1/load_balancer.proto |
| 11045 | ) |
| 11046 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11047 | target_include_directories(grpclb_api_test |
| 11048 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11049 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11050 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11051 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11052 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11053 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11054 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11055 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11056 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11057 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11058 | PRIVATE third_party/googletest/googletest/include |
| 11059 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11060 | PRIVATE third_party/googletest/googlemock/include |
| 11061 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11062 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11063 | ) |
| 11064 | |
| 11065 | target_link_libraries(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11066 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11067 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11068 | grpc++_test_util |
| 11069 | grpc_test_util |
| 11070 | grpc++ |
| 11071 | grpc |
| 11072 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11073 | ) |
| 11074 | |
| 11075 | endif (gRPC_BUILD_TESTS) |
| 11076 | if (gRPC_BUILD_TESTS) |
| 11077 | |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 11078 | add_executable(grpclb_end2end_test |
| 11079 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 11080 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 11081 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 11082 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.h |
| 11083 | test/cpp/end2end/grpclb_end2end_test.cc |
| 11084 | third_party/googletest/googletest/src/gtest-all.cc |
| 11085 | third_party/googletest/googlemock/src/gmock-all.cc |
| 11086 | ) |
| 11087 | |
| 11088 | protobuf_generate_grpc_cpp( |
| 11089 | src/proto/grpc/lb/v1/load_balancer.proto |
| 11090 | ) |
| 11091 | |
| 11092 | target_include_directories(grpclb_end2end_test |
| 11093 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11094 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11095 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11096 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11097 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11098 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11099 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 11100 | PRIVATE ${CARES_INCLUDE_DIR} |
David Garcia Quintas | 04911ca | 2017-04-27 16:31:14 -0700 | [diff] [blame] | 11101 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 11102 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 11103 | PRIVATE third_party/googletest/googletest/include |
| 11104 | PRIVATE third_party/googletest/googletest |
| 11105 | PRIVATE third_party/googletest/googlemock/include |
| 11106 | PRIVATE third_party/googletest/googlemock |
| 11107 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11108 | ) |
| 11109 | |
| 11110 | target_link_libraries(grpclb_end2end_test |
| 11111 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11112 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11113 | grpc++_test_util |
| 11114 | grpc_test_util |
| 11115 | grpc++ |
| 11116 | grpc |
| 11117 | gpr_test_util |
| 11118 | gpr |
| 11119 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11120 | ) |
| 11121 | |
| 11122 | endif (gRPC_BUILD_TESTS) |
| 11123 | if (gRPC_BUILD_TESTS) |
| 11124 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11125 | add_executable(grpclb_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11126 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 11127 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 11128 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 11129 | ${_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] | 11130 | test/cpp/grpclb/grpclb_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11131 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11132 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11133 | ) |
| 11134 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11135 | protobuf_generate_grpc_cpp( |
| 11136 | src/proto/grpc/lb/v1/load_balancer.proto |
| 11137 | ) |
| 11138 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11139 | target_include_directories(grpclb_test |
| 11140 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11141 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11142 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11143 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11144 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11145 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11146 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11147 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11148 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11149 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11150 | PRIVATE third_party/googletest/googletest/include |
| 11151 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11152 | PRIVATE third_party/googletest/googlemock/include |
| 11153 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11154 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11155 | ) |
| 11156 | |
| 11157 | target_link_libraries(grpclb_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11158 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11159 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11160 | grpc++_test_util |
| 11161 | grpc_test_util |
Jan Tattermusch | 1c6a144 | 2017-01-13 14:17:40 +0100 | [diff] [blame] | 11162 | grpc++ |
| 11163 | grpc |
| 11164 | gpr_test_util |
| 11165 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11166 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11167 | ) |
| 11168 | |
| 11169 | endif (gRPC_BUILD_TESTS) |
| 11170 | if (gRPC_BUILD_TESTS) |
| 11171 | |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 11172 | add_executable(health_service_end2end_test |
| 11173 | test/cpp/end2end/health_service_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11174 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11175 | third_party/googletest/googlemock/src/gmock-all.cc |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 11176 | ) |
| 11177 | |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 11178 | |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 11179 | target_include_directories(health_service_end2end_test |
| 11180 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11181 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11182 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11183 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 11184 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 11185 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11186 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11187 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11188 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 11189 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11190 | PRIVATE third_party/googletest/googletest/include |
| 11191 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11192 | PRIVATE third_party/googletest/googlemock/include |
| 11193 | PRIVATE third_party/googletest/googlemock |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 11194 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 11195 | ) |
| 11196 | |
| 11197 | target_link_libraries(health_service_end2end_test |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 11198 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11199 | ${_gRPC_ALLTARGETS_LIBRARIES} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 11200 | grpc++_test_util |
| 11201 | grpc_test_util |
| 11202 | grpc++ |
| 11203 | grpc |
| 11204 | gpr_test_util |
| 11205 | gpr |
| 11206 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11207 | ) |
| 11208 | |
| 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(http2_client |
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(http2_client |
| 11220 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11221 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11222 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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(http2_client |
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 | http2_client_main |
| 11241 | grpc++_test_util |
| 11242 | grpc_test_util |
| 11243 | grpc++ |
| 11244 | grpc |
| 11245 | grpc++_test_config |
| 11246 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11247 | ) |
| 11248 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11249 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11250 | endif (gRPC_BUILD_TESTS) |
| 11251 | if (gRPC_BUILD_TESTS) |
| 11252 | |
| 11253 | add_executable(hybrid_end2end_test |
| 11254 | test/cpp/end2end/hybrid_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11255 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11256 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11257 | ) |
| 11258 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11259 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11260 | target_include_directories(hybrid_end2end_test |
| 11261 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11262 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11263 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11264 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11265 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11266 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11267 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11268 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11269 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11270 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11271 | PRIVATE third_party/googletest/googletest/include |
| 11272 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11273 | PRIVATE third_party/googletest/googlemock/include |
| 11274 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11275 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11276 | ) |
| 11277 | |
| 11278 | target_link_libraries(hybrid_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11279 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11280 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11281 | grpc++_test_util |
| 11282 | grpc_test_util |
| 11283 | grpc++ |
| 11284 | grpc |
| 11285 | gpr_test_util |
| 11286 | gpr |
| 11287 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11288 | ) |
| 11289 | |
| 11290 | endif (gRPC_BUILD_TESTS) |
| 11291 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11292 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11293 | |
| 11294 | add_executable(interop_client |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11295 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11296 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11297 | ) |
| 11298 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11299 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11300 | target_include_directories(interop_client |
| 11301 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11302 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11303 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11304 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11305 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11306 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11307 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11308 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11309 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11310 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11311 | PRIVATE third_party/googletest/googletest/include |
| 11312 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11313 | PRIVATE third_party/googletest/googlemock/include |
| 11314 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11315 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11316 | ) |
| 11317 | |
| 11318 | target_link_libraries(interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11319 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11320 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11321 | interop_client_main |
| 11322 | interop_client_helper |
| 11323 | grpc++_test_util |
| 11324 | grpc_test_util |
| 11325 | grpc++ |
| 11326 | grpc |
| 11327 | gpr_test_util |
| 11328 | gpr |
| 11329 | grpc++_test_config |
| 11330 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11331 | ) |
| 11332 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11333 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11334 | endif (gRPC_BUILD_TESTS) |
| 11335 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11336 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11337 | |
| 11338 | add_executable(interop_server |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11339 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11340 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11341 | ) |
| 11342 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11343 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11344 | target_include_directories(interop_server |
| 11345 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11346 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11347 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11348 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11349 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11350 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11351 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11352 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11353 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11354 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11355 | PRIVATE third_party/googletest/googletest/include |
| 11356 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11357 | PRIVATE third_party/googletest/googlemock/include |
| 11358 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11359 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11360 | ) |
| 11361 | |
| 11362 | target_link_libraries(interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11363 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11364 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11365 | interop_server_main |
| 11366 | interop_server_helper |
| 11367 | interop_server_lib |
| 11368 | grpc++_test_util |
| 11369 | grpc_test_util |
| 11370 | grpc++ |
| 11371 | grpc |
| 11372 | gpr_test_util |
| 11373 | gpr |
| 11374 | grpc++_test_config |
| 11375 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11376 | ) |
| 11377 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11378 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11379 | endif (gRPC_BUILD_TESTS) |
| 11380 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11381 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11382 | |
| 11383 | add_executable(interop_test |
| 11384 | test/cpp/interop/interop_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11385 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11386 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11387 | ) |
| 11388 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11389 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11390 | target_include_directories(interop_test |
| 11391 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11392 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11393 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11394 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11395 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11396 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11397 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11398 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11399 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11400 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11401 | PRIVATE third_party/googletest/googletest/include |
| 11402 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11403 | PRIVATE third_party/googletest/googlemock/include |
| 11404 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11405 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11406 | ) |
| 11407 | |
| 11408 | target_link_libraries(interop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11409 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11410 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11411 | grpc_test_util |
| 11412 | grpc |
| 11413 | gpr_test_util |
| 11414 | gpr |
| 11415 | grpc++_test_config |
| 11416 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11417 | ) |
| 11418 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11419 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11420 | endif (gRPC_BUILD_TESTS) |
| 11421 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11422 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11423 | |
| 11424 | add_executable(json_run_localhost |
| 11425 | test/cpp/qps/json_run_localhost.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11426 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11427 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11428 | ) |
| 11429 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11430 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11431 | target_include_directories(json_run_localhost |
| 11432 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11433 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11434 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11435 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11436 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11437 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11438 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11439 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11440 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11441 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11442 | PRIVATE third_party/googletest/googletest/include |
| 11443 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11444 | PRIVATE third_party/googletest/googlemock/include |
| 11445 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11446 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11447 | ) |
| 11448 | |
| 11449 | target_link_libraries(json_run_localhost |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11450 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11451 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11452 | grpc++_test_util |
| 11453 | grpc_test_util |
| 11454 | grpc++ |
| 11455 | grpc |
| 11456 | gpr_test_util |
| 11457 | gpr |
| 11458 | grpc++_test_config |
| 11459 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11460 | ) |
| 11461 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11462 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11463 | endif (gRPC_BUILD_TESTS) |
| 11464 | if (gRPC_BUILD_TESTS) |
| 11465 | |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11466 | add_executable(memory_test |
| 11467 | test/core/support/memory_test.cc |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 11468 | third_party/googletest/googletest/src/gtest-all.cc |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 11469 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11470 | ) |
| 11471 | |
| 11472 | |
| 11473 | target_include_directories(memory_test |
| 11474 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11475 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11476 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11477 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11478 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11479 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11480 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11481 | PRIVATE ${CARES_INCLUDE_DIR} |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11482 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 11483 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Craig Tiller | 2d111bd | 2017-04-11 09:18:14 -0700 | [diff] [blame] | 11484 | PRIVATE third_party/googletest/googletest/include |
| 11485 | PRIVATE third_party/googletest/googletest |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 11486 | PRIVATE third_party/googletest/googlemock/include |
| 11487 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | b3d7010 | 2017-03-31 14:17:09 -0700 | [diff] [blame] | 11488 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11489 | ) |
| 11490 | |
| 11491 | target_link_libraries(memory_test |
| 11492 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11493 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11494 | grpc_test_util |
| 11495 | grpc++ |
| 11496 | grpc |
| 11497 | gpr_test_util |
| 11498 | gpr |
| 11499 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11500 | ) |
| 11501 | |
| 11502 | endif (gRPC_BUILD_TESTS) |
| 11503 | if (gRPC_BUILD_TESTS) |
| 11504 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11505 | add_executable(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11506 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 11507 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 11508 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 11509 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11510 | test/cpp/interop/metrics_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11511 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11512 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11513 | ) |
| 11514 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11515 | protobuf_generate_grpc_cpp( |
| 11516 | src/proto/grpc/testing/metrics.proto |
| 11517 | ) |
| 11518 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11519 | target_include_directories(metrics_client |
| 11520 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11521 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11522 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11523 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11524 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11525 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11526 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11527 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11528 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11529 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11530 | PRIVATE third_party/googletest/googletest/include |
| 11531 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11532 | PRIVATE third_party/googletest/googlemock/include |
| 11533 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11534 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11535 | ) |
| 11536 | |
| 11537 | target_link_libraries(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11538 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11539 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11540 | grpc++ |
| 11541 | grpc |
| 11542 | gpr |
| 11543 | grpc++_test_config |
| 11544 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11545 | ) |
| 11546 | |
| 11547 | endif (gRPC_BUILD_TESTS) |
| 11548 | if (gRPC_BUILD_TESTS) |
| 11549 | |
| 11550 | add_executable(mock_test |
| 11551 | test/cpp/end2end/mock_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11552 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11553 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11554 | ) |
| 11555 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11556 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11557 | target_include_directories(mock_test |
| 11558 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11559 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11560 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11561 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11562 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11563 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11564 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11565 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11566 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11567 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11568 | PRIVATE third_party/googletest/googletest/include |
| 11569 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11570 | PRIVATE third_party/googletest/googlemock/include |
| 11571 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11572 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11573 | ) |
| 11574 | |
| 11575 | target_link_libraries(mock_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11576 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11577 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11578 | grpc++_test_util |
| 11579 | grpc_test_util |
| 11580 | grpc++ |
| 11581 | grpc |
| 11582 | gpr_test_util |
| 11583 | gpr |
| 11584 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11585 | ) |
| 11586 | |
| 11587 | endif (gRPC_BUILD_TESTS) |
| 11588 | if (gRPC_BUILD_TESTS) |
| 11589 | |
| 11590 | add_executable(noop-benchmark |
| 11591 | test/cpp/microbenchmarks/noop-benchmark.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11592 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11593 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11594 | ) |
| 11595 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11596 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11597 | target_include_directories(noop-benchmark |
| 11598 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11599 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11600 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11601 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11602 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11603 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11604 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11605 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11606 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11607 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11608 | PRIVATE third_party/googletest/googletest/include |
| 11609 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11610 | PRIVATE third_party/googletest/googlemock/include |
| 11611 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11612 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11613 | ) |
| 11614 | |
| 11615 | target_link_libraries(noop-benchmark |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11616 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11617 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11618 | benchmark |
| 11619 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11620 | ) |
| 11621 | |
| 11622 | endif (gRPC_BUILD_TESTS) |
| 11623 | if (gRPC_BUILD_TESTS) |
| 11624 | |
| 11625 | add_executable(proto_server_reflection_test |
| 11626 | test/cpp/end2end/proto_server_reflection_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11627 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11628 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11629 | ) |
| 11630 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11631 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11632 | target_include_directories(proto_server_reflection_test |
| 11633 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11634 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11635 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11636 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11637 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11638 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11639 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11640 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11641 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11642 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11643 | PRIVATE third_party/googletest/googletest/include |
| 11644 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11645 | PRIVATE third_party/googletest/googlemock/include |
| 11646 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11647 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11648 | ) |
| 11649 | |
| 11650 | target_link_libraries(proto_server_reflection_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11651 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11652 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11653 | grpc++_proto_reflection_desc_db |
| 11654 | grpc++_reflection |
| 11655 | grpc++_test_util |
| 11656 | grpc_test_util |
| 11657 | grpc++ |
| 11658 | grpc |
| 11659 | gpr_test_util |
| 11660 | gpr |
| 11661 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11662 | ) |
| 11663 | |
| 11664 | endif (gRPC_BUILD_TESTS) |
| 11665 | if (gRPC_BUILD_TESTS) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11666 | |
| 11667 | add_executable(proto_utils_test |
| 11668 | test/cpp/codegen/proto_utils_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11669 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11670 | third_party/googletest/googlemock/src/gmock-all.cc |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11671 | ) |
| 11672 | |
| 11673 | |
| 11674 | target_include_directories(proto_utils_test |
| 11675 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11676 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11677 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11678 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11679 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11680 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11681 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11682 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11683 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11684 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11685 | PRIVATE third_party/googletest/googletest/include |
| 11686 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11687 | PRIVATE third_party/googletest/googlemock/include |
| 11688 | PRIVATE third_party/googletest/googlemock |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11689 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11690 | ) |
| 11691 | |
| 11692 | target_link_libraries(proto_utils_test |
| 11693 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11694 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11695 | grpc++ |
| 11696 | grpc |
| 11697 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11698 | ) |
| 11699 | |
| 11700 | endif (gRPC_BUILD_TESTS) |
| 11701 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11702 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11703 | |
| 11704 | add_executable(qps_interarrival_test |
| 11705 | test/cpp/qps/qps_interarrival_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11706 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11707 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11708 | ) |
| 11709 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11710 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11711 | target_include_directories(qps_interarrival_test |
| 11712 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11713 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11714 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11715 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11716 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11717 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11718 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11719 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11720 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11721 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11722 | PRIVATE third_party/googletest/googletest/include |
| 11723 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11724 | PRIVATE third_party/googletest/googlemock/include |
| 11725 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11726 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11727 | ) |
| 11728 | |
| 11729 | target_link_libraries(qps_interarrival_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11730 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11731 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11732 | qps |
| 11733 | grpc++_test_util |
| 11734 | grpc_test_util |
| 11735 | grpc++ |
| 11736 | grpc |
| 11737 | gpr_test_util |
| 11738 | gpr |
yang-g | fdcb774 | 2017-07-13 10:25:42 -0700 | [diff] [blame] | 11739 | grpc++_test_config |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11740 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11741 | ) |
| 11742 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11743 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11744 | endif (gRPC_BUILD_TESTS) |
| 11745 | if (gRPC_BUILD_TESTS) |
| 11746 | |
| 11747 | add_executable(qps_json_driver |
| 11748 | test/cpp/qps/qps_json_driver.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11749 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11750 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11751 | ) |
| 11752 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11753 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11754 | target_include_directories(qps_json_driver |
| 11755 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11756 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11757 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11758 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11759 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11760 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11761 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11762 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11763 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11764 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11765 | PRIVATE third_party/googletest/googletest/include |
| 11766 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11767 | PRIVATE third_party/googletest/googlemock/include |
| 11768 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11769 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11770 | ) |
| 11771 | |
| 11772 | target_link_libraries(qps_json_driver |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11773 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11774 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11775 | qps |
Craig Tiller | 2897235 | 2017-08-31 15:52:57 -0700 | [diff] [blame] | 11776 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11777 | grpc++_test_util |
| 11778 | grpc_test_util |
| 11779 | grpc++ |
| 11780 | grpc |
| 11781 | gpr_test_util |
| 11782 | gpr |
| 11783 | grpc++_test_config |
| 11784 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11785 | ) |
| 11786 | |
| 11787 | endif (gRPC_BUILD_TESTS) |
| 11788 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11789 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11790 | |
| 11791 | add_executable(qps_openloop_test |
| 11792 | test/cpp/qps/qps_openloop_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11793 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11794 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11795 | ) |
| 11796 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11797 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11798 | target_include_directories(qps_openloop_test |
| 11799 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11800 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11801 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11802 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11803 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11804 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11805 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11806 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11807 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11808 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11809 | PRIVATE third_party/googletest/googletest/include |
| 11810 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11811 | PRIVATE third_party/googletest/googlemock/include |
| 11812 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11813 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11814 | ) |
| 11815 | |
| 11816 | target_link_libraries(qps_openloop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11817 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11818 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11819 | qps |
Craig Tiller | c75f986 | 2017-09-05 11:34:57 -0700 | [diff] [blame] | 11820 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11821 | grpc++_test_util |
| 11822 | grpc_test_util |
| 11823 | grpc++ |
| 11824 | grpc |
| 11825 | gpr_test_util |
| 11826 | gpr |
| 11827 | grpc++_test_config |
| 11828 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11829 | ) |
| 11830 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11831 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11832 | endif (gRPC_BUILD_TESTS) |
| 11833 | if (gRPC_BUILD_TESTS) |
| 11834 | |
| 11835 | add_executable(qps_worker |
| 11836 | test/cpp/qps/worker.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11837 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11838 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11839 | ) |
| 11840 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11841 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11842 | target_include_directories(qps_worker |
| 11843 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11844 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11845 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11846 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11847 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11848 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11849 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11850 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11851 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11852 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11853 | PRIVATE third_party/googletest/googletest/include |
| 11854 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11855 | PRIVATE third_party/googletest/googlemock/include |
| 11856 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11857 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11858 | ) |
| 11859 | |
| 11860 | target_link_libraries(qps_worker |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11861 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11862 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11863 | qps |
Craig Tiller | c75f986 | 2017-09-05 11:34:57 -0700 | [diff] [blame] | 11864 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11865 | grpc++_test_util |
| 11866 | grpc_test_util |
| 11867 | grpc++ |
| 11868 | grpc |
| 11869 | gpr_test_util |
| 11870 | gpr |
| 11871 | grpc++_test_config |
| 11872 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11873 | ) |
| 11874 | |
| 11875 | endif (gRPC_BUILD_TESTS) |
| 11876 | if (gRPC_BUILD_TESTS) |
| 11877 | |
| 11878 | add_executable(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11879 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 11880 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 11881 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 11882 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 11883 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 11884 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 11885 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 11886 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 11887 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 11888 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 11889 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 11890 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11891 | test/cpp/interop/reconnect_interop_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11892 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11893 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11894 | ) |
| 11895 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11896 | protobuf_generate_grpc_cpp( |
| 11897 | src/proto/grpc/testing/empty.proto |
| 11898 | ) |
| 11899 | protobuf_generate_grpc_cpp( |
| 11900 | src/proto/grpc/testing/messages.proto |
| 11901 | ) |
| 11902 | protobuf_generate_grpc_cpp( |
| 11903 | src/proto/grpc/testing/test.proto |
| 11904 | ) |
| 11905 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11906 | target_include_directories(reconnect_interop_client |
| 11907 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11908 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11909 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11910 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11911 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11912 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11913 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11914 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11915 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11916 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11917 | PRIVATE third_party/googletest/googletest/include |
| 11918 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11919 | PRIVATE third_party/googletest/googlemock/include |
| 11920 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11921 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11922 | ) |
| 11923 | |
| 11924 | target_link_libraries(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11925 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11926 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11927 | grpc++_test_util |
| 11928 | grpc_test_util |
| 11929 | grpc++ |
| 11930 | grpc |
| 11931 | gpr_test_util |
| 11932 | gpr |
| 11933 | grpc++_test_config |
| 11934 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11935 | ) |
| 11936 | |
| 11937 | endif (gRPC_BUILD_TESTS) |
| 11938 | if (gRPC_BUILD_TESTS) |
| 11939 | |
| 11940 | add_executable(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11941 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 11942 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 11943 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 11944 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 11945 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 11946 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 11947 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 11948 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 11949 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 11950 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 11951 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 11952 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11953 | test/cpp/interop/reconnect_interop_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11954 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11955 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11956 | ) |
| 11957 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11958 | protobuf_generate_grpc_cpp( |
| 11959 | src/proto/grpc/testing/empty.proto |
| 11960 | ) |
| 11961 | protobuf_generate_grpc_cpp( |
| 11962 | src/proto/grpc/testing/messages.proto |
| 11963 | ) |
| 11964 | protobuf_generate_grpc_cpp( |
| 11965 | src/proto/grpc/testing/test.proto |
| 11966 | ) |
| 11967 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11968 | target_include_directories(reconnect_interop_server |
| 11969 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11970 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11971 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11972 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11973 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11974 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11975 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11976 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11977 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11978 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11979 | PRIVATE third_party/googletest/googletest/include |
| 11980 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 11981 | PRIVATE third_party/googletest/googlemock/include |
| 11982 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11983 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11984 | ) |
| 11985 | |
| 11986 | target_link_libraries(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11987 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11988 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11989 | reconnect_server |
| 11990 | test_tcp_server |
| 11991 | grpc++_test_util |
| 11992 | grpc_test_util |
| 11993 | grpc++ |
| 11994 | grpc |
| 11995 | gpr_test_util |
| 11996 | gpr |
| 11997 | grpc++_test_config |
| 11998 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11999 | ) |
| 12000 | |
| 12001 | endif (gRPC_BUILD_TESTS) |
| 12002 | if (gRPC_BUILD_TESTS) |
| 12003 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12004 | add_executable(secure_auth_context_test |
| 12005 | test/cpp/common/secure_auth_context_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12006 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12007 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12008 | ) |
| 12009 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12010 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12011 | target_include_directories(secure_auth_context_test |
| 12012 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12013 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12014 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12015 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12016 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12017 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12018 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12019 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12020 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12021 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12022 | PRIVATE third_party/googletest/googletest/include |
| 12023 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12024 | PRIVATE third_party/googletest/googlemock/include |
| 12025 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12026 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12027 | ) |
| 12028 | |
| 12029 | target_link_libraries(secure_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12030 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12031 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12032 | grpc++_test_util |
| 12033 | grpc_test_util |
| 12034 | grpc++ |
| 12035 | grpc |
| 12036 | gpr_test_util |
| 12037 | gpr |
| 12038 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12039 | ) |
| 12040 | |
| 12041 | endif (gRPC_BUILD_TESTS) |
| 12042 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12043 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12044 | |
| 12045 | add_executable(secure_sync_unary_ping_pong_test |
| 12046 | test/cpp/qps/secure_sync_unary_ping_pong_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12047 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12048 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12049 | ) |
| 12050 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12051 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12052 | target_include_directories(secure_sync_unary_ping_pong_test |
| 12053 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12054 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12055 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12056 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12057 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12058 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12059 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12060 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12061 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12062 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12063 | PRIVATE third_party/googletest/googletest/include |
| 12064 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12065 | PRIVATE third_party/googletest/googlemock/include |
| 12066 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12067 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12068 | ) |
| 12069 | |
| 12070 | target_link_libraries(secure_sync_unary_ping_pong_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12071 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12072 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12073 | qps |
Craig Tiller | c75f986 | 2017-09-05 11:34:57 -0700 | [diff] [blame] | 12074 | grpc++_core_stats |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12075 | grpc++_test_util |
| 12076 | grpc_test_util |
| 12077 | grpc++ |
| 12078 | grpc |
| 12079 | gpr_test_util |
| 12080 | gpr |
yang-g | fdcb774 | 2017-07-13 10:25:42 -0700 | [diff] [blame] | 12081 | grpc++_test_config |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12082 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12083 | ) |
| 12084 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12085 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12086 | endif (gRPC_BUILD_TESTS) |
| 12087 | if (gRPC_BUILD_TESTS) |
| 12088 | |
| 12089 | add_executable(server_builder_plugin_test |
| 12090 | test/cpp/end2end/server_builder_plugin_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12091 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12092 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12093 | ) |
| 12094 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12095 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12096 | target_include_directories(server_builder_plugin_test |
| 12097 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12098 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12099 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12100 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12101 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12102 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12103 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12104 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12105 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12106 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12107 | PRIVATE third_party/googletest/googletest/include |
| 12108 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12109 | PRIVATE third_party/googletest/googlemock/include |
| 12110 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12111 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12112 | ) |
| 12113 | |
| 12114 | target_link_libraries(server_builder_plugin_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12115 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12116 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12117 | grpc++_test_util |
| 12118 | grpc_test_util |
| 12119 | grpc++ |
| 12120 | grpc |
| 12121 | gpr_test_util |
| 12122 | gpr |
| 12123 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12124 | ) |
| 12125 | |
| 12126 | endif (gRPC_BUILD_TESTS) |
| 12127 | if (gRPC_BUILD_TESTS) |
| 12128 | |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 12129 | add_executable(server_builder_test |
| 12130 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 12131 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 12132 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 12133 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 12134 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 12135 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 12136 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 12137 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 12138 | test/cpp/server/server_builder_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12139 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12140 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 12141 | ) |
| 12142 | |
| 12143 | protobuf_generate_grpc_cpp( |
| 12144 | src/proto/grpc/testing/echo_messages.proto |
| 12145 | ) |
| 12146 | protobuf_generate_grpc_cpp( |
| 12147 | src/proto/grpc/testing/echo.proto |
| 12148 | ) |
| 12149 | |
| 12150 | target_include_directories(server_builder_test |
| 12151 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12152 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12153 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12154 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 12155 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 12156 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12157 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12158 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12159 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 12160 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12161 | PRIVATE third_party/googletest/googletest/include |
| 12162 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12163 | PRIVATE third_party/googletest/googlemock/include |
| 12164 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 12165 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12166 | ) |
| 12167 | |
| 12168 | target_link_libraries(server_builder_test |
| 12169 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12170 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 12171 | grpc++_test_util_unsecure |
| 12172 | grpc_test_util_unsecure |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 12173 | gpr_test_util |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 12174 | grpc++_unsecure |
| 12175 | grpc_unsecure |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 12176 | gpr |
| 12177 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12178 | ) |
| 12179 | |
| 12180 | endif (gRPC_BUILD_TESTS) |
| 12181 | if (gRPC_BUILD_TESTS) |
| 12182 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12183 | add_executable(server_context_test_spouse_test |
| 12184 | test/cpp/test/server_context_test_spouse_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12185 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12186 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12187 | ) |
| 12188 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12189 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12190 | target_include_directories(server_context_test_spouse_test |
| 12191 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12192 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12193 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12194 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12195 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12196 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12197 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12198 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12199 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12200 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12201 | PRIVATE third_party/googletest/googletest/include |
| 12202 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12203 | PRIVATE third_party/googletest/googlemock/include |
| 12204 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12205 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12206 | ) |
| 12207 | |
| 12208 | target_link_libraries(server_context_test_spouse_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12209 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12210 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12211 | grpc_test_util |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12212 | grpc++ |
| 12213 | grpc |
| 12214 | gpr_test_util |
| 12215 | gpr |
| 12216 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12217 | ) |
| 12218 | |
| 12219 | endif (gRPC_BUILD_TESTS) |
| 12220 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12221 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12222 | |
| 12223 | add_executable(server_crash_test |
| 12224 | test/cpp/end2end/server_crash_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12225 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12226 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12227 | ) |
| 12228 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12229 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12230 | target_include_directories(server_crash_test |
| 12231 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12232 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12233 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12234 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12235 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12236 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12237 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12238 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12239 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12240 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12241 | PRIVATE third_party/googletest/googletest/include |
| 12242 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12243 | PRIVATE third_party/googletest/googlemock/include |
| 12244 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12245 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12246 | ) |
| 12247 | |
| 12248 | target_link_libraries(server_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12249 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12250 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12251 | grpc++_test_util |
| 12252 | grpc_test_util |
| 12253 | grpc++ |
| 12254 | grpc |
| 12255 | gpr_test_util |
| 12256 | gpr |
| 12257 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12258 | ) |
| 12259 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12260 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12261 | endif (gRPC_BUILD_TESTS) |
| 12262 | if (gRPC_BUILD_TESTS) |
| 12263 | |
| 12264 | add_executable(server_crash_test_client |
| 12265 | test/cpp/end2end/server_crash_test_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12266 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12267 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12268 | ) |
| 12269 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12270 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12271 | target_include_directories(server_crash_test_client |
| 12272 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12273 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12274 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12275 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12276 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12277 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12278 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12279 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12280 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12281 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12282 | PRIVATE third_party/googletest/googletest/include |
| 12283 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12284 | PRIVATE third_party/googletest/googlemock/include |
| 12285 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12286 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12287 | ) |
| 12288 | |
| 12289 | target_link_libraries(server_crash_test_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12290 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12291 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12292 | grpc++_test_util |
| 12293 | grpc_test_util |
| 12294 | grpc++ |
| 12295 | grpc |
| 12296 | gpr_test_util |
| 12297 | gpr |
| 12298 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12299 | ) |
| 12300 | |
| 12301 | endif (gRPC_BUILD_TESTS) |
| 12302 | if (gRPC_BUILD_TESTS) |
| 12303 | |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 12304 | add_executable(server_request_call_test |
| 12305 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 12306 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 12307 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 12308 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 12309 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 12310 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 12311 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 12312 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 12313 | test/cpp/server/server_request_call_test.cc |
| 12314 | third_party/googletest/googletest/src/gtest-all.cc |
| 12315 | third_party/googletest/googlemock/src/gmock-all.cc |
| 12316 | ) |
| 12317 | |
| 12318 | protobuf_generate_grpc_cpp( |
| 12319 | src/proto/grpc/testing/echo_messages.proto |
| 12320 | ) |
| 12321 | protobuf_generate_grpc_cpp( |
| 12322 | src/proto/grpc/testing/echo.proto |
| 12323 | ) |
| 12324 | |
| 12325 | target_include_directories(server_request_call_test |
| 12326 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12327 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12328 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12329 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 12330 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 12331 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12332 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 12333 | PRIVATE ${CARES_INCLUDE_DIR} |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 12334 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 12335 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12336 | PRIVATE third_party/googletest/googletest/include |
| 12337 | PRIVATE third_party/googletest/googletest |
| 12338 | PRIVATE third_party/googletest/googlemock/include |
| 12339 | PRIVATE third_party/googletest/googlemock |
| 12340 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12341 | ) |
| 12342 | |
| 12343 | target_link_libraries(server_request_call_test |
| 12344 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12345 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 12346 | grpc++_test_util_unsecure |
| 12347 | grpc_test_util_unsecure |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 12348 | gpr_test_util |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 12349 | grpc++_unsecure |
| 12350 | grpc_unsecure |
Mark D. Roth | 0696611 | 2017-07-14 07:18:39 -0700 | [diff] [blame] | 12351 | gpr |
| 12352 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12353 | ) |
| 12354 | |
| 12355 | endif (gRPC_BUILD_TESTS) |
| 12356 | if (gRPC_BUILD_TESTS) |
| 12357 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12358 | add_executable(shutdown_test |
| 12359 | test/cpp/end2end/shutdown_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12360 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12361 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12362 | ) |
| 12363 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12364 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12365 | target_include_directories(shutdown_test |
| 12366 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12367 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12368 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12369 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12370 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12371 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12372 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12373 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12374 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12375 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12376 | PRIVATE third_party/googletest/googletest/include |
| 12377 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12378 | PRIVATE third_party/googletest/googlemock/include |
| 12379 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12380 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12381 | ) |
| 12382 | |
| 12383 | target_link_libraries(shutdown_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12384 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12385 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12386 | grpc++_test_util |
| 12387 | grpc_test_util |
| 12388 | grpc++ |
| 12389 | grpc |
| 12390 | gpr_test_util |
| 12391 | gpr |
| 12392 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12393 | ) |
| 12394 | |
| 12395 | endif (gRPC_BUILD_TESTS) |
| 12396 | if (gRPC_BUILD_TESTS) |
| 12397 | |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 12398 | add_executable(stats_test |
| 12399 | test/core/debug/stats_test.cc |
| 12400 | third_party/googletest/googletest/src/gtest-all.cc |
| 12401 | third_party/googletest/googlemock/src/gmock-all.cc |
| 12402 | ) |
| 12403 | |
| 12404 | |
| 12405 | target_include_directories(stats_test |
| 12406 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12407 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12408 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12409 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 12410 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 12411 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12412 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 12413 | PRIVATE ${CARES_INCLUDE_DIR} |
Craig Tiller | 97ec5eb | 2017-09-01 12:57:36 -0700 | [diff] [blame] | 12414 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 12415 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12416 | PRIVATE third_party/googletest/googletest/include |
| 12417 | PRIVATE third_party/googletest/googletest |
| 12418 | PRIVATE third_party/googletest/googlemock/include |
| 12419 | PRIVATE third_party/googletest/googlemock |
| 12420 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 12421 | ) |
| 12422 | |
| 12423 | target_link_libraries(stats_test |
| 12424 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12425 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12426 | grpc++_test_util |
| 12427 | grpc_test_util |
| 12428 | grpc |
| 12429 | gpr_test_util |
| 12430 | gpr |
| 12431 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12432 | ) |
| 12433 | |
| 12434 | endif (gRPC_BUILD_TESTS) |
| 12435 | if (gRPC_BUILD_TESTS) |
| 12436 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12437 | add_executable(status_test |
| 12438 | test/cpp/util/status_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12439 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12440 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12441 | ) |
| 12442 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12443 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12444 | target_include_directories(status_test |
| 12445 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12446 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12447 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12448 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12449 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12450 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12451 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12452 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12453 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12454 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12455 | PRIVATE third_party/googletest/googletest/include |
| 12456 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12457 | PRIVATE third_party/googletest/googlemock/include |
| 12458 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12459 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12460 | ) |
| 12461 | |
| 12462 | target_link_libraries(status_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12463 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12464 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12465 | grpc_test_util |
| 12466 | grpc++ |
| 12467 | grpc |
| 12468 | gpr_test_util |
| 12469 | gpr |
| 12470 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12471 | ) |
| 12472 | |
| 12473 | endif (gRPC_BUILD_TESTS) |
| 12474 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12475 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12476 | |
| 12477 | add_executable(streaming_throughput_test |
| 12478 | test/cpp/end2end/streaming_throughput_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12479 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12480 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12481 | ) |
| 12482 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12483 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12484 | target_include_directories(streaming_throughput_test |
| 12485 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12486 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12487 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12488 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12489 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12490 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12491 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12492 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12493 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12494 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12495 | PRIVATE third_party/googletest/googletest/include |
| 12496 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12497 | PRIVATE third_party/googletest/googlemock/include |
| 12498 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12499 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12500 | ) |
| 12501 | |
| 12502 | target_link_libraries(streaming_throughput_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12503 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12504 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12505 | grpc++_test_util |
| 12506 | grpc_test_util |
| 12507 | grpc++ |
| 12508 | grpc |
| 12509 | gpr_test_util |
| 12510 | gpr |
| 12511 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12512 | ) |
| 12513 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12514 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12515 | endif (gRPC_BUILD_TESTS) |
| 12516 | if (gRPC_BUILD_TESTS) |
| 12517 | |
| 12518 | add_executable(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12519 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 12520 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 12521 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 12522 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 12523 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 12524 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 12525 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 12526 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 12527 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 12528 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 12529 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 12530 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
| 12531 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 12532 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 12533 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 12534 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12535 | test/cpp/interop/interop_client.cc |
| 12536 | test/cpp/interop/stress_interop_client.cc |
| 12537 | test/cpp/interop/stress_test.cc |
| 12538 | test/cpp/util/metrics_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12539 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12540 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12541 | ) |
| 12542 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12543 | protobuf_generate_grpc_cpp( |
| 12544 | src/proto/grpc/testing/empty.proto |
| 12545 | ) |
| 12546 | protobuf_generate_grpc_cpp( |
| 12547 | src/proto/grpc/testing/messages.proto |
| 12548 | ) |
| 12549 | protobuf_generate_grpc_cpp( |
| 12550 | src/proto/grpc/testing/metrics.proto |
| 12551 | ) |
| 12552 | protobuf_generate_grpc_cpp( |
| 12553 | src/proto/grpc/testing/test.proto |
| 12554 | ) |
| 12555 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12556 | target_include_directories(stress_test |
| 12557 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12558 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12559 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12560 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12561 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12562 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12563 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12564 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12565 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12566 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12567 | PRIVATE third_party/googletest/googletest/include |
| 12568 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12569 | PRIVATE third_party/googletest/googlemock/include |
| 12570 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12571 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12572 | ) |
| 12573 | |
| 12574 | target_link_libraries(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12575 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12576 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12577 | grpc++_test_util |
| 12578 | grpc_test_util |
| 12579 | grpc++ |
| 12580 | grpc |
| 12581 | gpr_test_util |
| 12582 | gpr |
| 12583 | grpc++_test_config |
| 12584 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12585 | ) |
| 12586 | |
| 12587 | endif (gRPC_BUILD_TESTS) |
| 12588 | if (gRPC_BUILD_TESTS) |
| 12589 | |
| 12590 | add_executable(thread_manager_test |
| 12591 | test/cpp/thread_manager/thread_manager_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12592 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12593 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12594 | ) |
| 12595 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12596 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12597 | target_include_directories(thread_manager_test |
| 12598 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12599 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12600 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12601 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12602 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12603 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12604 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12605 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12606 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12607 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12608 | PRIVATE third_party/googletest/googletest/include |
| 12609 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12610 | PRIVATE third_party/googletest/googlemock/include |
| 12611 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12612 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12613 | ) |
| 12614 | |
| 12615 | target_link_libraries(thread_manager_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12616 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12617 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 12618 | grpc++_unsecure |
| 12619 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12620 | gpr |
| 12621 | grpc++_test_config |
| 12622 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12623 | ) |
| 12624 | |
| 12625 | endif (gRPC_BUILD_TESTS) |
| 12626 | if (gRPC_BUILD_TESTS) |
| 12627 | |
| 12628 | add_executable(thread_stress_test |
| 12629 | test/cpp/end2end/thread_stress_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12630 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12631 | third_party/googletest/googlemock/src/gmock-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12632 | ) |
| 12633 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12634 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12635 | target_include_directories(thread_stress_test |
| 12636 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12637 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12638 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12639 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12640 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12641 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12642 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12643 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12644 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12645 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12646 | PRIVATE third_party/googletest/googletest/include |
| 12647 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12648 | PRIVATE third_party/googletest/googlemock/include |
| 12649 | PRIVATE third_party/googletest/googlemock |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12650 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12651 | ) |
| 12652 | |
| 12653 | target_link_libraries(thread_stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12654 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12655 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Vijay Pai | 168034b | 2017-07-31 00:53:10 -0700 | [diff] [blame] | 12656 | grpc++_test_util_unsecure |
| 12657 | grpc_test_util_unsecure |
| 12658 | grpc++_unsecure |
| 12659 | grpc_unsecure |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12660 | gpr_test_util |
| 12661 | gpr |
| 12662 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12663 | ) |
| 12664 | |
| 12665 | endif (gRPC_BUILD_TESTS) |
| 12666 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 12667 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12668 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12669 | add_executable(writes_per_rpc_test |
| 12670 | test/cpp/performance/writes_per_rpc_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12671 | third_party/googletest/googletest/src/gtest-all.cc |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12672 | third_party/googletest/googlemock/src/gmock-all.cc |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12673 | ) |
| 12674 | |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12675 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12676 | target_include_directories(writes_per_rpc_test |
| 12677 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12678 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12679 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12680 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12681 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12682 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12683 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12684 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12685 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12686 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 12687 | PRIVATE third_party/googletest/googletest/include |
| 12688 | PRIVATE third_party/googletest/googletest |
Mahak Mukhi | 78ca0d1 | 2017-04-26 13:39:46 -0700 | [diff] [blame] | 12689 | PRIVATE third_party/googletest/googlemock/include |
| 12690 | PRIVATE third_party/googletest/googlemock |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12691 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12692 | ) |
| 12693 | |
| 12694 | target_link_libraries(writes_per_rpc_test |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 12695 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 12696 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12697 | grpc++_test_util |
| 12698 | grpc_test_util |
| 12699 | grpc++ |
| 12700 | grpc |
| 12701 | gpr_test_util |
| 12702 | gpr |
| 12703 | ${_gRPC_GFLAGS_LIBRARIES} |
| 12704 | ) |
| 12705 | |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 12706 | endif() |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 12707 | endif (gRPC_BUILD_TESTS) |
| 12708 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12709 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12710 | add_executable(public_headers_must_be_c89 |
| 12711 | test/core/surface/public_headers_must_be_c89.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12712 | ) |
| 12713 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12714 | |
| 12715 | target_include_directories(public_headers_must_be_c89 |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12716 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12717 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12718 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12719 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12720 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12721 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12722 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12723 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12724 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12725 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12726 | ) |
| 12727 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12728 | target_link_libraries(public_headers_must_be_c89 |
| 12729 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12730 | grpc |
| 12731 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12732 | ) |
| 12733 | |
| 12734 | endif (gRPC_BUILD_TESTS) |
| 12735 | if (gRPC_BUILD_TESTS) |
| 12736 | |
| 12737 | add_executable(badreq_bad_client_test |
| 12738 | test/core/bad_client/tests/badreq.c |
| 12739 | ) |
| 12740 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12741 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12742 | target_include_directories(badreq_bad_client_test |
| 12743 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12744 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12745 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12746 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12747 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12748 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12749 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12750 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12751 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12752 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12753 | ) |
| 12754 | |
| 12755 | target_link_libraries(badreq_bad_client_test |
| 12756 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12757 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12758 | bad_client_test |
| 12759 | grpc_test_util_unsecure |
| 12760 | grpc_unsecure |
| 12761 | gpr_test_util |
| 12762 | gpr |
| 12763 | ) |
| 12764 | |
| 12765 | endif (gRPC_BUILD_TESTS) |
| 12766 | if (gRPC_BUILD_TESTS) |
| 12767 | |
| 12768 | add_executable(connection_prefix_bad_client_test |
| 12769 | test/core/bad_client/tests/connection_prefix.c |
| 12770 | ) |
| 12771 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12772 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12773 | target_include_directories(connection_prefix_bad_client_test |
| 12774 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12775 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12776 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12777 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12778 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12779 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12780 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12781 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12782 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12783 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12784 | ) |
| 12785 | |
| 12786 | target_link_libraries(connection_prefix_bad_client_test |
| 12787 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12788 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12789 | bad_client_test |
| 12790 | grpc_test_util_unsecure |
| 12791 | grpc_unsecure |
| 12792 | gpr_test_util |
| 12793 | gpr |
| 12794 | ) |
| 12795 | |
| 12796 | endif (gRPC_BUILD_TESTS) |
| 12797 | if (gRPC_BUILD_TESTS) |
| 12798 | |
| 12799 | add_executable(head_of_line_blocking_bad_client_test |
| 12800 | test/core/bad_client/tests/head_of_line_blocking.c |
| 12801 | ) |
| 12802 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12803 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12804 | target_include_directories(head_of_line_blocking_bad_client_test |
| 12805 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12806 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12807 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12808 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12809 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12810 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12811 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12812 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12813 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12814 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12815 | ) |
| 12816 | |
| 12817 | target_link_libraries(head_of_line_blocking_bad_client_test |
| 12818 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12819 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12820 | bad_client_test |
| 12821 | grpc_test_util_unsecure |
| 12822 | grpc_unsecure |
| 12823 | gpr_test_util |
| 12824 | gpr |
| 12825 | ) |
| 12826 | |
| 12827 | endif (gRPC_BUILD_TESTS) |
| 12828 | if (gRPC_BUILD_TESTS) |
| 12829 | |
| 12830 | add_executable(headers_bad_client_test |
| 12831 | test/core/bad_client/tests/headers.c |
| 12832 | ) |
| 12833 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12834 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12835 | target_include_directories(headers_bad_client_test |
| 12836 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12837 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12838 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12839 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12840 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12841 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12842 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12843 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12844 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12845 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12846 | ) |
| 12847 | |
| 12848 | target_link_libraries(headers_bad_client_test |
| 12849 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12850 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12851 | bad_client_test |
| 12852 | grpc_test_util_unsecure |
| 12853 | grpc_unsecure |
| 12854 | gpr_test_util |
| 12855 | gpr |
| 12856 | ) |
| 12857 | |
| 12858 | endif (gRPC_BUILD_TESTS) |
| 12859 | if (gRPC_BUILD_TESTS) |
| 12860 | |
| 12861 | add_executable(initial_settings_frame_bad_client_test |
| 12862 | test/core/bad_client/tests/initial_settings_frame.c |
| 12863 | ) |
| 12864 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12865 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12866 | target_include_directories(initial_settings_frame_bad_client_test |
| 12867 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12868 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12869 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12870 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12871 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12872 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12873 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12874 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12875 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12876 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12877 | ) |
| 12878 | |
| 12879 | target_link_libraries(initial_settings_frame_bad_client_test |
| 12880 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12881 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12882 | bad_client_test |
| 12883 | grpc_test_util_unsecure |
| 12884 | grpc_unsecure |
| 12885 | gpr_test_util |
| 12886 | gpr |
| 12887 | ) |
| 12888 | |
| 12889 | endif (gRPC_BUILD_TESTS) |
| 12890 | if (gRPC_BUILD_TESTS) |
| 12891 | |
| 12892 | add_executable(large_metadata_bad_client_test |
| 12893 | test/core/bad_client/tests/large_metadata.c |
| 12894 | ) |
| 12895 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12896 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12897 | target_include_directories(large_metadata_bad_client_test |
| 12898 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12899 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12900 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12901 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12902 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12903 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12904 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12905 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12906 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12907 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12908 | ) |
| 12909 | |
| 12910 | target_link_libraries(large_metadata_bad_client_test |
| 12911 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12912 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12913 | bad_client_test |
| 12914 | grpc_test_util_unsecure |
| 12915 | grpc_unsecure |
| 12916 | gpr_test_util |
| 12917 | gpr |
| 12918 | ) |
| 12919 | |
| 12920 | endif (gRPC_BUILD_TESTS) |
| 12921 | if (gRPC_BUILD_TESTS) |
| 12922 | |
| 12923 | add_executable(server_registered_method_bad_client_test |
| 12924 | test/core/bad_client/tests/server_registered_method.c |
| 12925 | ) |
| 12926 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12927 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12928 | target_include_directories(server_registered_method_bad_client_test |
| 12929 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12930 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12931 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12932 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12933 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12934 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12935 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12936 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12937 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12938 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12939 | ) |
| 12940 | |
| 12941 | target_link_libraries(server_registered_method_bad_client_test |
| 12942 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12943 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12944 | bad_client_test |
| 12945 | grpc_test_util_unsecure |
| 12946 | grpc_unsecure |
| 12947 | gpr_test_util |
| 12948 | gpr |
| 12949 | ) |
| 12950 | |
| 12951 | endif (gRPC_BUILD_TESTS) |
| 12952 | if (gRPC_BUILD_TESTS) |
| 12953 | |
| 12954 | add_executable(simple_request_bad_client_test |
| 12955 | test/core/bad_client/tests/simple_request.c |
| 12956 | ) |
| 12957 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12958 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12959 | target_include_directories(simple_request_bad_client_test |
| 12960 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12961 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12962 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12963 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12964 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12965 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12966 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12967 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12968 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12969 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12970 | ) |
| 12971 | |
| 12972 | target_link_libraries(simple_request_bad_client_test |
| 12973 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12974 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12975 | bad_client_test |
| 12976 | grpc_test_util_unsecure |
| 12977 | grpc_unsecure |
| 12978 | gpr_test_util |
| 12979 | gpr |
| 12980 | ) |
| 12981 | |
| 12982 | endif (gRPC_BUILD_TESTS) |
| 12983 | if (gRPC_BUILD_TESTS) |
| 12984 | |
| 12985 | add_executable(unknown_frame_bad_client_test |
| 12986 | test/core/bad_client/tests/unknown_frame.c |
| 12987 | ) |
| 12988 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12989 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12990 | target_include_directories(unknown_frame_bad_client_test |
| 12991 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12992 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12993 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12994 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12995 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12996 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12997 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12998 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12999 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13000 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13001 | ) |
| 13002 | |
| 13003 | target_link_libraries(unknown_frame_bad_client_test |
| 13004 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13005 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13006 | bad_client_test |
| 13007 | grpc_test_util_unsecure |
| 13008 | grpc_unsecure |
| 13009 | gpr_test_util |
| 13010 | gpr |
| 13011 | ) |
| 13012 | |
| 13013 | endif (gRPC_BUILD_TESTS) |
| 13014 | if (gRPC_BUILD_TESTS) |
| 13015 | |
| 13016 | add_executable(window_overflow_bad_client_test |
| 13017 | test/core/bad_client/tests/window_overflow.c |
| 13018 | ) |
| 13019 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13020 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13021 | target_include_directories(window_overflow_bad_client_test |
| 13022 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13023 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13024 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13025 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13026 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13027 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13028 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13029 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13030 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13031 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13032 | ) |
| 13033 | |
| 13034 | target_link_libraries(window_overflow_bad_client_test |
| 13035 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13036 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13037 | bad_client_test |
| 13038 | grpc_test_util_unsecure |
| 13039 | grpc_unsecure |
| 13040 | gpr_test_util |
| 13041 | gpr |
| 13042 | ) |
| 13043 | |
| 13044 | endif (gRPC_BUILD_TESTS) |
| 13045 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13046 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13047 | |
| 13048 | add_executable(bad_ssl_cert_server |
| 13049 | test/core/bad_ssl/servers/cert.c |
| 13050 | ) |
| 13051 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13052 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13053 | target_include_directories(bad_ssl_cert_server |
| 13054 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13055 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13056 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13057 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13058 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13059 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13060 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13061 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13062 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13063 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13064 | ) |
| 13065 | |
| 13066 | target_link_libraries(bad_ssl_cert_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13067 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13068 | bad_ssl_test_server |
| 13069 | grpc_test_util |
| 13070 | grpc |
| 13071 | gpr_test_util |
| 13072 | gpr |
| 13073 | ) |
| 13074 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13075 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13076 | endif (gRPC_BUILD_TESTS) |
| 13077 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13078 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13079 | |
| 13080 | add_executable(bad_ssl_cert_test |
| 13081 | test/core/bad_ssl/bad_ssl_test.c |
| 13082 | ) |
| 13083 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13084 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13085 | target_include_directories(bad_ssl_cert_test |
| 13086 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13087 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13088 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13089 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13090 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13091 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13092 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13093 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13094 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13095 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13096 | ) |
| 13097 | |
| 13098 | target_link_libraries(bad_ssl_cert_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13099 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13100 | grpc_test_util |
| 13101 | grpc |
| 13102 | gpr_test_util |
| 13103 | gpr |
| 13104 | ) |
| 13105 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13106 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13107 | endif (gRPC_BUILD_TESTS) |
| 13108 | if (gRPC_BUILD_TESTS) |
| 13109 | |
| 13110 | add_executable(h2_census_test |
| 13111 | test/core/end2end/fixtures/h2_census.c |
| 13112 | ) |
| 13113 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13114 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13115 | target_include_directories(h2_census_test |
| 13116 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13117 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13118 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13119 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13120 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13121 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13122 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13123 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13124 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13125 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13126 | ) |
| 13127 | |
| 13128 | target_link_libraries(h2_census_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13129 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13130 | end2end_tests |
| 13131 | grpc_test_util |
| 13132 | grpc |
| 13133 | gpr_test_util |
| 13134 | gpr |
| 13135 | ) |
| 13136 | |
| 13137 | endif (gRPC_BUILD_TESTS) |
| 13138 | if (gRPC_BUILD_TESTS) |
| 13139 | |
| 13140 | add_executable(h2_compress_test |
| 13141 | test/core/end2end/fixtures/h2_compress.c |
| 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(h2_compress_test |
| 13146 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13147 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13148 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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(h2_compress_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 | end2end_tests |
| 13161 | grpc_test_util |
| 13162 | grpc |
| 13163 | gpr_test_util |
| 13164 | gpr |
| 13165 | ) |
| 13166 | |
| 13167 | endif (gRPC_BUILD_TESTS) |
| 13168 | if (gRPC_BUILD_TESTS) |
| 13169 | |
| 13170 | add_executable(h2_fakesec_test |
| 13171 | test/core/end2end/fixtures/h2_fakesec.c |
| 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_fakesec_test |
| 13176 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13177 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13178 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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_fakesec_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) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13199 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13200 | |
| 13201 | add_executable(h2_fd_test |
| 13202 | test/core/end2end/fixtures/h2_fd.c |
| 13203 | ) |
| 13204 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13205 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13206 | target_include_directories(h2_fd_test |
| 13207 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13208 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13209 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13210 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13211 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13212 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13213 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13214 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13215 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13216 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13217 | ) |
| 13218 | |
| 13219 | target_link_libraries(h2_fd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13220 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13221 | end2end_tests |
| 13222 | grpc_test_util |
| 13223 | grpc |
| 13224 | gpr_test_util |
| 13225 | gpr |
| 13226 | ) |
| 13227 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13228 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13229 | endif (gRPC_BUILD_TESTS) |
| 13230 | if (gRPC_BUILD_TESTS) |
| 13231 | |
| 13232 | add_executable(h2_full_test |
| 13233 | test/core/end2end/fixtures/h2_full.c |
| 13234 | ) |
| 13235 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13236 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13237 | target_include_directories(h2_full_test |
| 13238 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13239 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13240 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13241 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13242 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13243 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13244 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13245 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13246 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13247 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13248 | ) |
| 13249 | |
| 13250 | target_link_libraries(h2_full_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13251 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13252 | end2end_tests |
| 13253 | grpc_test_util |
| 13254 | grpc |
| 13255 | gpr_test_util |
| 13256 | gpr |
| 13257 | ) |
| 13258 | |
| 13259 | endif (gRPC_BUILD_TESTS) |
| 13260 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13261 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13262 | |
| 13263 | add_executable(h2_full+pipe_test |
| 13264 | test/core/end2end/fixtures/h2_full+pipe.c |
| 13265 | ) |
| 13266 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13267 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13268 | target_include_directories(h2_full+pipe_test |
| 13269 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13270 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13271 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13272 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13273 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13274 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13275 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13276 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13277 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13278 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13279 | ) |
| 13280 | |
| 13281 | target_link_libraries(h2_full+pipe_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13282 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13283 | end2end_tests |
| 13284 | grpc_test_util |
| 13285 | grpc |
| 13286 | gpr_test_util |
| 13287 | gpr |
| 13288 | ) |
| 13289 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13290 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13291 | endif (gRPC_BUILD_TESTS) |
| 13292 | if (gRPC_BUILD_TESTS) |
| 13293 | |
| 13294 | add_executable(h2_full+trace_test |
| 13295 | test/core/end2end/fixtures/h2_full+trace.c |
| 13296 | ) |
| 13297 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13298 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13299 | target_include_directories(h2_full+trace_test |
| 13300 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13301 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13302 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13303 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13304 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13305 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13306 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13307 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13308 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13309 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13310 | ) |
| 13311 | |
| 13312 | target_link_libraries(h2_full+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13313 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13314 | end2end_tests |
| 13315 | grpc_test_util |
| 13316 | grpc |
| 13317 | gpr_test_util |
| 13318 | gpr |
| 13319 | ) |
| 13320 | |
| 13321 | endif (gRPC_BUILD_TESTS) |
| 13322 | if (gRPC_BUILD_TESTS) |
| 13323 | |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13324 | add_executable(h2_full+workarounds_test |
| 13325 | test/core/end2end/fixtures/h2_full+workarounds.c |
| 13326 | ) |
| 13327 | |
| 13328 | |
| 13329 | target_include_directories(h2_full+workarounds_test |
| 13330 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13331 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13332 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13333 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 13334 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 13335 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13336 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13337 | PRIVATE ${CARES_INCLUDE_DIR} |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13338 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 13339 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13340 | ) |
| 13341 | |
| 13342 | target_link_libraries(h2_full+workarounds_test |
| 13343 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13344 | end2end_tests |
| 13345 | grpc_test_util |
| 13346 | grpc |
| 13347 | gpr_test_util |
| 13348 | gpr |
| 13349 | ) |
| 13350 | |
| 13351 | endif (gRPC_BUILD_TESTS) |
| 13352 | if (gRPC_BUILD_TESTS) |
| 13353 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13354 | add_executable(h2_http_proxy_test |
| 13355 | test/core/end2end/fixtures/h2_http_proxy.c |
| 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_http_proxy_test |
| 13360 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13361 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13362 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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_http_proxy_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 | |
| 13384 | add_executable(h2_load_reporting_test |
| 13385 | test/core/end2end/fixtures/h2_load_reporting.c |
| 13386 | ) |
| 13387 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13388 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13389 | target_include_directories(h2_load_reporting_test |
| 13390 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13391 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13392 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13393 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13394 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13395 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13396 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13397 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13398 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13399 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13400 | ) |
| 13401 | |
| 13402 | target_link_libraries(h2_load_reporting_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13403 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 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 | |
| 13414 | add_executable(h2_oauth2_test |
| 13415 | test/core/end2end/fixtures/h2_oauth2.c |
| 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_oauth2_test |
| 13420 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13421 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13422 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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_oauth2_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_proxy_test |
| 13445 | test/core/end2end/fixtures/h2_proxy.c |
| 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_proxy_test |
| 13450 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13451 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13452 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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_proxy_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_sockpair_test |
| 13475 | test/core/end2end/fixtures/h2_sockpair.c |
| 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_sockpair_test |
| 13480 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13481 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13482 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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_sockpair_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_sockpair+trace_test |
| 13505 | test/core/end2end/fixtures/h2_sockpair+trace.c |
| 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_sockpair+trace_test |
| 13510 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13511 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13512 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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_sockpair+trace_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_1byte_test |
| 13535 | test/core/end2end/fixtures/h2_sockpair_1byte.c |
| 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_1byte_test |
| 13540 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13541 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13542 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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_1byte_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_ssl_test |
| 13565 | test/core/end2end/fixtures/h2_ssl.c |
| 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_ssl_test |
| 13570 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13571 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13572 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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_ssl_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_ssl_cert_test |
| 13595 | test/core/end2end/fixtures/h2_ssl_cert.c |
| 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_ssl_cert_test |
| 13600 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13601 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13602 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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_ssl_cert_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_proxy_test |
| 13625 | test/core/end2end/fixtures/h2_ssl_proxy.c |
| 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_proxy_test |
| 13630 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13631 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13632 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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_proxy_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) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13653 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13654 | |
| 13655 | add_executable(h2_uds_test |
| 13656 | test/core/end2end/fixtures/h2_uds.c |
| 13657 | ) |
| 13658 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13659 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13660 | target_include_directories(h2_uds_test |
| 13661 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13662 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13663 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13664 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13665 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13666 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13667 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13668 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13669 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13670 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13671 | ) |
| 13672 | |
| 13673 | target_link_libraries(h2_uds_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13674 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13675 | end2end_tests |
| 13676 | grpc_test_util |
| 13677 | grpc |
| 13678 | gpr_test_util |
| 13679 | gpr |
| 13680 | ) |
| 13681 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13682 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13683 | endif (gRPC_BUILD_TESTS) |
| 13684 | if (gRPC_BUILD_TESTS) |
| 13685 | |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13686 | add_executable(inproc_test |
| 13687 | test/core/end2end/fixtures/inproc.c |
| 13688 | ) |
| 13689 | |
| 13690 | |
| 13691 | target_include_directories(inproc_test |
| 13692 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13693 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13694 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13695 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 13696 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 13697 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13698 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13699 | PRIVATE ${CARES_INCLUDE_DIR} |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 13700 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 13701 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13702 | ) |
| 13703 | |
| 13704 | target_link_libraries(inproc_test |
| 13705 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 13706 | end2end_tests |
| 13707 | grpc_test_util |
| 13708 | grpc |
| 13709 | gpr_test_util |
| 13710 | gpr |
| 13711 | ) |
| 13712 | |
| 13713 | endif (gRPC_BUILD_TESTS) |
| 13714 | if (gRPC_BUILD_TESTS) |
| 13715 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13716 | add_executable(h2_census_nosec_test |
| 13717 | test/core/end2end/fixtures/h2_census.c |
| 13718 | ) |
| 13719 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13720 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13721 | target_include_directories(h2_census_nosec_test |
| 13722 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13723 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13724 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13725 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13726 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13727 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13728 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13729 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13730 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13731 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13732 | ) |
| 13733 | |
| 13734 | target_link_libraries(h2_census_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13735 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13736 | end2end_nosec_tests |
| 13737 | grpc_test_util_unsecure |
| 13738 | grpc_unsecure |
| 13739 | gpr_test_util |
| 13740 | gpr |
| 13741 | ) |
| 13742 | |
| 13743 | endif (gRPC_BUILD_TESTS) |
| 13744 | if (gRPC_BUILD_TESTS) |
| 13745 | |
| 13746 | add_executable(h2_compress_nosec_test |
| 13747 | test/core/end2end/fixtures/h2_compress.c |
| 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_compress_nosec_test |
| 13752 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13753 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13754 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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_compress_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) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13775 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13776 | |
| 13777 | add_executable(h2_fd_nosec_test |
| 13778 | test/core/end2end/fixtures/h2_fd.c |
| 13779 | ) |
| 13780 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13781 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13782 | target_include_directories(h2_fd_nosec_test |
| 13783 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13784 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13785 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13786 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13787 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13788 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13789 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13790 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13791 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13792 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13793 | ) |
| 13794 | |
| 13795 | target_link_libraries(h2_fd_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13796 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13797 | end2end_nosec_tests |
| 13798 | grpc_test_util_unsecure |
| 13799 | grpc_unsecure |
| 13800 | gpr_test_util |
| 13801 | gpr |
| 13802 | ) |
| 13803 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13804 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13805 | endif (gRPC_BUILD_TESTS) |
| 13806 | if (gRPC_BUILD_TESTS) |
| 13807 | |
| 13808 | add_executable(h2_full_nosec_test |
| 13809 | test/core/end2end/fixtures/h2_full.c |
| 13810 | ) |
| 13811 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13812 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13813 | target_include_directories(h2_full_nosec_test |
| 13814 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13815 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13816 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13817 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13818 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13819 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13820 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13821 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13822 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13823 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13824 | ) |
| 13825 | |
| 13826 | target_link_libraries(h2_full_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13827 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13828 | end2end_nosec_tests |
| 13829 | grpc_test_util_unsecure |
| 13830 | grpc_unsecure |
| 13831 | gpr_test_util |
| 13832 | gpr |
| 13833 | ) |
| 13834 | |
| 13835 | endif (gRPC_BUILD_TESTS) |
| 13836 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13837 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13838 | |
| 13839 | add_executable(h2_full+pipe_nosec_test |
| 13840 | test/core/end2end/fixtures/h2_full+pipe.c |
| 13841 | ) |
| 13842 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13843 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13844 | target_include_directories(h2_full+pipe_nosec_test |
| 13845 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13846 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13847 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13848 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13849 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13850 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13851 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13852 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13853 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13854 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13855 | ) |
| 13856 | |
| 13857 | target_link_libraries(h2_full+pipe_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13858 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13859 | end2end_nosec_tests |
| 13860 | grpc_test_util_unsecure |
| 13861 | grpc_unsecure |
| 13862 | gpr_test_util |
| 13863 | gpr |
| 13864 | ) |
| 13865 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13866 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13867 | endif (gRPC_BUILD_TESTS) |
| 13868 | if (gRPC_BUILD_TESTS) |
| 13869 | |
| 13870 | add_executable(h2_full+trace_nosec_test |
| 13871 | test/core/end2end/fixtures/h2_full+trace.c |
| 13872 | ) |
| 13873 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13874 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13875 | target_include_directories(h2_full+trace_nosec_test |
| 13876 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13877 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13878 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13879 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13880 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13881 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13882 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13883 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13884 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13885 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13886 | ) |
| 13887 | |
| 13888 | target_link_libraries(h2_full+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13889 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13890 | end2end_nosec_tests |
| 13891 | grpc_test_util_unsecure |
| 13892 | grpc_unsecure |
| 13893 | gpr_test_util |
| 13894 | gpr |
| 13895 | ) |
| 13896 | |
| 13897 | endif (gRPC_BUILD_TESTS) |
| 13898 | if (gRPC_BUILD_TESTS) |
| 13899 | |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13900 | add_executable(h2_full+workarounds_nosec_test |
| 13901 | test/core/end2end/fixtures/h2_full+workarounds.c |
| 13902 | ) |
| 13903 | |
| 13904 | |
| 13905 | target_include_directories(h2_full+workarounds_nosec_test |
| 13906 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13907 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13908 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13909 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 13910 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 13911 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13912 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13913 | PRIVATE ${CARES_INCLUDE_DIR} |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 13914 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 13915 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13916 | ) |
| 13917 | |
| 13918 | target_link_libraries(h2_full+workarounds_nosec_test |
| 13919 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 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 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13930 | add_executable(h2_http_proxy_nosec_test |
| 13931 | test/core/end2end/fixtures/h2_http_proxy.c |
| 13932 | ) |
| 13933 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13934 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13935 | target_include_directories(h2_http_proxy_nosec_test |
| 13936 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13937 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13938 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13939 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13940 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13941 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13942 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13943 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13944 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13945 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13946 | ) |
| 13947 | |
| 13948 | target_link_libraries(h2_http_proxy_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13949 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 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 | |
| 13960 | add_executable(h2_load_reporting_nosec_test |
| 13961 | test/core/end2end/fixtures/h2_load_reporting.c |
| 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_load_reporting_nosec_test |
| 13966 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13967 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13968 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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_load_reporting_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_proxy_nosec_test |
| 13991 | test/core/end2end/fixtures/h2_proxy.c |
| 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_proxy_nosec_test |
| 13996 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13997 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13998 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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_proxy_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_sockpair_nosec_test |
| 14021 | test/core/end2end/fixtures/h2_sockpair.c |
| 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_sockpair_nosec_test |
| 14026 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14027 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14028 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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_sockpair_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+trace_nosec_test |
| 14051 | test/core/end2end/fixtures/h2_sockpair+trace.c |
| 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+trace_nosec_test |
| 14056 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14057 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14058 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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+trace_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_1byte_nosec_test |
| 14081 | test/core/end2end/fixtures/h2_sockpair_1byte.c |
| 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_1byte_nosec_test |
| 14086 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14087 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14088 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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_1byte_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) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14109 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14110 | |
| 14111 | add_executable(h2_uds_nosec_test |
| 14112 | test/core/end2end/fixtures/h2_uds.c |
| 14113 | ) |
| 14114 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14115 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14116 | target_include_directories(h2_uds_nosec_test |
| 14117 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14118 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14119 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14120 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14121 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14122 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14123 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14124 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14125 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14126 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14127 | ) |
| 14128 | |
| 14129 | target_link_libraries(h2_uds_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14130 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14131 | end2end_nosec_tests |
| 14132 | grpc_test_util_unsecure |
| 14133 | grpc_unsecure |
| 14134 | gpr_test_util |
| 14135 | gpr |
| 14136 | ) |
| 14137 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14138 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14139 | endif (gRPC_BUILD_TESTS) |
| 14140 | if (gRPC_BUILD_TESTS) |
| 14141 | |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 14142 | add_executable(inproc_nosec_test |
| 14143 | test/core/end2end/fixtures/inproc.c |
| 14144 | ) |
| 14145 | |
| 14146 | |
| 14147 | target_include_directories(inproc_nosec_test |
| 14148 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14149 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14150 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14151 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 14152 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 14153 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14154 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 14155 | PRIVATE ${CARES_INCLUDE_DIR} |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 14156 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 14157 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14158 | ) |
| 14159 | |
| 14160 | target_link_libraries(inproc_nosec_test |
| 14161 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14162 | end2end_nosec_tests |
| 14163 | grpc_test_util_unsecure |
| 14164 | grpc_unsecure |
| 14165 | gpr_test_util |
| 14166 | gpr |
| 14167 | ) |
| 14168 | |
| 14169 | endif (gRPC_BUILD_TESTS) |
| 14170 | if (gRPC_BUILD_TESTS) |
Alexander Polcyn | 27bf05d | 2017-08-07 18:09:11 -0700 | [diff] [blame] | 14171 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 14172 | |
| 14173 | add_executable(resolver_component_test_unsecure |
| 14174 | test/cpp/naming/resolver_component_test.cc |
| 14175 | third_party/googletest/googletest/src/gtest-all.cc |
| 14176 | third_party/googletest/googlemock/src/gmock-all.cc |
| 14177 | ) |
| 14178 | |
| 14179 | |
| 14180 | target_include_directories(resolver_component_test_unsecure |
| 14181 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14182 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14183 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14184 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 14185 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 14186 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14187 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 14188 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14189 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 14190 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14191 | PRIVATE third_party/googletest/googletest/include |
| 14192 | PRIVATE third_party/googletest/googletest |
| 14193 | PRIVATE third_party/googletest/googlemock/include |
| 14194 | PRIVATE third_party/googletest/googlemock |
| 14195 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 14196 | ) |
| 14197 | |
| 14198 | target_link_libraries(resolver_component_test_unsecure |
| 14199 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14200 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14201 | grpc++_test_util_unsecure |
| 14202 | grpc_test_util_unsecure |
| 14203 | gpr_test_util |
| 14204 | grpc++_unsecure |
| 14205 | grpc_unsecure |
| 14206 | gpr |
| 14207 | grpc++_test_config |
| 14208 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14209 | ) |
| 14210 | |
| 14211 | endif() |
| 14212 | endif (gRPC_BUILD_TESTS) |
| 14213 | if (gRPC_BUILD_TESTS) |
| 14214 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 14215 | |
| 14216 | add_executable(resolver_component_test |
| 14217 | test/cpp/naming/resolver_component_test.cc |
| 14218 | third_party/googletest/googletest/src/gtest-all.cc |
| 14219 | third_party/googletest/googlemock/src/gmock-all.cc |
| 14220 | ) |
| 14221 | |
| 14222 | |
| 14223 | target_include_directories(resolver_component_test |
| 14224 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14225 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14226 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14227 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 14228 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 14229 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14230 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 14231 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14232 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 14233 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14234 | PRIVATE third_party/googletest/googletest/include |
| 14235 | PRIVATE third_party/googletest/googletest |
| 14236 | PRIVATE third_party/googletest/googlemock/include |
| 14237 | PRIVATE third_party/googletest/googlemock |
| 14238 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 14239 | ) |
| 14240 | |
| 14241 | target_link_libraries(resolver_component_test |
| 14242 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14243 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14244 | grpc++_test_util |
| 14245 | grpc_test_util |
| 14246 | gpr_test_util |
| 14247 | grpc++ |
| 14248 | grpc |
| 14249 | gpr |
| 14250 | grpc++_test_config |
| 14251 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14252 | ) |
| 14253 | |
| 14254 | endif() |
| 14255 | endif (gRPC_BUILD_TESTS) |
| 14256 | if (gRPC_BUILD_TESTS) |
| 14257 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 14258 | |
| 14259 | add_executable(resolver_component_tests_runner_invoker_unsecure |
| 14260 | test/cpp/naming/resolver_component_tests_runner_invoker.cc |
| 14261 | third_party/googletest/googletest/src/gtest-all.cc |
| 14262 | third_party/googletest/googlemock/src/gmock-all.cc |
| 14263 | ) |
| 14264 | |
| 14265 | |
| 14266 | target_include_directories(resolver_component_tests_runner_invoker_unsecure |
| 14267 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14268 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14269 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14270 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 14271 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 14272 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14273 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 14274 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14275 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 14276 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14277 | PRIVATE third_party/googletest/googletest/include |
| 14278 | PRIVATE third_party/googletest/googletest |
| 14279 | PRIVATE third_party/googletest/googlemock/include |
| 14280 | PRIVATE third_party/googletest/googlemock |
| 14281 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 14282 | ) |
| 14283 | |
| 14284 | target_link_libraries(resolver_component_tests_runner_invoker_unsecure |
| 14285 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14286 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14287 | grpc++_test_util |
| 14288 | grpc_test_util |
| 14289 | gpr_test_util |
| 14290 | grpc++ |
| 14291 | grpc |
| 14292 | gpr |
| 14293 | grpc++_test_config |
| 14294 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14295 | ) |
| 14296 | |
| 14297 | endif() |
| 14298 | endif (gRPC_BUILD_TESTS) |
| 14299 | if (gRPC_BUILD_TESTS) |
| 14300 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 14301 | |
| 14302 | add_executable(resolver_component_tests_runner_invoker |
| 14303 | test/cpp/naming/resolver_component_tests_runner_invoker.cc |
| 14304 | third_party/googletest/googletest/src/gtest-all.cc |
| 14305 | third_party/googletest/googlemock/src/gmock-all.cc |
| 14306 | ) |
| 14307 | |
| 14308 | |
| 14309 | target_include_directories(resolver_component_tests_runner_invoker |
| 14310 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14311 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14312 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14313 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 14314 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 14315 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14316 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 14317 | PRIVATE ${CARES_INCLUDE_DIR} |
| 14318 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 14319 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14320 | PRIVATE third_party/googletest/googletest/include |
| 14321 | PRIVATE third_party/googletest/googletest |
| 14322 | PRIVATE third_party/googletest/googlemock/include |
| 14323 | PRIVATE third_party/googletest/googlemock |
| 14324 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 14325 | ) |
| 14326 | |
| 14327 | target_link_libraries(resolver_component_tests_runner_invoker |
| 14328 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 14329 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 14330 | grpc++_test_util |
| 14331 | grpc_test_util |
| 14332 | gpr_test_util |
| 14333 | grpc++ |
| 14334 | grpc |
| 14335 | gpr |
| 14336 | grpc++_test_config |
| 14337 | ${_gRPC_GFLAGS_LIBRARIES} |
| 14338 | ) |
| 14339 | |
| 14340 | endif() |
| 14341 | endif (gRPC_BUILD_TESTS) |
| 14342 | if (gRPC_BUILD_TESTS) |
Vijay Pai | 3d7d5f4 | 2017-05-04 10:02:24 -0700 | [diff] [blame] | 14343 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14344 | add_executable(api_fuzzer_one_entry |
| 14345 | test/core/end2end/fuzzers/api_fuzzer.c |
| 14346 | test/core/util/one_corpus_entry_fuzzer.c |
| 14347 | ) |
| 14348 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14349 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14350 | target_include_directories(api_fuzzer_one_entry |
| 14351 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14352 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14353 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 14354 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14355 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14356 | PRIVATE ${ZLIB_ROOT_DIR} |
| 14357 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14358 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 14359 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14360 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 14361 | ) |
| 14362 | |
| 14363 | target_link_libraries(api_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 14364 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 14365 | grpc_test_util |
| 14366 | grpc |
| 14367 | gpr_test_util |
| 14368 | gpr |
| 14369 | ) |
| 14370 | |
| 14371 | endif (gRPC_BUILD_TESTS) |
| 14372 | if (gRPC_BUILD_TESTS) |
| 14373 | |
| 14374 | add_executable(client_fuzzer_one_entry |
| 14375 | test/core/end2end/fuzzers/client_fuzzer.c |
| 14376 | test/core/util/one_corpus_entry_fuzzer.c |
| 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(client_fuzzer_one_entry |
| 14381 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14382 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14383 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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(client_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(hpack_parser_fuzzer_test_one_entry |
| 14405 | test/core/transport/chttp2/hpack_parser_fuzzer_test.c |
| 14406 | test/core/util/one_corpus_entry_fuzzer.c |
| 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(hpack_parser_fuzzer_test_one_entry |
| 14411 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14412 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14413 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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(hpack_parser_fuzzer_test_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(http_request_fuzzer_test_one_entry |
| 14435 | test/core/http/request_fuzzer.c |
| 14436 | test/core/util/one_corpus_entry_fuzzer.c |
| 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(http_request_fuzzer_test_one_entry |
| 14441 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14442 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14443 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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(http_request_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_response_fuzzer_test_one_entry |
| 14465 | test/core/http/response_fuzzer.c |
| 14466 | test/core/util/one_corpus_entry_fuzzer.c |
| 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_response_fuzzer_test_one_entry |
| 14471 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14472 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14473 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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_response_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(json_fuzzer_test_one_entry |
| 14495 | test/core/json/fuzzer.c |
| 14496 | test/core/util/one_corpus_entry_fuzzer.c |
| 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(json_fuzzer_test_one_entry |
| 14501 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14502 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14503 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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(json_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(nanopb_fuzzer_response_test_one_entry |
| 14525 | test/core/nanopb/fuzzer_response.c |
| 14526 | test/core/util/one_corpus_entry_fuzzer.c |
| 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(nanopb_fuzzer_response_test_one_entry |
| 14531 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14532 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14533 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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(nanopb_fuzzer_response_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_serverlist_test_one_entry |
| 14555 | test/core/nanopb/fuzzer_serverlist.c |
| 14556 | test/core/util/one_corpus_entry_fuzzer.c |
| 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_serverlist_test_one_entry |
| 14561 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14562 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14563 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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_serverlist_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(percent_decode_fuzzer_one_entry |
| 14585 | test/core/slice/percent_decode_fuzzer.c |
| 14586 | test/core/util/one_corpus_entry_fuzzer.c |
| 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(percent_decode_fuzzer_one_entry |
| 14591 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14592 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14593 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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(percent_decode_fuzzer_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_encode_fuzzer_one_entry |
| 14615 | test/core/slice/percent_encode_fuzzer.c |
| 14616 | test/core/util/one_corpus_entry_fuzzer.c |
| 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_encode_fuzzer_one_entry |
| 14621 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14622 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14623 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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_encode_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(server_fuzzer_one_entry |
| 14645 | test/core/end2end/fuzzers/server_fuzzer.c |
| 14646 | test/core/util/one_corpus_entry_fuzzer.c |
| 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(server_fuzzer_one_entry |
| 14651 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14652 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14653 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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(server_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(ssl_server_fuzzer_one_entry |
| 14675 | test/core/security/ssl_server_fuzzer.c |
| 14676 | test/core/util/one_corpus_entry_fuzzer.c |
| 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(ssl_server_fuzzer_one_entry |
| 14681 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14682 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14683 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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(ssl_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(uri_fuzzer_test_one_entry |
| 14705 | test/core/client_channel/uri_fuzzer_test.c |
| 14706 | test/core/util/one_corpus_entry_fuzzer.c |
| 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(uri_fuzzer_test_one_entry |
| 14711 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 14712 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 14713 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 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(uri_fuzzer_test_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) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 14732 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 14733 | |
| 14734 | |
| 14735 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 14736 | |
| 14737 | |
| 14738 | |
Alex Merry | b5984fa | 2017-05-15 21:04:16 +0100 | [diff] [blame] | 14739 | if (gRPC_INSTALL) |
| 14740 | install(EXPORT gRPCTargets |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 14741 | DESTINATION ${gRPC_INSTALL_CMAKEDIR} |
Alex Merry | b5984fa | 2017-05-15 21:04:16 +0100 | [diff] [blame] | 14742 | NAMESPACE gRPC:: |
| 14743 | ) |
| 14744 | endif() |
| 14745 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 14746 | foreach(_config gRPCConfig gRPCConfigVersion) |
Jan Tattermusch | 9d1d052 | 2017-08-25 14:26:47 +0200 | [diff] [blame] | 14747 | configure_file(cmake/${_config}.cmake.in |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 14748 | ${_config}.cmake @ONLY) |
| 14749 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${_config}.cmake |
Jan Tattermusch | dca8d63 | 2017-06-23 15:52:40 +0200 | [diff] [blame] | 14750 | DESTINATION ${gRPC_INSTALL_CMAKEDIR} |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 14751 | ) |
| 14752 | endforeach() |