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 | # |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 8 | # Copyright 2015, Google Inc. |
| 9 | # All rights reserved. |
| 10 | # |
| 11 | # Redistribution and use in source and binary forms, with or without |
| 12 | # modification, are permitted provided that the following conditions are |
| 13 | # met: |
| 14 | # |
| 15 | # * Redistributions of source code must retain the above copyright |
| 16 | # notice, this list of conditions and the following disclaimer. |
| 17 | # * Redistributions in binary form must reproduce the above |
| 18 | # copyright notice, this list of conditions and the following disclaimer |
| 19 | # in the documentation and/or other materials provided with the |
| 20 | # distribution. |
| 21 | # * Neither the name of Google Inc. nor the names of its |
| 22 | # contributors may be used to endorse or promote products derived from |
| 23 | # this software without specific prior written permission. |
| 24 | # |
| 25 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 26 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 27 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 28 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 29 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 30 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 31 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 32 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 33 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 34 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 35 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 36 | |
| 37 | |
| 38 | |
| 39 | cmake_minimum_required(VERSION 2.8) |
| 40 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 41 | set(PACKAGE_NAME "grpc") |
David Garcia Quintas | d9986c3 | 2017-04-13 16:20:56 -0700 | [diff] [blame] | 42 | set(PACKAGE_VERSION "1.3.0-pre1") |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 43 | set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") |
| 44 | set(PACKAGE_TARNAME "${PACKAGE_NAME}-${PACKAGE_VERSION}") |
| 45 | set(PACKAGE_BUGREPORT "https://github.com/grpc/grpc/issues/") |
| 46 | project(${PACKAGE_NAME} C CXX) |
| 47 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 48 | # Options |
| 49 | option(gRPC_BUILD_TESTS "Build tests" OFF) |
| 50 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 51 | if (NOT MSVC) |
| 52 | set(gRPC_INSTALL ON CACHE BOOL "Generate installation target") |
| 53 | else() |
| 54 | set(gRPC_INSTALL OFF CACHE BOOL "Generate installation target") |
| 55 | endif() |
| 56 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 57 | set(gRPC_ZLIB_PROVIDER "module" CACHE STRING "Provider of zlib library") |
| 58 | set_property(CACHE gRPC_ZLIB_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 59 | |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 60 | set(gRPC_CARES_PROVIDER "module" CACHE STRING "Provider of c-ares library") |
| 61 | set_property(CACHE gRPC_CARES_PROVIDER PROPERTY STRINGS "module" "package") |
| 62 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 63 | set(gRPC_SSL_PROVIDER "module" CACHE STRING "Provider of ssl library") |
| 64 | set_property(CACHE gRPC_SSL_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | a72712e | 2016-07-06 10:30:25 +0100 | [diff] [blame] | 65 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 66 | set(gRPC_PROTOBUF_PROVIDER "module" CACHE STRING "Provider of protobuf library") |
| 67 | set_property(CACHE gRPC_PROTOBUF_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 68 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 69 | set(gRPC_GFLAGS_PROVIDER "module" CACHE STRING "Provider of gflags library") |
| 70 | set_property(CACHE gRPC_GFLAGS_PROVIDER PROPERTY STRINGS "module" "package") |
| 71 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 72 | set(gRPC_BENCHMARK_PROVIDER "module" CACHE STRING "Provider of benchmark library") |
| 73 | set_property(CACHE gRPC_BENCHMARK_PROVIDER PROPERTY STRINGS "module" "package") |
| 74 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 75 | 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] | 76 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 77 | if(UNIX) |
| 78 | if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") |
| 79 | set(_gRPC_PLATFORM_LINUX ON) |
| 80 | elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") |
| 81 | set(_gRPC_PLATFORM_MAC ON) |
| 82 | else() |
| 83 | set(_gRPC_PLATFORM_POSIX ON) |
| 84 | endif() |
| 85 | endif() |
| 86 | if(WIN32) |
| 87 | set(_gRPC_PLATFORM_WINDOWS ON) |
| 88 | endif() |
| 89 | |
Jan Tattermusch | c09656c | 2017-01-27 13:36:24 +0100 | [diff] [blame] | 90 | set(CMAKE_POSITION_INDEPENDENT_CODE TRUE) |
| 91 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 92 | if (MSVC) |
Jan Tattermusch | 5140791 | 2017-02-02 20:44:22 +0100 | [diff] [blame] | 93 | include(cmake/msvc_static_runtime.cmake) |
Jan Tattermusch | 3aab96f | 2017-01-11 16:12:46 +0100 | [diff] [blame] | 94 | 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] | 95 | # needed to compile protobuf |
| 96 | add_definitions(/wd4065 /wd4506) |
| 97 | # TODO(jtattermusch): revisit C4267 occurrences throughout the code |
| 98 | add_definitions(/wd4267) |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 99 | endif() |
| 100 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 101 | if (gRPC_USE_PROTO_LITE) |
| 102 | set(_gRPC_PROTOBUF_LIBRARY_NAME "libprotobuf-lite") |
Tamas Berghammer | 2391156 | 2016-07-27 15:24:05 +0100 | [diff] [blame] | 103 | add_definitions("-DGRPC_USE_PROTO_LITE") |
| 104 | else() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 105 | set(_gRPC_PROTOBUF_LIBRARY_NAME "libprotobuf") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 106 | endif() |
| 107 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 108 | if("${gRPC_ZLIB_PROVIDER}" STREQUAL "module") |
| 109 | if(NOT ZLIB_ROOT_DIR) |
| 110 | set(ZLIB_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zlib) |
| 111 | endif() |
| 112 | set(ZLIB_INCLUDE_DIR "${ZLIB_ROOT_DIR}") |
| 113 | if(EXISTS "${ZLIB_ROOT_DIR}/CMakeLists.txt") |
| 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() |
| 121 | elseif("${gRPC_ZLIB_PROVIDER}" STREQUAL "package") |
| 122 | find_package(ZLIB) |
| 123 | if(TARGET ZLIB::ZLIB) |
| 124 | set(_gRPC_ZLIB_LIBRARIES ZLIB::ZLIB) |
| 125 | endif() |
Konstantin Podsvirov | dd33148 | 2016-07-28 00:00:25 +0300 | [diff] [blame] | 126 | 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] | 127 | endif() |
| 128 | |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 129 | if("${gRPC_CARES_PROVIDER}" STREQUAL "module") |
| 130 | if(NOT CARES_ROOT_DIR) |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 131 | set(CARES_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/c-ares) |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 132 | endif() |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 133 | string(TOLOWER ${CMAKE_SYSTEM_NAME} CARES_SYSTEM_NAME) |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 134 | set(CARES_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/third_party/cares/cares") |
| 135 | set(CARES_BUILD_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/third_party/cares") |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 136 | set(CARES_PLATFORM_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/third_party/cares/config_${CARES_SYSTEM_NAME}") |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 137 | if(EXISTS "${CARES_ROOT_DIR}/CMakeLists.txt") |
| 138 | if("${CARES_SYSTEM_NAME}" MATCHES "windows") |
| 139 | add_definitions(-DCARES_STATICLIB=1) |
| 140 | add_definitions(-DWIN32_LEAN_AND_MEAN=1) |
| 141 | else() |
| 142 | add_definitions(-DHAVE_CONFIG_H=1) |
| 143 | add_definitions(-D_GNU_SOURCE=1) |
| 144 | endif() |
| 145 | add_subdirectory(src/c-ares third_party/cares) |
| 146 | if(TARGET cares) |
| 147 | set(_gRPC_CARES_LIBRARIES cares) |
| 148 | endif() |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 149 | else() |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 150 | message(WARNING "gRPC_CARES_PROVIDER is \"module\" but CARES_ROOT_DIR is wrong") |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 151 | endif() |
| 152 | elseif("${gRPC_CARES_PROVIDER}" STREQUAL "package") |
| 153 | find_package(CARES) |
| 154 | if(TARGET CARES::CARES) |
| 155 | set(_gRPC_CARES_LIBRARIES CARES::CARES) |
| 156 | endif() |
| 157 | set(_gRPC_FIND_CARES "if(NOT CARES_FOUND)\n find_package(CARES)\nendif()") |
| 158 | endif() |
| 159 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 160 | if("${gRPC_PROTOBUF_PROVIDER}" STREQUAL "module") |
| 161 | # Building the protobuf tests require gmock what is not part of a standard protobuf checkout. |
| 162 | # Disable them unless they are explicitly requested from the cmake command line (when we assume |
| 163 | # gmock is downloaded to the right location inside protobuf). |
| 164 | if(NOT protobuf_BUILD_TESTS) |
| 165 | set(protobuf_BUILD_TESTS OFF CACHE BOOL "Build protobuf tests") |
| 166 | endif() |
| 167 | if(NOT PROTOBUF_ROOT_DIR) |
| 168 | set(PROTOBUF_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/protobuf) |
| 169 | endif() |
yang-g | 66d40c6 | 2017-04-12 10:18:10 -0700 | [diff] [blame] | 170 | set(PROTOBUF_WELLKNOWN_IMPORT_DIR ${PROTOBUF_ROOT_DIR}/src) |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 171 | if(EXISTS "${PROTOBUF_ROOT_DIR}/cmake/CMakeLists.txt") |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 172 | set(protobuf_MSVC_STATIC_RUNTIME OFF CACHE BOOL "Link static runtime libraries") |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 173 | add_subdirectory(${PROTOBUF_ROOT_DIR}/cmake third_party/protobuf) |
| 174 | if(TARGET ${_gRPC_PROTOBUF_LIBRARY_NAME}) |
| 175 | set(_gRPC_PROTOBUF_LIBRARIES ${_gRPC_PROTOBUF_LIBRARY_NAME}) |
| 176 | endif() |
| 177 | if(TARGET libprotoc) |
| 178 | set(_gRPC_PROTOBUF_PROTOC_LIBRARIES libprotoc) |
| 179 | endif() |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 180 | if(TARGET protoc) |
| 181 | set(_gRPC_PROTOBUF_PROTOC protoc) |
| 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() |
| 186 | elseif("${gRPC_PROTOBUF_PROVIDER}" STREQUAL "package") |
| 187 | find_package(protobuf CONFIG) |
| 188 | if(protobuf_FOUND) |
| 189 | if(TARGET protobuf::${_gRPC_PROTOBUF_LIBRARY_NAME}) |
| 190 | set(_gRPC_PROTOBUF_LIBRARIES protobuf::${_gRPC_PROTOBUF_LIBRARY_NAME}) |
| 191 | endif() |
| 192 | if(TARGET protobuf::libprotoc) |
| 193 | set(_gRPC_PROTOBUF_PROTOC_LIBRARIES protobuf::libprotoc) |
| 194 | endif() |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 195 | if(TARGET protobuf::protoc) |
| 196 | set(_gRPC_PROTOBUF_PROTOC protobuf::protoc) |
| 197 | endif() |
Konstantin Podsvirov | dd33148 | 2016-07-28 00:00:25 +0300 | [diff] [blame] | 198 | set(_gRPC_FIND_PROTOBUF "if(NOT protobuf_FOUND)\n find_package(protobuf CONFIG)\nendif()") |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 199 | else() |
| 200 | find_package(Protobuf MODULE) |
Konstantin Podsvirov | dd33148 | 2016-07-28 00:00:25 +0300 | [diff] [blame] | 201 | set(_gRPC_FIND_PROTOBUF "if(NOT Protobuf_FOUND)\n find_package(Protobuf)\nendif()") |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 202 | endif() |
yang-g | 66d40c6 | 2017-04-12 10:18:10 -0700 | [diff] [blame] | 203 | set(PROTOBUF_WELLKNOWN_IMPORT_DIR /usr/local/include) |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 204 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 205 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 206 | if("${gRPC_SSL_PROVIDER}" STREQUAL "module") |
| 207 | if(NOT BORINGSSL_ROOT_DIR) |
| 208 | set(BORINGSSL_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/boringssl) |
| 209 | endif() |
| 210 | if(EXISTS "${BORINGSSL_ROOT_DIR}/CMakeLists.txt") |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 211 | set(OPENSSL_NO_ASM ON) # make boringssl buildable with Visual Studio |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 212 | add_subdirectory(${BORINGSSL_ROOT_DIR} third_party/boringssl) |
| 213 | if(TARGET ssl) |
| 214 | set(_gRPC_SSL_LIBRARIES ssl) |
| 215 | endif() |
| 216 | else() |
| 217 | message(WARNING "gRPC_SSL_PROVIDER is \"module\" but BORINGSSL_ROOT_DIR is wrong") |
| 218 | endif() |
| 219 | elseif("${gRPC_SSL_PROVIDER}" STREQUAL "package") |
| 220 | find_package(OpenSSL) |
| 221 | if(TARGET OpenSSL::SSL) |
| 222 | set(_gRPC_SSL_LIBRARIES OpenSSL::SSL) |
| 223 | endif() |
Konstantin Podsvirov | dd33148 | 2016-07-28 00:00:25 +0300 | [diff] [blame] | 224 | 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] | 225 | endif() |
| 226 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 227 | if("${gRPC_GFLAGS_PROVIDER}" STREQUAL "module") |
| 228 | if(NOT GFLAGS_ROOT_DIR) |
| 229 | set(GFLAGS_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/gflags) |
| 230 | endif() |
| 231 | if(EXISTS "${GFLAGS_ROOT_DIR}/CMakeLists.txt") |
| 232 | add_subdirectory(${GFLAGS_ROOT_DIR} third_party/gflags) |
| 233 | if(TARGET gflags_static) |
| 234 | set(_gRPC_GFLAGS_LIBRARIES gflags_static) |
| 235 | endif() |
| 236 | else() |
| 237 | message(WARNING "gRPC_GFLAGS_PROVIDER is \"module\" but GFLAGS_ROOT_DIR is wrong") |
| 238 | endif() |
| 239 | elseif("${gRPC_GFLAGS_PROVIDER}" STREQUAL "package") |
| 240 | find_package(gflags) |
| 241 | if(TARGET gflags::gflags) |
| 242 | set(_gRPC_GFLAGS_LIBRARIES gflags::gflags) |
| 243 | endif() |
| 244 | set(_gRPC_FIND_GFLAGS "if(NOT gflags_FOUND)\n find_package(gflags)\nendif()") |
| 245 | endif() |
| 246 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 247 | if("${gRPC_BENCHMARK_PROVIDER}" STREQUAL "module") |
| 248 | if(NOT BENCHMARK_ROOT_DIR) |
| 249 | set(BENCHMARK_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/benchmark) |
| 250 | endif() |
| 251 | if(EXISTS "${BENCHMARK_ROOT_DIR}/CMakeLists.txt") |
| 252 | add_subdirectory(${BENCHMARK_ROOT_DIR} third_party/benchmark) |
| 253 | if(TARGET benchmark) |
| 254 | set(_gRPC_BENCHMARK_LIBRARIES benchmark) |
| 255 | endif() |
| 256 | else() |
| 257 | message(WARNING "gRPC_BENCHMARK_PROVIDER is \"module\" but BENCHMARK_ROOT_DIR is wrong") |
| 258 | endif() |
| 259 | elseif("${gRPC_BENCHMARK_PROVIDER}" STREQUAL "package") |
| 260 | find_package(benchmark) |
| 261 | if(TARGET benchmark::benchmark) |
| 262 | set(_gRPC_BENCHMARK_LIBRARIES benchmark::benchmark) |
| 263 | endif() |
| 264 | set(_gRPC_FIND_BENCHMARK "if(NOT benchmark_FOUND)\n find_package(benchmark)\nendif()") |
| 265 | endif() |
| 266 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 267 | if(NOT MSVC) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 268 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 269 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") |
| 270 | endif() |
| 271 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 272 | if(UNIX) |
| 273 | set(_gRPC_ALLTARGETS_LIBRARIES dl rt m pthread) |
| 274 | endif() |
| 275 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 276 | if(WIN32 AND MSVC) |
| 277 | set(_gRPC_BASELIB_LIBRARIES wsock32 ws2_32) |
Tamas Berghammer | 2391156 | 2016-07-27 15:24:05 +0100 | [diff] [blame] | 278 | endif() |
| 279 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 280 | include(GNUInstallDirs) |
| 281 | if(NOT DEFINED CMAKE_INSTALL_CMAKEDIR) |
| 282 | set(CMAKE_INSTALL_CMAKEDIR "${CMAKE_INSTALL_LIBDIR}/cmake/gRPC") |
| 283 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 284 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 285 | # Create directory for generated .proto files |
| 286 | set(_gRPC_PROTO_GENS_DIR ${CMAKE_BINARY_DIR}/gens) |
| 287 | file(MAKE_DIRECTORY ${_gRPC_PROTO_GENS_DIR}) |
| 288 | |
| 289 | # protobuf_generate_grpc_cpp |
| 290 | # -------------------------- |
| 291 | # |
| 292 | # Add custom commands to process ``.proto`` files to C++ using protoc and |
| 293 | # GRPC plugin:: |
| 294 | # |
| 295 | # protobuf_generate_grpc_cpp [<ARGN>...] |
| 296 | # |
| 297 | # ``ARGN`` |
| 298 | # ``.proto`` files |
| 299 | # |
| 300 | function(protobuf_generate_grpc_cpp) |
| 301 | if(NOT ARGN) |
| 302 | message(SEND_ERROR "Error: PROTOBUF_GENERATE_GRPC_CPP() called without any proto files") |
| 303 | return() |
| 304 | endif() |
| 305 | |
yang-g | 66d40c6 | 2017-04-12 10:18:10 -0700 | [diff] [blame] | 306 | set(_protobuf_include_path -I . -I ${PROTOBUF_WELLKNOWN_IMPORT_DIR}) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 307 | foreach(FIL ${ARGN}) |
| 308 | get_filename_component(ABS_FIL ${FIL} ABSOLUTE) |
| 309 | get_filename_component(FIL_WE ${FIL} NAME_WE) |
Jan Tattermusch | ecc457b | 2017-04-07 14:06:16 +0200 | [diff] [blame] | 310 | file(RELATIVE_PATH REL_FIL ${CMAKE_CURRENT_SOURCE_DIR} ${ABS_FIL}) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 311 | get_filename_component(REL_DIR ${REL_FIL} DIRECTORY) |
| 312 | set(RELFIL_WE "${REL_DIR}/${FIL_WE}") |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 313 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 314 | add_custom_command( |
| 315 | OUTPUT "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.cc" |
| 316 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.h" |
| 317 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.cc" |
| 318 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.h" |
| 319 | COMMAND ${_gRPC_PROTOBUF_PROTOC} |
| 320 | ARGS --grpc_out=${_gRPC_PROTO_GENS_DIR} |
| 321 | --cpp_out=${_gRPC_PROTO_GENS_DIR} |
| 322 | --plugin=protoc-gen-grpc=$<TARGET_FILE:grpc_cpp_plugin> |
| 323 | ${_protobuf_include_path} |
| 324 | ${REL_FIL} |
| 325 | DEPENDS ${ABS_FIL} ${_gRPC_PROTOBUF_PROTOC} grpc_cpp_plugin |
Jan Tattermusch | ecc457b | 2017-04-07 14:06:16 +0200 | [diff] [blame] | 326 | WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 327 | COMMENT "Running gRPC C++ protocol buffer compiler on ${FIL}" |
| 328 | VERBATIM) |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 329 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 330 | 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}.pb.cc" "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.h" PROPERTIES GENERATED TRUE) |
| 331 | endforeach() |
| 332 | endfunction() |
| 333 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 334 | add_custom_target(plugins |
| 335 | DEPENDS |
| 336 | grpc_cpp_plugin |
| 337 | grpc_csharp_plugin |
| 338 | grpc_node_plugin |
| 339 | grpc_objective_c_plugin |
| 340 | grpc_php_plugin |
| 341 | grpc_python_plugin |
| 342 | grpc_ruby_plugin |
| 343 | ) |
| 344 | |
| 345 | add_custom_target(tools_c |
| 346 | DEPENDS |
| 347 | gen_hpack_tables |
| 348 | gen_legal_metadata_characters |
| 349 | gen_percent_encoding_tables |
| 350 | grpc_create_jwt |
| 351 | grpc_print_google_default_creds_token |
| 352 | grpc_verify_jwt |
| 353 | ) |
| 354 | |
| 355 | add_custom_target(tools_cxx |
| 356 | DEPENDS |
| 357 | ) |
| 358 | |
| 359 | add_custom_target(tools |
| 360 | DEPENDS tools_c tools_cxx) |
| 361 | |
| 362 | if (gRPC_BUILD_TESTS) |
| 363 | add_custom_target(buildtests_c) |
| 364 | add_dependencies(buildtests_c alarm_test) |
| 365 | add_dependencies(buildtests_c algorithm_test) |
| 366 | add_dependencies(buildtests_c alloc_test) |
| 367 | add_dependencies(buildtests_c alpn_test) |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 368 | add_dependencies(buildtests_c arena_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 369 | add_dependencies(buildtests_c bad_server_response_test) |
Craig Tiller | 5395aba | 2017-02-02 10:29:04 -0800 | [diff] [blame] | 370 | add_dependencies(buildtests_c bdp_estimator_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 371 | add_dependencies(buildtests_c bin_decoder_test) |
| 372 | add_dependencies(buildtests_c bin_encoder_test) |
| 373 | add_dependencies(buildtests_c census_context_test) |
| 374 | add_dependencies(buildtests_c census_resource_test) |
| 375 | add_dependencies(buildtests_c census_trace_context_test) |
| 376 | add_dependencies(buildtests_c channel_create_test) |
| 377 | add_dependencies(buildtests_c chttp2_hpack_encoder_test) |
| 378 | add_dependencies(buildtests_c chttp2_stream_map_test) |
| 379 | add_dependencies(buildtests_c chttp2_varint_test) |
| 380 | add_dependencies(buildtests_c combiner_test) |
| 381 | add_dependencies(buildtests_c compression_test) |
| 382 | add_dependencies(buildtests_c concurrent_connectivity_test) |
| 383 | add_dependencies(buildtests_c connection_refused_test) |
| 384 | add_dependencies(buildtests_c dns_resolver_connectivity_test) |
| 385 | add_dependencies(buildtests_c dns_resolver_test) |
| 386 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 387 | add_dependencies(buildtests_c dualstack_socket_test) |
| 388 | endif() |
| 389 | add_dependencies(buildtests_c endpoint_pair_test) |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 390 | add_dependencies(buildtests_c error_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 391 | if(_gRPC_PLATFORM_LINUX) |
| 392 | add_dependencies(buildtests_c ev_epoll_linux_test) |
| 393 | endif() |
| 394 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 395 | add_dependencies(buildtests_c fd_conservation_posix_test) |
| 396 | endif() |
| 397 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 398 | add_dependencies(buildtests_c fd_posix_test) |
| 399 | endif() |
| 400 | add_dependencies(buildtests_c fling_client) |
| 401 | add_dependencies(buildtests_c fling_server) |
| 402 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 403 | add_dependencies(buildtests_c fling_stream_test) |
| 404 | endif() |
| 405 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 406 | add_dependencies(buildtests_c fling_test) |
| 407 | endif() |
| 408 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 409 | add_dependencies(buildtests_c goaway_server_test) |
| 410 | endif() |
| 411 | add_dependencies(buildtests_c gpr_avl_test) |
| 412 | add_dependencies(buildtests_c gpr_backoff_test) |
| 413 | add_dependencies(buildtests_c gpr_cmdline_test) |
| 414 | add_dependencies(buildtests_c gpr_cpu_test) |
| 415 | add_dependencies(buildtests_c gpr_env_test) |
| 416 | add_dependencies(buildtests_c gpr_histogram_test) |
| 417 | add_dependencies(buildtests_c gpr_host_port_test) |
| 418 | add_dependencies(buildtests_c gpr_log_test) |
| 419 | add_dependencies(buildtests_c gpr_mpscq_test) |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 420 | add_dependencies(buildtests_c gpr_spinlock_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 421 | add_dependencies(buildtests_c gpr_stack_lockfree_test) |
| 422 | add_dependencies(buildtests_c gpr_string_test) |
| 423 | add_dependencies(buildtests_c gpr_sync_test) |
| 424 | add_dependencies(buildtests_c gpr_thd_test) |
| 425 | add_dependencies(buildtests_c gpr_time_test) |
| 426 | add_dependencies(buildtests_c gpr_tls_test) |
| 427 | add_dependencies(buildtests_c gpr_useful_test) |
| 428 | add_dependencies(buildtests_c grpc_auth_context_test) |
| 429 | add_dependencies(buildtests_c grpc_b64_test) |
| 430 | add_dependencies(buildtests_c grpc_byte_buffer_reader_test) |
| 431 | add_dependencies(buildtests_c grpc_channel_args_test) |
| 432 | add_dependencies(buildtests_c grpc_channel_stack_test) |
| 433 | add_dependencies(buildtests_c grpc_completion_queue_test) |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 434 | add_dependencies(buildtests_c grpc_completion_queue_threading_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 435 | add_dependencies(buildtests_c grpc_credentials_test) |
| 436 | add_dependencies(buildtests_c grpc_fetch_oauth2) |
| 437 | add_dependencies(buildtests_c grpc_invalid_channel_args_test) |
| 438 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 439 | add_dependencies(buildtests_c grpc_json_token_test) |
| 440 | endif() |
| 441 | add_dependencies(buildtests_c grpc_jwt_verifier_test) |
| 442 | add_dependencies(buildtests_c grpc_security_connector_test) |
| 443 | if(_gRPC_PLATFORM_LINUX) |
| 444 | add_dependencies(buildtests_c handshake_client) |
| 445 | endif() |
| 446 | if(_gRPC_PLATFORM_LINUX) |
| 447 | add_dependencies(buildtests_c handshake_server) |
| 448 | endif() |
| 449 | add_dependencies(buildtests_c hpack_parser_test) |
| 450 | add_dependencies(buildtests_c hpack_table_test) |
| 451 | add_dependencies(buildtests_c http_parser_test) |
| 452 | add_dependencies(buildtests_c httpcli_format_request_test) |
| 453 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 454 | add_dependencies(buildtests_c httpcli_test) |
| 455 | endif() |
| 456 | if(_gRPC_PLATFORM_LINUX) |
| 457 | add_dependencies(buildtests_c httpscli_test) |
| 458 | endif() |
| 459 | add_dependencies(buildtests_c init_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 460 | add_dependencies(buildtests_c invalid_call_argument_test) |
| 461 | add_dependencies(buildtests_c json_rewrite) |
| 462 | add_dependencies(buildtests_c json_rewrite_test) |
| 463 | add_dependencies(buildtests_c json_stream_error_test) |
| 464 | add_dependencies(buildtests_c json_test) |
| 465 | add_dependencies(buildtests_c lame_client_test) |
| 466 | add_dependencies(buildtests_c lb_policies_test) |
| 467 | add_dependencies(buildtests_c load_file_test) |
| 468 | add_dependencies(buildtests_c memory_profile_client) |
| 469 | add_dependencies(buildtests_c memory_profile_server) |
| 470 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 471 | add_dependencies(buildtests_c memory_profile_test) |
| 472 | endif() |
| 473 | add_dependencies(buildtests_c message_compress_test) |
| 474 | add_dependencies(buildtests_c mlog_test) |
| 475 | add_dependencies(buildtests_c multiple_server_queues_test) |
| 476 | add_dependencies(buildtests_c murmur_hash_test) |
| 477 | add_dependencies(buildtests_c no_server_test) |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 478 | add_dependencies(buildtests_c parse_address_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 479 | add_dependencies(buildtests_c percent_encoding_test) |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 480 | if(_gRPC_PLATFORM_LINUX) |
| 481 | add_dependencies(buildtests_c pollset_set_test) |
| 482 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 483 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 484 | add_dependencies(buildtests_c resolve_address_posix_test) |
| 485 | endif() |
| 486 | add_dependencies(buildtests_c resolve_address_test) |
| 487 | add_dependencies(buildtests_c resource_quota_test) |
| 488 | add_dependencies(buildtests_c secure_channel_create_test) |
| 489 | add_dependencies(buildtests_c secure_endpoint_test) |
| 490 | add_dependencies(buildtests_c sequential_connectivity_test) |
| 491 | add_dependencies(buildtests_c server_chttp2_test) |
| 492 | add_dependencies(buildtests_c server_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 493 | add_dependencies(buildtests_c slice_buffer_test) |
| 494 | add_dependencies(buildtests_c slice_string_helpers_test) |
| 495 | add_dependencies(buildtests_c slice_test) |
| 496 | add_dependencies(buildtests_c sockaddr_resolver_test) |
| 497 | add_dependencies(buildtests_c sockaddr_utils_test) |
| 498 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 499 | add_dependencies(buildtests_c socket_utils_test) |
| 500 | endif() |
| 501 | add_dependencies(buildtests_c status_conversion_test) |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 502 | add_dependencies(buildtests_c stream_owned_slice_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 503 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 504 | add_dependencies(buildtests_c tcp_client_posix_test) |
| 505 | endif() |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 506 | add_dependencies(buildtests_c tcp_client_uv_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 507 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 508 | add_dependencies(buildtests_c tcp_posix_test) |
| 509 | endif() |
| 510 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 511 | add_dependencies(buildtests_c tcp_server_posix_test) |
| 512 | endif() |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 513 | add_dependencies(buildtests_c tcp_server_uv_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 514 | add_dependencies(buildtests_c time_averaged_stats_test) |
| 515 | add_dependencies(buildtests_c timeout_encoding_test) |
| 516 | add_dependencies(buildtests_c timer_heap_test) |
| 517 | add_dependencies(buildtests_c timer_list_test) |
| 518 | add_dependencies(buildtests_c transport_connectivity_state_test) |
| 519 | add_dependencies(buildtests_c transport_metadata_test) |
| 520 | add_dependencies(buildtests_c transport_pid_controller_test) |
| 521 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 522 | add_dependencies(buildtests_c transport_security_test) |
| 523 | endif() |
| 524 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 525 | add_dependencies(buildtests_c udp_server_test) |
| 526 | endif() |
| 527 | add_dependencies(buildtests_c uri_parser_test) |
| 528 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 529 | add_dependencies(buildtests_c wakeup_fd_cv_test) |
| 530 | endif() |
| 531 | add_dependencies(buildtests_c public_headers_must_be_c89) |
| 532 | add_dependencies(buildtests_c badreq_bad_client_test) |
| 533 | add_dependencies(buildtests_c connection_prefix_bad_client_test) |
| 534 | add_dependencies(buildtests_c head_of_line_blocking_bad_client_test) |
| 535 | add_dependencies(buildtests_c headers_bad_client_test) |
| 536 | add_dependencies(buildtests_c initial_settings_frame_bad_client_test) |
| 537 | add_dependencies(buildtests_c large_metadata_bad_client_test) |
| 538 | add_dependencies(buildtests_c server_registered_method_bad_client_test) |
| 539 | add_dependencies(buildtests_c simple_request_bad_client_test) |
| 540 | add_dependencies(buildtests_c unknown_frame_bad_client_test) |
| 541 | add_dependencies(buildtests_c window_overflow_bad_client_test) |
| 542 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 543 | add_dependencies(buildtests_c bad_ssl_cert_server) |
| 544 | endif() |
| 545 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 546 | add_dependencies(buildtests_c bad_ssl_cert_test) |
| 547 | endif() |
| 548 | add_dependencies(buildtests_c h2_census_test) |
| 549 | add_dependencies(buildtests_c h2_compress_test) |
| 550 | add_dependencies(buildtests_c h2_fakesec_test) |
| 551 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 552 | add_dependencies(buildtests_c h2_fd_test) |
| 553 | endif() |
| 554 | add_dependencies(buildtests_c h2_full_test) |
| 555 | if(_gRPC_PLATFORM_LINUX) |
| 556 | add_dependencies(buildtests_c h2_full+pipe_test) |
| 557 | endif() |
| 558 | add_dependencies(buildtests_c h2_full+trace_test) |
| 559 | add_dependencies(buildtests_c h2_http_proxy_test) |
| 560 | add_dependencies(buildtests_c h2_load_reporting_test) |
| 561 | add_dependencies(buildtests_c h2_oauth2_test) |
| 562 | add_dependencies(buildtests_c h2_proxy_test) |
| 563 | add_dependencies(buildtests_c h2_sockpair_test) |
| 564 | add_dependencies(buildtests_c h2_sockpair+trace_test) |
| 565 | add_dependencies(buildtests_c h2_sockpair_1byte_test) |
| 566 | add_dependencies(buildtests_c h2_ssl_test) |
| 567 | add_dependencies(buildtests_c h2_ssl_cert_test) |
| 568 | add_dependencies(buildtests_c h2_ssl_proxy_test) |
| 569 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 570 | add_dependencies(buildtests_c h2_uds_test) |
| 571 | endif() |
| 572 | add_dependencies(buildtests_c h2_census_nosec_test) |
| 573 | add_dependencies(buildtests_c h2_compress_nosec_test) |
| 574 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 575 | add_dependencies(buildtests_c h2_fd_nosec_test) |
| 576 | endif() |
| 577 | add_dependencies(buildtests_c h2_full_nosec_test) |
| 578 | if(_gRPC_PLATFORM_LINUX) |
| 579 | add_dependencies(buildtests_c h2_full+pipe_nosec_test) |
| 580 | endif() |
| 581 | add_dependencies(buildtests_c h2_full+trace_nosec_test) |
| 582 | add_dependencies(buildtests_c h2_http_proxy_nosec_test) |
| 583 | add_dependencies(buildtests_c h2_load_reporting_nosec_test) |
| 584 | add_dependencies(buildtests_c h2_proxy_nosec_test) |
| 585 | add_dependencies(buildtests_c h2_sockpair_nosec_test) |
| 586 | add_dependencies(buildtests_c h2_sockpair+trace_nosec_test) |
| 587 | add_dependencies(buildtests_c h2_sockpair_1byte_nosec_test) |
| 588 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 589 | add_dependencies(buildtests_c h2_uds_nosec_test) |
| 590 | endif() |
| 591 | add_dependencies(buildtests_c api_fuzzer_one_entry) |
| 592 | add_dependencies(buildtests_c client_fuzzer_one_entry) |
| 593 | add_dependencies(buildtests_c hpack_parser_fuzzer_test_one_entry) |
| 594 | add_dependencies(buildtests_c http_request_fuzzer_test_one_entry) |
| 595 | add_dependencies(buildtests_c http_response_fuzzer_test_one_entry) |
| 596 | add_dependencies(buildtests_c json_fuzzer_test_one_entry) |
| 597 | add_dependencies(buildtests_c nanopb_fuzzer_response_test_one_entry) |
| 598 | add_dependencies(buildtests_c nanopb_fuzzer_serverlist_test_one_entry) |
| 599 | add_dependencies(buildtests_c percent_decode_fuzzer_one_entry) |
| 600 | add_dependencies(buildtests_c percent_encode_fuzzer_one_entry) |
| 601 | add_dependencies(buildtests_c server_fuzzer_one_entry) |
| 602 | add_dependencies(buildtests_c ssl_server_fuzzer_one_entry) |
| 603 | add_dependencies(buildtests_c uri_fuzzer_test_one_entry) |
| 604 | |
| 605 | add_custom_target(buildtests_cxx) |
| 606 | add_dependencies(buildtests_cxx alarm_cpp_test) |
| 607 | add_dependencies(buildtests_cxx async_end2end_test) |
| 608 | add_dependencies(buildtests_cxx auth_property_iterator_test) |
| 609 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 610 | add_dependencies(buildtests_cxx bm_arena) |
| 611 | endif() |
| 612 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 613 | add_dependencies(buildtests_cxx bm_call_create) |
| 614 | endif() |
| 615 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 616 | add_dependencies(buildtests_cxx bm_chttp2_hpack) |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 617 | endif() |
| 618 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 619 | add_dependencies(buildtests_cxx bm_chttp2_transport) |
| 620 | endif() |
| 621 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 622 | add_dependencies(buildtests_cxx bm_closure) |
| 623 | endif() |
| 624 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 625 | add_dependencies(buildtests_cxx bm_cq) |
| 626 | endif() |
| 627 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 628 | add_dependencies(buildtests_cxx bm_cq_multiple_threads) |
| 629 | endif() |
| 630 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 631 | add_dependencies(buildtests_cxx bm_error) |
| 632 | endif() |
| 633 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 634 | add_dependencies(buildtests_cxx bm_fullstack_streaming_ping_pong) |
| 635 | endif() |
| 636 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 637 | add_dependencies(buildtests_cxx bm_fullstack_streaming_pump) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 638 | endif() |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 639 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 640 | add_dependencies(buildtests_cxx bm_fullstack_trickle) |
| 641 | endif() |
| 642 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 643 | add_dependencies(buildtests_cxx bm_fullstack_unary_ping_pong) |
| 644 | endif() |
| 645 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 646 | add_dependencies(buildtests_cxx bm_metadata) |
| 647 | endif() |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 648 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 649 | add_dependencies(buildtests_cxx bm_pollset) |
| 650 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 651 | add_dependencies(buildtests_cxx channel_arguments_test) |
| 652 | add_dependencies(buildtests_cxx channel_filter_test) |
| 653 | add_dependencies(buildtests_cxx cli_call_test) |
| 654 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 655 | add_dependencies(buildtests_cxx client_crash_test) |
| 656 | endif() |
| 657 | add_dependencies(buildtests_cxx client_crash_test_server) |
| 658 | add_dependencies(buildtests_cxx codegen_test_full) |
| 659 | add_dependencies(buildtests_cxx codegen_test_minimal) |
| 660 | add_dependencies(buildtests_cxx credentials_test) |
| 661 | add_dependencies(buildtests_cxx cxx_byte_buffer_test) |
| 662 | add_dependencies(buildtests_cxx cxx_slice_test) |
| 663 | add_dependencies(buildtests_cxx cxx_string_ref_test) |
| 664 | add_dependencies(buildtests_cxx cxx_time_test) |
| 665 | add_dependencies(buildtests_cxx end2end_test) |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 666 | add_dependencies(buildtests_cxx error_details_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 667 | add_dependencies(buildtests_cxx filter_end2end_test) |
| 668 | add_dependencies(buildtests_cxx generic_end2end_test) |
| 669 | add_dependencies(buildtests_cxx golden_file_test) |
| 670 | add_dependencies(buildtests_cxx grpc_cli) |
| 671 | add_dependencies(buildtests_cxx grpc_tool_test) |
| 672 | add_dependencies(buildtests_cxx grpclb_api_test) |
| 673 | add_dependencies(buildtests_cxx grpclb_test) |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 674 | add_dependencies(buildtests_cxx health_service_end2end_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 675 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 676 | add_dependencies(buildtests_cxx http2_client) |
| 677 | endif() |
| 678 | add_dependencies(buildtests_cxx hybrid_end2end_test) |
| 679 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 680 | add_dependencies(buildtests_cxx interop_client) |
| 681 | endif() |
| 682 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 683 | add_dependencies(buildtests_cxx interop_server) |
| 684 | endif() |
| 685 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 686 | add_dependencies(buildtests_cxx interop_test) |
| 687 | endif() |
| 688 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 689 | add_dependencies(buildtests_cxx json_run_localhost) |
| 690 | endif() |
| 691 | add_dependencies(buildtests_cxx metrics_client) |
| 692 | add_dependencies(buildtests_cxx mock_test) |
| 693 | add_dependencies(buildtests_cxx noop-benchmark) |
| 694 | add_dependencies(buildtests_cxx proto_server_reflection_test) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 695 | add_dependencies(buildtests_cxx proto_utils_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 696 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 697 | add_dependencies(buildtests_cxx qps_interarrival_test) |
| 698 | endif() |
| 699 | add_dependencies(buildtests_cxx qps_json_driver) |
| 700 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 701 | add_dependencies(buildtests_cxx qps_openloop_test) |
| 702 | endif() |
| 703 | add_dependencies(buildtests_cxx qps_worker) |
| 704 | add_dependencies(buildtests_cxx reconnect_interop_client) |
| 705 | add_dependencies(buildtests_cxx reconnect_interop_server) |
| 706 | add_dependencies(buildtests_cxx round_robin_end2end_test) |
| 707 | add_dependencies(buildtests_cxx secure_auth_context_test) |
| 708 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 709 | add_dependencies(buildtests_cxx secure_sync_unary_ping_pong_test) |
| 710 | endif() |
| 711 | add_dependencies(buildtests_cxx server_builder_plugin_test) |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 712 | add_dependencies(buildtests_cxx server_builder_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 713 | add_dependencies(buildtests_cxx server_context_test_spouse_test) |
| 714 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 715 | add_dependencies(buildtests_cxx server_crash_test) |
| 716 | endif() |
| 717 | add_dependencies(buildtests_cxx server_crash_test_client) |
| 718 | add_dependencies(buildtests_cxx shutdown_test) |
| 719 | add_dependencies(buildtests_cxx status_test) |
| 720 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 721 | add_dependencies(buildtests_cxx streaming_throughput_test) |
| 722 | endif() |
| 723 | add_dependencies(buildtests_cxx stress_test) |
| 724 | add_dependencies(buildtests_cxx thread_manager_test) |
| 725 | add_dependencies(buildtests_cxx thread_stress_test) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 726 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 727 | add_dependencies(buildtests_cxx writes_per_rpc_test) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 728 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 729 | |
| 730 | add_custom_target(buildtests |
| 731 | DEPENDS buildtests_c buildtests_cxx) |
| 732 | endif (gRPC_BUILD_TESTS) |
| 733 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 734 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 735 | add_library(gpr |
| 736 | src/core/lib/profiling/basic_timers.c |
| 737 | src/core/lib/profiling/stap_timers.c |
| 738 | src/core/lib/support/alloc.c |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 739 | src/core/lib/support/arena.c |
Mark D. Roth | fecba53 | 2017-03-17 09:50:48 -0700 | [diff] [blame] | 740 | src/core/lib/support/atm.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 741 | src/core/lib/support/avl.c |
| 742 | src/core/lib/support/backoff.c |
| 743 | src/core/lib/support/cmdline.c |
| 744 | src/core/lib/support/cpu_iphone.c |
| 745 | src/core/lib/support/cpu_linux.c |
| 746 | src/core/lib/support/cpu_posix.c |
| 747 | src/core/lib/support/cpu_windows.c |
| 748 | src/core/lib/support/env_linux.c |
| 749 | src/core/lib/support/env_posix.c |
| 750 | src/core/lib/support/env_windows.c |
| 751 | src/core/lib/support/histogram.c |
| 752 | src/core/lib/support/host_port.c |
| 753 | src/core/lib/support/log.c |
| 754 | src/core/lib/support/log_android.c |
| 755 | src/core/lib/support/log_linux.c |
| 756 | src/core/lib/support/log_posix.c |
| 757 | src/core/lib/support/log_windows.c |
Craig Tiller | 57726ca | 2016-09-12 11:59:45 -0700 | [diff] [blame] | 758 | src/core/lib/support/mpscq.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 759 | src/core/lib/support/murmur_hash.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 760 | src/core/lib/support/stack_lockfree.c |
| 761 | src/core/lib/support/string.c |
| 762 | src/core/lib/support/string_posix.c |
| 763 | src/core/lib/support/string_util_windows.c |
| 764 | src/core/lib/support/string_windows.c |
| 765 | src/core/lib/support/subprocess_posix.c |
| 766 | src/core/lib/support/subprocess_windows.c |
| 767 | src/core/lib/support/sync.c |
| 768 | src/core/lib/support/sync_posix.c |
| 769 | src/core/lib/support/sync_windows.c |
| 770 | src/core/lib/support/thd.c |
| 771 | src/core/lib/support/thd_posix.c |
| 772 | src/core/lib/support/thd_windows.c |
| 773 | src/core/lib/support/time.c |
| 774 | src/core/lib/support/time_posix.c |
| 775 | src/core/lib/support/time_precise.c |
| 776 | src/core/lib/support/time_windows.c |
| 777 | src/core/lib/support/tls_pthread.c |
| 778 | src/core/lib/support/tmpfile_msys.c |
| 779 | src/core/lib/support/tmpfile_posix.c |
| 780 | src/core/lib/support/tmpfile_windows.c |
| 781 | src/core/lib/support/wrap_memcpy.c |
| 782 | ) |
| 783 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 784 | if(WIN32 AND MSVC) |
| 785 | set_target_properties(gpr PROPERTIES COMPILE_PDB_NAME "gpr" |
| 786 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 787 | ) |
| 788 | if (gRPC_INSTALL) |
| 789 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr.pdb |
| 790 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 791 | ) |
| 792 | endif() |
| 793 | endif() |
| 794 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 795 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 796 | target_include_directories(gpr |
| 797 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 798 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 799 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 800 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 801 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 802 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 803 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 804 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 805 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 806 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 807 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 808 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 809 | ) |
| 810 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 811 | target_link_libraries(gpr |
| 812 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 813 | ) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 814 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 815 | foreach(_hdr |
| 816 | include/grpc/support/alloc.h |
| 817 | include/grpc/support/atm.h |
| 818 | include/grpc/support/atm_gcc_atomic.h |
| 819 | include/grpc/support/atm_gcc_sync.h |
| 820 | include/grpc/support/atm_windows.h |
| 821 | include/grpc/support/avl.h |
| 822 | include/grpc/support/cmdline.h |
| 823 | include/grpc/support/cpu.h |
| 824 | include/grpc/support/histogram.h |
| 825 | include/grpc/support/host_port.h |
| 826 | include/grpc/support/log.h |
| 827 | include/grpc/support/log_windows.h |
| 828 | include/grpc/support/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 829 | include/grpc/support/string_util.h |
| 830 | include/grpc/support/subprocess.h |
| 831 | include/grpc/support/sync.h |
| 832 | include/grpc/support/sync_generic.h |
| 833 | include/grpc/support/sync_posix.h |
| 834 | include/grpc/support/sync_windows.h |
| 835 | include/grpc/support/thd.h |
| 836 | include/grpc/support/time.h |
| 837 | include/grpc/support/tls.h |
| 838 | include/grpc/support/tls_gcc.h |
| 839 | include/grpc/support/tls_msvc.h |
| 840 | include/grpc/support/tls_pthread.h |
| 841 | include/grpc/support/useful.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 842 | include/grpc/impl/codegen/atm.h |
| 843 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 844 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 845 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 846 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 847 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 848 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 849 | include/grpc/impl/codegen/sync.h |
| 850 | include/grpc/impl/codegen/sync_generic.h |
| 851 | include/grpc/impl/codegen/sync_posix.h |
| 852 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 853 | ) |
| 854 | string(REPLACE "include/" "" _path ${_hdr}) |
| 855 | get_filename_component(_path ${_path} PATH) |
| 856 | install(FILES ${_hdr} |
| 857 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 858 | ) |
| 859 | endforeach() |
| 860 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 861 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 862 | if (gRPC_INSTALL) |
| 863 | install(TARGETS gpr EXPORT gRPCTargets |
| 864 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 865 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 866 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 867 | ) |
| 868 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 869 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 870 | if (gRPC_BUILD_TESTS) |
| 871 | |
| 872 | add_library(gpr_test_util |
| 873 | test/core/util/test_config.c |
| 874 | ) |
| 875 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 876 | if(WIN32 AND MSVC) |
| 877 | set_target_properties(gpr_test_util PROPERTIES COMPILE_PDB_NAME "gpr_test_util" |
| 878 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 879 | ) |
| 880 | if (gRPC_INSTALL) |
| 881 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/gpr_test_util.pdb |
| 882 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 883 | ) |
| 884 | endif() |
| 885 | endif() |
| 886 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 887 | |
| 888 | target_include_directories(gpr_test_util |
| 889 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 890 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 891 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 892 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 893 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 894 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 895 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 896 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 897 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 898 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 899 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 900 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 901 | ) |
| 902 | |
| 903 | target_link_libraries(gpr_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 904 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 905 | gpr |
| 906 | ) |
| 907 | |
| 908 | |
| 909 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 910 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 911 | add_library(grpc |
| 912 | src/core/lib/surface/init.c |
| 913 | src/core/lib/channel/channel_args.c |
| 914 | src/core/lib/channel/channel_stack.c |
| 915 | src/core/lib/channel/channel_stack_builder.c |
| 916 | src/core/lib/channel/compress_filter.c |
| 917 | src/core/lib/channel/connected_channel.c |
Mark D. Roth | 14c072c | 2016-08-26 08:31:34 -0700 | [diff] [blame] | 918 | src/core/lib/channel/deadline_filter.c |
Mark D. Roth | dfbdefe | 2016-07-14 09:18:22 -0700 | [diff] [blame] | 919 | src/core/lib/channel/handshaker.c |
Mark D. Roth | 1f0f23c | 2017-01-06 13:07:19 -0800 | [diff] [blame] | 920 | src/core/lib/channel/handshaker_factory.c |
| 921 | src/core/lib/channel/handshaker_registry.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 922 | src/core/lib/channel/http_client_filter.c |
| 923 | src/core/lib/channel/http_server_filter.c |
Mark D. Roth | af00d8b | 2016-08-23 12:48:16 -0700 | [diff] [blame] | 924 | src/core/lib/channel/message_size_filter.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 925 | src/core/lib/compression/compression.c |
| 926 | src/core/lib/compression/message_compress.c |
| 927 | src/core/lib/debug/trace.c |
| 928 | src/core/lib/http/format_request.c |
| 929 | src/core/lib/http/httpcli.c |
| 930 | src/core/lib/http/parser.c |
| 931 | src/core/lib/iomgr/closure.c |
Craig Tiller | 57726ca | 2016-09-12 11:59:45 -0700 | [diff] [blame] | 932 | src/core/lib/iomgr/combiner.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 933 | src/core/lib/iomgr/endpoint.c |
| 934 | src/core/lib/iomgr/endpoint_pair_posix.c |
murgatroid99 | c36f6ea | 2016-10-03 09:24:09 -0700 | [diff] [blame] | 935 | src/core/lib/iomgr/endpoint_pair_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 936 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 937 | src/core/lib/iomgr/error.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 938 | src/core/lib/iomgr/ev_epoll_linux.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 939 | src/core/lib/iomgr/ev_poll_posix.c |
| 940 | src/core/lib/iomgr/ev_posix.c |
| 941 | src/core/lib/iomgr/exec_ctx.c |
| 942 | src/core/lib/iomgr/executor.c |
| 943 | src/core/lib/iomgr/iocp_windows.c |
| 944 | src/core/lib/iomgr/iomgr.c |
| 945 | src/core/lib/iomgr/iomgr_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 946 | src/core/lib/iomgr/iomgr_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 947 | src/core/lib/iomgr/iomgr_windows.c |
| 948 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 949 | src/core/lib/iomgr/lockfree_event.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 950 | src/core/lib/iomgr/network_status_tracker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 951 | src/core/lib/iomgr/polling_entity.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 952 | src/core/lib/iomgr/pollset_set_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 953 | src/core/lib/iomgr/pollset_set_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 954 | src/core/lib/iomgr/pollset_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 955 | src/core/lib/iomgr/pollset_windows.c |
| 956 | src/core/lib/iomgr/resolve_address_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 957 | src/core/lib/iomgr/resolve_address_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 958 | src/core/lib/iomgr/resolve_address_windows.c |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 959 | src/core/lib/iomgr/resource_quota.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 960 | src/core/lib/iomgr/sockaddr_utils.c |
Michael Warres | c46b3eb | 2017-02-22 22:57:04 -0500 | [diff] [blame] | 961 | src/core/lib/iomgr/socket_factory_posix.c |
Yuchen Zeng | de3daf5 | 2016-10-13 17:26:26 -0700 | [diff] [blame] | 962 | src/core/lib/iomgr/socket_mutator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 963 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 964 | src/core/lib/iomgr/socket_utils_linux.c |
| 965 | src/core/lib/iomgr/socket_utils_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 966 | src/core/lib/iomgr/socket_utils_uv.c |
murgatroid99 | 79b3227 | 2016-08-08 13:38:30 -0700 | [diff] [blame] | 967 | src/core/lib/iomgr/socket_utils_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 968 | src/core/lib/iomgr/socket_windows.c |
| 969 | src/core/lib/iomgr/tcp_client_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 970 | src/core/lib/iomgr/tcp_client_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 971 | src/core/lib/iomgr/tcp_client_windows.c |
| 972 | src/core/lib/iomgr/tcp_posix.c |
| 973 | src/core/lib/iomgr/tcp_server_posix.c |
Yuchen Zeng | 68745bb | 2017-03-14 17:51:07 -0700 | [diff] [blame] | 974 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
Yuchen Zeng | 47155ed | 2017-03-13 17:18:07 -0700 | [diff] [blame] | 975 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 976 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 977 | src/core/lib/iomgr/tcp_server_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 978 | src/core/lib/iomgr/tcp_server_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 979 | src/core/lib/iomgr/tcp_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 980 | src/core/lib/iomgr/tcp_windows.c |
| 981 | src/core/lib/iomgr/time_averaged_stats.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 982 | src/core/lib/iomgr/timer_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 983 | src/core/lib/iomgr/timer_heap.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 984 | src/core/lib/iomgr/timer_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 985 | src/core/lib/iomgr/udp_server.c |
| 986 | src/core/lib/iomgr/unix_sockets_posix.c |
| 987 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 988 | src/core/lib/iomgr/wakeup_fd_cv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 989 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 990 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 991 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 992 | src/core/lib/iomgr/wakeup_fd_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 993 | src/core/lib/iomgr/workqueue_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 994 | src/core/lib/iomgr/workqueue_windows.c |
| 995 | src/core/lib/json/json.c |
| 996 | src/core/lib/json/json_reader.c |
| 997 | src/core/lib/json/json_string.c |
| 998 | src/core/lib/json/json_writer.c |
Craig Tiller | 29b527f | 2017-03-30 10:27:20 -0700 | [diff] [blame] | 999 | src/core/lib/slice/b64.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1000 | src/core/lib/slice/percent_encoding.c |
| 1001 | src/core/lib/slice/slice.c |
| 1002 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1003 | src/core/lib/slice/slice_hash_table.c |
| 1004 | src/core/lib/slice/slice_intern.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1005 | src/core/lib/slice/slice_string_helpers.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1006 | src/core/lib/surface/alarm.c |
| 1007 | src/core/lib/surface/api_trace.c |
| 1008 | src/core/lib/surface/byte_buffer.c |
| 1009 | src/core/lib/surface/byte_buffer_reader.c |
| 1010 | src/core/lib/surface/call.c |
| 1011 | src/core/lib/surface/call_details.c |
| 1012 | src/core/lib/surface/call_log_batch.c |
| 1013 | src/core/lib/surface/channel.c |
| 1014 | src/core/lib/surface/channel_init.c |
| 1015 | src/core/lib/surface/channel_ping.c |
| 1016 | src/core/lib/surface/channel_stack_type.c |
| 1017 | src/core/lib/surface/completion_queue.c |
Sree Kuchibhotla | bf18428 | 2017-03-21 15:18:58 -0700 | [diff] [blame] | 1018 | src/core/lib/surface/completion_queue_factory.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1019 | src/core/lib/surface/event_string.c |
| 1020 | src/core/lib/surface/lame_client.c |
| 1021 | src/core/lib/surface/metadata_array.c |
| 1022 | src/core/lib/surface/server.c |
| 1023 | src/core/lib/surface/validate_metadata.c |
| 1024 | src/core/lib/surface/version.c |
Craig Tiller | 9e0066b | 2016-10-20 14:04:18 -0700 | [diff] [blame] | 1025 | src/core/lib/transport/bdp_estimator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1026 | src/core/lib/transport/byte_stream.c |
| 1027 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1028 | src/core/lib/transport/error_utils.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1029 | src/core/lib/transport/metadata.c |
| 1030 | src/core/lib/transport/metadata_batch.c |
Craig Tiller | dd2fa64 | 2016-10-20 15:46:32 -0700 | [diff] [blame] | 1031 | src/core/lib/transport/pid_controller.c |
Mark D. Roth | ea846a0 | 2016-11-03 11:32:54 -0700 | [diff] [blame] | 1032 | src/core/lib/transport/service_config.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1033 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1034 | src/core/lib/transport/status_conversion.c |
Robbie Shade | 710d242 | 2016-07-13 15:15:38 -0400 | [diff] [blame] | 1035 | src/core/lib/transport/timeout_encoding.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1036 | src/core/lib/transport/transport.c |
| 1037 | src/core/lib/transport/transport_op_string.c |
| 1038 | src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c |
| 1039 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 1040 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 1041 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 1042 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
| 1043 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 1044 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 1045 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 1046 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 1047 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 1048 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 1049 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 1050 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 1051 | src/core/ext/transport/chttp2/transport/hpack_table.c |
Craig Tiller | c8f62bc | 2017-04-03 16:25:45 -0700 | [diff] [blame] | 1052 | src/core/ext/transport/chttp2/transport/http2_settings.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1053 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 1054 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 1055 | src/core/ext/transport/chttp2/transport/parsing.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1056 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 1057 | src/core/ext/transport/chttp2/transport/stream_map.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1058 | src/core/ext/transport/chttp2/transport/varint.c |
| 1059 | src/core/ext/transport/chttp2/transport/writing.c |
| 1060 | src/core/ext/transport/chttp2/alpn/alpn.c |
| 1061 | src/core/lib/http/httpcli_security_connector.c |
| 1062 | src/core/lib/security/context/security_context.c |
| 1063 | src/core/lib/security/credentials/composite/composite_credentials.c |
| 1064 | src/core/lib/security/credentials/credentials.c |
| 1065 | src/core/lib/security/credentials/credentials_metadata.c |
| 1066 | src/core/lib/security/credentials/fake/fake_credentials.c |
murgatroid99 | 7c20590 | 2016-08-09 10:07:42 -0700 | [diff] [blame] | 1067 | src/core/lib/security/credentials/google_default/credentials_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1068 | src/core/lib/security/credentials/google_default/google_default_credentials.c |
| 1069 | src/core/lib/security/credentials/iam/iam_credentials.c |
| 1070 | src/core/lib/security/credentials/jwt/json_token.c |
| 1071 | src/core/lib/security/credentials/jwt/jwt_credentials.c |
| 1072 | src/core/lib/security/credentials/jwt/jwt_verifier.c |
| 1073 | src/core/lib/security/credentials/oauth2/oauth2_credentials.c |
| 1074 | src/core/lib/security/credentials/plugin/plugin_credentials.c |
| 1075 | src/core/lib/security/credentials/ssl/ssl_credentials.c |
| 1076 | src/core/lib/security/transport/client_auth_filter.c |
David Garcia Quintas | 0129150 | 2017-02-07 13:26:41 -0800 | [diff] [blame] | 1077 | src/core/lib/security/transport/lb_targets_info.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1078 | src/core/lib/security/transport/secure_endpoint.c |
| 1079 | src/core/lib/security/transport/security_connector.c |
Mark D. Roth | 071cacf | 2016-11-17 13:17:56 -0800 | [diff] [blame] | 1080 | src/core/lib/security/transport/security_handshaker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1081 | src/core/lib/security/transport/server_auth_filter.c |
| 1082 | src/core/lib/security/transport/tsi_error.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1083 | src/core/lib/security/util/json_util.c |
| 1084 | src/core/lib/surface/init_secure.c |
Craig Tiller | 134fed3 | 2017-03-28 14:27:18 -0700 | [diff] [blame] | 1085 | src/core/tsi/fake_transport_security.c |
| 1086 | src/core/tsi/ssl_transport_security.c |
| 1087 | src/core/tsi/transport_security.c |
Mark D. Roth | 7140382 | 2016-12-02 10:51:39 -0800 | [diff] [blame] | 1088 | src/core/ext/transport/chttp2/server/chttp2_server.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1089 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1090 | src/core/ext/filters/client_channel/channel_connectivity.c |
| 1091 | src/core/ext/filters/client_channel/client_channel.c |
| 1092 | src/core/ext/filters/client_channel/client_channel_factory.c |
| 1093 | src/core/ext/filters/client_channel/client_channel_plugin.c |
| 1094 | src/core/ext/filters/client_channel/connector.c |
| 1095 | src/core/ext/filters/client_channel/http_connect_handshaker.c |
| 1096 | src/core/ext/filters/client_channel/http_proxy.c |
| 1097 | src/core/ext/filters/client_channel/lb_policy.c |
| 1098 | src/core/ext/filters/client_channel/lb_policy_factory.c |
| 1099 | src/core/ext/filters/client_channel/lb_policy_registry.c |
| 1100 | src/core/ext/filters/client_channel/parse_address.c |
| 1101 | src/core/ext/filters/client_channel/proxy_mapper.c |
| 1102 | src/core/ext/filters/client_channel/proxy_mapper_registry.c |
| 1103 | src/core/ext/filters/client_channel/resolver.c |
| 1104 | src/core/ext/filters/client_channel/resolver_factory.c |
| 1105 | src/core/ext/filters/client_channel/resolver_registry.c |
| 1106 | src/core/ext/filters/client_channel/retry_throttle.c |
| 1107 | src/core/ext/filters/client_channel/subchannel.c |
| 1108 | src/core/ext/filters/client_channel/subchannel_index.c |
| 1109 | src/core/ext/filters/client_channel/uri_parser.c |
Mark D. Roth | 8686cab | 2016-11-17 13:12:17 -0800 | [diff] [blame] | 1110 | src/core/ext/transport/chttp2/client/chttp2_connector.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1111 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.c |
| 1112 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c |
| 1113 | src/core/ext/transport/chttp2/client/insecure/channel_create.c |
| 1114 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1115 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c |
| 1116 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.c |
| 1117 | src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c |
| 1118 | 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] | 1119 | third_party/nanopb/pb_common.c |
| 1120 | third_party/nanopb/pb_decode.c |
| 1121 | third_party/nanopb/pb_encode.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1122 | src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.c |
| 1123 | src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.c |
| 1124 | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.c |
| 1125 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.c |
| 1126 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.c |
| 1127 | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.c |
| 1128 | src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.c |
| 1129 | src/core/ext/filters/load_reporting/load_reporting.c |
| 1130 | src/core/ext/filters/load_reporting/load_reporting_filter.c |
Alistair Veitch | 3abd27e | 2016-07-21 17:29:04 -0700 | [diff] [blame] | 1131 | src/core/ext/census/base_resources.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1132 | src/core/ext/census/context.c |
| 1133 | src/core/ext/census/gen/census.pb.c |
Alistair Veitch | a0c69f9 | 2016-08-31 12:01:27 -0700 | [diff] [blame] | 1134 | src/core/ext/census/gen/trace_context.pb.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1135 | src/core/ext/census/grpc_context.c |
| 1136 | src/core/ext/census/grpc_filter.c |
| 1137 | src/core/ext/census/grpc_plugin.c |
| 1138 | src/core/ext/census/initialize.c |
| 1139 | src/core/ext/census/mlog.c |
| 1140 | src/core/ext/census/operation.c |
| 1141 | src/core/ext/census/placeholders.c |
Alistair Veitch | 3abd27e | 2016-07-21 17:29:04 -0700 | [diff] [blame] | 1142 | src/core/ext/census/resource.c |
Vizerai | 12d1fc6 | 2016-09-09 14:22:19 -0700 | [diff] [blame] | 1143 | src/core/ext/census/trace_context.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1144 | src/core/ext/census/tracing.c |
Craig Tiller | 6d4894e | 2017-03-31 17:22:06 -0700 | [diff] [blame] | 1145 | src/core/ext/filters/max_age/max_age_filter.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1146 | src/core/plugin_registry/grpc_plugin_registry.c |
| 1147 | ) |
| 1148 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1149 | if(WIN32 AND MSVC) |
| 1150 | set_target_properties(grpc PROPERTIES COMPILE_PDB_NAME "grpc" |
| 1151 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1152 | ) |
| 1153 | if (gRPC_INSTALL) |
| 1154 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc.pdb |
| 1155 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 1156 | ) |
| 1157 | endif() |
| 1158 | endif() |
| 1159 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1160 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1161 | target_include_directories(grpc |
| 1162 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1163 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1164 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1165 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1166 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1167 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1168 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 1169 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1170 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 1171 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1172 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1173 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1174 | ) |
| 1175 | |
| 1176 | target_link_libraries(grpc |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1177 | ${_gRPC_BASELIB_LIBRARIES} |
| 1178 | ${_gRPC_SSL_LIBRARIES} |
| 1179 | ${_gRPC_ZLIB_LIBRARIES} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1180 | ${_gRPC_CARES_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1181 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1182 | gpr |
| 1183 | ) |
| 1184 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1185 | foreach(_hdr |
| 1186 | include/grpc/byte_buffer.h |
| 1187 | include/grpc/byte_buffer_reader.h |
| 1188 | include/grpc/compression.h |
| 1189 | include/grpc/grpc.h |
| 1190 | include/grpc/grpc_posix.h |
Nicolas "Pixel" Noble | e3e17d3 | 2016-08-20 01:45:32 +0200 | [diff] [blame] | 1191 | include/grpc/grpc_security_constants.h |
David Garcia Quintas | f31f096 | 2017-02-10 14:53:58 -0800 | [diff] [blame] | 1192 | include/grpc/load_reporting.h |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1193 | include/grpc/slice.h |
| 1194 | include/grpc/slice_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1195 | include/grpc/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1196 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1197 | include/grpc/impl/codegen/compression_types.h |
| 1198 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 1199 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1200 | include/grpc/impl/codegen/grpc_types.h |
| 1201 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1202 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1203 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1204 | include/grpc/impl/codegen/atm.h |
| 1205 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1206 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1207 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1208 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1209 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1210 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1211 | include/grpc/impl/codegen/sync.h |
| 1212 | include/grpc/impl/codegen/sync_generic.h |
| 1213 | include/grpc/impl/codegen/sync_posix.h |
| 1214 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1215 | include/grpc/grpc_security.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1216 | include/grpc/census.h |
| 1217 | ) |
| 1218 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1219 | get_filename_component(_path ${_path} PATH) |
| 1220 | install(FILES ${_hdr} |
| 1221 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 1222 | ) |
| 1223 | endforeach() |
| 1224 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1225 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1226 | if (gRPC_INSTALL) |
| 1227 | install(TARGETS grpc EXPORT gRPCTargets |
| 1228 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 1229 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1230 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1231 | ) |
| 1232 | endif() |
| 1233 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1234 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1235 | add_library(grpc_cronet |
| 1236 | src/core/lib/surface/init.c |
| 1237 | src/core/lib/channel/channel_args.c |
| 1238 | src/core/lib/channel/channel_stack.c |
| 1239 | src/core/lib/channel/channel_stack_builder.c |
| 1240 | src/core/lib/channel/compress_filter.c |
| 1241 | src/core/lib/channel/connected_channel.c |
Mark D. Roth | 14c072c | 2016-08-26 08:31:34 -0700 | [diff] [blame] | 1242 | src/core/lib/channel/deadline_filter.c |
Mark D. Roth | dfbdefe | 2016-07-14 09:18:22 -0700 | [diff] [blame] | 1243 | src/core/lib/channel/handshaker.c |
Mark D. Roth | 1f0f23c | 2017-01-06 13:07:19 -0800 | [diff] [blame] | 1244 | src/core/lib/channel/handshaker_factory.c |
| 1245 | src/core/lib/channel/handshaker_registry.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1246 | src/core/lib/channel/http_client_filter.c |
| 1247 | src/core/lib/channel/http_server_filter.c |
Mark D. Roth | af00d8b | 2016-08-23 12:48:16 -0700 | [diff] [blame] | 1248 | src/core/lib/channel/message_size_filter.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1249 | src/core/lib/compression/compression.c |
| 1250 | src/core/lib/compression/message_compress.c |
| 1251 | src/core/lib/debug/trace.c |
| 1252 | src/core/lib/http/format_request.c |
| 1253 | src/core/lib/http/httpcli.c |
| 1254 | src/core/lib/http/parser.c |
| 1255 | src/core/lib/iomgr/closure.c |
Craig Tiller | 57726ca | 2016-09-12 11:59:45 -0700 | [diff] [blame] | 1256 | src/core/lib/iomgr/combiner.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1257 | src/core/lib/iomgr/endpoint.c |
| 1258 | src/core/lib/iomgr/endpoint_pair_posix.c |
murgatroid99 | c36f6ea | 2016-10-03 09:24:09 -0700 | [diff] [blame] | 1259 | src/core/lib/iomgr/endpoint_pair_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1260 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 1261 | src/core/lib/iomgr/error.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 1262 | src/core/lib/iomgr/ev_epoll_linux.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1263 | src/core/lib/iomgr/ev_poll_posix.c |
| 1264 | src/core/lib/iomgr/ev_posix.c |
| 1265 | src/core/lib/iomgr/exec_ctx.c |
| 1266 | src/core/lib/iomgr/executor.c |
| 1267 | src/core/lib/iomgr/iocp_windows.c |
| 1268 | src/core/lib/iomgr/iomgr.c |
| 1269 | src/core/lib/iomgr/iomgr_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1270 | src/core/lib/iomgr/iomgr_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1271 | src/core/lib/iomgr/iomgr_windows.c |
| 1272 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 1273 | src/core/lib/iomgr/lockfree_event.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 1274 | src/core/lib/iomgr/network_status_tracker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1275 | src/core/lib/iomgr/polling_entity.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1276 | src/core/lib/iomgr/pollset_set_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1277 | src/core/lib/iomgr/pollset_set_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1278 | src/core/lib/iomgr/pollset_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1279 | src/core/lib/iomgr/pollset_windows.c |
| 1280 | src/core/lib/iomgr/resolve_address_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1281 | src/core/lib/iomgr/resolve_address_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1282 | src/core/lib/iomgr/resolve_address_windows.c |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 1283 | src/core/lib/iomgr/resource_quota.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1284 | src/core/lib/iomgr/sockaddr_utils.c |
Michael Warres | c46b3eb | 2017-02-22 22:57:04 -0500 | [diff] [blame] | 1285 | src/core/lib/iomgr/socket_factory_posix.c |
Yuchen Zeng | de3daf5 | 2016-10-13 17:26:26 -0700 | [diff] [blame] | 1286 | src/core/lib/iomgr/socket_mutator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1287 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 1288 | src/core/lib/iomgr/socket_utils_linux.c |
| 1289 | src/core/lib/iomgr/socket_utils_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1290 | src/core/lib/iomgr/socket_utils_uv.c |
murgatroid99 | 79b3227 | 2016-08-08 13:38:30 -0700 | [diff] [blame] | 1291 | src/core/lib/iomgr/socket_utils_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1292 | src/core/lib/iomgr/socket_windows.c |
| 1293 | src/core/lib/iomgr/tcp_client_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1294 | src/core/lib/iomgr/tcp_client_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1295 | src/core/lib/iomgr/tcp_client_windows.c |
| 1296 | src/core/lib/iomgr/tcp_posix.c |
| 1297 | src/core/lib/iomgr/tcp_server_posix.c |
Yuchen Zeng | 68745bb | 2017-03-14 17:51:07 -0700 | [diff] [blame] | 1298 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
Yuchen Zeng | 47155ed | 2017-03-13 17:18:07 -0700 | [diff] [blame] | 1299 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 1300 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1301 | src/core/lib/iomgr/tcp_server_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1302 | src/core/lib/iomgr/tcp_server_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1303 | src/core/lib/iomgr/tcp_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1304 | src/core/lib/iomgr/tcp_windows.c |
| 1305 | src/core/lib/iomgr/time_averaged_stats.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1306 | src/core/lib/iomgr/timer_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1307 | src/core/lib/iomgr/timer_heap.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1308 | src/core/lib/iomgr/timer_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1309 | src/core/lib/iomgr/udp_server.c |
| 1310 | src/core/lib/iomgr/unix_sockets_posix.c |
| 1311 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 1312 | src/core/lib/iomgr/wakeup_fd_cv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1313 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 1314 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 1315 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 1316 | src/core/lib/iomgr/wakeup_fd_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1317 | src/core/lib/iomgr/workqueue_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1318 | src/core/lib/iomgr/workqueue_windows.c |
| 1319 | src/core/lib/json/json.c |
| 1320 | src/core/lib/json/json_reader.c |
| 1321 | src/core/lib/json/json_string.c |
| 1322 | src/core/lib/json/json_writer.c |
Craig Tiller | 29b527f | 2017-03-30 10:27:20 -0700 | [diff] [blame] | 1323 | src/core/lib/slice/b64.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1324 | src/core/lib/slice/percent_encoding.c |
| 1325 | src/core/lib/slice/slice.c |
| 1326 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1327 | src/core/lib/slice/slice_hash_table.c |
| 1328 | src/core/lib/slice/slice_intern.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1329 | src/core/lib/slice/slice_string_helpers.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1330 | src/core/lib/surface/alarm.c |
| 1331 | src/core/lib/surface/api_trace.c |
| 1332 | src/core/lib/surface/byte_buffer.c |
| 1333 | src/core/lib/surface/byte_buffer_reader.c |
| 1334 | src/core/lib/surface/call.c |
| 1335 | src/core/lib/surface/call_details.c |
| 1336 | src/core/lib/surface/call_log_batch.c |
| 1337 | src/core/lib/surface/channel.c |
| 1338 | src/core/lib/surface/channel_init.c |
| 1339 | src/core/lib/surface/channel_ping.c |
| 1340 | src/core/lib/surface/channel_stack_type.c |
| 1341 | src/core/lib/surface/completion_queue.c |
Sree Kuchibhotla | bf18428 | 2017-03-21 15:18:58 -0700 | [diff] [blame] | 1342 | src/core/lib/surface/completion_queue_factory.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1343 | src/core/lib/surface/event_string.c |
| 1344 | src/core/lib/surface/lame_client.c |
| 1345 | src/core/lib/surface/metadata_array.c |
| 1346 | src/core/lib/surface/server.c |
| 1347 | src/core/lib/surface/validate_metadata.c |
| 1348 | src/core/lib/surface/version.c |
Craig Tiller | 9e0066b | 2016-10-20 14:04:18 -0700 | [diff] [blame] | 1349 | src/core/lib/transport/bdp_estimator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1350 | src/core/lib/transport/byte_stream.c |
| 1351 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1352 | src/core/lib/transport/error_utils.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1353 | src/core/lib/transport/metadata.c |
| 1354 | src/core/lib/transport/metadata_batch.c |
Craig Tiller | dd2fa64 | 2016-10-20 15:46:32 -0700 | [diff] [blame] | 1355 | src/core/lib/transport/pid_controller.c |
Mark D. Roth | ea846a0 | 2016-11-03 11:32:54 -0700 | [diff] [blame] | 1356 | src/core/lib/transport/service_config.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1357 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1358 | src/core/lib/transport/status_conversion.c |
Robbie Shade | 710d242 | 2016-07-13 15:15:38 -0400 | [diff] [blame] | 1359 | src/core/lib/transport/timeout_encoding.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1360 | src/core/lib/transport/transport.c |
| 1361 | src/core/lib/transport/transport_op_string.c |
| 1362 | src/core/ext/transport/cronet/client/secure/cronet_channel_create.c |
| 1363 | src/core/ext/transport/cronet/transport/cronet_api_dummy.c |
| 1364 | src/core/ext/transport/cronet/transport/cronet_transport.c |
| 1365 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.c |
| 1366 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 1367 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 1368 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 1369 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
| 1370 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 1371 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 1372 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 1373 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 1374 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 1375 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 1376 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 1377 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 1378 | src/core/ext/transport/chttp2/transport/hpack_table.c |
Craig Tiller | c8f62bc | 2017-04-03 16:25:45 -0700 | [diff] [blame] | 1379 | src/core/ext/transport/chttp2/transport/http2_settings.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1380 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 1381 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 1382 | src/core/ext/transport/chttp2/transport/parsing.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1383 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 1384 | src/core/ext/transport/chttp2/transport/stream_map.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1385 | src/core/ext/transport/chttp2/transport/varint.c |
| 1386 | src/core/ext/transport/chttp2/transport/writing.c |
| 1387 | src/core/ext/transport/chttp2/alpn/alpn.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1388 | src/core/ext/filters/client_channel/channel_connectivity.c |
| 1389 | src/core/ext/filters/client_channel/client_channel.c |
| 1390 | src/core/ext/filters/client_channel/client_channel_factory.c |
| 1391 | src/core/ext/filters/client_channel/client_channel_plugin.c |
| 1392 | src/core/ext/filters/client_channel/connector.c |
| 1393 | src/core/ext/filters/client_channel/http_connect_handshaker.c |
| 1394 | src/core/ext/filters/client_channel/http_proxy.c |
| 1395 | src/core/ext/filters/client_channel/lb_policy.c |
| 1396 | src/core/ext/filters/client_channel/lb_policy_factory.c |
| 1397 | src/core/ext/filters/client_channel/lb_policy_registry.c |
| 1398 | src/core/ext/filters/client_channel/parse_address.c |
| 1399 | src/core/ext/filters/client_channel/proxy_mapper.c |
| 1400 | src/core/ext/filters/client_channel/proxy_mapper_registry.c |
| 1401 | src/core/ext/filters/client_channel/resolver.c |
| 1402 | src/core/ext/filters/client_channel/resolver_factory.c |
| 1403 | src/core/ext/filters/client_channel/resolver_registry.c |
| 1404 | src/core/ext/filters/client_channel/retry_throttle.c |
| 1405 | src/core/ext/filters/client_channel/subchannel.c |
| 1406 | src/core/ext/filters/client_channel/subchannel_index.c |
| 1407 | src/core/ext/filters/client_channel/uri_parser.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1408 | src/core/lib/http/httpcli_security_connector.c |
| 1409 | src/core/lib/security/context/security_context.c |
| 1410 | src/core/lib/security/credentials/composite/composite_credentials.c |
| 1411 | src/core/lib/security/credentials/credentials.c |
| 1412 | src/core/lib/security/credentials/credentials_metadata.c |
| 1413 | src/core/lib/security/credentials/fake/fake_credentials.c |
murgatroid99 | 7c20590 | 2016-08-09 10:07:42 -0700 | [diff] [blame] | 1414 | src/core/lib/security/credentials/google_default/credentials_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1415 | src/core/lib/security/credentials/google_default/google_default_credentials.c |
| 1416 | src/core/lib/security/credentials/iam/iam_credentials.c |
| 1417 | src/core/lib/security/credentials/jwt/json_token.c |
| 1418 | src/core/lib/security/credentials/jwt/jwt_credentials.c |
| 1419 | src/core/lib/security/credentials/jwt/jwt_verifier.c |
| 1420 | src/core/lib/security/credentials/oauth2/oauth2_credentials.c |
| 1421 | src/core/lib/security/credentials/plugin/plugin_credentials.c |
| 1422 | src/core/lib/security/credentials/ssl/ssl_credentials.c |
| 1423 | src/core/lib/security/transport/client_auth_filter.c |
David Garcia Quintas | 0129150 | 2017-02-07 13:26:41 -0800 | [diff] [blame] | 1424 | src/core/lib/security/transport/lb_targets_info.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1425 | src/core/lib/security/transport/secure_endpoint.c |
| 1426 | src/core/lib/security/transport/security_connector.c |
Mark D. Roth | 071cacf | 2016-11-17 13:17:56 -0800 | [diff] [blame] | 1427 | src/core/lib/security/transport/security_handshaker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1428 | src/core/lib/security/transport/server_auth_filter.c |
| 1429 | src/core/lib/security/transport/tsi_error.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1430 | src/core/lib/security/util/json_util.c |
| 1431 | src/core/lib/surface/init_secure.c |
Craig Tiller | 134fed3 | 2017-03-28 14:27:18 -0700 | [diff] [blame] | 1432 | src/core/tsi/fake_transport_security.c |
| 1433 | src/core/tsi/ssl_transport_security.c |
| 1434 | src/core/tsi/transport_security.c |
Mark D. Roth | 8686cab | 2016-11-17 13:12:17 -0800 | [diff] [blame] | 1435 | src/core/ext/transport/chttp2/client/chttp2_connector.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1436 | src/core/ext/filters/load_reporting/load_reporting.c |
| 1437 | src/core/ext/filters/load_reporting/load_reporting_filter.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1438 | src/core/plugin_registry/grpc_cronet_plugin_registry.c |
| 1439 | ) |
| 1440 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1441 | if(WIN32 AND MSVC) |
| 1442 | set_target_properties(grpc_cronet PROPERTIES COMPILE_PDB_NAME "grpc_cronet" |
| 1443 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1444 | ) |
| 1445 | if (gRPC_INSTALL) |
| 1446 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cronet.pdb |
| 1447 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 1448 | ) |
| 1449 | endif() |
| 1450 | endif() |
| 1451 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1452 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1453 | target_include_directories(grpc_cronet |
| 1454 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1455 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1456 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1457 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1458 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1459 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1460 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 1461 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 1462 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 1463 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1464 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1465 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1466 | ) |
| 1467 | |
| 1468 | target_link_libraries(grpc_cronet |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1469 | ${_gRPC_BASELIB_LIBRARIES} |
| 1470 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1471 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1472 | gpr |
| 1473 | ) |
| 1474 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1475 | foreach(_hdr |
| 1476 | include/grpc/byte_buffer.h |
| 1477 | include/grpc/byte_buffer_reader.h |
| 1478 | include/grpc/compression.h |
| 1479 | include/grpc/grpc.h |
| 1480 | include/grpc/grpc_posix.h |
Nicolas "Pixel" Noble | e3e17d3 | 2016-08-20 01:45:32 +0200 | [diff] [blame] | 1481 | include/grpc/grpc_security_constants.h |
David Garcia Quintas | f31f096 | 2017-02-10 14:53:58 -0800 | [diff] [blame] | 1482 | include/grpc/load_reporting.h |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1483 | include/grpc/slice.h |
| 1484 | include/grpc/slice_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1485 | include/grpc/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1486 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1487 | include/grpc/impl/codegen/compression_types.h |
| 1488 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 1489 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1490 | include/grpc/impl/codegen/grpc_types.h |
| 1491 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1492 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1493 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1494 | include/grpc/impl/codegen/atm.h |
| 1495 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1496 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1497 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1498 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1499 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1500 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1501 | include/grpc/impl/codegen/sync.h |
| 1502 | include/grpc/impl/codegen/sync_generic.h |
| 1503 | include/grpc/impl/codegen/sync_posix.h |
| 1504 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1505 | include/grpc/grpc_cronet.h |
| 1506 | include/grpc/grpc_security.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1507 | ) |
| 1508 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1509 | get_filename_component(_path ${_path} PATH) |
| 1510 | install(FILES ${_hdr} |
| 1511 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 1512 | ) |
| 1513 | endforeach() |
| 1514 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1515 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1516 | if (gRPC_INSTALL) |
| 1517 | install(TARGETS grpc_cronet EXPORT gRPCTargets |
| 1518 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 1519 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1520 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1521 | ) |
| 1522 | endif() |
| 1523 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1524 | if (gRPC_BUILD_TESTS) |
| 1525 | |
| 1526 | add_library(grpc_test_util |
| 1527 | test/core/end2end/data/client_certs.c |
| 1528 | test/core/end2end/data/server1_cert.c |
| 1529 | test/core/end2end/data/server1_key.c |
| 1530 | test/core/end2end/data/test_root_cert.c |
| 1531 | test/core/security/oauth2_utils.c |
| 1532 | test/core/end2end/cq_verifier.c |
| 1533 | test/core/end2end/fake_resolver.c |
Craig Tiller | e067b6e | 2017-03-06 14:46:37 -0800 | [diff] [blame] | 1534 | test/core/end2end/fixtures/http_proxy_fixture.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1535 | test/core/end2end/fixtures/proxy.c |
| 1536 | test/core/iomgr/endpoint_tests.c |
Craig Tiller | 61eb40c | 2017-02-03 13:46:33 -0800 | [diff] [blame] | 1537 | test/core/util/debugger_macros.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1538 | test/core/util/grpc_profiler.c |
| 1539 | test/core/util/memory_counters.c |
| 1540 | test/core/util/mock_endpoint.c |
| 1541 | test/core/util/parse_hexstring.c |
| 1542 | test/core/util/passthru_endpoint.c |
Craig Tiller | cba864b | 2017-02-17 10:27:56 -0800 | [diff] [blame] | 1543 | test/core/util/port.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1544 | test/core/util/port_server_client.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1545 | test/core/util/slice_splitter.c |
Craig Tiller | fe5f497 | 2017-02-13 16:26:27 -0800 | [diff] [blame] | 1546 | test/core/util/trickle_endpoint.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1547 | src/core/lib/channel/channel_args.c |
| 1548 | src/core/lib/channel/channel_stack.c |
| 1549 | src/core/lib/channel/channel_stack_builder.c |
| 1550 | src/core/lib/channel/compress_filter.c |
| 1551 | src/core/lib/channel/connected_channel.c |
| 1552 | src/core/lib/channel/deadline_filter.c |
| 1553 | src/core/lib/channel/handshaker.c |
| 1554 | src/core/lib/channel/handshaker_factory.c |
| 1555 | src/core/lib/channel/handshaker_registry.c |
| 1556 | src/core/lib/channel/http_client_filter.c |
| 1557 | src/core/lib/channel/http_server_filter.c |
| 1558 | src/core/lib/channel/message_size_filter.c |
| 1559 | src/core/lib/compression/compression.c |
| 1560 | src/core/lib/compression/message_compress.c |
| 1561 | src/core/lib/debug/trace.c |
| 1562 | src/core/lib/http/format_request.c |
| 1563 | src/core/lib/http/httpcli.c |
| 1564 | src/core/lib/http/parser.c |
| 1565 | src/core/lib/iomgr/closure.c |
| 1566 | src/core/lib/iomgr/combiner.c |
| 1567 | src/core/lib/iomgr/endpoint.c |
| 1568 | src/core/lib/iomgr/endpoint_pair_posix.c |
| 1569 | src/core/lib/iomgr/endpoint_pair_uv.c |
| 1570 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 1571 | src/core/lib/iomgr/error.c |
| 1572 | src/core/lib/iomgr/ev_epoll_linux.c |
| 1573 | src/core/lib/iomgr/ev_poll_posix.c |
| 1574 | src/core/lib/iomgr/ev_posix.c |
| 1575 | src/core/lib/iomgr/exec_ctx.c |
| 1576 | src/core/lib/iomgr/executor.c |
| 1577 | src/core/lib/iomgr/iocp_windows.c |
| 1578 | src/core/lib/iomgr/iomgr.c |
| 1579 | src/core/lib/iomgr/iomgr_posix.c |
| 1580 | src/core/lib/iomgr/iomgr_uv.c |
| 1581 | src/core/lib/iomgr/iomgr_windows.c |
| 1582 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 1583 | src/core/lib/iomgr/lockfree_event.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1584 | src/core/lib/iomgr/network_status_tracker.c |
| 1585 | src/core/lib/iomgr/polling_entity.c |
| 1586 | src/core/lib/iomgr/pollset_set_uv.c |
| 1587 | src/core/lib/iomgr/pollset_set_windows.c |
| 1588 | src/core/lib/iomgr/pollset_uv.c |
| 1589 | src/core/lib/iomgr/pollset_windows.c |
| 1590 | src/core/lib/iomgr/resolve_address_posix.c |
| 1591 | src/core/lib/iomgr/resolve_address_uv.c |
| 1592 | src/core/lib/iomgr/resolve_address_windows.c |
| 1593 | src/core/lib/iomgr/resource_quota.c |
| 1594 | src/core/lib/iomgr/sockaddr_utils.c |
Michael Warres | c46b3eb | 2017-02-22 22:57:04 -0500 | [diff] [blame] | 1595 | src/core/lib/iomgr/socket_factory_posix.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1596 | src/core/lib/iomgr/socket_mutator.c |
| 1597 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 1598 | src/core/lib/iomgr/socket_utils_linux.c |
| 1599 | src/core/lib/iomgr/socket_utils_posix.c |
| 1600 | src/core/lib/iomgr/socket_utils_uv.c |
| 1601 | src/core/lib/iomgr/socket_utils_windows.c |
| 1602 | src/core/lib/iomgr/socket_windows.c |
| 1603 | src/core/lib/iomgr/tcp_client_posix.c |
| 1604 | src/core/lib/iomgr/tcp_client_uv.c |
| 1605 | src/core/lib/iomgr/tcp_client_windows.c |
| 1606 | src/core/lib/iomgr/tcp_posix.c |
| 1607 | src/core/lib/iomgr/tcp_server_posix.c |
Yuchen Zeng | 68745bb | 2017-03-14 17:51:07 -0700 | [diff] [blame] | 1608 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
Yuchen Zeng | 47155ed | 2017-03-13 17:18:07 -0700 | [diff] [blame] | 1609 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 1610 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1611 | src/core/lib/iomgr/tcp_server_uv.c |
| 1612 | src/core/lib/iomgr/tcp_server_windows.c |
| 1613 | src/core/lib/iomgr/tcp_uv.c |
| 1614 | src/core/lib/iomgr/tcp_windows.c |
| 1615 | src/core/lib/iomgr/time_averaged_stats.c |
| 1616 | src/core/lib/iomgr/timer_generic.c |
| 1617 | src/core/lib/iomgr/timer_heap.c |
| 1618 | src/core/lib/iomgr/timer_uv.c |
| 1619 | src/core/lib/iomgr/udp_server.c |
| 1620 | src/core/lib/iomgr/unix_sockets_posix.c |
| 1621 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
| 1622 | src/core/lib/iomgr/wakeup_fd_cv.c |
| 1623 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 1624 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 1625 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 1626 | src/core/lib/iomgr/wakeup_fd_posix.c |
| 1627 | src/core/lib/iomgr/workqueue_uv.c |
| 1628 | src/core/lib/iomgr/workqueue_windows.c |
| 1629 | src/core/lib/json/json.c |
| 1630 | src/core/lib/json/json_reader.c |
| 1631 | src/core/lib/json/json_string.c |
| 1632 | src/core/lib/json/json_writer.c |
Craig Tiller | 29b527f | 2017-03-30 10:27:20 -0700 | [diff] [blame] | 1633 | src/core/lib/slice/b64.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1634 | src/core/lib/slice/percent_encoding.c |
| 1635 | src/core/lib/slice/slice.c |
| 1636 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1637 | src/core/lib/slice/slice_hash_table.c |
| 1638 | src/core/lib/slice/slice_intern.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1639 | src/core/lib/slice/slice_string_helpers.c |
| 1640 | src/core/lib/surface/alarm.c |
| 1641 | src/core/lib/surface/api_trace.c |
| 1642 | src/core/lib/surface/byte_buffer.c |
| 1643 | src/core/lib/surface/byte_buffer_reader.c |
| 1644 | src/core/lib/surface/call.c |
| 1645 | src/core/lib/surface/call_details.c |
| 1646 | src/core/lib/surface/call_log_batch.c |
| 1647 | src/core/lib/surface/channel.c |
| 1648 | src/core/lib/surface/channel_init.c |
| 1649 | src/core/lib/surface/channel_ping.c |
| 1650 | src/core/lib/surface/channel_stack_type.c |
| 1651 | src/core/lib/surface/completion_queue.c |
Sree Kuchibhotla | bf18428 | 2017-03-21 15:18:58 -0700 | [diff] [blame] | 1652 | src/core/lib/surface/completion_queue_factory.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1653 | src/core/lib/surface/event_string.c |
| 1654 | src/core/lib/surface/lame_client.c |
| 1655 | src/core/lib/surface/metadata_array.c |
| 1656 | src/core/lib/surface/server.c |
| 1657 | src/core/lib/surface/validate_metadata.c |
| 1658 | src/core/lib/surface/version.c |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 1659 | src/core/lib/transport/bdp_estimator.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1660 | src/core/lib/transport/byte_stream.c |
| 1661 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1662 | src/core/lib/transport/error_utils.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1663 | src/core/lib/transport/metadata.c |
| 1664 | src/core/lib/transport/metadata_batch.c |
| 1665 | src/core/lib/transport/pid_controller.c |
| 1666 | src/core/lib/transport/service_config.c |
| 1667 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1668 | src/core/lib/transport/status_conversion.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1669 | src/core/lib/transport/timeout_encoding.c |
| 1670 | src/core/lib/transport/transport.c |
| 1671 | src/core/lib/transport/transport_op_string.c |
| 1672 | ) |
| 1673 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1674 | if(WIN32 AND MSVC) |
| 1675 | set_target_properties(grpc_test_util PROPERTIES COMPILE_PDB_NAME "grpc_test_util" |
| 1676 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1677 | ) |
| 1678 | if (gRPC_INSTALL) |
| 1679 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util.pdb |
| 1680 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 1681 | ) |
| 1682 | endif() |
| 1683 | endif() |
| 1684 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1685 | |
| 1686 | target_include_directories(grpc_test_util |
| 1687 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1688 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1689 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1690 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 1691 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1692 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1693 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 1694 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 1695 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 1696 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1697 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1698 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 1699 | ) |
| 1700 | |
| 1701 | target_link_libraries(grpc_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1702 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1703 | gpr_test_util |
| 1704 | gpr |
| 1705 | grpc |
| 1706 | ) |
| 1707 | |
| 1708 | foreach(_hdr |
| 1709 | include/grpc/byte_buffer.h |
| 1710 | include/grpc/byte_buffer_reader.h |
| 1711 | include/grpc/compression.h |
| 1712 | include/grpc/grpc.h |
| 1713 | include/grpc/grpc_posix.h |
| 1714 | include/grpc/grpc_security_constants.h |
David Garcia Quintas | f31f096 | 2017-02-10 14:53:58 -0800 | [diff] [blame] | 1715 | include/grpc/load_reporting.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1716 | include/grpc/slice.h |
| 1717 | include/grpc/slice_buffer.h |
| 1718 | include/grpc/status.h |
| 1719 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1720 | include/grpc/impl/codegen/compression_types.h |
| 1721 | include/grpc/impl/codegen/connectivity_state.h |
| 1722 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 1723 | include/grpc/impl/codegen/grpc_types.h |
| 1724 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 1725 | include/grpc/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1726 | include/grpc/impl/codegen/status.h |
| 1727 | include/grpc/impl/codegen/atm.h |
| 1728 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1729 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1730 | include/grpc/impl/codegen/atm_windows.h |
| 1731 | include/grpc/impl/codegen/gpr_slice.h |
| 1732 | include/grpc/impl/codegen/gpr_types.h |
| 1733 | include/grpc/impl/codegen/port_platform.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1734 | include/grpc/impl/codegen/sync.h |
| 1735 | include/grpc/impl/codegen/sync_generic.h |
| 1736 | include/grpc/impl/codegen/sync_posix.h |
| 1737 | include/grpc/impl/codegen/sync_windows.h |
| 1738 | ) |
| 1739 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1740 | get_filename_component(_path ${_path} PATH) |
| 1741 | install(FILES ${_hdr} |
| 1742 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 1743 | ) |
| 1744 | endforeach() |
| 1745 | |
| 1746 | endif (gRPC_BUILD_TESTS) |
| 1747 | if (gRPC_BUILD_TESTS) |
| 1748 | |
| 1749 | add_library(grpc_test_util_unsecure |
| 1750 | test/core/end2end/cq_verifier.c |
| 1751 | test/core/end2end/fake_resolver.c |
Craig Tiller | e067b6e | 2017-03-06 14:46:37 -0800 | [diff] [blame] | 1752 | test/core/end2end/fixtures/http_proxy_fixture.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1753 | test/core/end2end/fixtures/proxy.c |
| 1754 | test/core/iomgr/endpoint_tests.c |
Craig Tiller | 61eb40c | 2017-02-03 13:46:33 -0800 | [diff] [blame] | 1755 | test/core/util/debugger_macros.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1756 | test/core/util/grpc_profiler.c |
| 1757 | test/core/util/memory_counters.c |
| 1758 | test/core/util/mock_endpoint.c |
| 1759 | test/core/util/parse_hexstring.c |
| 1760 | test/core/util/passthru_endpoint.c |
Craig Tiller | cba864b | 2017-02-17 10:27:56 -0800 | [diff] [blame] | 1761 | test/core/util/port.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1762 | test/core/util/port_server_client.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1763 | test/core/util/slice_splitter.c |
Craig Tiller | fe5f497 | 2017-02-13 16:26:27 -0800 | [diff] [blame] | 1764 | test/core/util/trickle_endpoint.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1765 | ) |
| 1766 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 1767 | if(WIN32 AND MSVC) |
| 1768 | set_target_properties(grpc_test_util_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_test_util_unsecure" |
| 1769 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 1770 | ) |
| 1771 | if (gRPC_INSTALL) |
| 1772 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_test_util_unsecure.pdb |
| 1773 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 1774 | ) |
| 1775 | endif() |
| 1776 | endif() |
| 1777 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1778 | |
| 1779 | target_include_directories(grpc_test_util_unsecure |
| 1780 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1781 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1782 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1783 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 1784 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1785 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1786 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 1787 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 1788 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 1789 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 1790 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1791 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 1792 | ) |
| 1793 | |
| 1794 | target_link_libraries(grpc_test_util_unsecure |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1795 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1796 | gpr |
| 1797 | gpr_test_util |
| 1798 | grpc_unsecure |
| 1799 | grpc |
| 1800 | ) |
| 1801 | |
| 1802 | |
| 1803 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1804 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1805 | add_library(grpc_unsecure |
| 1806 | src/core/lib/surface/init.c |
| 1807 | src/core/lib/surface/init_unsecure.c |
| 1808 | src/core/lib/channel/channel_args.c |
| 1809 | src/core/lib/channel/channel_stack.c |
| 1810 | src/core/lib/channel/channel_stack_builder.c |
| 1811 | src/core/lib/channel/compress_filter.c |
| 1812 | src/core/lib/channel/connected_channel.c |
Mark D. Roth | 14c072c | 2016-08-26 08:31:34 -0700 | [diff] [blame] | 1813 | src/core/lib/channel/deadline_filter.c |
Mark D. Roth | dfbdefe | 2016-07-14 09:18:22 -0700 | [diff] [blame] | 1814 | src/core/lib/channel/handshaker.c |
Mark D. Roth | 1f0f23c | 2017-01-06 13:07:19 -0800 | [diff] [blame] | 1815 | src/core/lib/channel/handshaker_factory.c |
| 1816 | src/core/lib/channel/handshaker_registry.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1817 | src/core/lib/channel/http_client_filter.c |
| 1818 | src/core/lib/channel/http_server_filter.c |
Mark D. Roth | af00d8b | 2016-08-23 12:48:16 -0700 | [diff] [blame] | 1819 | src/core/lib/channel/message_size_filter.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1820 | src/core/lib/compression/compression.c |
| 1821 | src/core/lib/compression/message_compress.c |
| 1822 | src/core/lib/debug/trace.c |
| 1823 | src/core/lib/http/format_request.c |
| 1824 | src/core/lib/http/httpcli.c |
| 1825 | src/core/lib/http/parser.c |
| 1826 | src/core/lib/iomgr/closure.c |
Craig Tiller | 57726ca | 2016-09-12 11:59:45 -0700 | [diff] [blame] | 1827 | src/core/lib/iomgr/combiner.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1828 | src/core/lib/iomgr/endpoint.c |
| 1829 | src/core/lib/iomgr/endpoint_pair_posix.c |
murgatroid99 | c36f6ea | 2016-10-03 09:24:09 -0700 | [diff] [blame] | 1830 | src/core/lib/iomgr/endpoint_pair_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1831 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 1832 | src/core/lib/iomgr/error.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 1833 | src/core/lib/iomgr/ev_epoll_linux.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1834 | src/core/lib/iomgr/ev_poll_posix.c |
| 1835 | src/core/lib/iomgr/ev_posix.c |
| 1836 | src/core/lib/iomgr/exec_ctx.c |
| 1837 | src/core/lib/iomgr/executor.c |
| 1838 | src/core/lib/iomgr/iocp_windows.c |
| 1839 | src/core/lib/iomgr/iomgr.c |
| 1840 | src/core/lib/iomgr/iomgr_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1841 | src/core/lib/iomgr/iomgr_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1842 | src/core/lib/iomgr/iomgr_windows.c |
| 1843 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 1844 | src/core/lib/iomgr/lockfree_event.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 1845 | src/core/lib/iomgr/network_status_tracker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1846 | src/core/lib/iomgr/polling_entity.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1847 | src/core/lib/iomgr/pollset_set_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1848 | src/core/lib/iomgr/pollset_set_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1849 | src/core/lib/iomgr/pollset_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1850 | src/core/lib/iomgr/pollset_windows.c |
| 1851 | src/core/lib/iomgr/resolve_address_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1852 | src/core/lib/iomgr/resolve_address_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1853 | src/core/lib/iomgr/resolve_address_windows.c |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 1854 | src/core/lib/iomgr/resource_quota.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1855 | src/core/lib/iomgr/sockaddr_utils.c |
Michael Warres | c46b3eb | 2017-02-22 22:57:04 -0500 | [diff] [blame] | 1856 | src/core/lib/iomgr/socket_factory_posix.c |
Yuchen Zeng | de3daf5 | 2016-10-13 17:26:26 -0700 | [diff] [blame] | 1857 | src/core/lib/iomgr/socket_mutator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1858 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 1859 | src/core/lib/iomgr/socket_utils_linux.c |
| 1860 | src/core/lib/iomgr/socket_utils_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1861 | src/core/lib/iomgr/socket_utils_uv.c |
murgatroid99 | 79b3227 | 2016-08-08 13:38:30 -0700 | [diff] [blame] | 1862 | src/core/lib/iomgr/socket_utils_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1863 | src/core/lib/iomgr/socket_windows.c |
| 1864 | src/core/lib/iomgr/tcp_client_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1865 | src/core/lib/iomgr/tcp_client_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1866 | src/core/lib/iomgr/tcp_client_windows.c |
| 1867 | src/core/lib/iomgr/tcp_posix.c |
| 1868 | src/core/lib/iomgr/tcp_server_posix.c |
Yuchen Zeng | 68745bb | 2017-03-14 17:51:07 -0700 | [diff] [blame] | 1869 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
Yuchen Zeng | 47155ed | 2017-03-13 17:18:07 -0700 | [diff] [blame] | 1870 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 1871 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1872 | src/core/lib/iomgr/tcp_server_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1873 | src/core/lib/iomgr/tcp_server_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1874 | src/core/lib/iomgr/tcp_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1875 | src/core/lib/iomgr/tcp_windows.c |
| 1876 | src/core/lib/iomgr/time_averaged_stats.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1877 | src/core/lib/iomgr/timer_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1878 | src/core/lib/iomgr/timer_heap.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1879 | src/core/lib/iomgr/timer_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1880 | src/core/lib/iomgr/udp_server.c |
| 1881 | src/core/lib/iomgr/unix_sockets_posix.c |
| 1882 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 1883 | src/core/lib/iomgr/wakeup_fd_cv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1884 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 1885 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 1886 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 1887 | src/core/lib/iomgr/wakeup_fd_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1888 | src/core/lib/iomgr/workqueue_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1889 | src/core/lib/iomgr/workqueue_windows.c |
| 1890 | src/core/lib/json/json.c |
| 1891 | src/core/lib/json/json_reader.c |
| 1892 | src/core/lib/json/json_string.c |
| 1893 | src/core/lib/json/json_writer.c |
Craig Tiller | 29b527f | 2017-03-30 10:27:20 -0700 | [diff] [blame] | 1894 | src/core/lib/slice/b64.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1895 | src/core/lib/slice/percent_encoding.c |
| 1896 | src/core/lib/slice/slice.c |
| 1897 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1898 | src/core/lib/slice/slice_hash_table.c |
| 1899 | src/core/lib/slice/slice_intern.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1900 | src/core/lib/slice/slice_string_helpers.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1901 | src/core/lib/surface/alarm.c |
| 1902 | src/core/lib/surface/api_trace.c |
| 1903 | src/core/lib/surface/byte_buffer.c |
| 1904 | src/core/lib/surface/byte_buffer_reader.c |
| 1905 | src/core/lib/surface/call.c |
| 1906 | src/core/lib/surface/call_details.c |
| 1907 | src/core/lib/surface/call_log_batch.c |
| 1908 | src/core/lib/surface/channel.c |
| 1909 | src/core/lib/surface/channel_init.c |
| 1910 | src/core/lib/surface/channel_ping.c |
| 1911 | src/core/lib/surface/channel_stack_type.c |
| 1912 | src/core/lib/surface/completion_queue.c |
Sree Kuchibhotla | bf18428 | 2017-03-21 15:18:58 -0700 | [diff] [blame] | 1913 | src/core/lib/surface/completion_queue_factory.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1914 | src/core/lib/surface/event_string.c |
| 1915 | src/core/lib/surface/lame_client.c |
| 1916 | src/core/lib/surface/metadata_array.c |
| 1917 | src/core/lib/surface/server.c |
| 1918 | src/core/lib/surface/validate_metadata.c |
| 1919 | src/core/lib/surface/version.c |
Craig Tiller | 9e0066b | 2016-10-20 14:04:18 -0700 | [diff] [blame] | 1920 | src/core/lib/transport/bdp_estimator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1921 | src/core/lib/transport/byte_stream.c |
| 1922 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1923 | src/core/lib/transport/error_utils.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1924 | src/core/lib/transport/metadata.c |
| 1925 | src/core/lib/transport/metadata_batch.c |
Craig Tiller | dd2fa64 | 2016-10-20 15:46:32 -0700 | [diff] [blame] | 1926 | src/core/lib/transport/pid_controller.c |
Mark D. Roth | ea846a0 | 2016-11-03 11:32:54 -0700 | [diff] [blame] | 1927 | src/core/lib/transport/service_config.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1928 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1929 | src/core/lib/transport/status_conversion.c |
Robbie Shade | 710d242 | 2016-07-13 15:15:38 -0400 | [diff] [blame] | 1930 | src/core/lib/transport/timeout_encoding.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1931 | src/core/lib/transport/transport.c |
| 1932 | src/core/lib/transport/transport_op_string.c |
| 1933 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.c |
| 1934 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c |
| 1935 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 1936 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 1937 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 1938 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
| 1939 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 1940 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 1941 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 1942 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 1943 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 1944 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 1945 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 1946 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 1947 | src/core/ext/transport/chttp2/transport/hpack_table.c |
Craig Tiller | c8f62bc | 2017-04-03 16:25:45 -0700 | [diff] [blame] | 1948 | src/core/ext/transport/chttp2/transport/http2_settings.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1949 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 1950 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 1951 | src/core/ext/transport/chttp2/transport/parsing.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1952 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 1953 | src/core/ext/transport/chttp2/transport/stream_map.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1954 | src/core/ext/transport/chttp2/transport/varint.c |
| 1955 | src/core/ext/transport/chttp2/transport/writing.c |
| 1956 | src/core/ext/transport/chttp2/alpn/alpn.c |
Mark D. Roth | 7140382 | 2016-12-02 10:51:39 -0800 | [diff] [blame] | 1957 | src/core/ext/transport/chttp2/server/chttp2_server.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1958 | src/core/ext/transport/chttp2/client/insecure/channel_create.c |
| 1959 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c |
Mark D. Roth | 2502afb | 2016-11-29 15:17:31 -0800 | [diff] [blame] | 1960 | src/core/ext/transport/chttp2/client/chttp2_connector.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1961 | src/core/ext/filters/client_channel/channel_connectivity.c |
| 1962 | src/core/ext/filters/client_channel/client_channel.c |
| 1963 | src/core/ext/filters/client_channel/client_channel_factory.c |
| 1964 | src/core/ext/filters/client_channel/client_channel_plugin.c |
| 1965 | src/core/ext/filters/client_channel/connector.c |
| 1966 | src/core/ext/filters/client_channel/http_connect_handshaker.c |
| 1967 | src/core/ext/filters/client_channel/http_proxy.c |
| 1968 | src/core/ext/filters/client_channel/lb_policy.c |
| 1969 | src/core/ext/filters/client_channel/lb_policy_factory.c |
| 1970 | src/core/ext/filters/client_channel/lb_policy_registry.c |
| 1971 | src/core/ext/filters/client_channel/parse_address.c |
| 1972 | src/core/ext/filters/client_channel/proxy_mapper.c |
| 1973 | src/core/ext/filters/client_channel/proxy_mapper_registry.c |
| 1974 | src/core/ext/filters/client_channel/resolver.c |
| 1975 | src/core/ext/filters/client_channel/resolver_factory.c |
| 1976 | src/core/ext/filters/client_channel/resolver_registry.c |
| 1977 | src/core/ext/filters/client_channel/retry_throttle.c |
| 1978 | src/core/ext/filters/client_channel/subchannel.c |
| 1979 | src/core/ext/filters/client_channel/subchannel_index.c |
| 1980 | src/core/ext/filters/client_channel/uri_parser.c |
| 1981 | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.c |
| 1982 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.c |
| 1983 | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.c |
| 1984 | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.c |
| 1985 | src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.c |
| 1986 | src/core/ext/filters/load_reporting/load_reporting.c |
| 1987 | src/core/ext/filters/load_reporting/load_reporting_filter.c |
| 1988 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c |
| 1989 | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.c |
| 1990 | src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c |
| 1991 | 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] | 1992 | third_party/nanopb/pb_common.c |
| 1993 | third_party/nanopb/pb_decode.c |
| 1994 | third_party/nanopb/pb_encode.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 1995 | src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.c |
| 1996 | src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.c |
Alistair Veitch | 3abd27e | 2016-07-21 17:29:04 -0700 | [diff] [blame] | 1997 | src/core/ext/census/base_resources.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1998 | src/core/ext/census/context.c |
| 1999 | src/core/ext/census/gen/census.pb.c |
Alistair Veitch | a0c69f9 | 2016-08-31 12:01:27 -0700 | [diff] [blame] | 2000 | src/core/ext/census/gen/trace_context.pb.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2001 | src/core/ext/census/grpc_context.c |
| 2002 | src/core/ext/census/grpc_filter.c |
| 2003 | src/core/ext/census/grpc_plugin.c |
| 2004 | src/core/ext/census/initialize.c |
| 2005 | src/core/ext/census/mlog.c |
| 2006 | src/core/ext/census/operation.c |
| 2007 | src/core/ext/census/placeholders.c |
Alistair Veitch | 3abd27e | 2016-07-21 17:29:04 -0700 | [diff] [blame] | 2008 | src/core/ext/census/resource.c |
Vizerai | 12d1fc6 | 2016-09-09 14:22:19 -0700 | [diff] [blame] | 2009 | src/core/ext/census/trace_context.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2010 | src/core/ext/census/tracing.c |
Craig Tiller | 6d4894e | 2017-03-31 17:22:06 -0700 | [diff] [blame] | 2011 | src/core/ext/filters/max_age/max_age_filter.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2012 | src/core/plugin_registry/grpc_unsecure_plugin_registry.c |
| 2013 | ) |
| 2014 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2015 | if(WIN32 AND MSVC) |
| 2016 | set_target_properties(grpc_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_unsecure" |
| 2017 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2018 | ) |
| 2019 | if (gRPC_INSTALL) |
| 2020 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_unsecure.pdb |
| 2021 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 2022 | ) |
| 2023 | endif() |
| 2024 | endif() |
| 2025 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2026 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2027 | target_include_directories(grpc_unsecure |
| 2028 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2029 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 2030 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2031 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2032 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2033 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2034 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 2035 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 2036 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 2037 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2038 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2039 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2040 | ) |
| 2041 | |
| 2042 | target_link_libraries(grpc_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2043 | ${_gRPC_BASELIB_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2044 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2045 | gpr |
| 2046 | ) |
| 2047 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2048 | foreach(_hdr |
| 2049 | include/grpc/byte_buffer.h |
| 2050 | include/grpc/byte_buffer_reader.h |
| 2051 | include/grpc/compression.h |
| 2052 | include/grpc/grpc.h |
| 2053 | include/grpc/grpc_posix.h |
Nicolas "Pixel" Noble | e3e17d3 | 2016-08-20 01:45:32 +0200 | [diff] [blame] | 2054 | include/grpc/grpc_security_constants.h |
David Garcia Quintas | f31f096 | 2017-02-10 14:53:58 -0800 | [diff] [blame] | 2055 | include/grpc/load_reporting.h |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 2056 | include/grpc/slice.h |
| 2057 | include/grpc/slice_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2058 | include/grpc/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2059 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2060 | include/grpc/impl/codegen/compression_types.h |
| 2061 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 2062 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2063 | include/grpc/impl/codegen/grpc_types.h |
| 2064 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2065 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2066 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2067 | include/grpc/impl/codegen/atm.h |
| 2068 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2069 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2070 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 2071 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 2072 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2073 | include/grpc/impl/codegen/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2074 | include/grpc/impl/codegen/sync.h |
| 2075 | include/grpc/impl/codegen/sync_generic.h |
| 2076 | include/grpc/impl/codegen/sync_posix.h |
| 2077 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2078 | include/grpc/census.h |
| 2079 | ) |
| 2080 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2081 | get_filename_component(_path ${_path} PATH) |
| 2082 | install(FILES ${_hdr} |
| 2083 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 2084 | ) |
| 2085 | endforeach() |
| 2086 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2087 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2088 | if (gRPC_INSTALL) |
| 2089 | install(TARGETS grpc_unsecure EXPORT gRPCTargets |
| 2090 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 2091 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2092 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2093 | ) |
| 2094 | endif() |
| 2095 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2096 | if (gRPC_BUILD_TESTS) |
| 2097 | |
| 2098 | add_library(reconnect_server |
| 2099 | test/core/util/reconnect_server.c |
| 2100 | ) |
| 2101 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2102 | if(WIN32 AND MSVC) |
| 2103 | set_target_properties(reconnect_server PROPERTIES COMPILE_PDB_NAME "reconnect_server" |
| 2104 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2105 | ) |
| 2106 | if (gRPC_INSTALL) |
| 2107 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/reconnect_server.pdb |
| 2108 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 2109 | ) |
| 2110 | endif() |
| 2111 | endif() |
| 2112 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2113 | |
| 2114 | target_include_directories(reconnect_server |
| 2115 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2116 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 2117 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2118 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2119 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2120 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2121 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 2122 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 2123 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 2124 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2125 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2126 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2127 | ) |
| 2128 | |
| 2129 | target_link_libraries(reconnect_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2130 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2131 | test_tcp_server |
| 2132 | grpc_test_util |
| 2133 | grpc |
| 2134 | gpr_test_util |
| 2135 | gpr |
| 2136 | ) |
| 2137 | |
| 2138 | |
| 2139 | endif (gRPC_BUILD_TESTS) |
| 2140 | if (gRPC_BUILD_TESTS) |
| 2141 | |
| 2142 | add_library(test_tcp_server |
| 2143 | test/core/util/test_tcp_server.c |
| 2144 | ) |
| 2145 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2146 | if(WIN32 AND MSVC) |
| 2147 | set_target_properties(test_tcp_server PROPERTIES COMPILE_PDB_NAME "test_tcp_server" |
| 2148 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2149 | ) |
| 2150 | if (gRPC_INSTALL) |
| 2151 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/test_tcp_server.pdb |
| 2152 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 2153 | ) |
| 2154 | endif() |
| 2155 | endif() |
| 2156 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2157 | |
| 2158 | target_include_directories(test_tcp_server |
| 2159 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2160 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 2161 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2162 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2163 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2164 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2165 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 2166 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 2167 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 2168 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2169 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2170 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2171 | ) |
| 2172 | |
| 2173 | target_link_libraries(test_tcp_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2174 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2175 | grpc_test_util |
| 2176 | grpc |
| 2177 | gpr_test_util |
| 2178 | gpr |
| 2179 | ) |
| 2180 | |
| 2181 | |
| 2182 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2183 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2184 | add_library(grpc++ |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2185 | src/cpp/client/insecure_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2186 | src/cpp/client/secure_credentials.cc |
| 2187 | src/cpp/common/auth_property_iterator.cc |
| 2188 | src/cpp/common/secure_auth_context.cc |
| 2189 | src/cpp/common/secure_channel_arguments.cc |
| 2190 | src/cpp/common/secure_create_auth_context.cc |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2191 | src/cpp/server/insecure_server_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2192 | src/cpp/server/secure_server_credentials.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2193 | src/cpp/client/channel_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2194 | src/cpp/client/client_context.cc |
| 2195 | src/cpp/client/create_channel.cc |
| 2196 | src/cpp/client/create_channel_internal.cc |
| 2197 | src/cpp/client/create_channel_posix.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2198 | src/cpp/client/credentials_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2199 | src/cpp/client/generic_stub.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2200 | src/cpp/common/channel_arguments.cc |
Mark D. Roth | 4004ac2 | 2016-08-02 10:08:27 -0700 | [diff] [blame] | 2201 | src/cpp/common/channel_filter.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2202 | src/cpp/common/completion_queue_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2203 | src/cpp/common/core_codegen.cc |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2204 | src/cpp/common/resource_quota_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2205 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 2206 | src/cpp/common/version_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2207 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2208 | src/cpp/server/channel_argument_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2209 | src/cpp/server/create_default_thread_pool.cc |
| 2210 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 2211 | src/cpp/server/health/default_health_check_service.cc |
| 2212 | src/cpp/server/health/health.pb.c |
| 2213 | src/cpp/server/health/health_check_service.cc |
| 2214 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2215 | src/cpp/server/server_builder.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2216 | src/cpp/server/server_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2217 | src/cpp/server/server_context.cc |
| 2218 | src/cpp/server/server_credentials.cc |
| 2219 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 8f7739b | 2016-10-13 15:12:55 -0700 | [diff] [blame] | 2220 | src/cpp/thread_manager/thread_manager.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2221 | src/cpp/util/byte_buffer_cc.cc |
| 2222 | src/cpp/util/slice_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2223 | src/cpp/util/status.cc |
| 2224 | src/cpp/util/string_ref.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2225 | src/cpp/util/time_cc.cc |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2226 | src/core/lib/channel/channel_args.c |
| 2227 | src/core/lib/channel/channel_stack.c |
| 2228 | src/core/lib/channel/channel_stack_builder.c |
| 2229 | src/core/lib/channel/compress_filter.c |
| 2230 | src/core/lib/channel/connected_channel.c |
| 2231 | src/core/lib/channel/deadline_filter.c |
| 2232 | src/core/lib/channel/handshaker.c |
Mark D. Roth | 1f0f23c | 2017-01-06 13:07:19 -0800 | [diff] [blame] | 2233 | src/core/lib/channel/handshaker_factory.c |
| 2234 | src/core/lib/channel/handshaker_registry.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2235 | src/core/lib/channel/http_client_filter.c |
| 2236 | src/core/lib/channel/http_server_filter.c |
| 2237 | src/core/lib/channel/message_size_filter.c |
| 2238 | src/core/lib/compression/compression.c |
| 2239 | src/core/lib/compression/message_compress.c |
| 2240 | src/core/lib/debug/trace.c |
| 2241 | src/core/lib/http/format_request.c |
| 2242 | src/core/lib/http/httpcli.c |
| 2243 | src/core/lib/http/parser.c |
| 2244 | src/core/lib/iomgr/closure.c |
| 2245 | src/core/lib/iomgr/combiner.c |
| 2246 | src/core/lib/iomgr/endpoint.c |
| 2247 | src/core/lib/iomgr/endpoint_pair_posix.c |
| 2248 | src/core/lib/iomgr/endpoint_pair_uv.c |
| 2249 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 2250 | src/core/lib/iomgr/error.c |
| 2251 | src/core/lib/iomgr/ev_epoll_linux.c |
| 2252 | src/core/lib/iomgr/ev_poll_posix.c |
| 2253 | src/core/lib/iomgr/ev_posix.c |
| 2254 | src/core/lib/iomgr/exec_ctx.c |
| 2255 | src/core/lib/iomgr/executor.c |
| 2256 | src/core/lib/iomgr/iocp_windows.c |
| 2257 | src/core/lib/iomgr/iomgr.c |
| 2258 | src/core/lib/iomgr/iomgr_posix.c |
| 2259 | src/core/lib/iomgr/iomgr_uv.c |
| 2260 | src/core/lib/iomgr/iomgr_windows.c |
| 2261 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 2262 | src/core/lib/iomgr/lockfree_event.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2263 | src/core/lib/iomgr/network_status_tracker.c |
| 2264 | src/core/lib/iomgr/polling_entity.c |
| 2265 | src/core/lib/iomgr/pollset_set_uv.c |
| 2266 | src/core/lib/iomgr/pollset_set_windows.c |
| 2267 | src/core/lib/iomgr/pollset_uv.c |
| 2268 | src/core/lib/iomgr/pollset_windows.c |
| 2269 | src/core/lib/iomgr/resolve_address_posix.c |
| 2270 | src/core/lib/iomgr/resolve_address_uv.c |
| 2271 | src/core/lib/iomgr/resolve_address_windows.c |
| 2272 | src/core/lib/iomgr/resource_quota.c |
| 2273 | src/core/lib/iomgr/sockaddr_utils.c |
Michael Warres | c46b3eb | 2017-02-22 22:57:04 -0500 | [diff] [blame] | 2274 | src/core/lib/iomgr/socket_factory_posix.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2275 | src/core/lib/iomgr/socket_mutator.c |
| 2276 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 2277 | src/core/lib/iomgr/socket_utils_linux.c |
| 2278 | src/core/lib/iomgr/socket_utils_posix.c |
| 2279 | src/core/lib/iomgr/socket_utils_uv.c |
| 2280 | src/core/lib/iomgr/socket_utils_windows.c |
| 2281 | src/core/lib/iomgr/socket_windows.c |
| 2282 | src/core/lib/iomgr/tcp_client_posix.c |
| 2283 | src/core/lib/iomgr/tcp_client_uv.c |
| 2284 | src/core/lib/iomgr/tcp_client_windows.c |
| 2285 | src/core/lib/iomgr/tcp_posix.c |
| 2286 | src/core/lib/iomgr/tcp_server_posix.c |
Yuchen Zeng | 68745bb | 2017-03-14 17:51:07 -0700 | [diff] [blame] | 2287 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
Yuchen Zeng | 47155ed | 2017-03-13 17:18:07 -0700 | [diff] [blame] | 2288 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 2289 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2290 | src/core/lib/iomgr/tcp_server_uv.c |
| 2291 | src/core/lib/iomgr/tcp_server_windows.c |
| 2292 | src/core/lib/iomgr/tcp_uv.c |
| 2293 | src/core/lib/iomgr/tcp_windows.c |
| 2294 | src/core/lib/iomgr/time_averaged_stats.c |
| 2295 | src/core/lib/iomgr/timer_generic.c |
| 2296 | src/core/lib/iomgr/timer_heap.c |
| 2297 | src/core/lib/iomgr/timer_uv.c |
| 2298 | src/core/lib/iomgr/udp_server.c |
| 2299 | src/core/lib/iomgr/unix_sockets_posix.c |
| 2300 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
| 2301 | src/core/lib/iomgr/wakeup_fd_cv.c |
| 2302 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 2303 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 2304 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 2305 | src/core/lib/iomgr/wakeup_fd_posix.c |
| 2306 | src/core/lib/iomgr/workqueue_uv.c |
| 2307 | src/core/lib/iomgr/workqueue_windows.c |
| 2308 | src/core/lib/json/json.c |
| 2309 | src/core/lib/json/json_reader.c |
| 2310 | src/core/lib/json/json_string.c |
| 2311 | src/core/lib/json/json_writer.c |
Craig Tiller | 29b527f | 2017-03-30 10:27:20 -0700 | [diff] [blame] | 2312 | src/core/lib/slice/b64.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2313 | src/core/lib/slice/percent_encoding.c |
| 2314 | src/core/lib/slice/slice.c |
| 2315 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2316 | src/core/lib/slice/slice_hash_table.c |
| 2317 | src/core/lib/slice/slice_intern.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2318 | src/core/lib/slice/slice_string_helpers.c |
| 2319 | src/core/lib/surface/alarm.c |
| 2320 | src/core/lib/surface/api_trace.c |
| 2321 | src/core/lib/surface/byte_buffer.c |
| 2322 | src/core/lib/surface/byte_buffer_reader.c |
| 2323 | src/core/lib/surface/call.c |
| 2324 | src/core/lib/surface/call_details.c |
| 2325 | src/core/lib/surface/call_log_batch.c |
| 2326 | src/core/lib/surface/channel.c |
| 2327 | src/core/lib/surface/channel_init.c |
| 2328 | src/core/lib/surface/channel_ping.c |
| 2329 | src/core/lib/surface/channel_stack_type.c |
| 2330 | src/core/lib/surface/completion_queue.c |
Sree Kuchibhotla | bf18428 | 2017-03-21 15:18:58 -0700 | [diff] [blame] | 2331 | src/core/lib/surface/completion_queue_factory.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2332 | src/core/lib/surface/event_string.c |
| 2333 | src/core/lib/surface/lame_client.c |
| 2334 | src/core/lib/surface/metadata_array.c |
| 2335 | src/core/lib/surface/server.c |
| 2336 | src/core/lib/surface/validate_metadata.c |
| 2337 | src/core/lib/surface/version.c |
Craig Tiller | d425712 | 2017-01-13 09:33:57 -0800 | [diff] [blame] | 2338 | src/core/lib/transport/bdp_estimator.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2339 | src/core/lib/transport/byte_stream.c |
| 2340 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2341 | src/core/lib/transport/error_utils.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2342 | src/core/lib/transport/metadata.c |
| 2343 | src/core/lib/transport/metadata_batch.c |
| 2344 | src/core/lib/transport/pid_controller.c |
| 2345 | src/core/lib/transport/service_config.c |
| 2346 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2347 | src/core/lib/transport/status_conversion.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2348 | src/core/lib/transport/timeout_encoding.c |
| 2349 | src/core/lib/transport/transport.c |
| 2350 | src/core/lib/transport/transport_op_string.c |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2351 | third_party/nanopb/pb_common.c |
| 2352 | third_party/nanopb/pb_decode.c |
| 2353 | third_party/nanopb/pb_encode.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2354 | src/cpp/codegen/codegen_init.cc |
| 2355 | ) |
| 2356 | |
| 2357 | if(WIN32 AND MSVC) |
| 2358 | set_target_properties(grpc++ PROPERTIES COMPILE_PDB_NAME "grpc++" |
| 2359 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2360 | ) |
| 2361 | if (gRPC_INSTALL) |
| 2362 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++.pdb |
| 2363 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 2364 | ) |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2365 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2366 | endif() |
| 2367 | |
| 2368 | |
| 2369 | target_include_directories(grpc++ |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2370 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2371 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 2372 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2373 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2374 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 2375 | PRIVATE ${BENCHMARK}/include |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2376 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 2377 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 2378 | PRIVATE ${CARES_INCLUDE_DIR} |
| 2379 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 2380 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 2381 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2382 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 2383 | ) |
| 2384 | |
| 2385 | target_link_libraries(grpc++ |
| 2386 | ${_gRPC_BASELIB_LIBRARIES} |
| 2387 | ${_gRPC_SSL_LIBRARIES} |
| 2388 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2389 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 2390 | grpc |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2391 | gpr |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2392 | ) |
| 2393 | |
| 2394 | foreach(_hdr |
| 2395 | include/grpc++/alarm.h |
| 2396 | include/grpc++/channel.h |
| 2397 | include/grpc++/client_context.h |
| 2398 | include/grpc++/completion_queue.h |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2399 | include/grpc++/create_channel.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2400 | include/grpc++/create_channel_posix.h |
| 2401 | include/grpc++/ext/health_check_service_server_builder_option.h |
| 2402 | include/grpc++/generic/async_generic_service.h |
| 2403 | include/grpc++/generic/generic_stub.h |
| 2404 | include/grpc++/grpc++.h |
| 2405 | include/grpc++/health_check_service_interface.h |
| 2406 | include/grpc++/impl/call.h |
| 2407 | include/grpc++/impl/channel_argument_option.h |
| 2408 | include/grpc++/impl/client_unary_call.h |
| 2409 | include/grpc++/impl/codegen/core_codegen.h |
| 2410 | include/grpc++/impl/grpc_library.h |
| 2411 | include/grpc++/impl/method_handler_impl.h |
| 2412 | include/grpc++/impl/rpc_method.h |
| 2413 | include/grpc++/impl/rpc_service_method.h |
| 2414 | include/grpc++/impl/serialization_traits.h |
| 2415 | include/grpc++/impl/server_builder_option.h |
| 2416 | include/grpc++/impl/server_builder_plugin.h |
| 2417 | include/grpc++/impl/server_initializer.h |
| 2418 | include/grpc++/impl/service_type.h |
| 2419 | include/grpc++/resource_quota.h |
| 2420 | include/grpc++/security/auth_context.h |
| 2421 | include/grpc++/security/auth_metadata_processor.h |
| 2422 | include/grpc++/security/credentials.h |
| 2423 | include/grpc++/security/server_credentials.h |
| 2424 | include/grpc++/server.h |
| 2425 | include/grpc++/server_builder.h |
| 2426 | include/grpc++/server_context.h |
| 2427 | include/grpc++/server_posix.h |
| 2428 | include/grpc++/support/async_stream.h |
| 2429 | include/grpc++/support/async_unary_call.h |
| 2430 | include/grpc++/support/byte_buffer.h |
| 2431 | include/grpc++/support/channel_arguments.h |
| 2432 | include/grpc++/support/config.h |
| 2433 | include/grpc++/support/slice.h |
| 2434 | include/grpc++/support/status.h |
| 2435 | include/grpc++/support/status_code_enum.h |
| 2436 | include/grpc++/support/string_ref.h |
| 2437 | include/grpc++/support/stub_options.h |
| 2438 | include/grpc++/support/sync_stream.h |
| 2439 | include/grpc++/support/time.h |
| 2440 | include/grpc++/impl/codegen/async_stream.h |
| 2441 | include/grpc++/impl/codegen/async_unary_call.h |
| 2442 | include/grpc++/impl/codegen/call.h |
yang-g | d558149 | 2016-09-06 14:05:53 -0700 | [diff] [blame] | 2443 | include/grpc++/impl/codegen/call_hook.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2444 | include/grpc++/impl/codegen/channel_interface.h |
| 2445 | include/grpc++/impl/codegen/client_context.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2446 | include/grpc++/impl/codegen/client_unary_call.h |
| 2447 | include/grpc++/impl/codegen/completion_queue.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 2448 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 2449 | include/grpc++/impl/codegen/config.h |
| 2450 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 2451 | include/grpc++/impl/codegen/create_auth_context.h |
| 2452 | include/grpc++/impl/codegen/grpc_library.h |
| 2453 | include/grpc++/impl/codegen/metadata_map.h |
| 2454 | include/grpc++/impl/codegen/method_handler_impl.h |
| 2455 | include/grpc++/impl/codegen/rpc_method.h |
| 2456 | include/grpc++/impl/codegen/rpc_service_method.h |
| 2457 | include/grpc++/impl/codegen/security/auth_context.h |
Craig Tiller | 7cdad96 | 2016-11-10 08:37:21 -0800 | [diff] [blame] | 2458 | include/grpc++/impl/codegen/serialization_traits.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 2459 | include/grpc++/impl/codegen/server_context.h |
| 2460 | include/grpc++/impl/codegen/server_interface.h |
| 2461 | include/grpc++/impl/codegen/service_type.h |
| 2462 | include/grpc++/impl/codegen/slice.h |
| 2463 | include/grpc++/impl/codegen/status.h |
| 2464 | include/grpc++/impl/codegen/status_code_enum.h |
| 2465 | include/grpc++/impl/codegen/status_helper.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2466 | include/grpc++/impl/codegen/string_ref.h |
| 2467 | include/grpc++/impl/codegen/stub_options.h |
| 2468 | include/grpc++/impl/codegen/sync_stream.h |
| 2469 | include/grpc++/impl/codegen/time.h |
| 2470 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2471 | include/grpc/impl/codegen/compression_types.h |
| 2472 | include/grpc/impl/codegen/connectivity_state.h |
| 2473 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 2474 | include/grpc/impl/codegen/grpc_types.h |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2475 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2476 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2477 | include/grpc/impl/codegen/status.h |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2478 | include/grpc/impl/codegen/atm.h |
| 2479 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2480 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2481 | include/grpc/impl/codegen/atm_windows.h |
| 2482 | include/grpc/impl/codegen/gpr_slice.h |
| 2483 | include/grpc/impl/codegen/gpr_types.h |
| 2484 | include/grpc/impl/codegen/port_platform.h |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 2485 | include/grpc/impl/codegen/sync.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2486 | include/grpc/impl/codegen/sync_generic.h |
| 2487 | include/grpc/impl/codegen/sync_posix.h |
| 2488 | include/grpc/impl/codegen/sync_windows.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2489 | include/grpc/byte_buffer.h |
| 2490 | include/grpc/byte_buffer_reader.h |
| 2491 | include/grpc/compression.h |
| 2492 | include/grpc/grpc.h |
| 2493 | include/grpc/grpc_posix.h |
| 2494 | include/grpc/grpc_security_constants.h |
| 2495 | include/grpc/load_reporting.h |
| 2496 | include/grpc/slice.h |
| 2497 | include/grpc/slice_buffer.h |
| 2498 | include/grpc/status.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2499 | include/grpc++/impl/codegen/proto_utils.h |
| 2500 | include/grpc++/impl/codegen/config_protobuf.h |
| 2501 | ) |
| 2502 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2503 | get_filename_component(_path ${_path} PATH) |
| 2504 | install(FILES ${_hdr} |
| 2505 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 2506 | ) |
| 2507 | endforeach() |
| 2508 | |
| 2509 | |
| 2510 | if (gRPC_INSTALL) |
| 2511 | install(TARGETS grpc++ EXPORT gRPCTargets |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 2512 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2513 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 2514 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2515 | ) |
| 2516 | endif() |
| 2517 | |
| 2518 | |
| 2519 | add_library(grpc++_cronet |
| 2520 | src/cpp/client/cronet_credentials.cc |
| 2521 | src/cpp/client/insecure_credentials.cc |
| 2522 | src/cpp/common/insecure_create_auth_context.cc |
Sree Kuchibhotla | 33d5494 | 2016-10-25 10:03:52 -0700 | [diff] [blame] | 2523 | src/cpp/server/insecure_server_credentials.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2524 | src/cpp/client/channel_cc.cc |
| 2525 | src/cpp/client/client_context.cc |
| 2526 | src/cpp/client/create_channel.cc |
| 2527 | src/cpp/client/create_channel_internal.cc |
| 2528 | src/cpp/client/create_channel_posix.cc |
| 2529 | src/cpp/client/credentials_cc.cc |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2530 | src/cpp/client/generic_stub.cc |
| 2531 | src/cpp/common/channel_arguments.cc |
| 2532 | src/cpp/common/channel_filter.cc |
| 2533 | src/cpp/common/completion_queue_cc.cc |
| 2534 | src/cpp/common/core_codegen.cc |
| 2535 | src/cpp/common/resource_quota_cc.cc |
| 2536 | src/cpp/common/rpc_method.cc |
| 2537 | src/cpp/common/version_cc.cc |
| 2538 | src/cpp/server/async_generic_service.cc |
| 2539 | src/cpp/server/channel_argument_option.cc |
| 2540 | src/cpp/server/create_default_thread_pool.cc |
| 2541 | src/cpp/server/dynamic_thread_pool.cc |
| 2542 | src/cpp/server/health/default_health_check_service.cc |
| 2543 | src/cpp/server/health/health.pb.c |
| 2544 | src/cpp/server/health/health_check_service.cc |
| 2545 | src/cpp/server/health/health_check_service_server_builder_option.cc |
| 2546 | src/cpp/server/server_builder.cc |
| 2547 | src/cpp/server/server_cc.cc |
| 2548 | src/cpp/server/server_context.cc |
| 2549 | src/cpp/server/server_credentials.cc |
| 2550 | src/cpp/server/server_posix.cc |
| 2551 | src/cpp/thread_manager/thread_manager.cc |
| 2552 | src/cpp/util/byte_buffer_cc.cc |
| 2553 | src/cpp/util/slice_cc.cc |
| 2554 | src/cpp/util/status.cc |
| 2555 | src/cpp/util/string_ref.cc |
| 2556 | src/cpp/util/time_cc.cc |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2557 | src/core/lib/channel/channel_args.c |
| 2558 | src/core/lib/channel/channel_stack.c |
| 2559 | src/core/lib/channel/channel_stack_builder.c |
| 2560 | src/core/lib/channel/compress_filter.c |
| 2561 | src/core/lib/channel/connected_channel.c |
| 2562 | src/core/lib/channel/deadline_filter.c |
| 2563 | src/core/lib/channel/handshaker.c |
| 2564 | src/core/lib/channel/handshaker_factory.c |
| 2565 | src/core/lib/channel/handshaker_registry.c |
| 2566 | src/core/lib/channel/http_client_filter.c |
| 2567 | src/core/lib/channel/http_server_filter.c |
| 2568 | src/core/lib/channel/message_size_filter.c |
| 2569 | src/core/lib/compression/compression.c |
| 2570 | src/core/lib/compression/message_compress.c |
| 2571 | src/core/lib/debug/trace.c |
| 2572 | src/core/lib/http/format_request.c |
| 2573 | src/core/lib/http/httpcli.c |
| 2574 | src/core/lib/http/parser.c |
| 2575 | src/core/lib/iomgr/closure.c |
| 2576 | src/core/lib/iomgr/combiner.c |
| 2577 | src/core/lib/iomgr/endpoint.c |
| 2578 | src/core/lib/iomgr/endpoint_pair_posix.c |
| 2579 | src/core/lib/iomgr/endpoint_pair_uv.c |
| 2580 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 2581 | src/core/lib/iomgr/error.c |
| 2582 | src/core/lib/iomgr/ev_epoll_linux.c |
| 2583 | src/core/lib/iomgr/ev_poll_posix.c |
| 2584 | src/core/lib/iomgr/ev_posix.c |
| 2585 | src/core/lib/iomgr/exec_ctx.c |
| 2586 | src/core/lib/iomgr/executor.c |
| 2587 | src/core/lib/iomgr/iocp_windows.c |
| 2588 | src/core/lib/iomgr/iomgr.c |
| 2589 | src/core/lib/iomgr/iomgr_posix.c |
| 2590 | src/core/lib/iomgr/iomgr_uv.c |
| 2591 | src/core/lib/iomgr/iomgr_windows.c |
| 2592 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 2593 | src/core/lib/iomgr/lockfree_event.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2594 | src/core/lib/iomgr/network_status_tracker.c |
| 2595 | src/core/lib/iomgr/polling_entity.c |
| 2596 | src/core/lib/iomgr/pollset_set_uv.c |
| 2597 | src/core/lib/iomgr/pollset_set_windows.c |
| 2598 | src/core/lib/iomgr/pollset_uv.c |
| 2599 | src/core/lib/iomgr/pollset_windows.c |
| 2600 | src/core/lib/iomgr/resolve_address_posix.c |
| 2601 | src/core/lib/iomgr/resolve_address_uv.c |
| 2602 | src/core/lib/iomgr/resolve_address_windows.c |
| 2603 | src/core/lib/iomgr/resource_quota.c |
| 2604 | src/core/lib/iomgr/sockaddr_utils.c |
| 2605 | src/core/lib/iomgr/socket_factory_posix.c |
| 2606 | src/core/lib/iomgr/socket_mutator.c |
| 2607 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 2608 | src/core/lib/iomgr/socket_utils_linux.c |
| 2609 | src/core/lib/iomgr/socket_utils_posix.c |
| 2610 | src/core/lib/iomgr/socket_utils_uv.c |
| 2611 | src/core/lib/iomgr/socket_utils_windows.c |
| 2612 | src/core/lib/iomgr/socket_windows.c |
| 2613 | src/core/lib/iomgr/tcp_client_posix.c |
| 2614 | src/core/lib/iomgr/tcp_client_uv.c |
| 2615 | src/core/lib/iomgr/tcp_client_windows.c |
| 2616 | src/core/lib/iomgr/tcp_posix.c |
| 2617 | src/core/lib/iomgr/tcp_server_posix.c |
| 2618 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
| 2619 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 2620 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
| 2621 | src/core/lib/iomgr/tcp_server_uv.c |
| 2622 | src/core/lib/iomgr/tcp_server_windows.c |
| 2623 | src/core/lib/iomgr/tcp_uv.c |
| 2624 | src/core/lib/iomgr/tcp_windows.c |
| 2625 | src/core/lib/iomgr/time_averaged_stats.c |
| 2626 | src/core/lib/iomgr/timer_generic.c |
| 2627 | src/core/lib/iomgr/timer_heap.c |
| 2628 | src/core/lib/iomgr/timer_uv.c |
| 2629 | src/core/lib/iomgr/udp_server.c |
| 2630 | src/core/lib/iomgr/unix_sockets_posix.c |
| 2631 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
| 2632 | src/core/lib/iomgr/wakeup_fd_cv.c |
| 2633 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 2634 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 2635 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 2636 | src/core/lib/iomgr/wakeup_fd_posix.c |
| 2637 | src/core/lib/iomgr/workqueue_uv.c |
| 2638 | src/core/lib/iomgr/workqueue_windows.c |
| 2639 | src/core/lib/json/json.c |
| 2640 | src/core/lib/json/json_reader.c |
| 2641 | src/core/lib/json/json_string.c |
| 2642 | src/core/lib/json/json_writer.c |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2643 | src/core/lib/slice/b64.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2644 | src/core/lib/slice/percent_encoding.c |
| 2645 | src/core/lib/slice/slice.c |
| 2646 | src/core/lib/slice/slice_buffer.c |
| 2647 | src/core/lib/slice/slice_hash_table.c |
| 2648 | src/core/lib/slice/slice_intern.c |
| 2649 | src/core/lib/slice/slice_string_helpers.c |
| 2650 | src/core/lib/surface/alarm.c |
| 2651 | src/core/lib/surface/api_trace.c |
| 2652 | src/core/lib/surface/byte_buffer.c |
| 2653 | src/core/lib/surface/byte_buffer_reader.c |
| 2654 | src/core/lib/surface/call.c |
| 2655 | src/core/lib/surface/call_details.c |
| 2656 | src/core/lib/surface/call_log_batch.c |
| 2657 | src/core/lib/surface/channel.c |
| 2658 | src/core/lib/surface/channel_init.c |
| 2659 | src/core/lib/surface/channel_ping.c |
| 2660 | src/core/lib/surface/channel_stack_type.c |
| 2661 | src/core/lib/surface/completion_queue.c |
| 2662 | src/core/lib/surface/completion_queue_factory.c |
| 2663 | src/core/lib/surface/event_string.c |
| 2664 | src/core/lib/surface/lame_client.c |
| 2665 | src/core/lib/surface/metadata_array.c |
| 2666 | src/core/lib/surface/server.c |
| 2667 | src/core/lib/surface/validate_metadata.c |
| 2668 | src/core/lib/surface/version.c |
| 2669 | src/core/lib/transport/bdp_estimator.c |
| 2670 | src/core/lib/transport/byte_stream.c |
| 2671 | src/core/lib/transport/connectivity_state.c |
| 2672 | src/core/lib/transport/error_utils.c |
| 2673 | src/core/lib/transport/metadata.c |
| 2674 | src/core/lib/transport/metadata_batch.c |
| 2675 | src/core/lib/transport/pid_controller.c |
| 2676 | src/core/lib/transport/service_config.c |
| 2677 | src/core/lib/transport/static_metadata.c |
| 2678 | src/core/lib/transport/status_conversion.c |
| 2679 | src/core/lib/transport/timeout_encoding.c |
| 2680 | src/core/lib/transport/transport.c |
| 2681 | src/core/lib/transport/transport_op_string.c |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2682 | third_party/nanopb/pb_common.c |
| 2683 | third_party/nanopb/pb_decode.c |
| 2684 | third_party/nanopb/pb_encode.c |
| 2685 | src/cpp/codegen/codegen_init.cc |
| 2686 | src/core/ext/transport/chttp2/client/insecure/channel_create.c |
| 2687 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c |
| 2688 | src/core/ext/transport/chttp2/client/chttp2_connector.c |
| 2689 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 2690 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 2691 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 2692 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
| 2693 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 2694 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 2695 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 2696 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 2697 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 2698 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 2699 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 2700 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 2701 | src/core/ext/transport/chttp2/transport/hpack_table.c |
Craig Tiller | c8f62bc | 2017-04-03 16:25:45 -0700 | [diff] [blame] | 2702 | src/core/ext/transport/chttp2/transport/http2_settings.c |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2703 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 2704 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 2705 | src/core/ext/transport/chttp2/transport/parsing.c |
| 2706 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 2707 | src/core/ext/transport/chttp2/transport/stream_map.c |
| 2708 | src/core/ext/transport/chttp2/transport/varint.c |
| 2709 | src/core/ext/transport/chttp2/transport/writing.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2710 | src/core/ext/transport/chttp2/alpn/alpn.c |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 2711 | src/core/ext/filters/client_channel/channel_connectivity.c |
| 2712 | src/core/ext/filters/client_channel/client_channel.c |
| 2713 | src/core/ext/filters/client_channel/client_channel_factory.c |
| 2714 | src/core/ext/filters/client_channel/client_channel_plugin.c |
| 2715 | src/core/ext/filters/client_channel/connector.c |
| 2716 | src/core/ext/filters/client_channel/http_connect_handshaker.c |
| 2717 | src/core/ext/filters/client_channel/http_proxy.c |
| 2718 | src/core/ext/filters/client_channel/lb_policy.c |
| 2719 | src/core/ext/filters/client_channel/lb_policy_factory.c |
| 2720 | src/core/ext/filters/client_channel/lb_policy_registry.c |
| 2721 | src/core/ext/filters/client_channel/parse_address.c |
| 2722 | src/core/ext/filters/client_channel/proxy_mapper.c |
| 2723 | src/core/ext/filters/client_channel/proxy_mapper_registry.c |
| 2724 | src/core/ext/filters/client_channel/resolver.c |
| 2725 | src/core/ext/filters/client_channel/resolver_factory.c |
| 2726 | src/core/ext/filters/client_channel/resolver_registry.c |
| 2727 | src/core/ext/filters/client_channel/retry_throttle.c |
| 2728 | src/core/ext/filters/client_channel/subchannel.c |
| 2729 | src/core/ext/filters/client_channel/subchannel_index.c |
| 2730 | src/core/ext/filters/client_channel/uri_parser.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2731 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.c |
| 2732 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c |
Mark D. Roth | 7140382 | 2016-12-02 10:51:39 -0800 | [diff] [blame] | 2733 | src/core/ext/transport/chttp2/server/chttp2_server.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2734 | src/core/ext/census/base_resources.c |
| 2735 | src/core/ext/census/context.c |
| 2736 | src/core/ext/census/gen/census.pb.c |
| 2737 | src/core/ext/census/gen/trace_context.pb.c |
| 2738 | src/core/ext/census/grpc_context.c |
| 2739 | src/core/ext/census/grpc_filter.c |
| 2740 | src/core/ext/census/grpc_plugin.c |
| 2741 | src/core/ext/census/initialize.c |
| 2742 | src/core/ext/census/mlog.c |
| 2743 | src/core/ext/census/operation.c |
| 2744 | src/core/ext/census/placeholders.c |
| 2745 | src/core/ext/census/resource.c |
| 2746 | src/core/ext/census/trace_context.c |
| 2747 | src/core/ext/census/tracing.c |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2748 | ) |
| 2749 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2750 | if(WIN32 AND MSVC) |
| 2751 | set_target_properties(grpc++_cronet PROPERTIES COMPILE_PDB_NAME "grpc++_cronet" |
| 2752 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2753 | ) |
| 2754 | if (gRPC_INSTALL) |
| 2755 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_cronet.pdb |
| 2756 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 2757 | ) |
| 2758 | endif() |
| 2759 | endif() |
| 2760 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2761 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2762 | target_include_directories(grpc++_cronet |
| 2763 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2764 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 2765 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2766 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2767 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2768 | PRIVATE ${BENCHMARK}/include |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2769 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 2770 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | f1cd449 | 2016-10-25 11:26:17 -0700 | [diff] [blame] | 2771 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 2772 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 2773 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2774 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2775 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2776 | ) |
| 2777 | |
| 2778 | target_link_libraries(grpc++_cronet |
| 2779 | ${_gRPC_BASELIB_LIBRARIES} |
| 2780 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2781 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2782 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2783 | gpr |
| 2784 | grpc_cronet |
| 2785 | ) |
| 2786 | |
| 2787 | foreach(_hdr |
| 2788 | include/grpc++/alarm.h |
| 2789 | include/grpc++/channel.h |
| 2790 | include/grpc++/client_context.h |
| 2791 | include/grpc++/completion_queue.h |
| 2792 | include/grpc++/create_channel.h |
| 2793 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 2794 | include/grpc++/ext/health_check_service_server_builder_option.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2795 | include/grpc++/generic/async_generic_service.h |
| 2796 | include/grpc++/generic/generic_stub.h |
| 2797 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 2798 | include/grpc++/health_check_service_interface.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2799 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 2800 | include/grpc++/impl/channel_argument_option.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2801 | include/grpc++/impl/client_unary_call.h |
| 2802 | include/grpc++/impl/codegen/core_codegen.h |
| 2803 | include/grpc++/impl/grpc_library.h |
| 2804 | include/grpc++/impl/method_handler_impl.h |
| 2805 | include/grpc++/impl/rpc_method.h |
| 2806 | include/grpc++/impl/rpc_service_method.h |
| 2807 | include/grpc++/impl/serialization_traits.h |
| 2808 | include/grpc++/impl/server_builder_option.h |
| 2809 | include/grpc++/impl/server_builder_plugin.h |
| 2810 | include/grpc++/impl/server_initializer.h |
| 2811 | include/grpc++/impl/service_type.h |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 2812 | include/grpc++/resource_quota.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2813 | include/grpc++/security/auth_context.h |
| 2814 | include/grpc++/security/auth_metadata_processor.h |
| 2815 | include/grpc++/security/credentials.h |
| 2816 | include/grpc++/security/server_credentials.h |
| 2817 | include/grpc++/server.h |
| 2818 | include/grpc++/server_builder.h |
| 2819 | include/grpc++/server_context.h |
| 2820 | include/grpc++/server_posix.h |
| 2821 | include/grpc++/support/async_stream.h |
| 2822 | include/grpc++/support/async_unary_call.h |
| 2823 | include/grpc++/support/byte_buffer.h |
| 2824 | include/grpc++/support/channel_arguments.h |
| 2825 | include/grpc++/support/config.h |
| 2826 | include/grpc++/support/slice.h |
| 2827 | include/grpc++/support/status.h |
| 2828 | include/grpc++/support/status_code_enum.h |
| 2829 | include/grpc++/support/string_ref.h |
| 2830 | include/grpc++/support/stub_options.h |
| 2831 | include/grpc++/support/sync_stream.h |
| 2832 | include/grpc++/support/time.h |
| 2833 | include/grpc++/impl/codegen/async_stream.h |
| 2834 | include/grpc++/impl/codegen/async_unary_call.h |
| 2835 | include/grpc++/impl/codegen/call.h |
| 2836 | include/grpc++/impl/codegen/call_hook.h |
| 2837 | include/grpc++/impl/codegen/channel_interface.h |
| 2838 | include/grpc++/impl/codegen/client_context.h |
| 2839 | include/grpc++/impl/codegen/client_unary_call.h |
| 2840 | include/grpc++/impl/codegen/completion_queue.h |
| 2841 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 2842 | include/grpc++/impl/codegen/config.h |
| 2843 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 2844 | include/grpc++/impl/codegen/create_auth_context.h |
| 2845 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 2846 | include/grpc++/impl/codegen/metadata_map.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2847 | include/grpc++/impl/codegen/method_handler_impl.h |
| 2848 | include/grpc++/impl/codegen/rpc_method.h |
| 2849 | include/grpc++/impl/codegen/rpc_service_method.h |
| 2850 | include/grpc++/impl/codegen/security/auth_context.h |
| 2851 | include/grpc++/impl/codegen/serialization_traits.h |
| 2852 | include/grpc++/impl/codegen/server_context.h |
| 2853 | include/grpc++/impl/codegen/server_interface.h |
| 2854 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2855 | include/grpc++/impl/codegen/slice.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2856 | include/grpc++/impl/codegen/status.h |
| 2857 | include/grpc++/impl/codegen/status_code_enum.h |
| 2858 | include/grpc++/impl/codegen/status_helper.h |
| 2859 | include/grpc++/impl/codegen/string_ref.h |
| 2860 | include/grpc++/impl/codegen/stub_options.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2861 | include/grpc++/impl/codegen/sync_stream.h |
| 2862 | include/grpc++/impl/codegen/time.h |
| 2863 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2864 | include/grpc/impl/codegen/compression_types.h |
| 2865 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 2866 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2867 | include/grpc/impl/codegen/grpc_types.h |
| 2868 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 2869 | include/grpc/impl/codegen/slice.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2870 | include/grpc/impl/codegen/status.h |
| 2871 | include/grpc/impl/codegen/atm.h |
| 2872 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2873 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2874 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 2875 | include/grpc/impl/codegen/gpr_slice.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2876 | include/grpc/impl/codegen/gpr_types.h |
| 2877 | include/grpc/impl/codegen/port_platform.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2878 | include/grpc/impl/codegen/sync.h |
| 2879 | include/grpc/impl/codegen/sync_generic.h |
| 2880 | include/grpc/impl/codegen/sync_posix.h |
| 2881 | include/grpc/impl/codegen/sync_windows.h |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2882 | include/grpc/byte_buffer.h |
| 2883 | include/grpc/byte_buffer_reader.h |
| 2884 | include/grpc/compression.h |
| 2885 | include/grpc/grpc.h |
| 2886 | include/grpc/grpc_posix.h |
| 2887 | include/grpc/grpc_security_constants.h |
David Garcia Quintas | f31f096 | 2017-02-10 14:53:58 -0800 | [diff] [blame] | 2888 | include/grpc/load_reporting.h |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2889 | include/grpc/slice.h |
| 2890 | include/grpc/slice_buffer.h |
| 2891 | include/grpc/status.h |
| 2892 | include/grpc/census.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2893 | ) |
| 2894 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2895 | get_filename_component(_path ${_path} PATH) |
| 2896 | install(FILES ${_hdr} |
| 2897 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 2898 | ) |
| 2899 | endforeach() |
| 2900 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2901 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2902 | if (gRPC_INSTALL) |
| 2903 | install(TARGETS grpc++_cronet EXPORT gRPCTargets |
| 2904 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 2905 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2906 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2907 | ) |
| 2908 | endif() |
| 2909 | |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 2910 | |
| 2911 | add_library(grpc++_error_details |
| 2912 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.cc |
| 2913 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.cc |
| 2914 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.pb.h |
| 2915 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.h |
| 2916 | src/cpp/util/error_details.cc |
| 2917 | ) |
| 2918 | |
| 2919 | if(WIN32 AND MSVC) |
| 2920 | set_target_properties(grpc++_error_details PROPERTIES COMPILE_PDB_NAME "grpc++_error_details" |
| 2921 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2922 | ) |
| 2923 | if (gRPC_INSTALL) |
| 2924 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_error_details.pdb |
| 2925 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 2926 | ) |
| 2927 | endif() |
| 2928 | endif() |
| 2929 | |
| 2930 | protobuf_generate_grpc_cpp( |
| 2931 | src/proto/grpc/status/status.proto |
| 2932 | ) |
| 2933 | |
| 2934 | target_include_directories(grpc++_error_details |
| 2935 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2936 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 2937 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2938 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2939 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 2940 | PRIVATE ${BENCHMARK}/include |
| 2941 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 2942 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 2943 | PRIVATE ${CARES_INCLUDE_DIR} |
| 2944 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 2945 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 2946 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2947 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 2948 | ) |
| 2949 | |
| 2950 | target_link_libraries(grpc++_error_details |
| 2951 | ${_gRPC_BASELIB_LIBRARIES} |
| 2952 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2953 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 2954 | grpc++ |
| 2955 | ) |
| 2956 | |
| 2957 | foreach(_hdr |
| 2958 | include/grpc++/support/error_details.h |
| 2959 | ) |
| 2960 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2961 | get_filename_component(_path ${_path} PATH) |
| 2962 | install(FILES ${_hdr} |
| 2963 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 2964 | ) |
| 2965 | endforeach() |
| 2966 | |
| 2967 | |
| 2968 | if (gRPC_INSTALL) |
| 2969 | install(TARGETS grpc++_error_details EXPORT gRPCTargets |
| 2970 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 2971 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2972 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2973 | ) |
| 2974 | endif() |
| 2975 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2976 | if (gRPC_BUILD_TESTS) |
| 2977 | |
| 2978 | add_library(grpc++_proto_reflection_desc_db |
| 2979 | test/cpp/util/proto_reflection_descriptor_database.cc |
| 2980 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 2981 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 2982 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 2983 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 2984 | ) |
| 2985 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 2986 | if(WIN32 AND MSVC) |
| 2987 | set_target_properties(grpc++_proto_reflection_desc_db PROPERTIES COMPILE_PDB_NAME "grpc++_proto_reflection_desc_db" |
| 2988 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 2989 | ) |
| 2990 | if (gRPC_INSTALL) |
| 2991 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_proto_reflection_desc_db.pdb |
| 2992 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 2993 | ) |
| 2994 | endif() |
| 2995 | endif() |
| 2996 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2997 | protobuf_generate_grpc_cpp( |
| 2998 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 2999 | ) |
| 3000 | |
| 3001 | target_include_directories(grpc++_proto_reflection_desc_db |
| 3002 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3003 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3004 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3005 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3006 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3007 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3008 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3009 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3010 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3011 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3012 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3013 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3014 | PRIVATE third_party/googletest/googletest/include |
| 3015 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3016 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3017 | ) |
| 3018 | |
| 3019 | target_link_libraries(grpc++_proto_reflection_desc_db |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3020 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3021 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3022 | grpc++ |
| 3023 | ) |
| 3024 | |
| 3025 | foreach(_hdr |
| 3026 | include/grpc++/impl/codegen/config_protobuf.h |
| 3027 | ) |
| 3028 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3029 | get_filename_component(_path ${_path} PATH) |
| 3030 | install(FILES ${_hdr} |
| 3031 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 3032 | ) |
| 3033 | endforeach() |
| 3034 | |
| 3035 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3036 | |
| 3037 | add_library(grpc++_reflection |
| 3038 | src/cpp/ext/proto_server_reflection.cc |
| 3039 | src/cpp/ext/proto_server_reflection_plugin.cc |
| 3040 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3041 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3042 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3043 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3044 | ) |
| 3045 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3046 | if(WIN32 AND MSVC) |
| 3047 | set_target_properties(grpc++_reflection PROPERTIES COMPILE_PDB_NAME "grpc++_reflection" |
| 3048 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3049 | ) |
| 3050 | if (gRPC_INSTALL) |
| 3051 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_reflection.pdb |
| 3052 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 3053 | ) |
| 3054 | endif() |
| 3055 | endif() |
| 3056 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3057 | protobuf_generate_grpc_cpp( |
| 3058 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3059 | ) |
| 3060 | |
| 3061 | target_include_directories(grpc++_reflection |
| 3062 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3063 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3064 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3065 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3066 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3067 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3068 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3069 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3070 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3071 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3072 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3073 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3074 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3075 | ) |
| 3076 | |
| 3077 | target_link_libraries(grpc++_reflection |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3078 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3079 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3080 | grpc++ |
| 3081 | ) |
| 3082 | |
| 3083 | foreach(_hdr |
| 3084 | include/grpc++/ext/proto_server_reflection_plugin.h |
| 3085 | ) |
| 3086 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3087 | get_filename_component(_path ${_path} PATH) |
| 3088 | install(FILES ${_hdr} |
| 3089 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 3090 | ) |
| 3091 | endforeach() |
| 3092 | |
| 3093 | |
| 3094 | if (gRPC_INSTALL) |
| 3095 | install(TARGETS grpc++_reflection EXPORT gRPCTargets |
| 3096 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 3097 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 3098 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 3099 | ) |
| 3100 | endif() |
| 3101 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3102 | if (gRPC_BUILD_TESTS) |
| 3103 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3104 | add_library(grpc++_test_config |
| 3105 | test/cpp/util/test_config_cc.cc |
| 3106 | ) |
| 3107 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3108 | if(WIN32 AND MSVC) |
| 3109 | set_target_properties(grpc++_test_config PROPERTIES COMPILE_PDB_NAME "grpc++_test_config" |
| 3110 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3111 | ) |
| 3112 | if (gRPC_INSTALL) |
| 3113 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_config.pdb |
| 3114 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 3115 | ) |
| 3116 | endif() |
| 3117 | endif() |
| 3118 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3119 | |
| 3120 | target_include_directories(grpc++_test_config |
| 3121 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3122 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3123 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3124 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3125 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3126 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3127 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3128 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3129 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3130 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3131 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3132 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3133 | PRIVATE third_party/googletest/googletest/include |
| 3134 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3135 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3136 | ) |
| 3137 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3138 | target_link_libraries(grpc++_test_config |
| 3139 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3140 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3141 | ) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3142 | |
| 3143 | |
| 3144 | endif (gRPC_BUILD_TESTS) |
| 3145 | if (gRPC_BUILD_TESTS) |
| 3146 | |
| 3147 | add_library(grpc++_test_util |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 3148 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.cc |
| 3149 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.grpc.pb.cc |
| 3150 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/health/v1/health.pb.h |
| 3151 | ${_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] | 3152 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 3153 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 3154 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 3155 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 3156 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 3157 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 3158 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 3159 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 3160 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc |
| 3161 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 3162 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h |
| 3163 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h |
| 3164 | test/cpp/end2end/test_service_impl.cc |
| 3165 | test/cpp/util/byte_buffer_proto_helper.cc |
| 3166 | test/cpp/util/create_test_channel.cc |
| 3167 | test/cpp/util/string_ref_helper.cc |
| 3168 | test/cpp/util/subprocess.cc |
| 3169 | test/cpp/util/test_credentials_provider.cc |
| 3170 | src/cpp/codegen/codegen_init.cc |
| 3171 | ) |
| 3172 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3173 | if(WIN32 AND MSVC) |
| 3174 | set_target_properties(grpc++_test_util PROPERTIES COMPILE_PDB_NAME "grpc++_test_util" |
| 3175 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3176 | ) |
| 3177 | if (gRPC_INSTALL) |
| 3178 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_test_util.pdb |
| 3179 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 3180 | ) |
| 3181 | endif() |
| 3182 | endif() |
| 3183 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3184 | protobuf_generate_grpc_cpp( |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 3185 | src/proto/grpc/health/v1/health.proto |
| 3186 | ) |
| 3187 | protobuf_generate_grpc_cpp( |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3188 | src/proto/grpc/testing/echo_messages.proto |
| 3189 | ) |
| 3190 | protobuf_generate_grpc_cpp( |
| 3191 | src/proto/grpc/testing/echo.proto |
| 3192 | ) |
| 3193 | protobuf_generate_grpc_cpp( |
| 3194 | src/proto/grpc/testing/duplicate/echo_duplicate.proto |
| 3195 | ) |
| 3196 | |
| 3197 | target_include_directories(grpc++_test_util |
| 3198 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3199 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3200 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3201 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3202 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3203 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3204 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3205 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3206 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3207 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3208 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3209 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3210 | PRIVATE third_party/googletest/googletest/include |
| 3211 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3212 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3213 | ) |
| 3214 | |
| 3215 | target_link_libraries(grpc++_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3216 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3217 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3218 | grpc++ |
| 3219 | grpc_test_util |
| 3220 | ) |
| 3221 | |
| 3222 | foreach(_hdr |
| 3223 | include/grpc++/impl/codegen/async_stream.h |
| 3224 | include/grpc++/impl/codegen/async_unary_call.h |
| 3225 | include/grpc++/impl/codegen/call.h |
| 3226 | include/grpc++/impl/codegen/call_hook.h |
| 3227 | include/grpc++/impl/codegen/channel_interface.h |
| 3228 | include/grpc++/impl/codegen/client_context.h |
| 3229 | include/grpc++/impl/codegen/client_unary_call.h |
| 3230 | include/grpc++/impl/codegen/completion_queue.h |
| 3231 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3232 | include/grpc++/impl/codegen/config.h |
| 3233 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3234 | include/grpc++/impl/codegen/create_auth_context.h |
| 3235 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3236 | include/grpc++/impl/codegen/metadata_map.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3237 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3238 | include/grpc++/impl/codegen/rpc_method.h |
| 3239 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3240 | include/grpc++/impl/codegen/security/auth_context.h |
| 3241 | include/grpc++/impl/codegen/serialization_traits.h |
| 3242 | include/grpc++/impl/codegen/server_context.h |
| 3243 | include/grpc++/impl/codegen/server_interface.h |
| 3244 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3245 | include/grpc++/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3246 | include/grpc++/impl/codegen/status.h |
| 3247 | include/grpc++/impl/codegen/status_code_enum.h |
| 3248 | include/grpc++/impl/codegen/status_helper.h |
| 3249 | include/grpc++/impl/codegen/string_ref.h |
| 3250 | include/grpc++/impl/codegen/stub_options.h |
| 3251 | include/grpc++/impl/codegen/sync_stream.h |
| 3252 | include/grpc++/impl/codegen/time.h |
| 3253 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3254 | include/grpc/impl/codegen/compression_types.h |
| 3255 | include/grpc/impl/codegen/connectivity_state.h |
| 3256 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 3257 | include/grpc/impl/codegen/grpc_types.h |
| 3258 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3259 | include/grpc/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3260 | include/grpc/impl/codegen/status.h |
| 3261 | include/grpc/impl/codegen/atm.h |
| 3262 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3263 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3264 | include/grpc/impl/codegen/atm_windows.h |
| 3265 | include/grpc/impl/codegen/gpr_slice.h |
| 3266 | include/grpc/impl/codegen/gpr_types.h |
| 3267 | include/grpc/impl/codegen/port_platform.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3268 | include/grpc/impl/codegen/sync.h |
| 3269 | include/grpc/impl/codegen/sync_generic.h |
| 3270 | include/grpc/impl/codegen/sync_posix.h |
| 3271 | include/grpc/impl/codegen/sync_windows.h |
| 3272 | include/grpc++/impl/codegen/proto_utils.h |
| 3273 | include/grpc++/impl/codegen/config_protobuf.h |
| 3274 | include/grpc++/impl/codegen/thrift_serializer.h |
| 3275 | include/grpc++/impl/codegen/thrift_utils.h |
| 3276 | ) |
| 3277 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3278 | get_filename_component(_path ${_path} PATH) |
| 3279 | install(FILES ${_hdr} |
| 3280 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 3281 | ) |
| 3282 | endforeach() |
| 3283 | |
| 3284 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3285 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3286 | add_library(grpc++_unsecure |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 3287 | src/cpp/client/insecure_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3288 | src/cpp/common/insecure_create_auth_context.cc |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 3289 | src/cpp/server/insecure_server_credentials.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3290 | src/cpp/client/channel_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3291 | src/cpp/client/client_context.cc |
| 3292 | src/cpp/client/create_channel.cc |
| 3293 | src/cpp/client/create_channel_internal.cc |
| 3294 | src/cpp/client/create_channel_posix.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3295 | src/cpp/client/credentials_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3296 | src/cpp/client/generic_stub.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3297 | src/cpp/common/channel_arguments.cc |
Mark D. Roth | 4004ac2 | 2016-08-02 10:08:27 -0700 | [diff] [blame] | 3298 | src/cpp/common/channel_filter.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3299 | src/cpp/common/completion_queue_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3300 | src/cpp/common/core_codegen.cc |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 3301 | src/cpp/common/resource_quota_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3302 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 3303 | src/cpp/common/version_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3304 | src/cpp/server/async_generic_service.cc |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 3305 | src/cpp/server/channel_argument_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3306 | src/cpp/server/create_default_thread_pool.cc |
| 3307 | src/cpp/server/dynamic_thread_pool.cc |
yang-g | c3c475f | 2016-12-27 10:37:26 -0800 | [diff] [blame] | 3308 | src/cpp/server/health/default_health_check_service.cc |
| 3309 | src/cpp/server/health/health.pb.c |
| 3310 | src/cpp/server/health/health_check_service.cc |
| 3311 | src/cpp/server/health/health_check_service_server_builder_option.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3312 | src/cpp/server/server_builder.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3313 | src/cpp/server/server_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3314 | src/cpp/server/server_context.cc |
| 3315 | src/cpp/server/server_credentials.cc |
| 3316 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 8f7739b | 2016-10-13 15:12:55 -0700 | [diff] [blame] | 3317 | src/cpp/thread_manager/thread_manager.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3318 | src/cpp/util/byte_buffer_cc.cc |
| 3319 | src/cpp/util/slice_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3320 | src/cpp/util/status.cc |
| 3321 | src/cpp/util/string_ref.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3322 | src/cpp/util/time_cc.cc |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3323 | src/core/lib/channel/channel_args.c |
| 3324 | src/core/lib/channel/channel_stack.c |
| 3325 | src/core/lib/channel/channel_stack_builder.c |
| 3326 | src/core/lib/channel/compress_filter.c |
| 3327 | src/core/lib/channel/connected_channel.c |
| 3328 | src/core/lib/channel/deadline_filter.c |
| 3329 | src/core/lib/channel/handshaker.c |
| 3330 | src/core/lib/channel/handshaker_factory.c |
| 3331 | src/core/lib/channel/handshaker_registry.c |
| 3332 | src/core/lib/channel/http_client_filter.c |
| 3333 | src/core/lib/channel/http_server_filter.c |
| 3334 | src/core/lib/channel/message_size_filter.c |
| 3335 | src/core/lib/compression/compression.c |
| 3336 | src/core/lib/compression/message_compress.c |
| 3337 | src/core/lib/debug/trace.c |
| 3338 | src/core/lib/http/format_request.c |
| 3339 | src/core/lib/http/httpcli.c |
| 3340 | src/core/lib/http/parser.c |
| 3341 | src/core/lib/iomgr/closure.c |
| 3342 | src/core/lib/iomgr/combiner.c |
| 3343 | src/core/lib/iomgr/endpoint.c |
| 3344 | src/core/lib/iomgr/endpoint_pair_posix.c |
| 3345 | src/core/lib/iomgr/endpoint_pair_uv.c |
| 3346 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 3347 | src/core/lib/iomgr/error.c |
| 3348 | src/core/lib/iomgr/ev_epoll_linux.c |
| 3349 | src/core/lib/iomgr/ev_poll_posix.c |
| 3350 | src/core/lib/iomgr/ev_posix.c |
| 3351 | src/core/lib/iomgr/exec_ctx.c |
| 3352 | src/core/lib/iomgr/executor.c |
| 3353 | src/core/lib/iomgr/iocp_windows.c |
| 3354 | src/core/lib/iomgr/iomgr.c |
| 3355 | src/core/lib/iomgr/iomgr_posix.c |
| 3356 | src/core/lib/iomgr/iomgr_uv.c |
| 3357 | src/core/lib/iomgr/iomgr_windows.c |
| 3358 | src/core/lib/iomgr/load_file.c |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 3359 | src/core/lib/iomgr/lockfree_event.c |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3360 | src/core/lib/iomgr/network_status_tracker.c |
| 3361 | src/core/lib/iomgr/polling_entity.c |
| 3362 | src/core/lib/iomgr/pollset_set_uv.c |
| 3363 | src/core/lib/iomgr/pollset_set_windows.c |
| 3364 | src/core/lib/iomgr/pollset_uv.c |
| 3365 | src/core/lib/iomgr/pollset_windows.c |
| 3366 | src/core/lib/iomgr/resolve_address_posix.c |
| 3367 | src/core/lib/iomgr/resolve_address_uv.c |
| 3368 | src/core/lib/iomgr/resolve_address_windows.c |
| 3369 | src/core/lib/iomgr/resource_quota.c |
| 3370 | src/core/lib/iomgr/sockaddr_utils.c |
| 3371 | src/core/lib/iomgr/socket_factory_posix.c |
| 3372 | src/core/lib/iomgr/socket_mutator.c |
| 3373 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 3374 | src/core/lib/iomgr/socket_utils_linux.c |
| 3375 | src/core/lib/iomgr/socket_utils_posix.c |
| 3376 | src/core/lib/iomgr/socket_utils_uv.c |
| 3377 | src/core/lib/iomgr/socket_utils_windows.c |
| 3378 | src/core/lib/iomgr/socket_windows.c |
| 3379 | src/core/lib/iomgr/tcp_client_posix.c |
| 3380 | src/core/lib/iomgr/tcp_client_uv.c |
| 3381 | src/core/lib/iomgr/tcp_client_windows.c |
| 3382 | src/core/lib/iomgr/tcp_posix.c |
| 3383 | src/core/lib/iomgr/tcp_server_posix.c |
| 3384 | src/core/lib/iomgr/tcp_server_utils_posix_common.c |
| 3385 | src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c |
| 3386 | src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c |
| 3387 | src/core/lib/iomgr/tcp_server_uv.c |
| 3388 | src/core/lib/iomgr/tcp_server_windows.c |
| 3389 | src/core/lib/iomgr/tcp_uv.c |
| 3390 | src/core/lib/iomgr/tcp_windows.c |
| 3391 | src/core/lib/iomgr/time_averaged_stats.c |
| 3392 | src/core/lib/iomgr/timer_generic.c |
| 3393 | src/core/lib/iomgr/timer_heap.c |
| 3394 | src/core/lib/iomgr/timer_uv.c |
| 3395 | src/core/lib/iomgr/udp_server.c |
| 3396 | src/core/lib/iomgr/unix_sockets_posix.c |
| 3397 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
| 3398 | src/core/lib/iomgr/wakeup_fd_cv.c |
| 3399 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 3400 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 3401 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 3402 | src/core/lib/iomgr/wakeup_fd_posix.c |
| 3403 | src/core/lib/iomgr/workqueue_uv.c |
| 3404 | src/core/lib/iomgr/workqueue_windows.c |
| 3405 | src/core/lib/json/json.c |
| 3406 | src/core/lib/json/json_reader.c |
| 3407 | src/core/lib/json/json_string.c |
| 3408 | src/core/lib/json/json_writer.c |
| 3409 | src/core/lib/slice/b64.c |
| 3410 | src/core/lib/slice/percent_encoding.c |
| 3411 | src/core/lib/slice/slice.c |
| 3412 | src/core/lib/slice/slice_buffer.c |
| 3413 | src/core/lib/slice/slice_hash_table.c |
| 3414 | src/core/lib/slice/slice_intern.c |
| 3415 | src/core/lib/slice/slice_string_helpers.c |
| 3416 | src/core/lib/surface/alarm.c |
| 3417 | src/core/lib/surface/api_trace.c |
| 3418 | src/core/lib/surface/byte_buffer.c |
| 3419 | src/core/lib/surface/byte_buffer_reader.c |
| 3420 | src/core/lib/surface/call.c |
| 3421 | src/core/lib/surface/call_details.c |
| 3422 | src/core/lib/surface/call_log_batch.c |
| 3423 | src/core/lib/surface/channel.c |
| 3424 | src/core/lib/surface/channel_init.c |
| 3425 | src/core/lib/surface/channel_ping.c |
| 3426 | src/core/lib/surface/channel_stack_type.c |
| 3427 | src/core/lib/surface/completion_queue.c |
| 3428 | src/core/lib/surface/completion_queue_factory.c |
| 3429 | src/core/lib/surface/event_string.c |
| 3430 | src/core/lib/surface/lame_client.c |
| 3431 | src/core/lib/surface/metadata_array.c |
| 3432 | src/core/lib/surface/server.c |
| 3433 | src/core/lib/surface/validate_metadata.c |
| 3434 | src/core/lib/surface/version.c |
| 3435 | src/core/lib/transport/bdp_estimator.c |
| 3436 | src/core/lib/transport/byte_stream.c |
| 3437 | src/core/lib/transport/connectivity_state.c |
| 3438 | src/core/lib/transport/error_utils.c |
| 3439 | src/core/lib/transport/metadata.c |
| 3440 | src/core/lib/transport/metadata_batch.c |
| 3441 | src/core/lib/transport/pid_controller.c |
| 3442 | src/core/lib/transport/service_config.c |
| 3443 | src/core/lib/transport/static_metadata.c |
| 3444 | src/core/lib/transport/status_conversion.c |
| 3445 | src/core/lib/transport/timeout_encoding.c |
| 3446 | src/core/lib/transport/transport.c |
| 3447 | src/core/lib/transport/transport_op_string.c |
| 3448 | third_party/nanopb/pb_common.c |
| 3449 | third_party/nanopb/pb_decode.c |
| 3450 | third_party/nanopb/pb_encode.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3451 | src/cpp/codegen/codegen_init.cc |
| 3452 | ) |
| 3453 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3454 | if(WIN32 AND MSVC) |
| 3455 | set_target_properties(grpc++_unsecure PROPERTIES COMPILE_PDB_NAME "grpc++_unsecure" |
| 3456 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3457 | ) |
| 3458 | if (gRPC_INSTALL) |
| 3459 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc++_unsecure.pdb |
| 3460 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 3461 | ) |
| 3462 | endif() |
| 3463 | endif() |
| 3464 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3465 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3466 | target_include_directories(grpc++_unsecure |
| 3467 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3468 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3469 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3470 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3471 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3472 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3473 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3474 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 3475 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3476 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3477 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3478 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3479 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3480 | ) |
| 3481 | |
| 3482 | target_link_libraries(grpc++_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3483 | ${_gRPC_BASELIB_LIBRARIES} |
| 3484 | ${_gRPC_PROTOBUF_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3485 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3486 | gpr |
| 3487 | grpc_unsecure |
| 3488 | ) |
| 3489 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3490 | foreach(_hdr |
| 3491 | include/grpc++/alarm.h |
| 3492 | include/grpc++/channel.h |
| 3493 | include/grpc++/client_context.h |
| 3494 | include/grpc++/completion_queue.h |
| 3495 | include/grpc++/create_channel.h |
| 3496 | include/grpc++/create_channel_posix.h |
yang-g | 0498124 | 2016-12-01 11:53:08 -0800 | [diff] [blame] | 3497 | include/grpc++/ext/health_check_service_server_builder_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3498 | include/grpc++/generic/async_generic_service.h |
| 3499 | include/grpc++/generic/generic_stub.h |
| 3500 | include/grpc++/grpc++.h |
yang-g | 1accb12 | 2016-12-28 10:38:04 -0800 | [diff] [blame] | 3501 | include/grpc++/health_check_service_interface.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3502 | include/grpc++/impl/call.h |
Craig Tiller | 4751c28 | 2017-01-10 14:29:00 -0800 | [diff] [blame] | 3503 | include/grpc++/impl/channel_argument_option.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3504 | include/grpc++/impl/client_unary_call.h |
| 3505 | include/grpc++/impl/codegen/core_codegen.h |
| 3506 | include/grpc++/impl/grpc_library.h |
| 3507 | include/grpc++/impl/method_handler_impl.h |
| 3508 | include/grpc++/impl/rpc_method.h |
| 3509 | include/grpc++/impl/rpc_service_method.h |
| 3510 | include/grpc++/impl/serialization_traits.h |
| 3511 | include/grpc++/impl/server_builder_option.h |
| 3512 | include/grpc++/impl/server_builder_plugin.h |
| 3513 | include/grpc++/impl/server_initializer.h |
| 3514 | include/grpc++/impl/service_type.h |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 3515 | include/grpc++/resource_quota.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3516 | include/grpc++/security/auth_context.h |
| 3517 | include/grpc++/security/auth_metadata_processor.h |
| 3518 | include/grpc++/security/credentials.h |
| 3519 | include/grpc++/security/server_credentials.h |
| 3520 | include/grpc++/server.h |
| 3521 | include/grpc++/server_builder.h |
| 3522 | include/grpc++/server_context.h |
| 3523 | include/grpc++/server_posix.h |
| 3524 | include/grpc++/support/async_stream.h |
| 3525 | include/grpc++/support/async_unary_call.h |
| 3526 | include/grpc++/support/byte_buffer.h |
| 3527 | include/grpc++/support/channel_arguments.h |
| 3528 | include/grpc++/support/config.h |
| 3529 | include/grpc++/support/slice.h |
| 3530 | include/grpc++/support/status.h |
| 3531 | include/grpc++/support/status_code_enum.h |
| 3532 | include/grpc++/support/string_ref.h |
| 3533 | include/grpc++/support/stub_options.h |
| 3534 | include/grpc++/support/sync_stream.h |
| 3535 | include/grpc++/support/time.h |
| 3536 | include/grpc++/impl/codegen/async_stream.h |
| 3537 | include/grpc++/impl/codegen/async_unary_call.h |
| 3538 | include/grpc++/impl/codegen/call.h |
| 3539 | include/grpc++/impl/codegen/call_hook.h |
| 3540 | include/grpc++/impl/codegen/channel_interface.h |
| 3541 | include/grpc++/impl/codegen/client_context.h |
| 3542 | include/grpc++/impl/codegen/client_unary_call.h |
| 3543 | include/grpc++/impl/codegen/completion_queue.h |
| 3544 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 3545 | include/grpc++/impl/codegen/config.h |
| 3546 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 3547 | include/grpc++/impl/codegen/create_auth_context.h |
| 3548 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 3549 | include/grpc++/impl/codegen/metadata_map.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3550 | include/grpc++/impl/codegen/method_handler_impl.h |
| 3551 | include/grpc++/impl/codegen/rpc_method.h |
| 3552 | include/grpc++/impl/codegen/rpc_service_method.h |
| 3553 | include/grpc++/impl/codegen/security/auth_context.h |
| 3554 | include/grpc++/impl/codegen/serialization_traits.h |
| 3555 | include/grpc++/impl/codegen/server_context.h |
| 3556 | include/grpc++/impl/codegen/server_interface.h |
| 3557 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 3558 | include/grpc++/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3559 | include/grpc++/impl/codegen/status.h |
| 3560 | include/grpc++/impl/codegen/status_code_enum.h |
yang-g | d558149 | 2016-09-06 14:05:53 -0700 | [diff] [blame] | 3561 | include/grpc++/impl/codegen/status_helper.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3562 | include/grpc++/impl/codegen/string_ref.h |
| 3563 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3564 | include/grpc++/impl/codegen/sync_stream.h |
| 3565 | include/grpc++/impl/codegen/time.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3566 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 3567 | include/grpc/impl/codegen/compression_types.h |
| 3568 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 3569 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3570 | include/grpc/impl/codegen/grpc_types.h |
| 3571 | include/grpc/impl/codegen/propagation_bits.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3572 | include/grpc/impl/codegen/slice.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3573 | include/grpc/impl/codegen/status.h |
| 3574 | include/grpc/impl/codegen/atm.h |
| 3575 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 3576 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 3577 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 3578 | include/grpc/impl/codegen/gpr_slice.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3579 | include/grpc/impl/codegen/gpr_types.h |
| 3580 | include/grpc/impl/codegen/port_platform.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3581 | include/grpc/impl/codegen/sync.h |
| 3582 | include/grpc/impl/codegen/sync_generic.h |
| 3583 | include/grpc/impl/codegen/sync_posix.h |
| 3584 | include/grpc/impl/codegen/sync_windows.h |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 3585 | include/grpc/byte_buffer.h |
| 3586 | include/grpc/byte_buffer_reader.h |
| 3587 | include/grpc/compression.h |
| 3588 | include/grpc/grpc.h |
| 3589 | include/grpc/grpc_posix.h |
| 3590 | include/grpc/grpc_security_constants.h |
| 3591 | include/grpc/load_reporting.h |
| 3592 | include/grpc/slice.h |
| 3593 | include/grpc/slice_buffer.h |
| 3594 | include/grpc/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3595 | ) |
| 3596 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3597 | get_filename_component(_path ${_path} PATH) |
| 3598 | install(FILES ${_hdr} |
| 3599 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 3600 | ) |
| 3601 | endforeach() |
| 3602 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3603 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3604 | if (gRPC_INSTALL) |
| 3605 | install(TARGETS grpc++_unsecure EXPORT gRPCTargets |
| 3606 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 3607 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 3608 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 3609 | ) |
| 3610 | endif() |
| 3611 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3612 | if (gRPC_BUILD_TESTS) |
| 3613 | |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3614 | add_library(grpc_benchmark |
Craig Tiller | f09ec59 | 2017-03-03 16:52:37 -0800 | [diff] [blame] | 3615 | test/cpp/microbenchmarks/helpers.cc |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3616 | ) |
| 3617 | |
| 3618 | if(WIN32 AND MSVC) |
| 3619 | set_target_properties(grpc_benchmark PROPERTIES COMPILE_PDB_NAME "grpc_benchmark" |
| 3620 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3621 | ) |
| 3622 | if (gRPC_INSTALL) |
| 3623 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_benchmark.pdb |
| 3624 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 3625 | ) |
| 3626 | endif() |
| 3627 | endif() |
| 3628 | |
| 3629 | |
| 3630 | target_include_directories(grpc_benchmark |
| 3631 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3632 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3633 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3634 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3635 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 3636 | PRIVATE ${BENCHMARK}/include |
| 3637 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3638 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 9bc0d82 | 2017-03-17 13:02:03 -0700 | [diff] [blame] | 3639 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3640 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3641 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3642 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3643 | PRIVATE third_party/googletest/googletest/include |
| 3644 | PRIVATE third_party/googletest/googletest |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3645 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3646 | ) |
| 3647 | |
| 3648 | target_link_libraries(grpc_benchmark |
| 3649 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3650 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3651 | benchmark |
| 3652 | grpc++ |
Craig Tiller | e067b6e | 2017-03-06 14:46:37 -0800 | [diff] [blame] | 3653 | grpc_test_util |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 3654 | grpc |
| 3655 | ${_gRPC_GFLAGS_LIBRARIES} |
| 3656 | ) |
| 3657 | |
| 3658 | |
| 3659 | endif (gRPC_BUILD_TESTS) |
| 3660 | if (gRPC_BUILD_TESTS) |
| 3661 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3662 | add_library(grpc_cli_libs |
| 3663 | test/cpp/util/cli_call.cc |
| 3664 | test/cpp/util/cli_credentials.cc |
| 3665 | test/cpp/util/grpc_tool.cc |
| 3666 | test/cpp/util/proto_file_parser.cc |
| 3667 | test/cpp/util/service_describer.cc |
| 3668 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 3669 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 3670 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 3671 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 3672 | ) |
| 3673 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3674 | if(WIN32 AND MSVC) |
| 3675 | set_target_properties(grpc_cli_libs PROPERTIES COMPILE_PDB_NAME "grpc_cli_libs" |
| 3676 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3677 | ) |
| 3678 | if (gRPC_INSTALL) |
| 3679 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_cli_libs.pdb |
| 3680 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 3681 | ) |
| 3682 | endif() |
| 3683 | endif() |
| 3684 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3685 | protobuf_generate_grpc_cpp( |
| 3686 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 3687 | ) |
| 3688 | |
| 3689 | target_include_directories(grpc_cli_libs |
| 3690 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3691 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3692 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3693 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3694 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3695 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3696 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3697 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3698 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3699 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3700 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3701 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3702 | PRIVATE third_party/googletest/googletest/include |
| 3703 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3704 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3705 | ) |
| 3706 | |
| 3707 | target_link_libraries(grpc_cli_libs |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3708 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3709 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3710 | grpc++_proto_reflection_desc_db |
| 3711 | grpc++ |
| 3712 | ) |
| 3713 | |
| 3714 | foreach(_hdr |
| 3715 | include/grpc++/impl/codegen/config_protobuf.h |
| 3716 | ) |
| 3717 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3718 | get_filename_component(_path ${_path} PATH) |
| 3719 | install(FILES ${_hdr} |
| 3720 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 3721 | ) |
| 3722 | endforeach() |
| 3723 | |
| 3724 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3725 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3726 | add_library(grpc_plugin_support |
| 3727 | src/compiler/cpp_generator.cc |
| 3728 | src/compiler/csharp_generator.cc |
| 3729 | src/compiler/node_generator.cc |
| 3730 | src/compiler/objective_c_generator.cc |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 3731 | src/compiler/php_generator.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3732 | src/compiler/python_generator.cc |
| 3733 | src/compiler/ruby_generator.cc |
| 3734 | ) |
| 3735 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3736 | if(WIN32 AND MSVC) |
| 3737 | set_target_properties(grpc_plugin_support PROPERTIES COMPILE_PDB_NAME "grpc_plugin_support" |
| 3738 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3739 | ) |
| 3740 | if (gRPC_INSTALL) |
| 3741 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_plugin_support.pdb |
| 3742 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 3743 | ) |
| 3744 | endif() |
| 3745 | endif() |
| 3746 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3747 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3748 | target_include_directories(grpc_plugin_support |
| 3749 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3750 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3751 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3752 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3753 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3754 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3755 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3756 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | 8076d2b | 2016-08-25 13:23:13 -0700 | [diff] [blame] | 3757 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3758 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3759 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3760 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3761 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3762 | ) |
| 3763 | |
| 3764 | target_link_libraries(grpc_plugin_support |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 3765 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3766 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3767 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 3768 | ) |
| 3769 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3770 | foreach(_hdr |
| 3771 | include/grpc++/impl/codegen/config_protobuf.h |
| 3772 | ) |
| 3773 | string(REPLACE "include/" "" _path ${_hdr}) |
| 3774 | get_filename_component(_path ${_path} PATH) |
| 3775 | install(FILES ${_hdr} |
| 3776 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 3777 | ) |
| 3778 | endforeach() |
| 3779 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 3780 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 3781 | if (gRPC_INSTALL) |
| 3782 | install(TARGETS grpc_plugin_support EXPORT gRPCTargets |
| 3783 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 3784 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 3785 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 3786 | ) |
| 3787 | endif() |
| 3788 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3789 | if (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 3790 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3791 | add_library(http2_client_main |
| 3792 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 3793 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 3794 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 3795 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 3796 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 3797 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 3798 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 3799 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 3800 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 3801 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 3802 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 3803 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 3804 | test/cpp/interop/http2_client.cc |
| 3805 | ) |
| 3806 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3807 | if(WIN32 AND MSVC) |
| 3808 | set_target_properties(http2_client_main PROPERTIES COMPILE_PDB_NAME "http2_client_main" |
| 3809 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3810 | ) |
| 3811 | if (gRPC_INSTALL) |
| 3812 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/http2_client_main.pdb |
| 3813 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 3814 | ) |
| 3815 | endif() |
| 3816 | endif() |
| 3817 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3818 | protobuf_generate_grpc_cpp( |
| 3819 | src/proto/grpc/testing/empty.proto |
| 3820 | ) |
| 3821 | protobuf_generate_grpc_cpp( |
| 3822 | src/proto/grpc/testing/messages.proto |
| 3823 | ) |
| 3824 | protobuf_generate_grpc_cpp( |
| 3825 | src/proto/grpc/testing/test.proto |
| 3826 | ) |
| 3827 | |
| 3828 | target_include_directories(http2_client_main |
| 3829 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3830 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3831 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3832 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3833 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3834 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3835 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3836 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3837 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3838 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3839 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3840 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3841 | PRIVATE third_party/googletest/googletest/include |
| 3842 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3843 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3844 | ) |
| 3845 | |
| 3846 | target_link_libraries(http2_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3847 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3848 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3849 | grpc++_test_util |
| 3850 | grpc_test_util |
| 3851 | grpc++ |
| 3852 | grpc |
| 3853 | grpc++_test_config |
| 3854 | ) |
| 3855 | |
| 3856 | |
| 3857 | endif (gRPC_BUILD_TESTS) |
| 3858 | if (gRPC_BUILD_TESTS) |
| 3859 | |
| 3860 | add_library(interop_client_helper |
| 3861 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 3862 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 3863 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 3864 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 3865 | test/cpp/interop/client_helper.cc |
| 3866 | ) |
| 3867 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3868 | if(WIN32 AND MSVC) |
| 3869 | set_target_properties(interop_client_helper PROPERTIES COMPILE_PDB_NAME "interop_client_helper" |
| 3870 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3871 | ) |
| 3872 | if (gRPC_INSTALL) |
| 3873 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_helper.pdb |
| 3874 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 3875 | ) |
| 3876 | endif() |
| 3877 | endif() |
| 3878 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3879 | protobuf_generate_grpc_cpp( |
| 3880 | src/proto/grpc/testing/messages.proto |
| 3881 | ) |
| 3882 | |
| 3883 | target_include_directories(interop_client_helper |
| 3884 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3885 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3886 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3887 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3888 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3889 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3890 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3891 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3892 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3893 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3894 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3895 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3896 | PRIVATE third_party/googletest/googletest/include |
| 3897 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3898 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3899 | ) |
| 3900 | |
| 3901 | target_link_libraries(interop_client_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3902 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3903 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3904 | grpc++_test_util |
| 3905 | grpc_test_util |
| 3906 | grpc++ |
| 3907 | grpc |
| 3908 | gpr |
| 3909 | ) |
| 3910 | |
| 3911 | |
| 3912 | endif (gRPC_BUILD_TESTS) |
| 3913 | if (gRPC_BUILD_TESTS) |
| 3914 | |
| 3915 | add_library(interop_client_main |
| 3916 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 3917 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 3918 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 3919 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 3920 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 3921 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 3922 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 3923 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 3924 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 3925 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 3926 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 3927 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 3928 | test/cpp/interop/client.cc |
| 3929 | test/cpp/interop/interop_client.cc |
| 3930 | ) |
| 3931 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3932 | if(WIN32 AND MSVC) |
| 3933 | set_target_properties(interop_client_main PROPERTIES COMPILE_PDB_NAME "interop_client_main" |
| 3934 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3935 | ) |
| 3936 | if (gRPC_INSTALL) |
| 3937 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_client_main.pdb |
| 3938 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 3939 | ) |
| 3940 | endif() |
| 3941 | endif() |
| 3942 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3943 | protobuf_generate_grpc_cpp( |
| 3944 | src/proto/grpc/testing/empty.proto |
| 3945 | ) |
| 3946 | protobuf_generate_grpc_cpp( |
| 3947 | src/proto/grpc/testing/messages.proto |
| 3948 | ) |
| 3949 | protobuf_generate_grpc_cpp( |
| 3950 | src/proto/grpc/testing/test.proto |
| 3951 | ) |
| 3952 | |
| 3953 | target_include_directories(interop_client_main |
| 3954 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3955 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3956 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3957 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3958 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3959 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3960 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 3961 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 3962 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 3963 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 3964 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3965 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 3966 | PRIVATE third_party/googletest/googletest/include |
| 3967 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3968 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3969 | ) |
| 3970 | |
| 3971 | target_link_libraries(interop_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3972 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3973 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3974 | interop_client_helper |
| 3975 | grpc++_test_util |
| 3976 | grpc_test_util |
| 3977 | grpc++ |
| 3978 | grpc |
| 3979 | gpr_test_util |
| 3980 | gpr |
| 3981 | grpc++_test_config |
| 3982 | ) |
| 3983 | |
| 3984 | |
| 3985 | endif (gRPC_BUILD_TESTS) |
| 3986 | if (gRPC_BUILD_TESTS) |
| 3987 | |
| 3988 | add_library(interop_server_helper |
| 3989 | test/cpp/interop/server_helper.cc |
| 3990 | ) |
| 3991 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 3992 | if(WIN32 AND MSVC) |
| 3993 | set_target_properties(interop_server_helper PROPERTIES COMPILE_PDB_NAME "interop_server_helper" |
| 3994 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 3995 | ) |
| 3996 | if (gRPC_INSTALL) |
| 3997 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_helper.pdb |
| 3998 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 3999 | ) |
| 4000 | endif() |
| 4001 | endif() |
| 4002 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4003 | |
| 4004 | target_include_directories(interop_server_helper |
| 4005 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4006 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4007 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4008 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4009 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4010 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4011 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4012 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4013 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4014 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4015 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4016 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4017 | PRIVATE third_party/googletest/googletest/include |
| 4018 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4019 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4020 | ) |
| 4021 | |
| 4022 | target_link_libraries(interop_server_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4023 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4024 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4025 | grpc++_test_util |
| 4026 | grpc_test_util |
| 4027 | grpc++ |
| 4028 | grpc |
| 4029 | gpr |
| 4030 | ) |
| 4031 | |
| 4032 | |
| 4033 | endif (gRPC_BUILD_TESTS) |
| 4034 | if (gRPC_BUILD_TESTS) |
| 4035 | |
| 4036 | add_library(interop_server_lib |
| 4037 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 4038 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 4039 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 4040 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 4041 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4042 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4043 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4044 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4045 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 4046 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 4047 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 4048 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 4049 | test/cpp/interop/interop_server.cc |
| 4050 | ) |
| 4051 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4052 | if(WIN32 AND MSVC) |
| 4053 | set_target_properties(interop_server_lib PROPERTIES COMPILE_PDB_NAME "interop_server_lib" |
| 4054 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4055 | ) |
| 4056 | if (gRPC_INSTALL) |
| 4057 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_lib.pdb |
| 4058 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 4059 | ) |
| 4060 | endif() |
| 4061 | endif() |
| 4062 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4063 | protobuf_generate_grpc_cpp( |
| 4064 | src/proto/grpc/testing/empty.proto |
| 4065 | ) |
| 4066 | protobuf_generate_grpc_cpp( |
| 4067 | src/proto/grpc/testing/messages.proto |
| 4068 | ) |
| 4069 | protobuf_generate_grpc_cpp( |
| 4070 | src/proto/grpc/testing/test.proto |
| 4071 | ) |
| 4072 | |
| 4073 | target_include_directories(interop_server_lib |
| 4074 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4075 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4076 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4077 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4078 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4079 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4080 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4081 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4082 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4083 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4084 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4085 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4086 | PRIVATE third_party/googletest/googletest/include |
| 4087 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4088 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4089 | ) |
| 4090 | |
| 4091 | target_link_libraries(interop_server_lib |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4092 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4093 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4094 | interop_server_helper |
| 4095 | grpc++_test_util |
| 4096 | grpc_test_util |
| 4097 | grpc++ |
| 4098 | grpc |
| 4099 | gpr_test_util |
| 4100 | gpr |
| 4101 | grpc++_test_config |
| 4102 | ) |
| 4103 | |
| 4104 | |
| 4105 | endif (gRPC_BUILD_TESTS) |
| 4106 | if (gRPC_BUILD_TESTS) |
| 4107 | |
| 4108 | add_library(interop_server_main |
| 4109 | test/cpp/interop/interop_server_bootstrap.cc |
| 4110 | ) |
| 4111 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4112 | if(WIN32 AND MSVC) |
| 4113 | set_target_properties(interop_server_main PROPERTIES COMPILE_PDB_NAME "interop_server_main" |
| 4114 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4115 | ) |
| 4116 | if (gRPC_INSTALL) |
| 4117 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/interop_server_main.pdb |
| 4118 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 4119 | ) |
| 4120 | endif() |
| 4121 | endif() |
| 4122 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4123 | |
| 4124 | target_include_directories(interop_server_main |
| 4125 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4126 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4127 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4128 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4129 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4130 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4131 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4132 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4133 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4134 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4135 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4136 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4137 | PRIVATE third_party/googletest/googletest/include |
| 4138 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4139 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4140 | ) |
| 4141 | |
| 4142 | target_link_libraries(interop_server_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4143 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4144 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4145 | interop_server_lib |
| 4146 | ) |
| 4147 | |
| 4148 | |
| 4149 | endif (gRPC_BUILD_TESTS) |
| 4150 | if (gRPC_BUILD_TESTS) |
| 4151 | |
| 4152 | add_library(qps |
| 4153 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 4154 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 4155 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 4156 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 4157 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 4158 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 4159 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 4160 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 4161 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 4162 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 4163 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 4164 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
| 4165 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 4166 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 4167 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 4168 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 4169 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 4170 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 4171 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 4172 | ${_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] | 4173 | test/cpp/qps/benchmark_config.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4174 | test/cpp/qps/client_async.cc |
| 4175 | test/cpp/qps/client_sync.cc |
| 4176 | test/cpp/qps/driver.cc |
| 4177 | test/cpp/qps/parse_json.cc |
| 4178 | test/cpp/qps/qps_worker.cc |
| 4179 | test/cpp/qps/report.cc |
| 4180 | test/cpp/qps/server_async.cc |
| 4181 | test/cpp/qps/server_sync.cc |
| 4182 | test/cpp/qps/usage_timer.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4183 | ) |
| 4184 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4185 | if(WIN32 AND MSVC) |
| 4186 | set_target_properties(qps PROPERTIES COMPILE_PDB_NAME "qps" |
| 4187 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4188 | ) |
| 4189 | if (gRPC_INSTALL) |
| 4190 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qps.pdb |
| 4191 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 4192 | ) |
| 4193 | endif() |
| 4194 | endif() |
| 4195 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4196 | protobuf_generate_grpc_cpp( |
| 4197 | src/proto/grpc/testing/messages.proto |
| 4198 | ) |
| 4199 | protobuf_generate_grpc_cpp( |
| 4200 | src/proto/grpc/testing/payloads.proto |
| 4201 | ) |
| 4202 | protobuf_generate_grpc_cpp( |
| 4203 | src/proto/grpc/testing/stats.proto |
| 4204 | ) |
| 4205 | protobuf_generate_grpc_cpp( |
| 4206 | src/proto/grpc/testing/control.proto |
| 4207 | ) |
| 4208 | protobuf_generate_grpc_cpp( |
| 4209 | src/proto/grpc/testing/services.proto |
| 4210 | ) |
| 4211 | |
| 4212 | target_include_directories(qps |
| 4213 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4214 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4215 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4216 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4217 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4218 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4219 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4220 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4221 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4222 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4223 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4224 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4225 | PRIVATE third_party/googletest/googletest/include |
| 4226 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4227 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 4228 | ) |
| 4229 | |
| 4230 | target_link_libraries(qps |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4231 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 4232 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4233 | grpc_test_util |
| 4234 | grpc++_test_util |
| 4235 | grpc++ |
| 4236 | ) |
| 4237 | |
| 4238 | |
| 4239 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4240 | |
Jan Tattermusch | c09656c | 2017-01-27 13:36:24 +0100 | [diff] [blame] | 4241 | add_library(grpc_csharp_ext SHARED |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4242 | src/csharp/ext/grpc_csharp_ext.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4243 | ) |
| 4244 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4245 | if(WIN32 AND MSVC) |
| 4246 | set_target_properties(grpc_csharp_ext PROPERTIES COMPILE_PDB_NAME "grpc_csharp_ext" |
| 4247 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4248 | ) |
| 4249 | if (gRPC_INSTALL) |
| 4250 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/grpc_csharp_ext.pdb |
| 4251 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 4252 | ) |
| 4253 | endif() |
| 4254 | endif() |
| 4255 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4256 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4257 | target_include_directories(grpc_csharp_ext |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4258 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4259 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4260 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4261 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4262 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4263 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4264 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4265 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4266 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4267 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4268 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4269 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4270 | ) |
| 4271 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4272 | target_link_libraries(grpc_csharp_ext |
| 4273 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4274 | grpc |
| 4275 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4276 | ) |
| 4277 | |
| 4278 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4279 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4280 | if (gRPC_INSTALL) |
| 4281 | install(TARGETS grpc_csharp_ext EXPORT gRPCTargets |
| 4282 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 4283 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 4284 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 4285 | ) |
| 4286 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4287 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4288 | if (gRPC_BUILD_TESTS) |
| 4289 | |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4290 | add_library(ares |
Yuchen Zeng | 6694bb0 | 2017-01-23 17:09:51 -0800 | [diff] [blame] | 4291 | third_party/cares/cares/ares__close_sockets.c |
| 4292 | third_party/cares/cares/ares__get_hostent.c |
| 4293 | third_party/cares/cares/ares__read_line.c |
| 4294 | third_party/cares/cares/ares__timeval.c |
| 4295 | third_party/cares/cares/ares_cancel.c |
| 4296 | third_party/cares/cares/ares_create_query.c |
| 4297 | third_party/cares/cares/ares_data.c |
| 4298 | third_party/cares/cares/ares_destroy.c |
| 4299 | third_party/cares/cares/ares_expand_name.c |
| 4300 | third_party/cares/cares/ares_expand_string.c |
| 4301 | third_party/cares/cares/ares_fds.c |
| 4302 | third_party/cares/cares/ares_free_hostent.c |
| 4303 | third_party/cares/cares/ares_free_string.c |
| 4304 | third_party/cares/cares/ares_getenv.c |
| 4305 | third_party/cares/cares/ares_gethostbyaddr.c |
| 4306 | third_party/cares/cares/ares_gethostbyname.c |
| 4307 | third_party/cares/cares/ares_getnameinfo.c |
| 4308 | third_party/cares/cares/ares_getopt.c |
| 4309 | third_party/cares/cares/ares_getsock.c |
| 4310 | third_party/cares/cares/ares_init.c |
| 4311 | third_party/cares/cares/ares_library_init.c |
| 4312 | third_party/cares/cares/ares_llist.c |
| 4313 | third_party/cares/cares/ares_mkquery.c |
| 4314 | third_party/cares/cares/ares_nowarn.c |
| 4315 | third_party/cares/cares/ares_options.c |
| 4316 | third_party/cares/cares/ares_parse_a_reply.c |
| 4317 | third_party/cares/cares/ares_parse_aaaa_reply.c |
| 4318 | third_party/cares/cares/ares_parse_mx_reply.c |
| 4319 | third_party/cares/cares/ares_parse_naptr_reply.c |
| 4320 | third_party/cares/cares/ares_parse_ns_reply.c |
| 4321 | third_party/cares/cares/ares_parse_ptr_reply.c |
| 4322 | third_party/cares/cares/ares_parse_soa_reply.c |
| 4323 | third_party/cares/cares/ares_parse_srv_reply.c |
| 4324 | third_party/cares/cares/ares_parse_txt_reply.c |
| 4325 | third_party/cares/cares/ares_platform.c |
| 4326 | third_party/cares/cares/ares_process.c |
| 4327 | third_party/cares/cares/ares_query.c |
| 4328 | third_party/cares/cares/ares_search.c |
| 4329 | third_party/cares/cares/ares_send.c |
| 4330 | third_party/cares/cares/ares_strcasecmp.c |
| 4331 | third_party/cares/cares/ares_strdup.c |
| 4332 | third_party/cares/cares/ares_strerror.c |
| 4333 | third_party/cares/cares/ares_timeout.c |
| 4334 | third_party/cares/cares/ares_version.c |
| 4335 | third_party/cares/cares/ares_writev.c |
| 4336 | third_party/cares/cares/bitncmp.c |
| 4337 | third_party/cares/cares/inet_net_pton.c |
| 4338 | third_party/cares/cares/inet_ntop.c |
| 4339 | third_party/cares/cares/windows_port.c |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4340 | ) |
| 4341 | |
Yuchen Zeng | 2c97708 | 2017-02-27 13:35:41 -0800 | [diff] [blame] | 4342 | if(WIN32 AND MSVC) |
| 4343 | set_target_properties(ares PROPERTIES COMPILE_PDB_NAME "ares" |
| 4344 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4345 | ) |
| 4346 | if (gRPC_INSTALL) |
| 4347 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ares.pdb |
| 4348 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 4349 | ) |
| 4350 | endif() |
| 4351 | endif() |
| 4352 | |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4353 | |
| 4354 | target_include_directories(ares |
| 4355 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4356 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4357 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4358 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4359 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Yuchen Zeng | 1492f6c | 2017-02-02 12:42:54 -0800 | [diff] [blame] | 4360 | PRIVATE ${BENCHMARK}/include |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4361 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4362 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4363 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4364 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4365 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4366 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4367 | ) |
| 4368 | |
| 4369 | target_link_libraries(ares |
| 4370 | ${_gRPC_SSL_LIBRARIES} |
Yuchen Zeng | 1492f6c | 2017-02-02 12:42:54 -0800 | [diff] [blame] | 4371 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4372 | ) |
| 4373 | |
| 4374 | |
| 4375 | endif (gRPC_BUILD_TESTS) |
| 4376 | if (gRPC_BUILD_TESTS) |
| 4377 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4378 | add_library(bad_client_test |
| 4379 | test/core/bad_client/bad_client.c |
| 4380 | ) |
| 4381 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4382 | if(WIN32 AND MSVC) |
| 4383 | set_target_properties(bad_client_test PROPERTIES COMPILE_PDB_NAME "bad_client_test" |
| 4384 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4385 | ) |
| 4386 | if (gRPC_INSTALL) |
| 4387 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_client_test.pdb |
| 4388 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 4389 | ) |
| 4390 | endif() |
| 4391 | endif() |
| 4392 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4393 | |
| 4394 | target_include_directories(bad_client_test |
| 4395 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4396 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4397 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4398 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4399 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4400 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4401 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4402 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4403 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4404 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4405 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4406 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4407 | ) |
| 4408 | |
| 4409 | target_link_libraries(bad_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4410 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4411 | grpc_test_util_unsecure |
| 4412 | grpc_unsecure |
| 4413 | gpr_test_util |
| 4414 | gpr |
| 4415 | ) |
| 4416 | |
| 4417 | |
| 4418 | endif (gRPC_BUILD_TESTS) |
| 4419 | if (gRPC_BUILD_TESTS) |
| 4420 | |
| 4421 | add_library(bad_ssl_test_server |
| 4422 | test/core/bad_ssl/server_common.c |
| 4423 | ) |
| 4424 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4425 | if(WIN32 AND MSVC) |
| 4426 | set_target_properties(bad_ssl_test_server PROPERTIES COMPILE_PDB_NAME "bad_ssl_test_server" |
| 4427 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4428 | ) |
| 4429 | if (gRPC_INSTALL) |
| 4430 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bad_ssl_test_server.pdb |
| 4431 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 4432 | ) |
| 4433 | endif() |
| 4434 | endif() |
| 4435 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4436 | |
| 4437 | target_include_directories(bad_ssl_test_server |
| 4438 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4439 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4440 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4441 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4442 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4443 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4444 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4445 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4446 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4447 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4448 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4449 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4450 | ) |
| 4451 | |
| 4452 | target_link_libraries(bad_ssl_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4453 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4454 | grpc_test_util |
| 4455 | grpc |
| 4456 | gpr_test_util |
| 4457 | gpr |
| 4458 | ) |
| 4459 | |
| 4460 | |
| 4461 | endif (gRPC_BUILD_TESTS) |
| 4462 | if (gRPC_BUILD_TESTS) |
| 4463 | |
| 4464 | add_library(end2end_tests |
| 4465 | test/core/end2end/end2end_tests.c |
| 4466 | test/core/end2end/end2end_test_utils.c |
| 4467 | test/core/end2end/tests/authority_not_supported.c |
| 4468 | test/core/end2end/tests/bad_hostname.c |
Yuchen Zeng | af5c505 | 2017-02-28 16:24:00 -0800 | [diff] [blame] | 4469 | test/core/end2end/tests/bad_ping.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4470 | test/core/end2end/tests/binary_metadata.c |
| 4471 | test/core/end2end/tests/call_creds.c |
| 4472 | test/core/end2end/tests/cancel_after_accept.c |
| 4473 | test/core/end2end/tests/cancel_after_client_done.c |
| 4474 | test/core/end2end/tests/cancel_after_invoke.c |
| 4475 | test/core/end2end/tests/cancel_before_invoke.c |
| 4476 | test/core/end2end/tests/cancel_in_a_vacuum.c |
| 4477 | test/core/end2end/tests/cancel_with_status.c |
| 4478 | test/core/end2end/tests/compressed_payload.c |
| 4479 | test/core/end2end/tests/connectivity.c |
| 4480 | test/core/end2end/tests/default_host.c |
| 4481 | test/core/end2end/tests/disappearing_server.c |
| 4482 | test/core/end2end/tests/empty_batch.c |
| 4483 | test/core/end2end/tests/filter_call_init_fails.c |
| 4484 | test/core/end2end/tests/filter_causes_close.c |
| 4485 | test/core/end2end/tests/filter_latency.c |
| 4486 | test/core/end2end/tests/graceful_server_shutdown.c |
| 4487 | test/core/end2end/tests/high_initial_seqno.c |
| 4488 | test/core/end2end/tests/hpack_size.c |
| 4489 | test/core/end2end/tests/idempotent_request.c |
| 4490 | test/core/end2end/tests/invoke_large_request.c |
Yuchen Zeng | 990d9fe | 2017-02-26 16:54:18 -0800 | [diff] [blame] | 4491 | test/core/end2end/tests/keepalive_timeout.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4492 | test/core/end2end/tests/large_metadata.c |
| 4493 | test/core/end2end/tests/load_reporting_hook.c |
| 4494 | test/core/end2end/tests/max_concurrent_streams.c |
Yuchen Zeng | 22321fc | 2017-03-28 19:10:09 -0700 | [diff] [blame] | 4495 | test/core/end2end/tests/max_connection_age.c |
Yuchen Zeng | b2caafc | 2017-03-29 01:54:08 -0700 | [diff] [blame] | 4496 | test/core/end2end/tests/max_connection_idle.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4497 | test/core/end2end/tests/max_message_length.c |
| 4498 | test/core/end2end/tests/negative_deadline.c |
| 4499 | test/core/end2end/tests/network_status_change.c |
| 4500 | test/core/end2end/tests/no_logging.c |
| 4501 | test/core/end2end/tests/no_op.c |
| 4502 | test/core/end2end/tests/payload.c |
| 4503 | test/core/end2end/tests/ping.c |
| 4504 | test/core/end2end/tests/ping_pong_streaming.c |
| 4505 | test/core/end2end/tests/registered_call.c |
| 4506 | test/core/end2end/tests/request_with_flags.c |
| 4507 | test/core/end2end/tests/request_with_payload.c |
| 4508 | test/core/end2end/tests/resource_quota_server.c |
| 4509 | test/core/end2end/tests/server_finishes_request.c |
| 4510 | test/core/end2end/tests/shutdown_finishes_calls.c |
| 4511 | test/core/end2end/tests/shutdown_finishes_tags.c |
| 4512 | test/core/end2end/tests/simple_cacheable_request.c |
| 4513 | test/core/end2end/tests/simple_delayed_request.c |
| 4514 | test/core/end2end/tests/simple_metadata.c |
| 4515 | test/core/end2end/tests/simple_request.c |
| 4516 | test/core/end2end/tests/streaming_error_response.c |
| 4517 | test/core/end2end/tests/trailing_metadata.c |
| 4518 | test/core/end2end/tests/write_buffering.c |
| 4519 | test/core/end2end/tests/write_buffering_at_end.c |
| 4520 | ) |
| 4521 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4522 | if(WIN32 AND MSVC) |
| 4523 | set_target_properties(end2end_tests PROPERTIES COMPILE_PDB_NAME "end2end_tests" |
| 4524 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4525 | ) |
| 4526 | if (gRPC_INSTALL) |
| 4527 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_tests.pdb |
| 4528 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 4529 | ) |
| 4530 | endif() |
| 4531 | endif() |
| 4532 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4533 | |
| 4534 | target_include_directories(end2end_tests |
| 4535 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4536 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4537 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4538 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4539 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4540 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4541 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4542 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4543 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4544 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4545 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4546 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4547 | ) |
| 4548 | |
| 4549 | target_link_libraries(end2end_tests |
| 4550 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4551 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4552 | grpc_test_util |
| 4553 | grpc |
| 4554 | gpr_test_util |
| 4555 | gpr |
| 4556 | ) |
| 4557 | |
| 4558 | |
| 4559 | endif (gRPC_BUILD_TESTS) |
| 4560 | if (gRPC_BUILD_TESTS) |
| 4561 | |
| 4562 | add_library(end2end_nosec_tests |
| 4563 | test/core/end2end/end2end_nosec_tests.c |
| 4564 | test/core/end2end/end2end_test_utils.c |
| 4565 | test/core/end2end/tests/authority_not_supported.c |
| 4566 | test/core/end2end/tests/bad_hostname.c |
Yuchen Zeng | af5c505 | 2017-02-28 16:24:00 -0800 | [diff] [blame] | 4567 | test/core/end2end/tests/bad_ping.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4568 | test/core/end2end/tests/binary_metadata.c |
| 4569 | test/core/end2end/tests/cancel_after_accept.c |
| 4570 | test/core/end2end/tests/cancel_after_client_done.c |
| 4571 | test/core/end2end/tests/cancel_after_invoke.c |
| 4572 | test/core/end2end/tests/cancel_before_invoke.c |
| 4573 | test/core/end2end/tests/cancel_in_a_vacuum.c |
| 4574 | test/core/end2end/tests/cancel_with_status.c |
| 4575 | test/core/end2end/tests/compressed_payload.c |
| 4576 | test/core/end2end/tests/connectivity.c |
| 4577 | test/core/end2end/tests/default_host.c |
| 4578 | test/core/end2end/tests/disappearing_server.c |
| 4579 | test/core/end2end/tests/empty_batch.c |
| 4580 | test/core/end2end/tests/filter_call_init_fails.c |
| 4581 | test/core/end2end/tests/filter_causes_close.c |
| 4582 | test/core/end2end/tests/filter_latency.c |
| 4583 | test/core/end2end/tests/graceful_server_shutdown.c |
| 4584 | test/core/end2end/tests/high_initial_seqno.c |
| 4585 | test/core/end2end/tests/hpack_size.c |
| 4586 | test/core/end2end/tests/idempotent_request.c |
| 4587 | test/core/end2end/tests/invoke_large_request.c |
Yuchen Zeng | 990d9fe | 2017-02-26 16:54:18 -0800 | [diff] [blame] | 4588 | test/core/end2end/tests/keepalive_timeout.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4589 | test/core/end2end/tests/large_metadata.c |
| 4590 | test/core/end2end/tests/load_reporting_hook.c |
| 4591 | test/core/end2end/tests/max_concurrent_streams.c |
Yuchen Zeng | 22321fc | 2017-03-28 19:10:09 -0700 | [diff] [blame] | 4592 | test/core/end2end/tests/max_connection_age.c |
Yuchen Zeng | b2caafc | 2017-03-29 01:54:08 -0700 | [diff] [blame] | 4593 | test/core/end2end/tests/max_connection_idle.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4594 | test/core/end2end/tests/max_message_length.c |
| 4595 | test/core/end2end/tests/negative_deadline.c |
| 4596 | test/core/end2end/tests/network_status_change.c |
| 4597 | test/core/end2end/tests/no_logging.c |
| 4598 | test/core/end2end/tests/no_op.c |
| 4599 | test/core/end2end/tests/payload.c |
| 4600 | test/core/end2end/tests/ping.c |
| 4601 | test/core/end2end/tests/ping_pong_streaming.c |
| 4602 | test/core/end2end/tests/registered_call.c |
| 4603 | test/core/end2end/tests/request_with_flags.c |
| 4604 | test/core/end2end/tests/request_with_payload.c |
| 4605 | test/core/end2end/tests/resource_quota_server.c |
| 4606 | test/core/end2end/tests/server_finishes_request.c |
| 4607 | test/core/end2end/tests/shutdown_finishes_calls.c |
| 4608 | test/core/end2end/tests/shutdown_finishes_tags.c |
| 4609 | test/core/end2end/tests/simple_cacheable_request.c |
| 4610 | test/core/end2end/tests/simple_delayed_request.c |
| 4611 | test/core/end2end/tests/simple_metadata.c |
| 4612 | test/core/end2end/tests/simple_request.c |
| 4613 | test/core/end2end/tests/streaming_error_response.c |
| 4614 | test/core/end2end/tests/trailing_metadata.c |
| 4615 | test/core/end2end/tests/write_buffering.c |
| 4616 | test/core/end2end/tests/write_buffering_at_end.c |
| 4617 | ) |
| 4618 | |
Piotr Pietraszkiewicz | 7aff583 | 2017-02-09 11:12:33 +0100 | [diff] [blame] | 4619 | if(WIN32 AND MSVC) |
| 4620 | set_target_properties(end2end_nosec_tests PROPERTIES COMPILE_PDB_NAME "end2end_nosec_tests" |
| 4621 | COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" |
| 4622 | ) |
| 4623 | if (gRPC_INSTALL) |
| 4624 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/end2end_nosec_tests.pdb |
| 4625 | DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL |
| 4626 | ) |
| 4627 | endif() |
| 4628 | endif() |
| 4629 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4630 | |
| 4631 | target_include_directories(end2end_nosec_tests |
| 4632 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4633 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4634 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4635 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4636 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4637 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4638 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4639 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | e02cbeb | 2017-01-19 16:33:30 -0800 | [diff] [blame] | 4640 | PRIVATE ${CARES_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4641 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
Yuchen Zeng | d6b4985 | 2017-03-20 01:44:27 -0700 | [diff] [blame] | 4642 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4643 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4644 | ) |
| 4645 | |
| 4646 | target_link_libraries(end2end_nosec_tests |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4647 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4648 | grpc_test_util_unsecure |
| 4649 | grpc_unsecure |
| 4650 | gpr_test_util |
| 4651 | gpr |
| 4652 | ) |
| 4653 | |
| 4654 | |
| 4655 | endif (gRPC_BUILD_TESTS) |
| 4656 | |
| 4657 | if (gRPC_BUILD_TESTS) |
| 4658 | |
| 4659 | add_executable(alarm_test |
| 4660 | test/core/surface/alarm_test.c |
| 4661 | ) |
| 4662 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4663 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4664 | target_include_directories(alarm_test |
| 4665 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4666 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4667 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4668 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4669 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4670 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4671 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4672 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4673 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4674 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 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 | |
| 4679 | target_link_libraries(alarm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4680 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4681 | grpc_test_util |
| 4682 | grpc |
| 4683 | gpr_test_util |
| 4684 | gpr |
| 4685 | ) |
| 4686 | |
| 4687 | endif (gRPC_BUILD_TESTS) |
| 4688 | if (gRPC_BUILD_TESTS) |
| 4689 | |
| 4690 | add_executable(algorithm_test |
| 4691 | test/core/compression/algorithm_test.c |
| 4692 | ) |
| 4693 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4694 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4695 | target_include_directories(algorithm_test |
| 4696 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4697 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4698 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4699 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4700 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4701 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4702 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4703 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4704 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4705 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4706 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4707 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4708 | ) |
| 4709 | |
| 4710 | target_link_libraries(algorithm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4711 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4712 | grpc_test_util |
| 4713 | grpc |
| 4714 | gpr_test_util |
| 4715 | gpr |
| 4716 | ) |
| 4717 | |
| 4718 | endif (gRPC_BUILD_TESTS) |
| 4719 | if (gRPC_BUILD_TESTS) |
| 4720 | |
| 4721 | add_executable(alloc_test |
| 4722 | test/core/support/alloc_test.c |
| 4723 | ) |
| 4724 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4725 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4726 | target_include_directories(alloc_test |
| 4727 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4728 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4729 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4730 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4731 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4732 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4733 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4734 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4735 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4736 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4737 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4738 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4739 | ) |
| 4740 | |
| 4741 | target_link_libraries(alloc_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4742 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4743 | gpr_test_util |
| 4744 | gpr |
| 4745 | ) |
| 4746 | |
| 4747 | endif (gRPC_BUILD_TESTS) |
| 4748 | if (gRPC_BUILD_TESTS) |
| 4749 | |
| 4750 | add_executable(alpn_test |
| 4751 | test/core/transport/chttp2/alpn_test.c |
| 4752 | ) |
| 4753 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4754 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4755 | target_include_directories(alpn_test |
| 4756 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4757 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4758 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4759 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4760 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4761 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4762 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4763 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4764 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4765 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4766 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4767 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4768 | ) |
| 4769 | |
| 4770 | target_link_libraries(alpn_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4771 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4772 | grpc_test_util |
| 4773 | grpc |
| 4774 | gpr_test_util |
| 4775 | gpr |
| 4776 | ) |
| 4777 | |
| 4778 | endif (gRPC_BUILD_TESTS) |
| 4779 | if (gRPC_BUILD_TESTS) |
| 4780 | |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 4781 | add_executable(arena_test |
| 4782 | test/core/support/arena_test.c |
| 4783 | ) |
| 4784 | |
| 4785 | |
| 4786 | target_include_directories(arena_test |
| 4787 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4788 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4789 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4790 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 4791 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 4792 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4793 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4794 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4795 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4796 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4797 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 4798 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4799 | ) |
| 4800 | |
| 4801 | target_link_libraries(arena_test |
| 4802 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4803 | gpr_test_util |
| 4804 | gpr |
| 4805 | ) |
| 4806 | |
| 4807 | endif (gRPC_BUILD_TESTS) |
| 4808 | if (gRPC_BUILD_TESTS) |
| 4809 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4810 | add_executable(bad_server_response_test |
| 4811 | test/core/end2end/bad_server_response_test.c |
| 4812 | ) |
| 4813 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4814 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4815 | target_include_directories(bad_server_response_test |
| 4816 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4817 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4818 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4819 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4820 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4821 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4822 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4823 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4824 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4825 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4826 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4827 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4828 | ) |
| 4829 | |
| 4830 | target_link_libraries(bad_server_response_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4831 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4832 | test_tcp_server |
| 4833 | grpc_test_util |
| 4834 | grpc |
| 4835 | gpr_test_util |
| 4836 | gpr |
| 4837 | ) |
| 4838 | |
| 4839 | endif (gRPC_BUILD_TESTS) |
| 4840 | if (gRPC_BUILD_TESTS) |
| 4841 | |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 4842 | add_executable(bdp_estimator_test |
| 4843 | test/core/transport/bdp_estimator_test.c |
| 4844 | ) |
| 4845 | |
Craig Tiller | 5395aba | 2017-02-02 10:29:04 -0800 | [diff] [blame] | 4846 | |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 4847 | target_include_directories(bdp_estimator_test |
| 4848 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4849 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4850 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4851 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Craig Tiller | 5395aba | 2017-02-02 10:29:04 -0800 | [diff] [blame] | 4852 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 4853 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4854 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4855 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4856 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4857 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4858 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 4859 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4860 | ) |
| 4861 | |
| 4862 | target_link_libraries(bdp_estimator_test |
Craig Tiller | 5395aba | 2017-02-02 10:29:04 -0800 | [diff] [blame] | 4863 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 4864 | grpc_test_util |
| 4865 | grpc |
| 4866 | gpr_test_util |
| 4867 | gpr |
| 4868 | ) |
| 4869 | |
| 4870 | endif (gRPC_BUILD_TESTS) |
| 4871 | if (gRPC_BUILD_TESTS) |
| 4872 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4873 | add_executable(bin_decoder_test |
| 4874 | test/core/transport/chttp2/bin_decoder_test.c |
| 4875 | ) |
| 4876 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4877 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4878 | target_include_directories(bin_decoder_test |
| 4879 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4880 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4881 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4882 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4883 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4884 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4885 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4886 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4887 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4888 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4889 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4890 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4891 | ) |
| 4892 | |
| 4893 | target_link_libraries(bin_decoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4894 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4895 | grpc_test_util |
| 4896 | grpc |
| 4897 | ) |
| 4898 | |
| 4899 | endif (gRPC_BUILD_TESTS) |
| 4900 | if (gRPC_BUILD_TESTS) |
| 4901 | |
| 4902 | add_executable(bin_encoder_test |
| 4903 | test/core/transport/chttp2/bin_encoder_test.c |
| 4904 | ) |
| 4905 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4906 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4907 | target_include_directories(bin_encoder_test |
| 4908 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4909 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4910 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4911 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4912 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4913 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4914 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4915 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4916 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4917 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4918 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4919 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4920 | ) |
| 4921 | |
| 4922 | target_link_libraries(bin_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4923 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4924 | grpc_test_util |
| 4925 | grpc |
| 4926 | ) |
| 4927 | |
| 4928 | endif (gRPC_BUILD_TESTS) |
| 4929 | if (gRPC_BUILD_TESTS) |
| 4930 | |
| 4931 | add_executable(census_context_test |
| 4932 | test/core/census/context_test.c |
| 4933 | ) |
| 4934 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4935 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4936 | target_include_directories(census_context_test |
| 4937 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4938 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4939 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4940 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4941 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4942 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4943 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4944 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4945 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4946 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4947 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4948 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4949 | ) |
| 4950 | |
| 4951 | target_link_libraries(census_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4952 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4953 | grpc_test_util |
| 4954 | grpc |
| 4955 | gpr_test_util |
| 4956 | gpr |
| 4957 | ) |
| 4958 | |
| 4959 | endif (gRPC_BUILD_TESTS) |
| 4960 | if (gRPC_BUILD_TESTS) |
| 4961 | |
| 4962 | add_executable(census_resource_test |
| 4963 | test/core/census/resource_test.c |
| 4964 | ) |
| 4965 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4966 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4967 | target_include_directories(census_resource_test |
| 4968 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4969 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4970 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4971 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4972 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4973 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4974 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 4975 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 4976 | PRIVATE ${CARES_INCLUDE_DIR} |
| 4977 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 4978 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4979 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4980 | ) |
| 4981 | |
| 4982 | target_link_libraries(census_resource_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4983 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4984 | grpc_test_util |
| 4985 | grpc |
| 4986 | gpr_test_util |
| 4987 | gpr |
| 4988 | ) |
| 4989 | |
| 4990 | endif (gRPC_BUILD_TESTS) |
| 4991 | if (gRPC_BUILD_TESTS) |
| 4992 | |
| 4993 | add_executable(census_trace_context_test |
| 4994 | test/core/census/trace_context_test.c |
| 4995 | ) |
| 4996 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4997 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4998 | target_include_directories(census_trace_context_test |
| 4999 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5000 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5001 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5002 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5003 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5004 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5005 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5006 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5007 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5008 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5009 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5010 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5011 | ) |
| 5012 | |
| 5013 | target_link_libraries(census_trace_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5014 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5015 | grpc_test_util |
| 5016 | grpc |
| 5017 | gpr_test_util |
| 5018 | gpr |
| 5019 | ) |
| 5020 | |
| 5021 | endif (gRPC_BUILD_TESTS) |
| 5022 | if (gRPC_BUILD_TESTS) |
| 5023 | |
| 5024 | add_executable(channel_create_test |
| 5025 | test/core/surface/channel_create_test.c |
| 5026 | ) |
| 5027 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5028 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5029 | target_include_directories(channel_create_test |
| 5030 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5031 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5032 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5033 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5034 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5035 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5036 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5037 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5038 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5039 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5040 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5041 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5042 | ) |
| 5043 | |
| 5044 | target_link_libraries(channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5045 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5046 | grpc_test_util |
| 5047 | grpc |
| 5048 | gpr_test_util |
| 5049 | gpr |
| 5050 | ) |
| 5051 | |
| 5052 | endif (gRPC_BUILD_TESTS) |
| 5053 | if (gRPC_BUILD_TESTS) |
| 5054 | |
| 5055 | add_executable(chttp2_hpack_encoder_test |
| 5056 | test/core/transport/chttp2/hpack_encoder_test.c |
| 5057 | ) |
| 5058 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5059 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5060 | target_include_directories(chttp2_hpack_encoder_test |
| 5061 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5062 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5063 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5064 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5065 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5066 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5067 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5068 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5069 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5070 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5071 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5072 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5073 | ) |
| 5074 | |
| 5075 | target_link_libraries(chttp2_hpack_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5076 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5077 | grpc_test_util |
| 5078 | grpc |
| 5079 | gpr_test_util |
| 5080 | gpr |
| 5081 | ) |
| 5082 | |
| 5083 | endif (gRPC_BUILD_TESTS) |
| 5084 | if (gRPC_BUILD_TESTS) |
| 5085 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5086 | add_executable(chttp2_stream_map_test |
| 5087 | test/core/transport/chttp2/stream_map_test.c |
| 5088 | ) |
| 5089 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5090 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5091 | target_include_directories(chttp2_stream_map_test |
| 5092 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5093 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5094 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5095 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5096 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5097 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5098 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5099 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5100 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5101 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5102 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5103 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5104 | ) |
| 5105 | |
| 5106 | target_link_libraries(chttp2_stream_map_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5107 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5108 | grpc_test_util |
| 5109 | grpc |
| 5110 | gpr_test_util |
| 5111 | gpr |
| 5112 | ) |
| 5113 | |
| 5114 | endif (gRPC_BUILD_TESTS) |
| 5115 | if (gRPC_BUILD_TESTS) |
| 5116 | |
| 5117 | add_executable(chttp2_varint_test |
| 5118 | test/core/transport/chttp2/varint_test.c |
| 5119 | ) |
| 5120 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5121 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5122 | target_include_directories(chttp2_varint_test |
| 5123 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5124 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5125 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5126 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5127 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5128 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5129 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5130 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5131 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5132 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5133 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5134 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5135 | ) |
| 5136 | |
| 5137 | target_link_libraries(chttp2_varint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5138 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5139 | grpc_test_util |
| 5140 | grpc |
| 5141 | gpr_test_util |
| 5142 | gpr |
| 5143 | ) |
| 5144 | |
| 5145 | endif (gRPC_BUILD_TESTS) |
| 5146 | if (gRPC_BUILD_TESTS) |
| 5147 | |
| 5148 | add_executable(combiner_test |
| 5149 | test/core/iomgr/combiner_test.c |
| 5150 | ) |
| 5151 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5152 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5153 | target_include_directories(combiner_test |
| 5154 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5155 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5156 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5157 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5158 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5159 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5160 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5161 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5162 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5163 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5164 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5165 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5166 | ) |
| 5167 | |
| 5168 | target_link_libraries(combiner_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5169 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5170 | grpc_test_util |
| 5171 | grpc |
| 5172 | gpr_test_util |
| 5173 | gpr |
| 5174 | ) |
| 5175 | |
| 5176 | endif (gRPC_BUILD_TESTS) |
| 5177 | if (gRPC_BUILD_TESTS) |
| 5178 | |
| 5179 | add_executable(compression_test |
| 5180 | test/core/compression/compression_test.c |
| 5181 | ) |
| 5182 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5183 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5184 | target_include_directories(compression_test |
| 5185 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5186 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5187 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5188 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5189 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5190 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5191 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5192 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5193 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5194 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5195 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5196 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5197 | ) |
| 5198 | |
| 5199 | target_link_libraries(compression_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5200 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5201 | grpc_test_util |
| 5202 | grpc |
| 5203 | gpr_test_util |
| 5204 | gpr |
| 5205 | ) |
| 5206 | |
| 5207 | endif (gRPC_BUILD_TESTS) |
| 5208 | if (gRPC_BUILD_TESTS) |
| 5209 | |
| 5210 | add_executable(concurrent_connectivity_test |
| 5211 | test/core/surface/concurrent_connectivity_test.c |
| 5212 | ) |
| 5213 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5214 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5215 | target_include_directories(concurrent_connectivity_test |
| 5216 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5217 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5218 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5219 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5220 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5221 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5222 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5223 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5224 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5225 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5226 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5227 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5228 | ) |
| 5229 | |
| 5230 | target_link_libraries(concurrent_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5231 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5232 | grpc_test_util |
| 5233 | grpc |
| 5234 | gpr_test_util |
| 5235 | gpr |
| 5236 | ) |
| 5237 | |
| 5238 | endif (gRPC_BUILD_TESTS) |
| 5239 | if (gRPC_BUILD_TESTS) |
| 5240 | |
| 5241 | add_executable(connection_refused_test |
| 5242 | test/core/end2end/connection_refused_test.c |
| 5243 | ) |
| 5244 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5245 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5246 | target_include_directories(connection_refused_test |
| 5247 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5248 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5249 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5250 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5251 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5252 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5253 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5254 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5255 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5256 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5257 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5258 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5259 | ) |
| 5260 | |
| 5261 | target_link_libraries(connection_refused_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5262 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5263 | grpc_test_util |
| 5264 | grpc |
| 5265 | gpr_test_util |
| 5266 | gpr |
| 5267 | ) |
| 5268 | |
| 5269 | endif (gRPC_BUILD_TESTS) |
| 5270 | if (gRPC_BUILD_TESTS) |
| 5271 | |
| 5272 | add_executable(dns_resolver_connectivity_test |
| 5273 | test/core/client_channel/resolvers/dns_resolver_connectivity_test.c |
| 5274 | ) |
| 5275 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5276 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5277 | target_include_directories(dns_resolver_connectivity_test |
| 5278 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5279 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5280 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5281 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5282 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5283 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5284 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5285 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5286 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5287 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5288 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5289 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5290 | ) |
| 5291 | |
| 5292 | target_link_libraries(dns_resolver_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5293 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5294 | grpc_test_util |
| 5295 | grpc |
| 5296 | gpr_test_util |
| 5297 | gpr |
| 5298 | ) |
| 5299 | |
| 5300 | endif (gRPC_BUILD_TESTS) |
| 5301 | if (gRPC_BUILD_TESTS) |
| 5302 | |
| 5303 | add_executable(dns_resolver_test |
| 5304 | test/core/client_channel/resolvers/dns_resolver_test.c |
| 5305 | ) |
| 5306 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5307 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5308 | target_include_directories(dns_resolver_test |
| 5309 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5310 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5311 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5312 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5313 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5314 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5315 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5316 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5317 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5318 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5319 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5320 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5321 | ) |
| 5322 | |
| 5323 | target_link_libraries(dns_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5324 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5325 | grpc_test_util |
| 5326 | grpc |
| 5327 | gpr_test_util |
| 5328 | gpr |
| 5329 | ) |
| 5330 | |
| 5331 | endif (gRPC_BUILD_TESTS) |
| 5332 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5333 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5334 | |
| 5335 | add_executable(dualstack_socket_test |
| 5336 | test/core/end2end/dualstack_socket_test.c |
| 5337 | ) |
| 5338 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5339 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5340 | target_include_directories(dualstack_socket_test |
| 5341 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5342 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5343 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5344 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5345 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5346 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5347 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5348 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5349 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5350 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5351 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5352 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5353 | ) |
| 5354 | |
| 5355 | target_link_libraries(dualstack_socket_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5356 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5357 | grpc_test_util |
| 5358 | grpc |
| 5359 | gpr_test_util |
| 5360 | gpr |
| 5361 | ) |
| 5362 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5363 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5364 | endif (gRPC_BUILD_TESTS) |
| 5365 | if (gRPC_BUILD_TESTS) |
| 5366 | |
| 5367 | add_executable(endpoint_pair_test |
| 5368 | test/core/iomgr/endpoint_pair_test.c |
| 5369 | ) |
| 5370 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5371 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5372 | target_include_directories(endpoint_pair_test |
| 5373 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5374 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5375 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5376 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5377 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5378 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5379 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5380 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5381 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5382 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5383 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5384 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5385 | ) |
| 5386 | |
| 5387 | target_link_libraries(endpoint_pair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5388 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5389 | grpc_test_util |
| 5390 | grpc |
| 5391 | gpr_test_util |
| 5392 | gpr |
| 5393 | ) |
| 5394 | |
| 5395 | endif (gRPC_BUILD_TESTS) |
| 5396 | if (gRPC_BUILD_TESTS) |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5397 | |
| 5398 | add_executable(error_test |
| 5399 | test/core/iomgr/error_test.c |
| 5400 | ) |
| 5401 | |
| 5402 | |
| 5403 | target_include_directories(error_test |
| 5404 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5405 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5406 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5407 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 5408 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 5409 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5410 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5411 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5412 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5413 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5414 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
ncteisen | 3da3ce3 | 2017-02-17 09:51:25 -0800 | [diff] [blame] | 5415 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5416 | ) |
| 5417 | |
| 5418 | target_link_libraries(error_test |
| 5419 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5420 | grpc_test_util |
| 5421 | grpc |
| 5422 | gpr_test_util |
| 5423 | gpr |
| 5424 | ) |
| 5425 | |
| 5426 | endif (gRPC_BUILD_TESTS) |
| 5427 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5428 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5429 | |
| 5430 | add_executable(ev_epoll_linux_test |
| 5431 | test/core/iomgr/ev_epoll_linux_test.c |
| 5432 | ) |
| 5433 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5434 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5435 | target_include_directories(ev_epoll_linux_test |
| 5436 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5437 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5438 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5439 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5440 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5441 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5442 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5443 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5444 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5445 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5446 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5447 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5448 | ) |
| 5449 | |
| 5450 | target_link_libraries(ev_epoll_linux_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5451 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5452 | grpc_test_util |
| 5453 | grpc |
| 5454 | gpr_test_util |
| 5455 | gpr |
| 5456 | ) |
| 5457 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5458 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5459 | endif (gRPC_BUILD_TESTS) |
| 5460 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5461 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5462 | |
| 5463 | add_executable(fd_conservation_posix_test |
| 5464 | test/core/iomgr/fd_conservation_posix_test.c |
| 5465 | ) |
| 5466 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5467 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5468 | target_include_directories(fd_conservation_posix_test |
| 5469 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5470 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5471 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5472 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5473 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5474 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5475 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5476 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5477 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5478 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5479 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5480 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5481 | ) |
| 5482 | |
| 5483 | target_link_libraries(fd_conservation_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5484 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5485 | grpc_test_util |
| 5486 | grpc |
| 5487 | gpr_test_util |
| 5488 | gpr |
| 5489 | ) |
| 5490 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5491 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5492 | endif (gRPC_BUILD_TESTS) |
| 5493 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5494 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5495 | |
| 5496 | add_executable(fd_posix_test |
| 5497 | test/core/iomgr/fd_posix_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(fd_posix_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 | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5509 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5510 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5511 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5512 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5513 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5514 | ) |
| 5515 | |
| 5516 | target_link_libraries(fd_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5517 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5518 | grpc_test_util |
| 5519 | grpc |
| 5520 | gpr_test_util |
| 5521 | gpr |
| 5522 | ) |
| 5523 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5524 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5525 | endif (gRPC_BUILD_TESTS) |
| 5526 | if (gRPC_BUILD_TESTS) |
| 5527 | |
| 5528 | add_executable(fling_client |
| 5529 | test/core/fling/client.c |
| 5530 | ) |
| 5531 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5532 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5533 | target_include_directories(fling_client |
| 5534 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5535 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5536 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5537 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5538 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5539 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5540 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5541 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5542 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5543 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5544 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5545 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5546 | ) |
| 5547 | |
| 5548 | target_link_libraries(fling_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5549 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5550 | grpc_test_util |
| 5551 | grpc |
| 5552 | gpr_test_util |
| 5553 | gpr |
| 5554 | ) |
| 5555 | |
| 5556 | endif (gRPC_BUILD_TESTS) |
| 5557 | if (gRPC_BUILD_TESTS) |
| 5558 | |
| 5559 | add_executable(fling_server |
| 5560 | test/core/fling/server.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(fling_server |
| 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 | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5572 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5573 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5574 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5575 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5576 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5577 | ) |
| 5578 | |
| 5579 | target_link_libraries(fling_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5580 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5581 | grpc_test_util |
| 5582 | grpc |
| 5583 | gpr_test_util |
| 5584 | gpr |
| 5585 | ) |
| 5586 | |
| 5587 | endif (gRPC_BUILD_TESTS) |
| 5588 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5589 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5590 | |
| 5591 | add_executable(fling_stream_test |
| 5592 | test/core/fling/fling_stream_test.c |
| 5593 | ) |
| 5594 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5595 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5596 | target_include_directories(fling_stream_test |
| 5597 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5598 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5599 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5600 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5601 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5602 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5603 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5604 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5605 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5606 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5607 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5608 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5609 | ) |
| 5610 | |
| 5611 | target_link_libraries(fling_stream_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5612 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5613 | grpc_test_util |
| 5614 | grpc |
| 5615 | gpr_test_util |
| 5616 | gpr |
| 5617 | ) |
| 5618 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5619 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5620 | endif (gRPC_BUILD_TESTS) |
| 5621 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5622 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5623 | |
| 5624 | add_executable(fling_test |
| 5625 | test/core/fling/fling_test.c |
| 5626 | ) |
| 5627 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5628 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5629 | target_include_directories(fling_test |
| 5630 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5631 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5632 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5633 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5634 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5635 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5636 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5637 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5638 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5639 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5640 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5641 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5642 | ) |
| 5643 | |
| 5644 | target_link_libraries(fling_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5645 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5646 | grpc_test_util |
| 5647 | grpc |
| 5648 | gpr_test_util |
| 5649 | gpr |
| 5650 | ) |
| 5651 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5652 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5653 | endif (gRPC_BUILD_TESTS) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 5654 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5655 | add_executable(gen_hpack_tables |
| 5656 | tools/codegen/core/gen_hpack_tables.c |
| 5657 | ) |
| 5658 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5659 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5660 | target_include_directories(gen_hpack_tables |
| 5661 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5662 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5663 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5664 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5665 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5666 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5667 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5668 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5669 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5670 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5671 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5672 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5673 | ) |
| 5674 | |
| 5675 | target_link_libraries(gen_hpack_tables |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5676 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5677 | gpr |
| 5678 | grpc |
| 5679 | ) |
| 5680 | |
| 5681 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 5682 | if (gRPC_INSTALL) |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 5683 | install(TARGETS gen_hpack_tables EXPORT gRPCTargets |
| 5684 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 5685 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 5686 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 5687 | ) |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 5688 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 5689 | |
| 5690 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5691 | add_executable(gen_legal_metadata_characters |
| 5692 | tools/codegen/core/gen_legal_metadata_characters.c |
| 5693 | ) |
| 5694 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5695 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5696 | target_include_directories(gen_legal_metadata_characters |
| 5697 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5698 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5699 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5700 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5701 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5702 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5703 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5704 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5705 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5706 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5707 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5708 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5709 | ) |
| 5710 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5711 | target_link_libraries(gen_legal_metadata_characters |
| 5712 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5713 | ) |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5714 | |
| 5715 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 5716 | if (gRPC_INSTALL) |
| 5717 | install(TARGETS gen_legal_metadata_characters EXPORT gRPCTargets |
| 5718 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 5719 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 5720 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 5721 | ) |
| 5722 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 5723 | |
| 5724 | |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 5725 | add_executable(gen_percent_encoding_tables |
| 5726 | tools/codegen/core/gen_percent_encoding_tables.c |
| 5727 | ) |
| 5728 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5729 | |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 5730 | target_include_directories(gen_percent_encoding_tables |
| 5731 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5732 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5733 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5734 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5735 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 5736 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5737 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5738 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5739 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5740 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5741 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5742 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 5743 | ) |
| 5744 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5745 | target_link_libraries(gen_percent_encoding_tables |
| 5746 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 5747 | ) |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 5748 | |
| 5749 | |
Craig Tiller | 426dcde | 2016-09-07 15:43:10 -0700 | [diff] [blame] | 5750 | if (gRPC_INSTALL) |
| 5751 | install(TARGETS gen_percent_encoding_tables EXPORT gRPCTargets |
| 5752 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 5753 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 5754 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 5755 | ) |
| 5756 | endif() |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 5757 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5758 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5759 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5760 | |
| 5761 | add_executable(goaway_server_test |
| 5762 | test/core/end2end/goaway_server_test.c |
| 5763 | ) |
| 5764 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5765 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5766 | target_include_directories(goaway_server_test |
| 5767 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5768 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5769 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5770 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5771 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5772 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5773 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5774 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5775 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5776 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5777 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5778 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5779 | ) |
| 5780 | |
| 5781 | target_link_libraries(goaway_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5782 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5783 | grpc_test_util |
| 5784 | grpc |
| 5785 | gpr_test_util |
| 5786 | gpr |
| 5787 | ) |
| 5788 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5789 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5790 | endif (gRPC_BUILD_TESTS) |
| 5791 | if (gRPC_BUILD_TESTS) |
| 5792 | |
| 5793 | add_executable(gpr_avl_test |
| 5794 | test/core/support/avl_test.c |
| 5795 | ) |
| 5796 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5797 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5798 | target_include_directories(gpr_avl_test |
| 5799 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5800 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5801 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5802 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5803 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5804 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5805 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5806 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5807 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5808 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5809 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5810 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5811 | ) |
| 5812 | |
| 5813 | target_link_libraries(gpr_avl_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5814 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5815 | gpr_test_util |
| 5816 | gpr |
| 5817 | ) |
| 5818 | |
| 5819 | endif (gRPC_BUILD_TESTS) |
| 5820 | if (gRPC_BUILD_TESTS) |
| 5821 | |
| 5822 | add_executable(gpr_backoff_test |
| 5823 | test/core/support/backoff_test.c |
| 5824 | ) |
| 5825 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5826 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5827 | target_include_directories(gpr_backoff_test |
| 5828 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5829 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5830 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5831 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5832 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5833 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5834 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5835 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5836 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5837 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5838 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5839 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5840 | ) |
| 5841 | |
| 5842 | target_link_libraries(gpr_backoff_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5843 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5844 | gpr_test_util |
| 5845 | gpr |
| 5846 | ) |
| 5847 | |
| 5848 | endif (gRPC_BUILD_TESTS) |
| 5849 | if (gRPC_BUILD_TESTS) |
| 5850 | |
| 5851 | add_executable(gpr_cmdline_test |
| 5852 | test/core/support/cmdline_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(gpr_cmdline_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 | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5864 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5865 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5866 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5867 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5868 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5869 | ) |
| 5870 | |
| 5871 | target_link_libraries(gpr_cmdline_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5872 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5873 | gpr_test_util |
| 5874 | gpr |
| 5875 | ) |
| 5876 | |
| 5877 | endif (gRPC_BUILD_TESTS) |
| 5878 | if (gRPC_BUILD_TESTS) |
| 5879 | |
| 5880 | add_executable(gpr_cpu_test |
| 5881 | test/core/support/cpu_test.c |
| 5882 | ) |
| 5883 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5884 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5885 | target_include_directories(gpr_cpu_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 |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5890 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5891 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5892 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5893 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5894 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5895 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5896 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5897 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5898 | ) |
| 5899 | |
| 5900 | target_link_libraries(gpr_cpu_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5901 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5902 | gpr_test_util |
| 5903 | gpr |
| 5904 | ) |
| 5905 | |
| 5906 | endif (gRPC_BUILD_TESTS) |
| 5907 | if (gRPC_BUILD_TESTS) |
| 5908 | |
| 5909 | add_executable(gpr_env_test |
| 5910 | test/core/support/env_test.c |
| 5911 | ) |
| 5912 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5913 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5914 | target_include_directories(gpr_env_test |
| 5915 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5916 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5917 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5918 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5919 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5920 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5921 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5922 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5923 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5924 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5925 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5926 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5927 | ) |
| 5928 | |
| 5929 | target_link_libraries(gpr_env_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5930 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5931 | gpr_test_util |
| 5932 | gpr |
| 5933 | ) |
| 5934 | |
| 5935 | endif (gRPC_BUILD_TESTS) |
| 5936 | if (gRPC_BUILD_TESTS) |
| 5937 | |
| 5938 | add_executable(gpr_histogram_test |
| 5939 | test/core/support/histogram_test.c |
| 5940 | ) |
| 5941 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5942 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5943 | target_include_directories(gpr_histogram_test |
| 5944 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5945 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5946 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5947 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5948 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5949 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5950 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5951 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5952 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5953 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5954 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5955 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5956 | ) |
| 5957 | |
| 5958 | target_link_libraries(gpr_histogram_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5959 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5960 | gpr_test_util |
| 5961 | gpr |
| 5962 | ) |
| 5963 | |
| 5964 | endif (gRPC_BUILD_TESTS) |
| 5965 | if (gRPC_BUILD_TESTS) |
| 5966 | |
| 5967 | add_executable(gpr_host_port_test |
| 5968 | test/core/support/host_port_test.c |
| 5969 | ) |
| 5970 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5971 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5972 | target_include_directories(gpr_host_port_test |
| 5973 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5974 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5975 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5976 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5977 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5978 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5979 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 5980 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 5981 | PRIVATE ${CARES_INCLUDE_DIR} |
| 5982 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 5983 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5984 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5985 | ) |
| 5986 | |
| 5987 | target_link_libraries(gpr_host_port_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5988 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5989 | gpr_test_util |
| 5990 | gpr |
| 5991 | ) |
| 5992 | |
| 5993 | endif (gRPC_BUILD_TESTS) |
| 5994 | if (gRPC_BUILD_TESTS) |
| 5995 | |
| 5996 | add_executable(gpr_log_test |
| 5997 | test/core/support/log_test.c |
| 5998 | ) |
| 5999 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6000 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6001 | target_include_directories(gpr_log_test |
| 6002 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6003 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6004 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6005 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6006 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6007 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6008 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6009 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6010 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6011 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6012 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6013 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6014 | ) |
| 6015 | |
| 6016 | target_link_libraries(gpr_log_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6017 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6018 | gpr_test_util |
| 6019 | gpr |
| 6020 | ) |
| 6021 | |
| 6022 | endif (gRPC_BUILD_TESTS) |
| 6023 | if (gRPC_BUILD_TESTS) |
| 6024 | |
| 6025 | add_executable(gpr_mpscq_test |
| 6026 | test/core/support/mpscq_test.c |
| 6027 | ) |
| 6028 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6029 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6030 | target_include_directories(gpr_mpscq_test |
| 6031 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6032 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6033 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6034 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6035 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6036 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6037 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6038 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6039 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6040 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6041 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6042 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6043 | ) |
| 6044 | |
| 6045 | target_link_libraries(gpr_mpscq_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6046 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6047 | gpr_test_util |
| 6048 | gpr |
| 6049 | ) |
| 6050 | |
| 6051 | endif (gRPC_BUILD_TESTS) |
| 6052 | if (gRPC_BUILD_TESTS) |
| 6053 | |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 6054 | add_executable(gpr_spinlock_test |
| 6055 | test/core/support/spinlock_test.c |
| 6056 | ) |
| 6057 | |
| 6058 | |
| 6059 | target_include_directories(gpr_spinlock_test |
| 6060 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6061 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6062 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6063 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 6064 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 6065 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6066 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6067 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6068 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6069 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6070 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | edbf2b9 | 2017-02-27 07:24:00 -0800 | [diff] [blame] | 6071 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6072 | ) |
| 6073 | |
| 6074 | target_link_libraries(gpr_spinlock_test |
| 6075 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 6076 | gpr_test_util |
| 6077 | gpr |
| 6078 | ) |
| 6079 | |
| 6080 | endif (gRPC_BUILD_TESTS) |
| 6081 | if (gRPC_BUILD_TESTS) |
| 6082 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6083 | add_executable(gpr_stack_lockfree_test |
| 6084 | test/core/support/stack_lockfree_test.c |
| 6085 | ) |
| 6086 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6087 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6088 | target_include_directories(gpr_stack_lockfree_test |
| 6089 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6090 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6091 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6092 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6093 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6094 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6095 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6096 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6097 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6098 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6099 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6100 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6101 | ) |
| 6102 | |
| 6103 | target_link_libraries(gpr_stack_lockfree_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6104 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6105 | gpr_test_util |
| 6106 | gpr |
| 6107 | ) |
| 6108 | |
| 6109 | endif (gRPC_BUILD_TESTS) |
| 6110 | if (gRPC_BUILD_TESTS) |
| 6111 | |
| 6112 | add_executable(gpr_string_test |
| 6113 | test/core/support/string_test.c |
| 6114 | ) |
| 6115 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6116 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6117 | target_include_directories(gpr_string_test |
| 6118 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6119 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6120 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6121 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6122 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6123 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6124 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6125 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6126 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6127 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6128 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6129 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6130 | ) |
| 6131 | |
| 6132 | target_link_libraries(gpr_string_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6133 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6134 | gpr_test_util |
| 6135 | gpr |
| 6136 | ) |
| 6137 | |
| 6138 | endif (gRPC_BUILD_TESTS) |
| 6139 | if (gRPC_BUILD_TESTS) |
| 6140 | |
| 6141 | add_executable(gpr_sync_test |
| 6142 | test/core/support/sync_test.c |
| 6143 | ) |
| 6144 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6145 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6146 | target_include_directories(gpr_sync_test |
| 6147 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6148 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6149 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6150 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6151 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6152 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6153 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6154 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6155 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6156 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6157 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6158 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6159 | ) |
| 6160 | |
| 6161 | target_link_libraries(gpr_sync_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6162 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6163 | gpr_test_util |
| 6164 | gpr |
| 6165 | ) |
| 6166 | |
| 6167 | endif (gRPC_BUILD_TESTS) |
| 6168 | if (gRPC_BUILD_TESTS) |
| 6169 | |
| 6170 | add_executable(gpr_thd_test |
| 6171 | test/core/support/thd_test.c |
| 6172 | ) |
| 6173 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6174 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6175 | target_include_directories(gpr_thd_test |
| 6176 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6177 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6178 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6179 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6180 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6181 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6182 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6183 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6184 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6185 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6186 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6187 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6188 | ) |
| 6189 | |
| 6190 | target_link_libraries(gpr_thd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6191 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6192 | gpr_test_util |
| 6193 | gpr |
| 6194 | ) |
| 6195 | |
| 6196 | endif (gRPC_BUILD_TESTS) |
| 6197 | if (gRPC_BUILD_TESTS) |
| 6198 | |
| 6199 | add_executable(gpr_time_test |
| 6200 | test/core/support/time_test.c |
| 6201 | ) |
| 6202 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6203 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6204 | target_include_directories(gpr_time_test |
| 6205 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6206 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6207 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6208 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6209 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6210 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6211 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6212 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6213 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6214 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6215 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6216 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6217 | ) |
| 6218 | |
| 6219 | target_link_libraries(gpr_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6220 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6221 | gpr_test_util |
| 6222 | gpr |
| 6223 | ) |
| 6224 | |
| 6225 | endif (gRPC_BUILD_TESTS) |
| 6226 | if (gRPC_BUILD_TESTS) |
| 6227 | |
| 6228 | add_executable(gpr_tls_test |
| 6229 | test/core/support/tls_test.c |
| 6230 | ) |
| 6231 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6232 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6233 | target_include_directories(gpr_tls_test |
| 6234 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6235 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6236 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6237 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6238 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6239 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6240 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6241 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6242 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6243 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6244 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6245 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6246 | ) |
| 6247 | |
| 6248 | target_link_libraries(gpr_tls_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6249 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6250 | gpr_test_util |
| 6251 | gpr |
| 6252 | ) |
| 6253 | |
| 6254 | endif (gRPC_BUILD_TESTS) |
| 6255 | if (gRPC_BUILD_TESTS) |
| 6256 | |
| 6257 | add_executable(gpr_useful_test |
| 6258 | test/core/support/useful_test.c |
| 6259 | ) |
| 6260 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6261 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6262 | target_include_directories(gpr_useful_test |
| 6263 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6264 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6265 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6266 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6267 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6268 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6269 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6270 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6271 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6272 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6273 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6274 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6275 | ) |
| 6276 | |
| 6277 | target_link_libraries(gpr_useful_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6278 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6279 | gpr_test_util |
| 6280 | gpr |
| 6281 | ) |
| 6282 | |
| 6283 | endif (gRPC_BUILD_TESTS) |
| 6284 | if (gRPC_BUILD_TESTS) |
| 6285 | |
| 6286 | add_executable(grpc_auth_context_test |
| 6287 | test/core/security/auth_context_test.c |
| 6288 | ) |
| 6289 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6290 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6291 | target_include_directories(grpc_auth_context_test |
| 6292 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6293 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6294 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6295 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6296 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6297 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6298 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6299 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6300 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6301 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6302 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6303 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6304 | ) |
| 6305 | |
| 6306 | target_link_libraries(grpc_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6307 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6308 | grpc_test_util |
| 6309 | grpc |
| 6310 | gpr_test_util |
| 6311 | gpr |
| 6312 | ) |
| 6313 | |
| 6314 | endif (gRPC_BUILD_TESTS) |
| 6315 | if (gRPC_BUILD_TESTS) |
| 6316 | |
| 6317 | add_executable(grpc_b64_test |
Craig Tiller | 790f6af | 2017-03-30 12:39:24 -0700 | [diff] [blame] | 6318 | test/core/slice/b64_test.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6319 | ) |
| 6320 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6321 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6322 | target_include_directories(grpc_b64_test |
| 6323 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6324 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6325 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6326 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6327 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6328 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6329 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6330 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6331 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6332 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6333 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6334 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6335 | ) |
| 6336 | |
| 6337 | target_link_libraries(grpc_b64_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6338 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6339 | grpc_test_util |
| 6340 | grpc |
| 6341 | gpr_test_util |
| 6342 | gpr |
| 6343 | ) |
| 6344 | |
| 6345 | endif (gRPC_BUILD_TESTS) |
| 6346 | if (gRPC_BUILD_TESTS) |
| 6347 | |
| 6348 | add_executable(grpc_byte_buffer_reader_test |
| 6349 | test/core/surface/byte_buffer_reader_test.c |
| 6350 | ) |
| 6351 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6352 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6353 | target_include_directories(grpc_byte_buffer_reader_test |
| 6354 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6355 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6356 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6357 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6358 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6359 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6360 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6361 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6362 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6363 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6364 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6365 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6366 | ) |
| 6367 | |
| 6368 | target_link_libraries(grpc_byte_buffer_reader_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6369 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6370 | grpc_test_util |
| 6371 | grpc |
| 6372 | gpr_test_util |
| 6373 | gpr |
| 6374 | ) |
| 6375 | |
| 6376 | endif (gRPC_BUILD_TESTS) |
| 6377 | if (gRPC_BUILD_TESTS) |
| 6378 | |
| 6379 | add_executable(grpc_channel_args_test |
| 6380 | test/core/channel/channel_args_test.c |
| 6381 | ) |
| 6382 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6383 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6384 | target_include_directories(grpc_channel_args_test |
| 6385 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6386 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6387 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6388 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6389 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6390 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6391 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6392 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6393 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6394 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6395 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6396 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6397 | ) |
| 6398 | |
| 6399 | target_link_libraries(grpc_channel_args_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6400 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6401 | grpc_test_util |
| 6402 | grpc |
| 6403 | gpr_test_util |
| 6404 | gpr |
| 6405 | ) |
| 6406 | |
| 6407 | endif (gRPC_BUILD_TESTS) |
| 6408 | if (gRPC_BUILD_TESTS) |
| 6409 | |
| 6410 | add_executable(grpc_channel_stack_test |
| 6411 | test/core/channel/channel_stack_test.c |
| 6412 | ) |
| 6413 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6414 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6415 | target_include_directories(grpc_channel_stack_test |
| 6416 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6417 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6418 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6419 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6420 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6421 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6422 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6423 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6424 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6425 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6426 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6427 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6428 | ) |
| 6429 | |
| 6430 | target_link_libraries(grpc_channel_stack_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6431 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6432 | grpc_test_util |
| 6433 | grpc |
| 6434 | gpr_test_util |
| 6435 | gpr |
| 6436 | ) |
| 6437 | |
| 6438 | endif (gRPC_BUILD_TESTS) |
| 6439 | if (gRPC_BUILD_TESTS) |
| 6440 | |
| 6441 | add_executable(grpc_completion_queue_test |
| 6442 | test/core/surface/completion_queue_test.c |
| 6443 | ) |
| 6444 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6445 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6446 | target_include_directories(grpc_completion_queue_test |
| 6447 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6448 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6449 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6450 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6451 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6452 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6453 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6454 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6455 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6456 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6457 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6458 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6459 | ) |
| 6460 | |
| 6461 | target_link_libraries(grpc_completion_queue_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6462 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6463 | grpc_test_util |
| 6464 | grpc |
| 6465 | gpr_test_util |
| 6466 | gpr |
| 6467 | ) |
| 6468 | |
| 6469 | endif (gRPC_BUILD_TESTS) |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6470 | if (gRPC_BUILD_TESTS) |
| 6471 | |
| 6472 | add_executable(grpc_completion_queue_threading_test |
| 6473 | test/core/surface/completion_queue_threading_test.c |
| 6474 | ) |
| 6475 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6476 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6477 | target_include_directories(grpc_completion_queue_threading_test |
| 6478 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6479 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6480 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6481 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6482 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6483 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6484 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6485 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6486 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6487 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6488 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6489 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6490 | ) |
| 6491 | |
| 6492 | target_link_libraries(grpc_completion_queue_threading_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 6493 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 6494 | grpc_test_util |
| 6495 | grpc |
| 6496 | gpr_test_util |
| 6497 | gpr |
| 6498 | ) |
| 6499 | |
| 6500 | endif (gRPC_BUILD_TESTS) |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 6501 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6502 | add_executable(grpc_create_jwt |
| 6503 | test/core/security/create_jwt.c |
| 6504 | ) |
| 6505 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6506 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6507 | target_include_directories(grpc_create_jwt |
| 6508 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6509 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6510 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6511 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6512 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6513 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6514 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6515 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6516 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6517 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6518 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6519 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6520 | ) |
| 6521 | |
| 6522 | target_link_libraries(grpc_create_jwt |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 6523 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6524 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6525 | grpc |
| 6526 | gpr |
| 6527 | ) |
| 6528 | |
| 6529 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6530 | if (gRPC_INSTALL) |
| 6531 | install(TARGETS grpc_create_jwt EXPORT gRPCTargets |
| 6532 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 6533 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 6534 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 6535 | ) |
| 6536 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6537 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6538 | if (gRPC_BUILD_TESTS) |
| 6539 | |
| 6540 | add_executable(grpc_credentials_test |
| 6541 | test/core/security/credentials_test.c |
| 6542 | ) |
| 6543 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6544 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6545 | target_include_directories(grpc_credentials_test |
| 6546 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6547 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6548 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6549 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6550 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6551 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6552 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6553 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6554 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6555 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6556 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6557 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6558 | ) |
| 6559 | |
| 6560 | target_link_libraries(grpc_credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6561 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6562 | grpc_test_util |
| 6563 | grpc |
| 6564 | gpr_test_util |
| 6565 | gpr |
| 6566 | ) |
| 6567 | |
| 6568 | endif (gRPC_BUILD_TESTS) |
| 6569 | if (gRPC_BUILD_TESTS) |
| 6570 | |
| 6571 | add_executable(grpc_fetch_oauth2 |
| 6572 | test/core/security/fetch_oauth2.c |
| 6573 | ) |
| 6574 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6575 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6576 | target_include_directories(grpc_fetch_oauth2 |
| 6577 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6578 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6579 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6580 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6581 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6582 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6583 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6584 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6585 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6586 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6587 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6588 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6589 | ) |
| 6590 | |
| 6591 | target_link_libraries(grpc_fetch_oauth2 |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6592 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6593 | grpc_test_util |
| 6594 | grpc |
| 6595 | gpr_test_util |
| 6596 | gpr |
| 6597 | ) |
| 6598 | |
| 6599 | endif (gRPC_BUILD_TESTS) |
| 6600 | if (gRPC_BUILD_TESTS) |
| 6601 | |
| 6602 | add_executable(grpc_invalid_channel_args_test |
| 6603 | test/core/surface/invalid_channel_args_test.c |
| 6604 | ) |
| 6605 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6606 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6607 | target_include_directories(grpc_invalid_channel_args_test |
| 6608 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6609 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6610 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6611 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6612 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6613 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6614 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6615 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6616 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6617 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6618 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6619 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6620 | ) |
| 6621 | |
| 6622 | target_link_libraries(grpc_invalid_channel_args_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6623 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6624 | grpc_test_util |
| 6625 | grpc |
| 6626 | gpr_test_util |
| 6627 | gpr |
| 6628 | ) |
| 6629 | |
| 6630 | endif (gRPC_BUILD_TESTS) |
| 6631 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6632 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6633 | |
| 6634 | add_executable(grpc_json_token_test |
| 6635 | test/core/security/json_token_test.c |
| 6636 | ) |
| 6637 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6638 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6639 | target_include_directories(grpc_json_token_test |
| 6640 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6641 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6642 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6643 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6644 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6645 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6646 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6647 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6648 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6649 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6650 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6651 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6652 | ) |
| 6653 | |
| 6654 | target_link_libraries(grpc_json_token_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6655 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6656 | grpc_test_util |
| 6657 | grpc |
| 6658 | gpr_test_util |
| 6659 | gpr |
| 6660 | ) |
| 6661 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6662 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6663 | endif (gRPC_BUILD_TESTS) |
| 6664 | if (gRPC_BUILD_TESTS) |
| 6665 | |
| 6666 | add_executable(grpc_jwt_verifier_test |
| 6667 | test/core/security/jwt_verifier_test.c |
| 6668 | ) |
| 6669 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6670 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6671 | target_include_directories(grpc_jwt_verifier_test |
| 6672 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6673 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6674 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6675 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6676 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6677 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6678 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6679 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6680 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6681 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6682 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6683 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6684 | ) |
| 6685 | |
| 6686 | target_link_libraries(grpc_jwt_verifier_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6687 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6688 | grpc_test_util |
| 6689 | grpc |
| 6690 | gpr_test_util |
| 6691 | gpr |
| 6692 | ) |
| 6693 | |
| 6694 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6695 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6696 | add_executable(grpc_print_google_default_creds_token |
| 6697 | test/core/security/print_google_default_creds_token.c |
| 6698 | ) |
| 6699 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6700 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6701 | target_include_directories(grpc_print_google_default_creds_token |
| 6702 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6703 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6704 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6705 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6706 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6707 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6708 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6709 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6710 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6711 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6712 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6713 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6714 | ) |
| 6715 | |
| 6716 | target_link_libraries(grpc_print_google_default_creds_token |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6717 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6718 | grpc |
| 6719 | gpr |
| 6720 | ) |
| 6721 | |
| 6722 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6723 | if (gRPC_INSTALL) |
| 6724 | install(TARGETS grpc_print_google_default_creds_token EXPORT gRPCTargets |
| 6725 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 6726 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 6727 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 6728 | ) |
| 6729 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6730 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6731 | if (gRPC_BUILD_TESTS) |
| 6732 | |
| 6733 | add_executable(grpc_security_connector_test |
| 6734 | test/core/security/security_connector_test.c |
| 6735 | ) |
| 6736 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6737 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6738 | target_include_directories(grpc_security_connector_test |
| 6739 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6740 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6741 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6742 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6743 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6744 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6745 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6746 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6747 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6748 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6749 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6750 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6751 | ) |
| 6752 | |
| 6753 | target_link_libraries(grpc_security_connector_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6754 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6755 | grpc_test_util |
| 6756 | grpc |
| 6757 | gpr_test_util |
| 6758 | gpr |
| 6759 | ) |
| 6760 | |
| 6761 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6762 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6763 | add_executable(grpc_verify_jwt |
| 6764 | test/core/security/verify_jwt.c |
| 6765 | ) |
| 6766 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6767 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6768 | target_include_directories(grpc_verify_jwt |
| 6769 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6770 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6771 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6772 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6773 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6774 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6775 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6776 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6777 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6778 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6779 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6780 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6781 | ) |
| 6782 | |
| 6783 | target_link_libraries(grpc_verify_jwt |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6784 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 6785 | grpc |
| 6786 | gpr |
| 6787 | ) |
| 6788 | |
| 6789 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 6790 | if (gRPC_INSTALL) |
| 6791 | install(TARGETS grpc_verify_jwt EXPORT gRPCTargets |
| 6792 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 6793 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 6794 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 6795 | ) |
| 6796 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 6797 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6798 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6799 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6800 | |
| 6801 | add_executable(handshake_client |
| 6802 | test/core/handshake/client_ssl.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(handshake_client |
| 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 | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6814 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6815 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6816 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6817 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6818 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6819 | ) |
| 6820 | |
| 6821 | target_link_libraries(handshake_client |
| 6822 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6823 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6824 | grpc_test_util |
| 6825 | grpc |
| 6826 | gpr_test_util |
| 6827 | gpr |
| 6828 | ) |
| 6829 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6830 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6831 | endif (gRPC_BUILD_TESTS) |
| 6832 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6833 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6834 | |
| 6835 | add_executable(handshake_server |
| 6836 | test/core/handshake/server_ssl.c |
| 6837 | ) |
| 6838 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6839 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6840 | target_include_directories(handshake_server |
| 6841 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6842 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6843 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6844 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6845 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6846 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6847 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6848 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6849 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6850 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6851 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6852 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6853 | ) |
| 6854 | |
| 6855 | target_link_libraries(handshake_server |
| 6856 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6857 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6858 | grpc_test_util |
| 6859 | grpc |
| 6860 | gpr_test_util |
| 6861 | gpr |
| 6862 | ) |
| 6863 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6864 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6865 | endif (gRPC_BUILD_TESTS) |
| 6866 | if (gRPC_BUILD_TESTS) |
| 6867 | |
| 6868 | add_executable(hpack_parser_test |
| 6869 | test/core/transport/chttp2/hpack_parser_test.c |
| 6870 | ) |
| 6871 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6872 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6873 | target_include_directories(hpack_parser_test |
| 6874 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6875 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6876 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6877 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6878 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6879 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6880 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6881 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6882 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6883 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6884 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6885 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6886 | ) |
| 6887 | |
| 6888 | target_link_libraries(hpack_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6889 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6890 | grpc_test_util |
| 6891 | grpc |
| 6892 | gpr_test_util |
| 6893 | gpr |
| 6894 | ) |
| 6895 | |
| 6896 | endif (gRPC_BUILD_TESTS) |
| 6897 | if (gRPC_BUILD_TESTS) |
| 6898 | |
| 6899 | add_executable(hpack_table_test |
| 6900 | test/core/transport/chttp2/hpack_table_test.c |
| 6901 | ) |
| 6902 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6903 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6904 | target_include_directories(hpack_table_test |
| 6905 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6906 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6907 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6908 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6909 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6910 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6911 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6912 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6913 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6914 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6915 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6916 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6917 | ) |
| 6918 | |
| 6919 | target_link_libraries(hpack_table_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6920 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6921 | grpc_test_util |
| 6922 | grpc |
| 6923 | gpr_test_util |
| 6924 | gpr |
| 6925 | ) |
| 6926 | |
| 6927 | endif (gRPC_BUILD_TESTS) |
| 6928 | if (gRPC_BUILD_TESTS) |
| 6929 | |
| 6930 | add_executable(http_parser_test |
| 6931 | test/core/http/parser_test.c |
| 6932 | ) |
| 6933 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6934 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6935 | target_include_directories(http_parser_test |
| 6936 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6937 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6938 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6939 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6940 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6941 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6942 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6943 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6944 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6945 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6946 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6947 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6948 | ) |
| 6949 | |
| 6950 | target_link_libraries(http_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6951 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6952 | grpc_test_util |
| 6953 | grpc |
| 6954 | gpr_test_util |
| 6955 | gpr |
| 6956 | ) |
| 6957 | |
| 6958 | endif (gRPC_BUILD_TESTS) |
| 6959 | if (gRPC_BUILD_TESTS) |
| 6960 | |
| 6961 | add_executable(httpcli_format_request_test |
| 6962 | test/core/http/format_request_test.c |
| 6963 | ) |
| 6964 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6965 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6966 | target_include_directories(httpcli_format_request_test |
| 6967 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6968 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6969 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6970 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6971 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6972 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6973 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 6974 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 6975 | PRIVATE ${CARES_INCLUDE_DIR} |
| 6976 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 6977 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6978 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6979 | ) |
| 6980 | |
| 6981 | target_link_libraries(httpcli_format_request_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6982 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6983 | grpc_test_util |
| 6984 | grpc |
| 6985 | gpr_test_util |
| 6986 | gpr |
| 6987 | ) |
| 6988 | |
| 6989 | endif (gRPC_BUILD_TESTS) |
| 6990 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6991 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6992 | |
| 6993 | add_executable(httpcli_test |
| 6994 | test/core/http/httpcli_test.c |
| 6995 | ) |
| 6996 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6997 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6998 | target_include_directories(httpcli_test |
| 6999 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7000 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7001 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7002 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7003 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7004 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7005 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7006 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7007 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7008 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7009 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7010 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7011 | ) |
| 7012 | |
| 7013 | target_link_libraries(httpcli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7014 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7015 | grpc_test_util |
| 7016 | grpc |
| 7017 | gpr_test_util |
| 7018 | gpr |
| 7019 | ) |
| 7020 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7021 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7022 | endif (gRPC_BUILD_TESTS) |
| 7023 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7024 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7025 | |
| 7026 | add_executable(httpscli_test |
| 7027 | test/core/http/httpscli_test.c |
| 7028 | ) |
| 7029 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7030 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7031 | target_include_directories(httpscli_test |
| 7032 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7033 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7034 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7035 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7036 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7037 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7038 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7039 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7040 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7041 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7042 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7043 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7044 | ) |
| 7045 | |
| 7046 | target_link_libraries(httpscli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7047 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7048 | grpc_test_util |
| 7049 | grpc |
| 7050 | gpr_test_util |
| 7051 | gpr |
| 7052 | ) |
| 7053 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7054 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7055 | endif (gRPC_BUILD_TESTS) |
| 7056 | if (gRPC_BUILD_TESTS) |
| 7057 | |
| 7058 | add_executable(init_test |
| 7059 | test/core/surface/init_test.c |
| 7060 | ) |
| 7061 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7062 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7063 | target_include_directories(init_test |
| 7064 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7065 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7066 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7067 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7068 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7069 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7070 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7071 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7072 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7073 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7074 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7075 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7076 | ) |
| 7077 | |
| 7078 | target_link_libraries(init_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7079 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7080 | grpc_test_util |
| 7081 | grpc |
| 7082 | gpr_test_util |
| 7083 | gpr |
| 7084 | ) |
| 7085 | |
| 7086 | endif (gRPC_BUILD_TESTS) |
| 7087 | if (gRPC_BUILD_TESTS) |
| 7088 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7089 | add_executable(invalid_call_argument_test |
| 7090 | test/core/end2end/invalid_call_argument_test.c |
| 7091 | ) |
| 7092 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7093 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7094 | target_include_directories(invalid_call_argument_test |
| 7095 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7096 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7097 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7098 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7099 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7100 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7101 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7102 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7103 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7104 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7105 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7106 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7107 | ) |
| 7108 | |
| 7109 | target_link_libraries(invalid_call_argument_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7110 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7111 | grpc_test_util |
| 7112 | grpc |
| 7113 | gpr_test_util |
| 7114 | gpr |
| 7115 | ) |
| 7116 | |
| 7117 | endif (gRPC_BUILD_TESTS) |
| 7118 | if (gRPC_BUILD_TESTS) |
| 7119 | |
| 7120 | add_executable(json_rewrite |
| 7121 | test/core/json/json_rewrite.c |
| 7122 | ) |
| 7123 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7124 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7125 | target_include_directories(json_rewrite |
| 7126 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7127 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7128 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7129 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7130 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7131 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7132 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7133 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7134 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7135 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7136 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7137 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7138 | ) |
| 7139 | |
| 7140 | target_link_libraries(json_rewrite |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7141 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7142 | grpc |
| 7143 | gpr |
| 7144 | ) |
| 7145 | |
| 7146 | endif (gRPC_BUILD_TESTS) |
| 7147 | if (gRPC_BUILD_TESTS) |
| 7148 | |
| 7149 | add_executable(json_rewrite_test |
| 7150 | test/core/json/json_rewrite_test.c |
| 7151 | ) |
| 7152 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7153 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7154 | target_include_directories(json_rewrite_test |
| 7155 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7156 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7157 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7158 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7159 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7160 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7161 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7162 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7163 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7164 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7165 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7166 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7167 | ) |
| 7168 | |
| 7169 | target_link_libraries(json_rewrite_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7170 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7171 | grpc_test_util |
| 7172 | grpc |
| 7173 | gpr_test_util |
| 7174 | gpr |
| 7175 | ) |
| 7176 | |
| 7177 | endif (gRPC_BUILD_TESTS) |
| 7178 | if (gRPC_BUILD_TESTS) |
| 7179 | |
| 7180 | add_executable(json_stream_error_test |
| 7181 | test/core/json/json_stream_error_test.c |
| 7182 | ) |
| 7183 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7184 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7185 | target_include_directories(json_stream_error_test |
| 7186 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7187 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7188 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7189 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7190 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7191 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7192 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7193 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7194 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7195 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7196 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7197 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7198 | ) |
| 7199 | |
| 7200 | target_link_libraries(json_stream_error_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7201 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7202 | grpc_test_util |
| 7203 | grpc |
| 7204 | gpr_test_util |
| 7205 | gpr |
| 7206 | ) |
| 7207 | |
| 7208 | endif (gRPC_BUILD_TESTS) |
| 7209 | if (gRPC_BUILD_TESTS) |
| 7210 | |
| 7211 | add_executable(json_test |
| 7212 | test/core/json/json_test.c |
| 7213 | ) |
| 7214 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7215 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7216 | target_include_directories(json_test |
| 7217 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7218 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7219 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7220 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7221 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7222 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7223 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7224 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7225 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7226 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7227 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7228 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7229 | ) |
| 7230 | |
| 7231 | target_link_libraries(json_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7232 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7233 | grpc_test_util |
| 7234 | grpc |
| 7235 | gpr_test_util |
| 7236 | gpr |
| 7237 | ) |
| 7238 | |
| 7239 | endif (gRPC_BUILD_TESTS) |
| 7240 | if (gRPC_BUILD_TESTS) |
| 7241 | |
| 7242 | add_executable(lame_client_test |
| 7243 | test/core/surface/lame_client_test.c |
| 7244 | ) |
| 7245 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7246 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7247 | target_include_directories(lame_client_test |
| 7248 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7249 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7250 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7251 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7252 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7253 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7254 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7255 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7256 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7257 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7258 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7259 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7260 | ) |
| 7261 | |
| 7262 | target_link_libraries(lame_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7263 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7264 | grpc_test_util |
| 7265 | grpc |
| 7266 | gpr_test_util |
| 7267 | gpr |
| 7268 | ) |
| 7269 | |
| 7270 | endif (gRPC_BUILD_TESTS) |
| 7271 | if (gRPC_BUILD_TESTS) |
| 7272 | |
| 7273 | add_executable(lb_policies_test |
| 7274 | test/core/client_channel/lb_policies_test.c |
| 7275 | ) |
| 7276 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7277 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7278 | target_include_directories(lb_policies_test |
| 7279 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7280 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7281 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7282 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7283 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7284 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7285 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7286 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7287 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7288 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7289 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7290 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7291 | ) |
| 7292 | |
| 7293 | target_link_libraries(lb_policies_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7294 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7295 | grpc_test_util |
| 7296 | grpc |
| 7297 | gpr_test_util |
| 7298 | gpr |
| 7299 | ) |
| 7300 | |
| 7301 | endif (gRPC_BUILD_TESTS) |
| 7302 | if (gRPC_BUILD_TESTS) |
| 7303 | |
| 7304 | add_executable(load_file_test |
| 7305 | test/core/iomgr/load_file_test.c |
| 7306 | ) |
| 7307 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7308 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7309 | target_include_directories(load_file_test |
| 7310 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7311 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7312 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7313 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7314 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7315 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7316 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7317 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7318 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7319 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7320 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7321 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7322 | ) |
| 7323 | |
| 7324 | target_link_libraries(load_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7325 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7326 | grpc_test_util |
| 7327 | grpc |
| 7328 | gpr_test_util |
| 7329 | gpr |
| 7330 | ) |
| 7331 | |
| 7332 | endif (gRPC_BUILD_TESTS) |
| 7333 | if (gRPC_BUILD_TESTS) |
| 7334 | |
| 7335 | add_executable(memory_profile_client |
| 7336 | test/core/memory_usage/client.c |
| 7337 | ) |
| 7338 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7339 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7340 | target_include_directories(memory_profile_client |
| 7341 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7342 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7343 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7344 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7345 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7346 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7347 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7348 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7349 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7350 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7351 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7352 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7353 | ) |
| 7354 | |
| 7355 | target_link_libraries(memory_profile_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7356 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7357 | grpc_test_util |
| 7358 | grpc |
| 7359 | gpr_test_util |
| 7360 | gpr |
| 7361 | ) |
| 7362 | |
| 7363 | endif (gRPC_BUILD_TESTS) |
| 7364 | if (gRPC_BUILD_TESTS) |
| 7365 | |
| 7366 | add_executable(memory_profile_server |
| 7367 | test/core/memory_usage/server.c |
| 7368 | ) |
| 7369 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7370 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7371 | target_include_directories(memory_profile_server |
| 7372 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7373 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7374 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7375 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7376 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7377 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7378 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7379 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7380 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7381 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7382 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7383 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7384 | ) |
| 7385 | |
| 7386 | target_link_libraries(memory_profile_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7387 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7388 | grpc_test_util |
| 7389 | grpc |
| 7390 | gpr_test_util |
| 7391 | gpr |
| 7392 | ) |
| 7393 | |
| 7394 | endif (gRPC_BUILD_TESTS) |
| 7395 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7396 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7397 | |
| 7398 | add_executable(memory_profile_test |
| 7399 | test/core/memory_usage/memory_usage_test.c |
| 7400 | ) |
| 7401 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7402 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7403 | target_include_directories(memory_profile_test |
| 7404 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7405 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7406 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7407 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7408 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7409 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7410 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7411 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7412 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7413 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7414 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7415 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7416 | ) |
| 7417 | |
| 7418 | target_link_libraries(memory_profile_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7419 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7420 | grpc_test_util |
| 7421 | grpc |
| 7422 | gpr_test_util |
| 7423 | gpr |
| 7424 | ) |
| 7425 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7426 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7427 | endif (gRPC_BUILD_TESTS) |
| 7428 | if (gRPC_BUILD_TESTS) |
| 7429 | |
| 7430 | add_executable(message_compress_test |
| 7431 | test/core/compression/message_compress_test.c |
| 7432 | ) |
| 7433 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7434 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7435 | target_include_directories(message_compress_test |
| 7436 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7437 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7438 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7439 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7440 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7441 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7442 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7443 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7444 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7445 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7446 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7447 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7448 | ) |
| 7449 | |
| 7450 | target_link_libraries(message_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7451 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7452 | grpc_test_util |
| 7453 | grpc |
| 7454 | gpr_test_util |
| 7455 | gpr |
| 7456 | ) |
| 7457 | |
| 7458 | endif (gRPC_BUILD_TESTS) |
| 7459 | if (gRPC_BUILD_TESTS) |
| 7460 | |
| 7461 | add_executable(mlog_test |
| 7462 | test/core/census/mlog_test.c |
| 7463 | ) |
| 7464 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7465 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7466 | target_include_directories(mlog_test |
| 7467 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7468 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7469 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7470 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7471 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7472 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7473 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7474 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7475 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7476 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7477 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7478 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7479 | ) |
| 7480 | |
| 7481 | target_link_libraries(mlog_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7482 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7483 | grpc_test_util |
| 7484 | grpc |
| 7485 | gpr_test_util |
| 7486 | gpr |
| 7487 | ) |
| 7488 | |
| 7489 | endif (gRPC_BUILD_TESTS) |
| 7490 | if (gRPC_BUILD_TESTS) |
| 7491 | |
| 7492 | add_executable(multiple_server_queues_test |
| 7493 | test/core/end2end/multiple_server_queues_test.c |
| 7494 | ) |
| 7495 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7496 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7497 | target_include_directories(multiple_server_queues_test |
| 7498 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7499 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7500 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7501 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7502 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7503 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7504 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7505 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7506 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7507 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7508 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7509 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7510 | ) |
| 7511 | |
| 7512 | target_link_libraries(multiple_server_queues_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7513 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7514 | grpc_test_util |
| 7515 | grpc |
| 7516 | gpr_test_util |
| 7517 | gpr |
| 7518 | ) |
| 7519 | |
| 7520 | endif (gRPC_BUILD_TESTS) |
| 7521 | if (gRPC_BUILD_TESTS) |
| 7522 | |
| 7523 | add_executable(murmur_hash_test |
| 7524 | test/core/support/murmur_hash_test.c |
| 7525 | ) |
| 7526 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7527 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7528 | target_include_directories(murmur_hash_test |
| 7529 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7530 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7531 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7532 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7533 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7534 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7535 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7536 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7537 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7538 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 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(murmur_hash_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 | gpr_test_util |
| 7546 | gpr |
| 7547 | ) |
| 7548 | |
| 7549 | endif (gRPC_BUILD_TESTS) |
| 7550 | if (gRPC_BUILD_TESTS) |
| 7551 | |
| 7552 | add_executable(no_server_test |
| 7553 | test/core/end2end/no_server_test.c |
| 7554 | ) |
| 7555 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7556 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7557 | target_include_directories(no_server_test |
| 7558 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7559 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7560 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7561 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7562 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7563 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7564 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7565 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7566 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7567 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 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(no_server_test |
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_test_util |
| 7575 | grpc |
| 7576 | gpr_test_util |
| 7577 | gpr |
| 7578 | ) |
| 7579 | |
| 7580 | endif (gRPC_BUILD_TESTS) |
| 7581 | if (gRPC_BUILD_TESTS) |
| 7582 | |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7583 | add_executable(parse_address_test |
| 7584 | test/core/client_channel/parse_address_test.c |
| 7585 | ) |
| 7586 | |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 7587 | |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7588 | target_include_directories(parse_address_test |
| 7589 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7590 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7591 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7592 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 7593 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7594 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7595 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7596 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7597 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7598 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7599 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7600 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7601 | ) |
| 7602 | |
| 7603 | target_link_libraries(parse_address_test |
David Garcia Quintas | 8a0ec88 | 2017-03-03 16:53:54 -0800 | [diff] [blame] | 7604 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Yuchen Zeng | a9d8a15 | 2017-02-15 15:27:44 -0800 | [diff] [blame] | 7605 | grpc_test_util |
| 7606 | grpc |
| 7607 | gpr_test_util |
| 7608 | gpr |
| 7609 | ) |
| 7610 | |
| 7611 | endif (gRPC_BUILD_TESTS) |
| 7612 | if (gRPC_BUILD_TESTS) |
| 7613 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7614 | add_executable(percent_encoding_test |
| 7615 | test/core/slice/percent_encoding_test.c |
| 7616 | ) |
| 7617 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7618 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7619 | target_include_directories(percent_encoding_test |
| 7620 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7621 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7622 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7623 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7624 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7625 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7626 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7627 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7628 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7629 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7630 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7631 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7632 | ) |
| 7633 | |
| 7634 | target_link_libraries(percent_encoding_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7635 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7636 | grpc_test_util |
| 7637 | grpc |
| 7638 | gpr_test_util |
| 7639 | gpr |
| 7640 | ) |
| 7641 | |
| 7642 | endif (gRPC_BUILD_TESTS) |
| 7643 | if (gRPC_BUILD_TESTS) |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7644 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7645 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7646 | add_executable(pollset_set_test |
| 7647 | test/core/iomgr/pollset_set_test.c |
| 7648 | ) |
| 7649 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7650 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7651 | target_include_directories(pollset_set_test |
| 7652 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7653 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7654 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7655 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7656 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7657 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7658 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7659 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7660 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7661 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7662 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7663 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7664 | ) |
| 7665 | |
| 7666 | target_link_libraries(pollset_set_test |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7667 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7668 | grpc_test_util |
| 7669 | grpc |
| 7670 | gpr_test_util |
| 7671 | gpr |
| 7672 | ) |
| 7673 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 7674 | endif() |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 7675 | endif (gRPC_BUILD_TESTS) |
| 7676 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7677 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7678 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7679 | add_executable(resolve_address_posix_test |
| 7680 | test/core/iomgr/resolve_address_posix_test.c |
| 7681 | ) |
| 7682 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7683 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7684 | target_include_directories(resolve_address_posix_test |
| 7685 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7686 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7687 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7688 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7689 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7690 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7691 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7692 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7693 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7694 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7695 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7696 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7697 | ) |
| 7698 | |
| 7699 | target_link_libraries(resolve_address_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7700 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7701 | grpc_test_util |
| 7702 | grpc |
| 7703 | gpr_test_util |
| 7704 | gpr |
| 7705 | ) |
| 7706 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7707 | endif() |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 7708 | endif (gRPC_BUILD_TESTS) |
| 7709 | if (gRPC_BUILD_TESTS) |
| 7710 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7711 | add_executable(resolve_address_test |
| 7712 | test/core/iomgr/resolve_address_test.c |
| 7713 | ) |
| 7714 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7715 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7716 | target_include_directories(resolve_address_test |
| 7717 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7718 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7719 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7720 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7721 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7722 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7723 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7724 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7725 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7726 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7727 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7728 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7729 | ) |
| 7730 | |
| 7731 | target_link_libraries(resolve_address_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7732 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7733 | grpc_test_util |
| 7734 | grpc |
| 7735 | gpr_test_util |
| 7736 | gpr |
| 7737 | ) |
| 7738 | |
| 7739 | endif (gRPC_BUILD_TESTS) |
| 7740 | if (gRPC_BUILD_TESTS) |
| 7741 | |
| 7742 | add_executable(resource_quota_test |
| 7743 | test/core/iomgr/resource_quota_test.c |
| 7744 | ) |
| 7745 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7746 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7747 | target_include_directories(resource_quota_test |
| 7748 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7749 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7750 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7751 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7752 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7753 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7754 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7755 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7756 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7757 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7758 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7759 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7760 | ) |
| 7761 | |
| 7762 | target_link_libraries(resource_quota_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7763 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7764 | grpc_test_util |
| 7765 | grpc |
| 7766 | gpr_test_util |
| 7767 | gpr |
| 7768 | ) |
| 7769 | |
| 7770 | endif (gRPC_BUILD_TESTS) |
| 7771 | if (gRPC_BUILD_TESTS) |
| 7772 | |
| 7773 | add_executable(secure_channel_create_test |
| 7774 | test/core/surface/secure_channel_create_test.c |
| 7775 | ) |
| 7776 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7777 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7778 | target_include_directories(secure_channel_create_test |
| 7779 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7780 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7781 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7782 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7783 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7784 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7785 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7786 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7787 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7788 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7789 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7790 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7791 | ) |
| 7792 | |
| 7793 | target_link_libraries(secure_channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7794 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7795 | grpc_test_util |
| 7796 | grpc |
| 7797 | gpr_test_util |
| 7798 | gpr |
| 7799 | ) |
| 7800 | |
| 7801 | endif (gRPC_BUILD_TESTS) |
| 7802 | if (gRPC_BUILD_TESTS) |
| 7803 | |
| 7804 | add_executable(secure_endpoint_test |
| 7805 | test/core/security/secure_endpoint_test.c |
| 7806 | ) |
| 7807 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7808 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7809 | target_include_directories(secure_endpoint_test |
| 7810 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7811 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7812 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7813 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7814 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7815 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7816 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7817 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7818 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7819 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7820 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7821 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7822 | ) |
| 7823 | |
| 7824 | target_link_libraries(secure_endpoint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7825 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7826 | grpc_test_util |
| 7827 | grpc |
| 7828 | gpr_test_util |
| 7829 | gpr |
| 7830 | ) |
| 7831 | |
| 7832 | endif (gRPC_BUILD_TESTS) |
| 7833 | if (gRPC_BUILD_TESTS) |
| 7834 | |
| 7835 | add_executable(sequential_connectivity_test |
| 7836 | test/core/surface/sequential_connectivity_test.c |
| 7837 | ) |
| 7838 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7839 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7840 | target_include_directories(sequential_connectivity_test |
| 7841 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7842 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7843 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7844 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7845 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7846 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7847 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7848 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7849 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7850 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7851 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7852 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7853 | ) |
| 7854 | |
| 7855 | target_link_libraries(sequential_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7856 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7857 | grpc_test_util |
| 7858 | grpc |
| 7859 | gpr_test_util |
| 7860 | gpr |
| 7861 | ) |
| 7862 | |
| 7863 | endif (gRPC_BUILD_TESTS) |
| 7864 | if (gRPC_BUILD_TESTS) |
| 7865 | |
| 7866 | add_executable(server_chttp2_test |
| 7867 | test/core/surface/server_chttp2_test.c |
| 7868 | ) |
| 7869 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7870 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7871 | target_include_directories(server_chttp2_test |
| 7872 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7873 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7874 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7875 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7876 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7877 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7878 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7879 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7880 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7881 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7882 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7883 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7884 | ) |
| 7885 | |
| 7886 | target_link_libraries(server_chttp2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7887 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7888 | grpc_test_util |
| 7889 | grpc |
| 7890 | gpr_test_util |
| 7891 | gpr |
| 7892 | ) |
| 7893 | |
| 7894 | endif (gRPC_BUILD_TESTS) |
| 7895 | if (gRPC_BUILD_TESTS) |
| 7896 | |
| 7897 | add_executable(server_test |
| 7898 | test/core/surface/server_test.c |
| 7899 | ) |
| 7900 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7901 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7902 | target_include_directories(server_test |
| 7903 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7904 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7905 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7906 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7907 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7908 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7909 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7910 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7911 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7912 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7913 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7914 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7915 | ) |
| 7916 | |
| 7917 | target_link_libraries(server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7918 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7919 | grpc_test_util |
| 7920 | grpc |
| 7921 | gpr_test_util |
| 7922 | gpr |
| 7923 | ) |
| 7924 | |
| 7925 | endif (gRPC_BUILD_TESTS) |
| 7926 | if (gRPC_BUILD_TESTS) |
| 7927 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7928 | add_executable(slice_buffer_test |
| 7929 | test/core/slice/slice_buffer_test.c |
| 7930 | ) |
| 7931 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7932 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7933 | target_include_directories(slice_buffer_test |
| 7934 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7935 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7936 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7937 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7938 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7939 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7940 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7941 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7942 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7943 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7944 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7945 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7946 | ) |
| 7947 | |
| 7948 | target_link_libraries(slice_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7949 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7950 | grpc_test_util |
| 7951 | grpc |
| 7952 | gpr_test_util |
| 7953 | gpr |
| 7954 | ) |
| 7955 | |
| 7956 | endif (gRPC_BUILD_TESTS) |
| 7957 | if (gRPC_BUILD_TESTS) |
| 7958 | |
| 7959 | add_executable(slice_string_helpers_test |
| 7960 | test/core/slice/slice_string_helpers_test.c |
| 7961 | ) |
| 7962 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7963 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7964 | target_include_directories(slice_string_helpers_test |
| 7965 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7966 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7967 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7968 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7969 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7970 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7971 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 7972 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 7973 | PRIVATE ${CARES_INCLUDE_DIR} |
| 7974 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 7975 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7976 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7977 | ) |
| 7978 | |
| 7979 | target_link_libraries(slice_string_helpers_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7980 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7981 | grpc_test_util |
| 7982 | grpc |
| 7983 | gpr_test_util |
| 7984 | gpr |
| 7985 | ) |
| 7986 | |
| 7987 | endif (gRPC_BUILD_TESTS) |
| 7988 | if (gRPC_BUILD_TESTS) |
| 7989 | |
| 7990 | add_executable(slice_test |
| 7991 | test/core/slice/slice_test.c |
| 7992 | ) |
| 7993 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7994 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7995 | target_include_directories(slice_test |
| 7996 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7997 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7998 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7999 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8000 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8001 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8002 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8003 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8004 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8005 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8006 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8007 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8008 | ) |
| 8009 | |
| 8010 | target_link_libraries(slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8011 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8012 | grpc_test_util |
| 8013 | grpc |
| 8014 | gpr_test_util |
| 8015 | gpr |
| 8016 | ) |
| 8017 | |
| 8018 | endif (gRPC_BUILD_TESTS) |
| 8019 | if (gRPC_BUILD_TESTS) |
| 8020 | |
| 8021 | add_executable(sockaddr_resolver_test |
| 8022 | test/core/client_channel/resolvers/sockaddr_resolver_test.c |
| 8023 | ) |
| 8024 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8025 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8026 | target_include_directories(sockaddr_resolver_test |
| 8027 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8028 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8029 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8030 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8031 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8032 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8033 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8034 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8035 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8036 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8037 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8038 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8039 | ) |
| 8040 | |
| 8041 | target_link_libraries(sockaddr_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8042 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8043 | grpc_test_util |
| 8044 | grpc |
| 8045 | gpr_test_util |
| 8046 | gpr |
| 8047 | ) |
| 8048 | |
| 8049 | endif (gRPC_BUILD_TESTS) |
| 8050 | if (gRPC_BUILD_TESTS) |
| 8051 | |
| 8052 | add_executable(sockaddr_utils_test |
| 8053 | test/core/iomgr/sockaddr_utils_test.c |
| 8054 | ) |
| 8055 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8056 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8057 | target_include_directories(sockaddr_utils_test |
| 8058 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8059 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8060 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8061 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8062 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8063 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8064 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8065 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8066 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8067 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8068 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8069 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8070 | ) |
| 8071 | |
| 8072 | target_link_libraries(sockaddr_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8073 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8074 | grpc_test_util |
| 8075 | grpc |
| 8076 | gpr_test_util |
| 8077 | gpr |
| 8078 | ) |
| 8079 | |
| 8080 | endif (gRPC_BUILD_TESTS) |
| 8081 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8082 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8083 | |
| 8084 | add_executable(socket_utils_test |
| 8085 | test/core/iomgr/socket_utils_test.c |
| 8086 | ) |
| 8087 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8088 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8089 | target_include_directories(socket_utils_test |
| 8090 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8091 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8092 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8093 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8094 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8095 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8096 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8097 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8098 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8099 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8100 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8101 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8102 | ) |
| 8103 | |
| 8104 | target_link_libraries(socket_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8105 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8106 | grpc_test_util |
| 8107 | grpc |
| 8108 | gpr_test_util |
| 8109 | gpr |
| 8110 | ) |
| 8111 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8112 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8113 | endif (gRPC_BUILD_TESTS) |
| 8114 | if (gRPC_BUILD_TESTS) |
| 8115 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8116 | add_executable(status_conversion_test |
| 8117 | test/core/transport/status_conversion_test.c |
| 8118 | ) |
| 8119 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8120 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8121 | target_include_directories(status_conversion_test |
| 8122 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8123 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8124 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8125 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8126 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8127 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8128 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8129 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8130 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8131 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8132 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8133 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8134 | ) |
| 8135 | |
| 8136 | target_link_libraries(status_conversion_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8137 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8138 | grpc_test_util |
| 8139 | grpc |
| 8140 | gpr_test_util |
| 8141 | gpr |
| 8142 | ) |
| 8143 | |
| 8144 | endif (gRPC_BUILD_TESTS) |
| 8145 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8146 | |
| 8147 | add_executable(stream_owned_slice_test |
| 8148 | test/core/transport/stream_owned_slice_test.c |
| 8149 | ) |
| 8150 | |
| 8151 | |
| 8152 | target_include_directories(stream_owned_slice_test |
| 8153 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8154 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8155 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8156 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8157 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8158 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8159 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8160 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8161 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8162 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8163 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 295df6d | 2017-03-01 11:28:24 -0800 | [diff] [blame] | 8164 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8165 | ) |
| 8166 | |
| 8167 | target_link_libraries(stream_owned_slice_test |
| 8168 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8169 | grpc_test_util |
| 8170 | grpc |
| 8171 | gpr_test_util |
| 8172 | gpr |
| 8173 | ) |
| 8174 | |
| 8175 | endif (gRPC_BUILD_TESTS) |
| 8176 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8177 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 8178 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8179 | add_executable(tcp_client_posix_test |
| 8180 | test/core/iomgr/tcp_client_posix_test.c |
| 8181 | ) |
| 8182 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8183 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8184 | target_include_directories(tcp_client_posix_test |
| 8185 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8186 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8187 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8188 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8189 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8190 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8191 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8192 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8193 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8194 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8195 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8196 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8197 | ) |
| 8198 | |
| 8199 | target_link_libraries(tcp_client_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8200 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8201 | grpc_test_util |
| 8202 | grpc |
| 8203 | gpr_test_util |
| 8204 | gpr |
| 8205 | ) |
| 8206 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8207 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8208 | endif (gRPC_BUILD_TESTS) |
| 8209 | if (gRPC_BUILD_TESTS) |
| 8210 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8211 | add_executable(tcp_client_uv_test |
| 8212 | test/core/iomgr/tcp_client_uv_test.c |
| 8213 | ) |
| 8214 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8215 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8216 | target_include_directories(tcp_client_uv_test |
| 8217 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8218 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8219 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8220 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8221 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8222 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8223 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8224 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8225 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8226 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8227 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8228 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8229 | ) |
| 8230 | |
| 8231 | target_link_libraries(tcp_client_uv_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8232 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8233 | grpc_test_util |
| 8234 | grpc |
| 8235 | gpr_test_util |
| 8236 | gpr |
| 8237 | ) |
| 8238 | |
| 8239 | endif (gRPC_BUILD_TESTS) |
| 8240 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8241 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8242 | |
| 8243 | add_executable(tcp_posix_test |
| 8244 | test/core/iomgr/tcp_posix_test.c |
| 8245 | ) |
| 8246 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8247 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8248 | target_include_directories(tcp_posix_test |
| 8249 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8250 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8251 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8252 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8253 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8254 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8255 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8256 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8257 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8258 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8259 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8260 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8261 | ) |
| 8262 | |
| 8263 | target_link_libraries(tcp_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8264 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8265 | grpc_test_util |
| 8266 | grpc |
| 8267 | gpr_test_util |
| 8268 | gpr |
| 8269 | ) |
| 8270 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8271 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8272 | endif (gRPC_BUILD_TESTS) |
| 8273 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8274 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8275 | |
| 8276 | add_executable(tcp_server_posix_test |
| 8277 | test/core/iomgr/tcp_server_posix_test.c |
| 8278 | ) |
| 8279 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8280 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8281 | target_include_directories(tcp_server_posix_test |
| 8282 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8283 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8284 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8285 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8286 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8287 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8288 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8289 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8290 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8291 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8292 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8293 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8294 | ) |
| 8295 | |
| 8296 | target_link_libraries(tcp_server_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8297 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8298 | grpc_test_util |
| 8299 | grpc |
| 8300 | gpr_test_util |
| 8301 | gpr |
| 8302 | ) |
| 8303 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8304 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8305 | endif (gRPC_BUILD_TESTS) |
| 8306 | if (gRPC_BUILD_TESTS) |
| 8307 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8308 | add_executable(tcp_server_uv_test |
| 8309 | test/core/iomgr/tcp_server_uv_test.c |
| 8310 | ) |
| 8311 | |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8312 | |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8313 | target_include_directories(tcp_server_uv_test |
| 8314 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8315 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8316 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8317 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8318 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8319 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8320 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8321 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8322 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8323 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8324 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 8325 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8326 | ) |
| 8327 | |
| 8328 | target_link_libraries(tcp_server_uv_test |
murgatroid99 | 98cdf3b | 2017-02-23 14:59:45 -0800 | [diff] [blame] | 8329 | ${_gRPC_ALLTARGETS_LIBRARIES} |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [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 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8339 | add_executable(time_averaged_stats_test |
| 8340 | test/core/iomgr/time_averaged_stats_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(time_averaged_stats_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 | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8352 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8353 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8354 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8355 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8356 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8357 | ) |
| 8358 | |
| 8359 | target_link_libraries(time_averaged_stats_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8360 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8361 | grpc_test_util |
| 8362 | grpc |
| 8363 | gpr_test_util |
| 8364 | gpr |
| 8365 | ) |
| 8366 | |
| 8367 | endif (gRPC_BUILD_TESTS) |
| 8368 | if (gRPC_BUILD_TESTS) |
| 8369 | |
| 8370 | add_executable(timeout_encoding_test |
| 8371 | test/core/transport/timeout_encoding_test.c |
| 8372 | ) |
| 8373 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8374 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8375 | target_include_directories(timeout_encoding_test |
| 8376 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8377 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8378 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8379 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8380 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8381 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8382 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8383 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8384 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8385 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8386 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8387 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8388 | ) |
| 8389 | |
| 8390 | target_link_libraries(timeout_encoding_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8391 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8392 | grpc_test_util |
| 8393 | grpc |
| 8394 | gpr_test_util |
| 8395 | gpr |
| 8396 | ) |
| 8397 | |
| 8398 | endif (gRPC_BUILD_TESTS) |
| 8399 | if (gRPC_BUILD_TESTS) |
| 8400 | |
| 8401 | add_executable(timer_heap_test |
| 8402 | test/core/iomgr/timer_heap_test.c |
| 8403 | ) |
| 8404 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8405 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8406 | target_include_directories(timer_heap_test |
| 8407 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8408 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8409 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8410 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8411 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8412 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8413 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8414 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8415 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8416 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8417 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8418 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8419 | ) |
| 8420 | |
| 8421 | target_link_libraries(timer_heap_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8422 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8423 | grpc_test_util |
| 8424 | grpc |
| 8425 | gpr_test_util |
| 8426 | gpr |
| 8427 | ) |
| 8428 | |
| 8429 | endif (gRPC_BUILD_TESTS) |
| 8430 | if (gRPC_BUILD_TESTS) |
| 8431 | |
| 8432 | add_executable(timer_list_test |
| 8433 | test/core/iomgr/timer_list_test.c |
| 8434 | ) |
| 8435 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8436 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8437 | target_include_directories(timer_list_test |
| 8438 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8439 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8440 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8441 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8442 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8443 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8444 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8445 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8446 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8447 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8448 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8449 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8450 | ) |
| 8451 | |
| 8452 | target_link_libraries(timer_list_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8453 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8454 | grpc_test_util |
| 8455 | grpc |
| 8456 | gpr_test_util |
| 8457 | gpr |
| 8458 | ) |
| 8459 | |
| 8460 | endif (gRPC_BUILD_TESTS) |
| 8461 | if (gRPC_BUILD_TESTS) |
| 8462 | |
| 8463 | add_executable(transport_connectivity_state_test |
| 8464 | test/core/transport/connectivity_state_test.c |
| 8465 | ) |
| 8466 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8467 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8468 | target_include_directories(transport_connectivity_state_test |
| 8469 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8470 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8471 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8472 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8473 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8474 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8475 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8476 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8477 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8478 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8479 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8480 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8481 | ) |
| 8482 | |
| 8483 | target_link_libraries(transport_connectivity_state_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8484 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8485 | grpc_test_util |
| 8486 | grpc |
| 8487 | gpr_test_util |
| 8488 | gpr |
| 8489 | ) |
| 8490 | |
| 8491 | endif (gRPC_BUILD_TESTS) |
| 8492 | if (gRPC_BUILD_TESTS) |
| 8493 | |
| 8494 | add_executable(transport_metadata_test |
| 8495 | test/core/transport/metadata_test.c |
| 8496 | ) |
| 8497 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8498 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8499 | target_include_directories(transport_metadata_test |
| 8500 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8501 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8502 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8503 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8504 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8505 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8506 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8507 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8508 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8509 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8510 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8511 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8512 | ) |
| 8513 | |
| 8514 | target_link_libraries(transport_metadata_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8515 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8516 | grpc_test_util |
| 8517 | grpc |
| 8518 | gpr_test_util |
| 8519 | gpr |
| 8520 | ) |
| 8521 | |
| 8522 | endif (gRPC_BUILD_TESTS) |
| 8523 | if (gRPC_BUILD_TESTS) |
| 8524 | |
| 8525 | add_executable(transport_pid_controller_test |
| 8526 | test/core/transport/pid_controller_test.c |
| 8527 | ) |
| 8528 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8529 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8530 | target_include_directories(transport_pid_controller_test |
| 8531 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8532 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8533 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8534 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8535 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8536 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8537 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8538 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8539 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8540 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8541 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8542 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8543 | ) |
| 8544 | |
| 8545 | target_link_libraries(transport_pid_controller_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8546 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8547 | grpc_test_util |
| 8548 | grpc |
| 8549 | gpr_test_util |
| 8550 | gpr |
| 8551 | ) |
| 8552 | |
| 8553 | endif (gRPC_BUILD_TESTS) |
| 8554 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8555 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8556 | |
| 8557 | add_executable(transport_security_test |
| 8558 | test/core/tsi/transport_security_test.c |
| 8559 | ) |
| 8560 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8561 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8562 | target_include_directories(transport_security_test |
| 8563 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8564 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8565 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8566 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8567 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8568 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8569 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8570 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8571 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8572 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8573 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8574 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8575 | ) |
| 8576 | |
| 8577 | target_link_libraries(transport_security_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8578 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8579 | grpc_test_util |
| 8580 | grpc |
| 8581 | gpr_test_util |
| 8582 | gpr |
| 8583 | ) |
| 8584 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8585 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8586 | endif (gRPC_BUILD_TESTS) |
| 8587 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8588 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8589 | |
| 8590 | add_executable(udp_server_test |
| 8591 | test/core/iomgr/udp_server_test.c |
| 8592 | ) |
| 8593 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8594 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8595 | target_include_directories(udp_server_test |
| 8596 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8597 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8598 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8599 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8600 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8601 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8602 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8603 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8604 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8605 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8606 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8607 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8608 | ) |
| 8609 | |
| 8610 | target_link_libraries(udp_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8611 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8612 | grpc_test_util |
| 8613 | grpc |
| 8614 | gpr_test_util |
| 8615 | gpr |
| 8616 | ) |
| 8617 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8618 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8619 | endif (gRPC_BUILD_TESTS) |
| 8620 | if (gRPC_BUILD_TESTS) |
| 8621 | |
| 8622 | add_executable(uri_parser_test |
| 8623 | test/core/client_channel/uri_parser_test.c |
| 8624 | ) |
| 8625 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8626 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8627 | target_include_directories(uri_parser_test |
| 8628 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8629 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8630 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8631 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8632 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8633 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8634 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8635 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8636 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8637 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8638 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8639 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8640 | ) |
| 8641 | |
| 8642 | target_link_libraries(uri_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8643 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8644 | grpc_test_util |
| 8645 | grpc |
| 8646 | gpr_test_util |
| 8647 | gpr |
| 8648 | ) |
| 8649 | |
| 8650 | endif (gRPC_BUILD_TESTS) |
| 8651 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8652 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8653 | |
| 8654 | add_executable(wakeup_fd_cv_test |
| 8655 | test/core/iomgr/wakeup_fd_cv_test.c |
| 8656 | ) |
| 8657 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8658 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8659 | target_include_directories(wakeup_fd_cv_test |
| 8660 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8661 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8662 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8663 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8664 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8665 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8666 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8667 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8668 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8669 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8670 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8671 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8672 | ) |
| 8673 | |
| 8674 | target_link_libraries(wakeup_fd_cv_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8675 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8676 | grpc_test_util |
| 8677 | grpc |
| 8678 | gpr_test_util |
| 8679 | gpr |
| 8680 | ) |
| 8681 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8682 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8683 | endif (gRPC_BUILD_TESTS) |
| 8684 | if (gRPC_BUILD_TESTS) |
| 8685 | |
| 8686 | add_executable(alarm_cpp_test |
| 8687 | test/cpp/common/alarm_cpp_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8688 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8689 | ) |
| 8690 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8691 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8692 | target_include_directories(alarm_cpp_test |
| 8693 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8694 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8695 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8696 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8697 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8698 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8699 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8700 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8701 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8702 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8703 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8704 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8705 | PRIVATE third_party/googletest/googletest/include |
| 8706 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8707 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8708 | ) |
| 8709 | |
| 8710 | target_link_libraries(alarm_cpp_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8711 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8712 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8713 | grpc++_test_util |
| 8714 | grpc_test_util |
| 8715 | grpc++ |
| 8716 | grpc |
| 8717 | gpr_test_util |
| 8718 | gpr |
| 8719 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8720 | ) |
| 8721 | |
| 8722 | endif (gRPC_BUILD_TESTS) |
| 8723 | if (gRPC_BUILD_TESTS) |
| 8724 | |
| 8725 | add_executable(async_end2end_test |
| 8726 | test/cpp/end2end/async_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8727 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8728 | ) |
| 8729 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8730 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8731 | target_include_directories(async_end2end_test |
| 8732 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8733 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8734 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8735 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8736 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8737 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8738 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8739 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8740 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8741 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8742 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8743 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8744 | PRIVATE third_party/googletest/googletest/include |
| 8745 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8746 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8747 | ) |
| 8748 | |
| 8749 | target_link_libraries(async_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8750 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8751 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8752 | grpc++_test_util |
| 8753 | grpc_test_util |
| 8754 | grpc++ |
| 8755 | grpc |
| 8756 | gpr_test_util |
| 8757 | gpr |
| 8758 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8759 | ) |
| 8760 | |
| 8761 | endif (gRPC_BUILD_TESTS) |
| 8762 | if (gRPC_BUILD_TESTS) |
| 8763 | |
| 8764 | add_executable(auth_property_iterator_test |
| 8765 | test/cpp/common/auth_property_iterator_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8766 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8767 | ) |
| 8768 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8769 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8770 | target_include_directories(auth_property_iterator_test |
| 8771 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8772 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8773 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8774 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8775 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8776 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8777 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8778 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8779 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8780 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8781 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8782 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8783 | PRIVATE third_party/googletest/googletest/include |
| 8784 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8785 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8786 | ) |
| 8787 | |
| 8788 | target_link_libraries(auth_property_iterator_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8789 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8790 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8791 | grpc++_test_util |
| 8792 | grpc_test_util |
| 8793 | grpc++ |
| 8794 | grpc |
| 8795 | gpr_test_util |
| 8796 | gpr |
| 8797 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8798 | ) |
| 8799 | |
| 8800 | endif (gRPC_BUILD_TESTS) |
| 8801 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8802 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8803 | |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8804 | add_executable(bm_arena |
| 8805 | test/cpp/microbenchmarks/bm_arena.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8806 | third_party/googletest/googletest/src/gtest-all.cc |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8807 | ) |
| 8808 | |
| 8809 | |
| 8810 | target_include_directories(bm_arena |
| 8811 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8812 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8813 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8814 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8815 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8816 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8817 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8818 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8819 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8820 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8821 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8822 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8823 | PRIVATE third_party/googletest/googletest/include |
| 8824 | PRIVATE third_party/googletest/googletest |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 8825 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8826 | ) |
| 8827 | |
| 8828 | target_link_libraries(bm_arena |
| 8829 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8830 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8831 | grpc_benchmark |
| 8832 | benchmark |
| 8833 | grpc++_test_util |
| 8834 | grpc_test_util |
| 8835 | grpc++ |
| 8836 | grpc |
| 8837 | gpr_test_util |
| 8838 | gpr |
| 8839 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8840 | ) |
| 8841 | |
| 8842 | endif() |
| 8843 | endif (gRPC_BUILD_TESTS) |
| 8844 | if (gRPC_BUILD_TESTS) |
| 8845 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8846 | |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8847 | add_executable(bm_call_create |
| 8848 | test/cpp/microbenchmarks/bm_call_create.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8849 | third_party/googletest/googletest/src/gtest-all.cc |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8850 | ) |
| 8851 | |
| 8852 | |
| 8853 | target_include_directories(bm_call_create |
| 8854 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8855 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8856 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8857 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8858 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8859 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8860 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8861 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8862 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8863 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8864 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8865 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8866 | PRIVATE third_party/googletest/googletest/include |
| 8867 | PRIVATE third_party/googletest/googletest |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8868 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8869 | ) |
| 8870 | |
| 8871 | target_link_libraries(bm_call_create |
| 8872 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8873 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 8874 | grpc_benchmark |
Craig Tiller | fd044b8 | 2017-02-15 16:15:48 -0800 | [diff] [blame] | 8875 | benchmark |
| 8876 | grpc++_test_util |
| 8877 | grpc_test_util |
| 8878 | grpc++ |
| 8879 | grpc |
| 8880 | gpr_test_util |
| 8881 | gpr |
| 8882 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8883 | ) |
| 8884 | |
| 8885 | endif() |
| 8886 | endif (gRPC_BUILD_TESTS) |
| 8887 | if (gRPC_BUILD_TESTS) |
| 8888 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8889 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 8890 | add_executable(bm_chttp2_hpack |
| 8891 | test/cpp/microbenchmarks/bm_chttp2_hpack.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8892 | third_party/googletest/googletest/src/gtest-all.cc |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8893 | ) |
| 8894 | |
| 8895 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 8896 | target_include_directories(bm_chttp2_hpack |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8897 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8898 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8899 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8900 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8901 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8902 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8903 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8904 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8905 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8906 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8907 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8908 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8909 | PRIVATE third_party/googletest/googletest/include |
| 8910 | PRIVATE third_party/googletest/googletest |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8911 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8912 | ) |
| 8913 | |
Craig Tiller | 523d54b | 2017-02-23 08:52:38 -0800 | [diff] [blame] | 8914 | target_link_libraries(bm_chttp2_hpack |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8915 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8916 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 8917 | grpc_benchmark |
Craig Tiller | 2f792d9 | 2017-02-22 16:26:33 -0800 | [diff] [blame] | 8918 | benchmark |
| 8919 | grpc++_test_util |
| 8920 | grpc_test_util |
| 8921 | grpc++ |
| 8922 | grpc |
| 8923 | gpr_test_util |
| 8924 | gpr |
| 8925 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8926 | ) |
| 8927 | |
| 8928 | endif() |
| 8929 | endif (gRPC_BUILD_TESTS) |
| 8930 | if (gRPC_BUILD_TESTS) |
| 8931 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8932 | |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 8933 | add_executable(bm_chttp2_transport |
| 8934 | test/cpp/microbenchmarks/bm_chttp2_transport.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8935 | third_party/googletest/googletest/src/gtest-all.cc |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 8936 | ) |
| 8937 | |
| 8938 | |
| 8939 | target_include_directories(bm_chttp2_transport |
| 8940 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8941 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8942 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8943 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8944 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8945 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8946 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 937302b | 2017-03-22 10:54:31 -0700 | [diff] [blame] | 8947 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 8948 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8949 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8950 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 8951 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8952 | PRIVATE third_party/googletest/googletest/include |
| 8953 | PRIVATE third_party/googletest/googletest |
Craig Tiller | 18f09a0 | 2017-02-23 17:10:04 -0800 | [diff] [blame] | 8954 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8955 | ) |
| 8956 | |
| 8957 | target_link_libraries(bm_chttp2_transport |
| 8958 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8959 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8960 | grpc_benchmark |
| 8961 | benchmark |
| 8962 | grpc++_test_util |
| 8963 | grpc_test_util |
| 8964 | grpc++ |
| 8965 | grpc |
| 8966 | gpr_test_util |
| 8967 | gpr |
| 8968 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8969 | ) |
| 8970 | |
| 8971 | endif() |
| 8972 | endif (gRPC_BUILD_TESTS) |
| 8973 | if (gRPC_BUILD_TESTS) |
| 8974 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 8975 | |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 8976 | add_executable(bm_closure |
| 8977 | test/cpp/microbenchmarks/bm_closure.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8978 | third_party/googletest/googletest/src/gtest-all.cc |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 8979 | ) |
| 8980 | |
| 8981 | |
| 8982 | target_include_directories(bm_closure |
| 8983 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8984 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8985 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8986 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8987 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8988 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8989 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 8990 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 8991 | PRIVATE ${CARES_INCLUDE_DIR} |
| 8992 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 8993 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 8994 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 8995 | PRIVATE third_party/googletest/googletest/include |
| 8996 | PRIVATE third_party/googletest/googletest |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 8997 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8998 | ) |
| 8999 | |
| 9000 | target_link_libraries(bm_closure |
| 9001 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9002 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9003 | grpc_benchmark |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9004 | benchmark |
Craig Tiller | 510f38a | 2017-02-24 17:00:19 -0800 | [diff] [blame] | 9005 | grpc++_test_util |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9006 | grpc_test_util |
Craig Tiller | 510f38a | 2017-02-24 17:00:19 -0800 | [diff] [blame] | 9007 | grpc++ |
Craig Tiller | b3f34b6 | 2017-02-13 10:29:33 -0800 | [diff] [blame] | 9008 | grpc |
| 9009 | gpr_test_util |
| 9010 | gpr |
| 9011 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9012 | ) |
| 9013 | |
| 9014 | endif() |
| 9015 | endif (gRPC_BUILD_TESTS) |
| 9016 | if (gRPC_BUILD_TESTS) |
| 9017 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9018 | |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9019 | add_executable(bm_cq |
| 9020 | test/cpp/microbenchmarks/bm_cq.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9021 | third_party/googletest/googletest/src/gtest-all.cc |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9022 | ) |
| 9023 | |
| 9024 | |
| 9025 | target_include_directories(bm_cq |
| 9026 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9027 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9028 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9029 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9030 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9031 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9032 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9033 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9034 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9035 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9036 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9037 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9038 | PRIVATE third_party/googletest/googletest/include |
| 9039 | PRIVATE third_party/googletest/googletest |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9040 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9041 | ) |
| 9042 | |
| 9043 | target_link_libraries(bm_cq |
| 9044 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9045 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9046 | grpc_benchmark |
Craig Tiller | 14ae538 | 2017-02-14 12:43:50 -0800 | [diff] [blame] | 9047 | benchmark |
| 9048 | grpc++_test_util |
| 9049 | grpc_test_util |
| 9050 | grpc++ |
| 9051 | grpc |
| 9052 | gpr_test_util |
| 9053 | gpr |
| 9054 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9055 | ) |
| 9056 | |
| 9057 | endif() |
| 9058 | endif (gRPC_BUILD_TESTS) |
| 9059 | if (gRPC_BUILD_TESTS) |
| 9060 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9061 | |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9062 | add_executable(bm_cq_multiple_threads |
| 9063 | test/cpp/microbenchmarks/bm_cq_multiple_threads.cc |
Yuchen Zeng | 6465776 | 2017-04-10 22:54:14 -0700 | [diff] [blame] | 9064 | third_party/googletest/googletest/src/gtest-all.cc |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9065 | ) |
| 9066 | |
| 9067 | |
| 9068 | target_include_directories(bm_cq_multiple_threads |
| 9069 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9070 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9071 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9072 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9073 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9074 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9075 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9076 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 9077 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9078 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9079 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 9080 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Yuchen Zeng | 6465776 | 2017-04-10 22:54:14 -0700 | [diff] [blame] | 9081 | PRIVATE third_party/googletest/googletest/include |
| 9082 | PRIVATE third_party/googletest/googletest |
Sree Kuchibhotla | 3c754e4 | 2017-04-04 13:49:08 -0700 | [diff] [blame] | 9083 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9084 | ) |
| 9085 | |
| 9086 | target_link_libraries(bm_cq_multiple_threads |
| 9087 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9088 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9089 | grpc_benchmark |
| 9090 | benchmark |
| 9091 | grpc++_test_util |
| 9092 | grpc_test_util |
| 9093 | grpc++ |
| 9094 | grpc |
| 9095 | gpr_test_util |
| 9096 | gpr |
| 9097 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9098 | ) |
| 9099 | |
| 9100 | endif() |
| 9101 | endif (gRPC_BUILD_TESTS) |
| 9102 | if (gRPC_BUILD_TESTS) |
| 9103 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9104 | |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9105 | add_executable(bm_error |
| 9106 | test/cpp/microbenchmarks/bm_error.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9107 | third_party/googletest/googletest/src/gtest-all.cc |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9108 | ) |
| 9109 | |
| 9110 | |
| 9111 | target_include_directories(bm_error |
| 9112 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9113 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9114 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9115 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9116 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9117 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9118 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9119 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9120 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9121 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9122 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9123 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9124 | PRIVATE third_party/googletest/googletest/include |
| 9125 | PRIVATE third_party/googletest/googletest |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9126 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9127 | ) |
| 9128 | |
| 9129 | target_link_libraries(bm_error |
| 9130 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9131 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9132 | grpc_benchmark |
Craig Tiller | 264307f | 2017-02-16 09:07:45 -0800 | [diff] [blame] | 9133 | benchmark |
| 9134 | grpc++_test_util |
| 9135 | grpc_test_util |
| 9136 | grpc++ |
| 9137 | grpc |
| 9138 | gpr_test_util |
| 9139 | gpr |
| 9140 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9141 | ) |
| 9142 | |
| 9143 | endif() |
| 9144 | endif (gRPC_BUILD_TESTS) |
| 9145 | if (gRPC_BUILD_TESTS) |
| 9146 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9147 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9148 | add_executable(bm_fullstack_streaming_ping_pong |
| 9149 | test/cpp/microbenchmarks/bm_fullstack_streaming_ping_pong.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9150 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9151 | ) |
| 9152 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9153 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9154 | target_include_directories(bm_fullstack_streaming_ping_pong |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9155 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9156 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9157 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9158 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9159 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9160 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9161 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9162 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9163 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9164 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9165 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9166 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9167 | PRIVATE third_party/googletest/googletest/include |
| 9168 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9169 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9170 | ) |
| 9171 | |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9172 | target_link_libraries(bm_fullstack_streaming_ping_pong |
| 9173 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9174 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9175 | grpc_benchmark |
| 9176 | benchmark |
| 9177 | grpc++_test_util |
| 9178 | grpc_test_util |
| 9179 | grpc++ |
| 9180 | grpc |
| 9181 | gpr_test_util |
| 9182 | gpr |
| 9183 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9184 | ) |
| 9185 | |
| 9186 | endif() |
| 9187 | endif (gRPC_BUILD_TESTS) |
| 9188 | if (gRPC_BUILD_TESTS) |
| 9189 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9190 | |
| 9191 | add_executable(bm_fullstack_streaming_pump |
| 9192 | test/cpp/microbenchmarks/bm_fullstack_streaming_pump.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9193 | third_party/googletest/googletest/src/gtest-all.cc |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9194 | ) |
| 9195 | |
| 9196 | |
| 9197 | target_include_directories(bm_fullstack_streaming_pump |
| 9198 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9199 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9200 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9201 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9202 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9203 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9204 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9205 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9206 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9207 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9208 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9209 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9210 | PRIVATE third_party/googletest/googletest/include |
| 9211 | PRIVATE third_party/googletest/googletest |
Craig Tiller | 12d22e4 | 2017-03-03 10:14:20 -0800 | [diff] [blame] | 9212 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9213 | ) |
| 9214 | |
| 9215 | target_link_libraries(bm_fullstack_streaming_pump |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9216 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9217 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9218 | grpc_benchmark |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9219 | benchmark |
| 9220 | grpc++_test_util |
| 9221 | grpc_test_util |
| 9222 | grpc++ |
| 9223 | grpc |
| 9224 | gpr_test_util |
| 9225 | gpr |
| 9226 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9227 | ) |
| 9228 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9229 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9230 | endif (gRPC_BUILD_TESTS) |
| 9231 | if (gRPC_BUILD_TESTS) |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9232 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9233 | |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9234 | add_executable(bm_fullstack_trickle |
| 9235 | test/cpp/microbenchmarks/bm_fullstack_trickle.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9236 | third_party/googletest/googletest/src/gtest-all.cc |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9237 | ) |
| 9238 | |
| 9239 | |
| 9240 | target_include_directories(bm_fullstack_trickle |
| 9241 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9242 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9243 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9244 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9245 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9246 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9247 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9248 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9249 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9250 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9251 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9252 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9253 | PRIVATE third_party/googletest/googletest/include |
| 9254 | PRIVATE third_party/googletest/googletest |
Craig Tiller | 52bd441 | 2017-03-03 10:52:22 -0800 | [diff] [blame] | 9255 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9256 | ) |
| 9257 | |
| 9258 | target_link_libraries(bm_fullstack_trickle |
| 9259 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9260 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9261 | grpc_benchmark |
| 9262 | benchmark |
| 9263 | grpc++_test_util |
| 9264 | grpc_test_util |
| 9265 | grpc++ |
| 9266 | grpc |
| 9267 | gpr_test_util |
| 9268 | gpr |
| 9269 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9270 | ) |
| 9271 | |
| 9272 | endif() |
| 9273 | endif (gRPC_BUILD_TESTS) |
| 9274 | if (gRPC_BUILD_TESTS) |
| 9275 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9276 | |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9277 | add_executable(bm_fullstack_unary_ping_pong |
| 9278 | test/cpp/microbenchmarks/bm_fullstack_unary_ping_pong.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9279 | third_party/googletest/googletest/src/gtest-all.cc |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9280 | ) |
| 9281 | |
| 9282 | |
| 9283 | target_include_directories(bm_fullstack_unary_ping_pong |
| 9284 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9285 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9286 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9287 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9288 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9289 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9290 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9291 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9292 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9293 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9294 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9295 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9296 | PRIVATE third_party/googletest/googletest/include |
| 9297 | PRIVATE third_party/googletest/googletest |
Craig Tiller | 62ac65b | 2017-03-03 09:57:43 -0800 | [diff] [blame] | 9298 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9299 | ) |
| 9300 | |
| 9301 | target_link_libraries(bm_fullstack_unary_ping_pong |
| 9302 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9303 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9304 | grpc_benchmark |
| 9305 | benchmark |
| 9306 | grpc++_test_util |
| 9307 | grpc_test_util |
| 9308 | grpc++ |
| 9309 | grpc |
| 9310 | gpr_test_util |
| 9311 | gpr |
| 9312 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9313 | ) |
| 9314 | |
| 9315 | endif() |
| 9316 | endif (gRPC_BUILD_TESTS) |
| 9317 | if (gRPC_BUILD_TESTS) |
| 9318 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9319 | |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9320 | add_executable(bm_metadata |
| 9321 | test/cpp/microbenchmarks/bm_metadata.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9322 | third_party/googletest/googletest/src/gtest-all.cc |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9323 | ) |
| 9324 | |
| 9325 | |
| 9326 | target_include_directories(bm_metadata |
| 9327 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9328 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9329 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9330 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9331 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9332 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9333 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9334 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9335 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9336 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9337 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9338 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9339 | PRIVATE third_party/googletest/googletest/include |
| 9340 | PRIVATE third_party/googletest/googletest |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9341 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9342 | ) |
| 9343 | |
| 9344 | target_link_libraries(bm_metadata |
| 9345 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9346 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 5e32153 | 2017-03-03 08:50:25 -0800 | [diff] [blame] | 9347 | grpc_benchmark |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9348 | benchmark |
Craig Tiller | ad14bce | 2017-03-09 08:32:01 -0800 | [diff] [blame] | 9349 | grpc++_test_util |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9350 | grpc_test_util |
Craig Tiller | ad14bce | 2017-03-09 08:32:01 -0800 | [diff] [blame] | 9351 | grpc++ |
Craig Tiller | b8e2bca | 2017-02-16 16:26:51 -0800 | [diff] [blame] | 9352 | grpc |
| 9353 | gpr_test_util |
| 9354 | gpr |
| 9355 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9356 | ) |
| 9357 | |
| 9358 | endif() |
| 9359 | endif (gRPC_BUILD_TESTS) |
| 9360 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9361 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 9362 | |
| 9363 | add_executable(bm_pollset |
| 9364 | test/cpp/microbenchmarks/bm_pollset.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9365 | third_party/googletest/googletest/src/gtest-all.cc |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9366 | ) |
| 9367 | |
| 9368 | |
| 9369 | target_include_directories(bm_pollset |
| 9370 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9371 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9372 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9373 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9374 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9375 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9376 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9377 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9378 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9379 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9380 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9381 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9382 | PRIVATE third_party/googletest/googletest/include |
| 9383 | PRIVATE third_party/googletest/googletest |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9384 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9385 | ) |
| 9386 | |
| 9387 | target_link_libraries(bm_pollset |
| 9388 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9389 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9390 | grpc_benchmark |
| 9391 | benchmark |
Craig Tiller | 3a35189 | 2017-03-10 07:39:26 -0800 | [diff] [blame] | 9392 | grpc++_test_util |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9393 | grpc_test_util |
Craig Tiller | 3a35189 | 2017-03-10 07:39:26 -0800 | [diff] [blame] | 9394 | grpc++ |
Craig Tiller | 1128d46 | 2017-03-03 16:46:54 -0800 | [diff] [blame] | 9395 | grpc |
| 9396 | gpr_test_util |
| 9397 | gpr |
| 9398 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9399 | ) |
| 9400 | |
| 9401 | endif() |
| 9402 | endif (gRPC_BUILD_TESTS) |
| 9403 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9404 | |
| 9405 | add_executable(channel_arguments_test |
| 9406 | test/cpp/common/channel_arguments_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9407 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9408 | ) |
| 9409 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9410 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9411 | target_include_directories(channel_arguments_test |
| 9412 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9413 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9414 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9415 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9416 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9417 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9418 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9419 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9420 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9421 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9422 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9423 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9424 | PRIVATE third_party/googletest/googletest/include |
| 9425 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9426 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9427 | ) |
| 9428 | |
| 9429 | target_link_libraries(channel_arguments_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9430 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9431 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9432 | grpc++ |
| 9433 | grpc |
| 9434 | gpr |
| 9435 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9436 | ) |
| 9437 | |
| 9438 | endif (gRPC_BUILD_TESTS) |
| 9439 | if (gRPC_BUILD_TESTS) |
| 9440 | |
| 9441 | add_executable(channel_filter_test |
| 9442 | test/cpp/common/channel_filter_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9443 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9444 | ) |
| 9445 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9446 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9447 | target_include_directories(channel_filter_test |
| 9448 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9449 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9450 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9451 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9452 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9453 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9454 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9455 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9456 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9457 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9458 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9459 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9460 | PRIVATE third_party/googletest/googletest/include |
| 9461 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9462 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9463 | ) |
| 9464 | |
| 9465 | target_link_libraries(channel_filter_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9466 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9467 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9468 | grpc++ |
| 9469 | grpc |
| 9470 | gpr |
| 9471 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9472 | ) |
| 9473 | |
| 9474 | endif (gRPC_BUILD_TESTS) |
| 9475 | if (gRPC_BUILD_TESTS) |
| 9476 | |
| 9477 | add_executable(cli_call_test |
| 9478 | test/cpp/util/cli_call_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9479 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9480 | ) |
| 9481 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9482 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9483 | target_include_directories(cli_call_test |
| 9484 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9485 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9486 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9487 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9488 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9489 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9490 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9491 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9492 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9493 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9494 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9495 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9496 | PRIVATE third_party/googletest/googletest/include |
| 9497 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9498 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9499 | ) |
| 9500 | |
| 9501 | target_link_libraries(cli_call_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9502 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9503 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9504 | grpc_cli_libs |
| 9505 | grpc++_test_util |
| 9506 | grpc_test_util |
| 9507 | grpc++ |
| 9508 | grpc |
| 9509 | gpr_test_util |
| 9510 | gpr |
| 9511 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9512 | ) |
| 9513 | |
| 9514 | endif (gRPC_BUILD_TESTS) |
| 9515 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9516 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9517 | |
| 9518 | add_executable(client_crash_test |
| 9519 | test/cpp/end2end/client_crash_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9520 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9521 | ) |
| 9522 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9523 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9524 | target_include_directories(client_crash_test |
| 9525 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9526 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9527 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9528 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9529 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9530 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9531 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9532 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9533 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9534 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9535 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9536 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9537 | PRIVATE third_party/googletest/googletest/include |
| 9538 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9539 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9540 | ) |
| 9541 | |
| 9542 | target_link_libraries(client_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9543 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9544 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9545 | grpc++_test_util |
| 9546 | grpc_test_util |
| 9547 | grpc++ |
| 9548 | grpc |
| 9549 | gpr_test_util |
| 9550 | gpr |
| 9551 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9552 | ) |
| 9553 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9554 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9555 | endif (gRPC_BUILD_TESTS) |
| 9556 | if (gRPC_BUILD_TESTS) |
| 9557 | |
| 9558 | add_executable(client_crash_test_server |
| 9559 | test/cpp/end2end/client_crash_test_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9560 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9561 | ) |
| 9562 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9563 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9564 | target_include_directories(client_crash_test_server |
| 9565 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9566 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9567 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9568 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9569 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9570 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9571 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9572 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9573 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9574 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9575 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9576 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9577 | PRIVATE third_party/googletest/googletest/include |
| 9578 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9579 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9580 | ) |
| 9581 | |
| 9582 | target_link_libraries(client_crash_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9583 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9584 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9585 | grpc++_test_util |
| 9586 | grpc_test_util |
| 9587 | grpc++ |
| 9588 | grpc |
| 9589 | gpr_test_util |
| 9590 | gpr |
| 9591 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9592 | ) |
| 9593 | |
| 9594 | endif (gRPC_BUILD_TESTS) |
| 9595 | if (gRPC_BUILD_TESTS) |
| 9596 | |
| 9597 | add_executable(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9598 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 9599 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 9600 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 9601 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 9602 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 9603 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 9604 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 9605 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 9606 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 9607 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 9608 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 9609 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 9610 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 9611 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 9612 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 9613 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
| 9614 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 9615 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 9616 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 9617 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9618 | test/cpp/codegen/codegen_test_full.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9619 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9620 | ) |
| 9621 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9622 | protobuf_generate_grpc_cpp( |
| 9623 | src/proto/grpc/testing/control.proto |
| 9624 | ) |
| 9625 | protobuf_generate_grpc_cpp( |
| 9626 | src/proto/grpc/testing/messages.proto |
| 9627 | ) |
| 9628 | protobuf_generate_grpc_cpp( |
| 9629 | src/proto/grpc/testing/payloads.proto |
| 9630 | ) |
| 9631 | protobuf_generate_grpc_cpp( |
| 9632 | src/proto/grpc/testing/services.proto |
| 9633 | ) |
| 9634 | protobuf_generate_grpc_cpp( |
| 9635 | src/proto/grpc/testing/stats.proto |
| 9636 | ) |
| 9637 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9638 | target_include_directories(codegen_test_full |
| 9639 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9640 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9641 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9642 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9643 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9644 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9645 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9646 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9647 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9648 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9649 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9650 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9651 | PRIVATE third_party/googletest/googletest/include |
| 9652 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9653 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9654 | ) |
| 9655 | |
| 9656 | target_link_libraries(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9657 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9658 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9659 | grpc++ |
| 9660 | grpc |
| 9661 | gpr |
| 9662 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9663 | ) |
| 9664 | |
| 9665 | endif (gRPC_BUILD_TESTS) |
| 9666 | if (gRPC_BUILD_TESTS) |
| 9667 | |
| 9668 | add_executable(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9669 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 9670 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 9671 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 9672 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 9673 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 9674 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 9675 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 9676 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 9677 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 9678 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 9679 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 9680 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 9681 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 9682 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 9683 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 9684 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
| 9685 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 9686 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 9687 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 9688 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9689 | test/cpp/codegen/codegen_test_minimal.cc |
| 9690 | src/cpp/codegen/codegen_init.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9691 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9692 | ) |
| 9693 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9694 | protobuf_generate_grpc_cpp( |
| 9695 | src/proto/grpc/testing/control.proto |
| 9696 | ) |
| 9697 | protobuf_generate_grpc_cpp( |
| 9698 | src/proto/grpc/testing/messages.proto |
| 9699 | ) |
| 9700 | protobuf_generate_grpc_cpp( |
| 9701 | src/proto/grpc/testing/payloads.proto |
| 9702 | ) |
| 9703 | protobuf_generate_grpc_cpp( |
| 9704 | src/proto/grpc/testing/services.proto |
| 9705 | ) |
| 9706 | protobuf_generate_grpc_cpp( |
| 9707 | src/proto/grpc/testing/stats.proto |
| 9708 | ) |
| 9709 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9710 | target_include_directories(codegen_test_minimal |
| 9711 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9712 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9713 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9714 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9715 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9716 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9717 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9718 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9719 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9720 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9721 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9722 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9723 | PRIVATE third_party/googletest/googletest/include |
| 9724 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9725 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9726 | ) |
| 9727 | |
| 9728 | target_link_libraries(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9729 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9730 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9731 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9732 | ) |
| 9733 | |
| 9734 | endif (gRPC_BUILD_TESTS) |
| 9735 | if (gRPC_BUILD_TESTS) |
| 9736 | |
| 9737 | add_executable(credentials_test |
| 9738 | test/cpp/client/credentials_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9739 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9740 | ) |
| 9741 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9742 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9743 | target_include_directories(credentials_test |
| 9744 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9745 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9746 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9747 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9748 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9749 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9750 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9751 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9752 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9753 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9754 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9755 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9756 | PRIVATE third_party/googletest/googletest/include |
| 9757 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9758 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9759 | ) |
| 9760 | |
| 9761 | target_link_libraries(credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9762 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9763 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9764 | grpc++ |
| 9765 | grpc |
| 9766 | gpr |
| 9767 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9768 | ) |
| 9769 | |
| 9770 | endif (gRPC_BUILD_TESTS) |
| 9771 | if (gRPC_BUILD_TESTS) |
| 9772 | |
| 9773 | add_executable(cxx_byte_buffer_test |
| 9774 | test/cpp/util/byte_buffer_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9775 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9776 | ) |
| 9777 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9778 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9779 | target_include_directories(cxx_byte_buffer_test |
| 9780 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9781 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9782 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9783 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9784 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9785 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9786 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9787 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9788 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9789 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9790 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9791 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9792 | PRIVATE third_party/googletest/googletest/include |
| 9793 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9794 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9795 | ) |
| 9796 | |
| 9797 | target_link_libraries(cxx_byte_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9798 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9799 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9800 | grpc_test_util |
| 9801 | grpc++ |
| 9802 | grpc |
| 9803 | gpr_test_util |
| 9804 | gpr |
| 9805 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9806 | ) |
| 9807 | |
| 9808 | endif (gRPC_BUILD_TESTS) |
| 9809 | if (gRPC_BUILD_TESTS) |
| 9810 | |
| 9811 | add_executable(cxx_slice_test |
| 9812 | test/cpp/util/slice_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9813 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9814 | ) |
| 9815 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9816 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9817 | target_include_directories(cxx_slice_test |
| 9818 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9819 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9820 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9821 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9822 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9823 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9824 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9825 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9826 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9827 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9828 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9829 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9830 | PRIVATE third_party/googletest/googletest/include |
| 9831 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9832 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9833 | ) |
| 9834 | |
| 9835 | target_link_libraries(cxx_slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9836 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9837 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9838 | grpc_test_util |
| 9839 | grpc++ |
| 9840 | grpc |
| 9841 | gpr_test_util |
| 9842 | gpr |
| 9843 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9844 | ) |
| 9845 | |
| 9846 | endif (gRPC_BUILD_TESTS) |
| 9847 | if (gRPC_BUILD_TESTS) |
| 9848 | |
| 9849 | add_executable(cxx_string_ref_test |
| 9850 | test/cpp/util/string_ref_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9851 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9852 | ) |
| 9853 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9854 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9855 | target_include_directories(cxx_string_ref_test |
| 9856 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9857 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9858 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9859 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9860 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9861 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9862 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9863 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9864 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9865 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9866 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9867 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9868 | PRIVATE third_party/googletest/googletest/include |
| 9869 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9870 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9871 | ) |
| 9872 | |
| 9873 | target_link_libraries(cxx_string_ref_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9874 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9875 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9876 | grpc++ |
| 9877 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9878 | ) |
| 9879 | |
| 9880 | endif (gRPC_BUILD_TESTS) |
| 9881 | if (gRPC_BUILD_TESTS) |
| 9882 | |
| 9883 | add_executable(cxx_time_test |
| 9884 | test/cpp/util/time_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9885 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9886 | ) |
| 9887 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9888 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9889 | target_include_directories(cxx_time_test |
| 9890 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9891 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9892 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9893 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9894 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9895 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9896 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9897 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9898 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9899 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9900 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9901 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9902 | PRIVATE third_party/googletest/googletest/include |
| 9903 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9904 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9905 | ) |
| 9906 | |
| 9907 | target_link_libraries(cxx_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9908 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9909 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9910 | grpc_test_util |
| 9911 | grpc++ |
| 9912 | grpc |
| 9913 | gpr_test_util |
| 9914 | gpr |
| 9915 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9916 | ) |
| 9917 | |
| 9918 | endif (gRPC_BUILD_TESTS) |
| 9919 | if (gRPC_BUILD_TESTS) |
| 9920 | |
| 9921 | add_executable(end2end_test |
| 9922 | test/cpp/end2end/end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9923 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9924 | ) |
| 9925 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9926 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9927 | target_include_directories(end2end_test |
| 9928 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9929 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9930 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9931 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9932 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9933 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9934 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 9935 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 9936 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9937 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9938 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9939 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9940 | PRIVATE third_party/googletest/googletest/include |
| 9941 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9942 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9943 | ) |
| 9944 | |
| 9945 | target_link_libraries(end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9946 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9947 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9948 | grpc++_test_util |
| 9949 | grpc_test_util |
| 9950 | grpc++ |
| 9951 | grpc |
| 9952 | gpr_test_util |
| 9953 | gpr |
| 9954 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9955 | ) |
| 9956 | |
| 9957 | endif (gRPC_BUILD_TESTS) |
| 9958 | if (gRPC_BUILD_TESTS) |
| 9959 | |
yang-g | eceec8e | 2017-04-10 11:58:44 -0700 | [diff] [blame] | 9960 | add_executable(error_details_test |
| 9961 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 9962 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 9963 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 9964 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 9965 | test/cpp/util/error_details_test.cc |
| 9966 | third_party/googletest/googletest/src/gtest-all.cc |
| 9967 | ) |
| 9968 | |
| 9969 | protobuf_generate_grpc_cpp( |
| 9970 | src/proto/grpc/testing/echo_messages.proto |
| 9971 | ) |
| 9972 | |
| 9973 | target_include_directories(error_details_test |
| 9974 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9975 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9976 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9977 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 9978 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 9979 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9980 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9981 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
| 9982 | PRIVATE ${CARES_INCLUDE_DIR} |
| 9983 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 9984 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
| 9985 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9986 | PRIVATE third_party/googletest/googletest/include |
| 9987 | PRIVATE third_party/googletest/googletest |
| 9988 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 9989 | ) |
| 9990 | |
| 9991 | target_link_libraries(error_details_test |
| 9992 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9993 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9994 | grpc++_error_details |
| 9995 | grpc++ |
| 9996 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9997 | ) |
| 9998 | |
| 9999 | endif (gRPC_BUILD_TESTS) |
| 10000 | if (gRPC_BUILD_TESTS) |
| 10001 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10002 | add_executable(filter_end2end_test |
| 10003 | test/cpp/end2end/filter_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10004 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10005 | ) |
| 10006 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10007 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10008 | target_include_directories(filter_end2end_test |
| 10009 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10010 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10011 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10012 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10013 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10014 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10015 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10016 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10017 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10018 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10019 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10020 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10021 | PRIVATE third_party/googletest/googletest/include |
| 10022 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10023 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10024 | ) |
| 10025 | |
| 10026 | target_link_libraries(filter_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10027 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10028 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10029 | grpc++_test_util |
| 10030 | grpc_test_util |
| 10031 | grpc++ |
| 10032 | grpc |
| 10033 | gpr_test_util |
| 10034 | gpr |
| 10035 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10036 | ) |
| 10037 | |
| 10038 | endif (gRPC_BUILD_TESTS) |
| 10039 | if (gRPC_BUILD_TESTS) |
| 10040 | |
| 10041 | add_executable(generic_end2end_test |
| 10042 | test/cpp/end2end/generic_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10043 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10044 | ) |
| 10045 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10046 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10047 | target_include_directories(generic_end2end_test |
| 10048 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10049 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10050 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10051 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10052 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10053 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10054 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10055 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10056 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10057 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10058 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10059 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10060 | PRIVATE third_party/googletest/googletest/include |
| 10061 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10062 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10063 | ) |
| 10064 | |
| 10065 | target_link_libraries(generic_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10066 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10067 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10068 | grpc++_test_util |
| 10069 | grpc_test_util |
| 10070 | grpc++ |
| 10071 | grpc |
| 10072 | gpr_test_util |
| 10073 | gpr |
| 10074 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10075 | ) |
| 10076 | |
| 10077 | endif (gRPC_BUILD_TESTS) |
| 10078 | if (gRPC_BUILD_TESTS) |
| 10079 | |
| 10080 | add_executable(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10081 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.cc |
| 10082 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.grpc.pb.cc |
| 10083 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.h |
| 10084 | ${_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] | 10085 | test/cpp/codegen/golden_file_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10086 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10087 | ) |
| 10088 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10089 | protobuf_generate_grpc_cpp( |
| 10090 | src/proto/grpc/testing/compiler_test.proto |
| 10091 | ) |
| 10092 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10093 | target_include_directories(golden_file_test |
| 10094 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10095 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10096 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10097 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10098 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10099 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10100 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10101 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10102 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10103 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10104 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10105 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10106 | PRIVATE third_party/googletest/googletest/include |
| 10107 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10108 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10109 | ) |
| 10110 | |
| 10111 | target_link_libraries(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10112 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10113 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10114 | grpc++ |
| 10115 | grpc |
| 10116 | gpr |
| 10117 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10118 | ) |
| 10119 | |
| 10120 | endif (gRPC_BUILD_TESTS) |
| 10121 | if (gRPC_BUILD_TESTS) |
| 10122 | |
| 10123 | add_executable(grpc_cli |
| 10124 | test/cpp/util/grpc_cli.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10125 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10126 | ) |
| 10127 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10128 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10129 | target_include_directories(grpc_cli |
| 10130 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10131 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10132 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10133 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10134 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10135 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10136 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10137 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10138 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10139 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10140 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10141 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10142 | PRIVATE third_party/googletest/googletest/include |
| 10143 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10144 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10145 | ) |
| 10146 | |
| 10147 | target_link_libraries(grpc_cli |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10148 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10149 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10150 | grpc_cli_libs |
| 10151 | grpc++_proto_reflection_desc_db |
| 10152 | grpc++ |
| 10153 | grpc |
| 10154 | gpr |
| 10155 | grpc++_test_config |
| 10156 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10157 | ) |
| 10158 | |
| 10159 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10160 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10161 | add_executable(grpc_cpp_plugin |
| 10162 | src/compiler/cpp_plugin.cc |
| 10163 | ) |
| 10164 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10165 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10166 | target_include_directories(grpc_cpp_plugin |
| 10167 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10168 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10169 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10170 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10171 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10172 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10173 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10174 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10175 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10176 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10177 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10178 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10179 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10180 | ) |
| 10181 | |
| 10182 | target_link_libraries(grpc_cpp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10183 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10184 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10185 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10186 | grpc_plugin_support |
| 10187 | ) |
| 10188 | |
| 10189 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10190 | if (gRPC_INSTALL) |
| 10191 | install(TARGETS grpc_cpp_plugin EXPORT gRPCTargets |
| 10192 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 10193 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 10194 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 10195 | ) |
| 10196 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10197 | |
| 10198 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10199 | add_executable(grpc_csharp_plugin |
| 10200 | src/compiler/csharp_plugin.cc |
| 10201 | ) |
| 10202 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10203 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10204 | target_include_directories(grpc_csharp_plugin |
| 10205 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10206 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10207 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10208 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10209 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10210 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10211 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10212 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10213 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10214 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10215 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10216 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10217 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10218 | ) |
| 10219 | |
| 10220 | target_link_libraries(grpc_csharp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10221 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10222 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10223 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10224 | grpc_plugin_support |
| 10225 | ) |
| 10226 | |
| 10227 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10228 | if (gRPC_INSTALL) |
| 10229 | install(TARGETS grpc_csharp_plugin EXPORT gRPCTargets |
| 10230 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 10231 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 10232 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 10233 | ) |
| 10234 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10235 | |
| 10236 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10237 | add_executable(grpc_node_plugin |
| 10238 | src/compiler/node_plugin.cc |
| 10239 | ) |
| 10240 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10241 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10242 | target_include_directories(grpc_node_plugin |
| 10243 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10244 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10245 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10246 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10247 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10248 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10249 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10250 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10251 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10252 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10253 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10254 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10255 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10256 | ) |
| 10257 | |
| 10258 | target_link_libraries(grpc_node_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10259 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10260 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10261 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10262 | grpc_plugin_support |
| 10263 | ) |
| 10264 | |
| 10265 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10266 | if (gRPC_INSTALL) |
| 10267 | install(TARGETS grpc_node_plugin EXPORT gRPCTargets |
| 10268 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 10269 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 10270 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 10271 | ) |
| 10272 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10273 | |
| 10274 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10275 | add_executable(grpc_objective_c_plugin |
| 10276 | src/compiler/objective_c_plugin.cc |
| 10277 | ) |
| 10278 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10279 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10280 | target_include_directories(grpc_objective_c_plugin |
| 10281 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10282 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10283 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10284 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10285 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10286 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10287 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10288 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10289 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10290 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10291 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10292 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10293 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10294 | ) |
| 10295 | |
| 10296 | target_link_libraries(grpc_objective_c_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10297 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10298 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10299 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10300 | grpc_plugin_support |
| 10301 | ) |
| 10302 | |
| 10303 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10304 | if (gRPC_INSTALL) |
| 10305 | install(TARGETS grpc_objective_c_plugin EXPORT gRPCTargets |
| 10306 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 10307 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 10308 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 10309 | ) |
| 10310 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10311 | |
| 10312 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10313 | add_executable(grpc_php_plugin |
| 10314 | src/compiler/php_plugin.cc |
| 10315 | ) |
| 10316 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10317 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10318 | target_include_directories(grpc_php_plugin |
| 10319 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10320 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10321 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10322 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10323 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10324 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10325 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10326 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10327 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10328 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10329 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10330 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10331 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10332 | ) |
| 10333 | |
| 10334 | target_link_libraries(grpc_php_plugin |
| 10335 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10336 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10337 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 10338 | grpc_plugin_support |
| 10339 | ) |
| 10340 | |
| 10341 | |
| 10342 | if (gRPC_INSTALL) |
| 10343 | install(TARGETS grpc_php_plugin EXPORT gRPCTargets |
| 10344 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 10345 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 10346 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 10347 | ) |
| 10348 | endif() |
| 10349 | |
| 10350 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10351 | add_executable(grpc_python_plugin |
| 10352 | src/compiler/python_plugin.cc |
| 10353 | ) |
| 10354 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10355 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10356 | target_include_directories(grpc_python_plugin |
| 10357 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10358 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10359 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10360 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10361 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10362 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10363 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10364 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10365 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10366 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10367 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10368 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10369 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10370 | ) |
| 10371 | |
| 10372 | target_link_libraries(grpc_python_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10373 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10374 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10375 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10376 | grpc_plugin_support |
| 10377 | ) |
| 10378 | |
| 10379 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10380 | if (gRPC_INSTALL) |
| 10381 | install(TARGETS grpc_python_plugin EXPORT gRPCTargets |
| 10382 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 10383 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 10384 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 10385 | ) |
| 10386 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10387 | |
| 10388 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10389 | add_executable(grpc_ruby_plugin |
| 10390 | src/compiler/ruby_plugin.cc |
| 10391 | ) |
| 10392 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10393 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10394 | target_include_directories(grpc_ruby_plugin |
| 10395 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10396 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10397 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10398 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10399 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10400 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10401 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10402 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10403 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10404 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10405 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10406 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10407 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10408 | ) |
| 10409 | |
| 10410 | target_link_libraries(grpc_ruby_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 10411 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10412 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10413 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10414 | grpc_plugin_support |
| 10415 | ) |
| 10416 | |
| 10417 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 10418 | if (gRPC_INSTALL) |
| 10419 | install(TARGETS grpc_ruby_plugin EXPORT gRPCTargets |
| 10420 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 10421 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 10422 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 10423 | ) |
| 10424 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10425 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10426 | if (gRPC_BUILD_TESTS) |
| 10427 | |
| 10428 | add_executable(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10429 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 10430 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 10431 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 10432 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 10433 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 10434 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 10435 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 10436 | ${_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] | 10437 | test/cpp/util/grpc_tool_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10438 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10439 | ) |
| 10440 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10441 | protobuf_generate_grpc_cpp( |
| 10442 | src/proto/grpc/testing/echo.proto |
| 10443 | ) |
| 10444 | protobuf_generate_grpc_cpp( |
| 10445 | src/proto/grpc/testing/echo_messages.proto |
| 10446 | ) |
| 10447 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10448 | target_include_directories(grpc_tool_test |
| 10449 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10450 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10451 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10452 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10453 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10454 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10455 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10456 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10457 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10458 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10459 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10460 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10461 | PRIVATE third_party/googletest/googletest/include |
| 10462 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10463 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10464 | ) |
| 10465 | |
| 10466 | target_link_libraries(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10467 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10468 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10469 | grpc_cli_libs |
| 10470 | grpc++_proto_reflection_desc_db |
| 10471 | grpc++_reflection |
| 10472 | grpc++_test_util |
| 10473 | grpc_test_util |
| 10474 | grpc++ |
| 10475 | grpc |
| 10476 | gpr_test_util |
| 10477 | gpr |
| 10478 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10479 | ) |
| 10480 | |
| 10481 | endif (gRPC_BUILD_TESTS) |
| 10482 | if (gRPC_BUILD_TESTS) |
| 10483 | |
| 10484 | add_executable(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10485 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10486 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10487 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10488 | ${_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] | 10489 | test/cpp/grpclb/grpclb_api_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10490 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10491 | ) |
| 10492 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10493 | protobuf_generate_grpc_cpp( |
| 10494 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10495 | ) |
| 10496 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10497 | target_include_directories(grpclb_api_test |
| 10498 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10499 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10500 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10501 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10502 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10503 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10504 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10505 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10506 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10507 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10508 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10509 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10510 | PRIVATE third_party/googletest/googletest/include |
| 10511 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10512 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10513 | ) |
| 10514 | |
| 10515 | target_link_libraries(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10516 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10517 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10518 | grpc++_test_util |
| 10519 | grpc_test_util |
| 10520 | grpc++ |
| 10521 | grpc |
| 10522 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10523 | ) |
| 10524 | |
| 10525 | endif (gRPC_BUILD_TESTS) |
| 10526 | if (gRPC_BUILD_TESTS) |
| 10527 | |
| 10528 | add_executable(grpclb_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10529 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 10530 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 10531 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 10532 | ${_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] | 10533 | test/cpp/grpclb/grpclb_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10534 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10535 | ) |
| 10536 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10537 | protobuf_generate_grpc_cpp( |
| 10538 | src/proto/grpc/lb/v1/load_balancer.proto |
| 10539 | ) |
| 10540 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10541 | target_include_directories(grpclb_test |
| 10542 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10543 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10544 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10545 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10546 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10547 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10548 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10549 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10550 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10551 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10552 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10553 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10554 | PRIVATE third_party/googletest/googletest/include |
| 10555 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10556 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10557 | ) |
| 10558 | |
| 10559 | target_link_libraries(grpclb_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10560 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10561 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10562 | grpc++_test_util |
| 10563 | grpc_test_util |
Jan Tattermusch | 1c6a144 | 2017-01-13 14:17:40 +0100 | [diff] [blame] | 10564 | grpc++ |
| 10565 | grpc |
| 10566 | gpr_test_util |
| 10567 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10568 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10569 | ) |
| 10570 | |
| 10571 | endif (gRPC_BUILD_TESTS) |
| 10572 | if (gRPC_BUILD_TESTS) |
| 10573 | |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10574 | add_executable(health_service_end2end_test |
| 10575 | test/cpp/end2end/health_service_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10576 | third_party/googletest/googletest/src/gtest-all.cc |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10577 | ) |
| 10578 | |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10579 | |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10580 | target_include_directories(health_service_end2end_test |
| 10581 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10582 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10583 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10584 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10585 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10586 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10587 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10588 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10589 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10590 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10591 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10592 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10593 | PRIVATE third_party/googletest/googletest/include |
| 10594 | PRIVATE third_party/googletest/googletest |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10595 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10596 | ) |
| 10597 | |
| 10598 | target_link_libraries(health_service_end2end_test |
yang-g | 13a537b | 2017-02-07 13:13:20 -0800 | [diff] [blame] | 10599 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10600 | ${_gRPC_ALLTARGETS_LIBRARIES} |
yang-g | a719802 | 2017-01-26 13:23:52 -0800 | [diff] [blame] | 10601 | grpc++_test_util |
| 10602 | grpc_test_util |
| 10603 | grpc++ |
| 10604 | grpc |
| 10605 | gpr_test_util |
| 10606 | gpr |
| 10607 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10608 | ) |
| 10609 | |
| 10610 | endif (gRPC_BUILD_TESTS) |
| 10611 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10612 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10613 | |
| 10614 | add_executable(http2_client |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10615 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10616 | ) |
| 10617 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10618 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10619 | target_include_directories(http2_client |
| 10620 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10621 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10622 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10623 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10624 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10625 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10626 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10627 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10628 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10629 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10630 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10631 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10632 | PRIVATE third_party/googletest/googletest/include |
| 10633 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10634 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10635 | ) |
| 10636 | |
| 10637 | target_link_libraries(http2_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10638 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10639 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10640 | http2_client_main |
| 10641 | grpc++_test_util |
| 10642 | grpc_test_util |
| 10643 | grpc++ |
| 10644 | grpc |
| 10645 | grpc++_test_config |
| 10646 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10647 | ) |
| 10648 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10649 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10650 | endif (gRPC_BUILD_TESTS) |
| 10651 | if (gRPC_BUILD_TESTS) |
| 10652 | |
| 10653 | add_executable(hybrid_end2end_test |
| 10654 | test/cpp/end2end/hybrid_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10655 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10656 | ) |
| 10657 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10658 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10659 | target_include_directories(hybrid_end2end_test |
| 10660 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10661 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10662 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10663 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10664 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10665 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10666 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10667 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10668 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10669 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10670 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10671 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10672 | PRIVATE third_party/googletest/googletest/include |
| 10673 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10674 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10675 | ) |
| 10676 | |
| 10677 | target_link_libraries(hybrid_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10678 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10679 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10680 | grpc++_test_util |
| 10681 | grpc_test_util |
| 10682 | grpc++ |
| 10683 | grpc |
| 10684 | gpr_test_util |
| 10685 | gpr |
| 10686 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10687 | ) |
| 10688 | |
| 10689 | endif (gRPC_BUILD_TESTS) |
| 10690 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10691 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10692 | |
| 10693 | add_executable(interop_client |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10694 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10695 | ) |
| 10696 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10697 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10698 | target_include_directories(interop_client |
| 10699 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10700 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10701 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10702 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10703 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10704 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10705 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10706 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10707 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10708 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10709 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10710 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10711 | PRIVATE third_party/googletest/googletest/include |
| 10712 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10713 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10714 | ) |
| 10715 | |
| 10716 | target_link_libraries(interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10717 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10718 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10719 | interop_client_main |
| 10720 | interop_client_helper |
| 10721 | grpc++_test_util |
| 10722 | grpc_test_util |
| 10723 | grpc++ |
| 10724 | grpc |
| 10725 | gpr_test_util |
| 10726 | gpr |
| 10727 | grpc++_test_config |
| 10728 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10729 | ) |
| 10730 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10731 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10732 | endif (gRPC_BUILD_TESTS) |
| 10733 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10734 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10735 | |
| 10736 | add_executable(interop_server |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10737 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10738 | ) |
| 10739 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10740 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10741 | target_include_directories(interop_server |
| 10742 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10743 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10744 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10745 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10746 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10747 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10748 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10749 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10750 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10751 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10752 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10753 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10754 | PRIVATE third_party/googletest/googletest/include |
| 10755 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10756 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10757 | ) |
| 10758 | |
| 10759 | target_link_libraries(interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10760 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10761 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10762 | interop_server_main |
| 10763 | interop_server_helper |
| 10764 | interop_server_lib |
| 10765 | grpc++_test_util |
| 10766 | grpc_test_util |
| 10767 | grpc++ |
| 10768 | grpc |
| 10769 | gpr_test_util |
| 10770 | gpr |
| 10771 | grpc++_test_config |
| 10772 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10773 | ) |
| 10774 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10775 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10776 | endif (gRPC_BUILD_TESTS) |
| 10777 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10778 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10779 | |
| 10780 | add_executable(interop_test |
| 10781 | test/cpp/interop/interop_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10782 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10783 | ) |
| 10784 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10785 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10786 | target_include_directories(interop_test |
| 10787 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10788 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10789 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10790 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10791 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10792 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10793 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10794 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10795 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10796 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10797 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10798 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10799 | PRIVATE third_party/googletest/googletest/include |
| 10800 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10801 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10802 | ) |
| 10803 | |
| 10804 | target_link_libraries(interop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10805 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10806 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10807 | grpc_test_util |
| 10808 | grpc |
| 10809 | gpr_test_util |
| 10810 | gpr |
| 10811 | grpc++_test_config |
| 10812 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10813 | ) |
| 10814 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10815 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10816 | endif (gRPC_BUILD_TESTS) |
| 10817 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10818 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10819 | |
| 10820 | add_executable(json_run_localhost |
| 10821 | test/cpp/qps/json_run_localhost.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10822 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10823 | ) |
| 10824 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10825 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10826 | target_include_directories(json_run_localhost |
| 10827 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10828 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10829 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10830 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10831 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10832 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10833 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10834 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10835 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10836 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10837 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10838 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10839 | PRIVATE third_party/googletest/googletest/include |
| 10840 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10841 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10842 | ) |
| 10843 | |
| 10844 | target_link_libraries(json_run_localhost |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10845 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10846 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10847 | grpc++_test_util |
| 10848 | grpc_test_util |
| 10849 | grpc++ |
| 10850 | grpc |
| 10851 | gpr_test_util |
| 10852 | gpr |
| 10853 | grpc++_test_config |
| 10854 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10855 | ) |
| 10856 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10857 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10858 | endif (gRPC_BUILD_TESTS) |
| 10859 | if (gRPC_BUILD_TESTS) |
| 10860 | |
| 10861 | add_executable(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10862 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 10863 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 10864 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 10865 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10866 | test/cpp/interop/metrics_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10867 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10868 | ) |
| 10869 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10870 | protobuf_generate_grpc_cpp( |
| 10871 | src/proto/grpc/testing/metrics.proto |
| 10872 | ) |
| 10873 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10874 | target_include_directories(metrics_client |
| 10875 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10876 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10877 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10878 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10879 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10880 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10881 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10882 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10883 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10884 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10885 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10886 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10887 | PRIVATE third_party/googletest/googletest/include |
| 10888 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10889 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10890 | ) |
| 10891 | |
| 10892 | target_link_libraries(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10893 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10894 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10895 | grpc++ |
| 10896 | grpc |
| 10897 | gpr |
| 10898 | grpc++_test_config |
| 10899 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10900 | ) |
| 10901 | |
| 10902 | endif (gRPC_BUILD_TESTS) |
| 10903 | if (gRPC_BUILD_TESTS) |
| 10904 | |
| 10905 | add_executable(mock_test |
| 10906 | test/cpp/end2end/mock_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10907 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10908 | ) |
| 10909 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10910 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10911 | target_include_directories(mock_test |
| 10912 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10913 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10914 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10915 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10916 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10917 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10918 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10919 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10920 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10921 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10922 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10923 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10924 | PRIVATE third_party/googletest/googletest/include |
| 10925 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10926 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10927 | ) |
| 10928 | |
| 10929 | target_link_libraries(mock_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10930 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10931 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10932 | grpc++_test_util |
| 10933 | grpc_test_util |
| 10934 | grpc++ |
| 10935 | grpc |
| 10936 | gpr_test_util |
| 10937 | gpr |
| 10938 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10939 | ) |
| 10940 | |
| 10941 | endif (gRPC_BUILD_TESTS) |
| 10942 | if (gRPC_BUILD_TESTS) |
| 10943 | |
| 10944 | add_executable(noop-benchmark |
| 10945 | test/cpp/microbenchmarks/noop-benchmark.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10946 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10947 | ) |
| 10948 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10949 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10950 | target_include_directories(noop-benchmark |
| 10951 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10952 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10953 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10954 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10955 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10956 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10957 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10958 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10959 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10960 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10961 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10962 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10963 | PRIVATE third_party/googletest/googletest/include |
| 10964 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10965 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10966 | ) |
| 10967 | |
| 10968 | target_link_libraries(noop-benchmark |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10969 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 10970 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10971 | benchmark |
| 10972 | ${_gRPC_GFLAGS_LIBRARIES} |
| 10973 | ) |
| 10974 | |
| 10975 | endif (gRPC_BUILD_TESTS) |
| 10976 | if (gRPC_BUILD_TESTS) |
| 10977 | |
| 10978 | add_executable(proto_server_reflection_test |
| 10979 | test/cpp/end2end/proto_server_reflection_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10980 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10981 | ) |
| 10982 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10983 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10984 | target_include_directories(proto_server_reflection_test |
| 10985 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10986 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10987 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10988 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10989 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10990 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10991 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 10992 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 10993 | PRIVATE ${CARES_INCLUDE_DIR} |
| 10994 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 10995 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10996 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 10997 | PRIVATE third_party/googletest/googletest/include |
| 10998 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10999 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11000 | ) |
| 11001 | |
| 11002 | target_link_libraries(proto_server_reflection_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11003 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11004 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11005 | grpc++_proto_reflection_desc_db |
| 11006 | grpc++_reflection |
| 11007 | grpc++_test_util |
| 11008 | grpc_test_util |
| 11009 | grpc++ |
| 11010 | grpc |
| 11011 | gpr_test_util |
| 11012 | gpr |
| 11013 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11014 | ) |
| 11015 | |
| 11016 | endif (gRPC_BUILD_TESTS) |
| 11017 | if (gRPC_BUILD_TESTS) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11018 | |
| 11019 | add_executable(proto_utils_test |
| 11020 | test/cpp/codegen/proto_utils_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11021 | third_party/googletest/googletest/src/gtest-all.cc |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11022 | ) |
| 11023 | |
| 11024 | |
| 11025 | target_include_directories(proto_utils_test |
| 11026 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11027 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11028 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11029 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11030 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11031 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11032 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11033 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11034 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11035 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11036 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11037 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11038 | PRIVATE third_party/googletest/googletest/include |
| 11039 | PRIVATE third_party/googletest/googletest |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 11040 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11041 | ) |
| 11042 | |
| 11043 | target_link_libraries(proto_utils_test |
| 11044 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11045 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11046 | grpc++ |
| 11047 | grpc |
| 11048 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11049 | ) |
| 11050 | |
| 11051 | endif (gRPC_BUILD_TESTS) |
| 11052 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11053 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11054 | |
| 11055 | add_executable(qps_interarrival_test |
| 11056 | test/cpp/qps/qps_interarrival_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11057 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11058 | ) |
| 11059 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11060 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11061 | target_include_directories(qps_interarrival_test |
| 11062 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11063 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11064 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11065 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11066 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11067 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11068 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11069 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11070 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11071 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11072 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11073 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11074 | PRIVATE third_party/googletest/googletest/include |
| 11075 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11076 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11077 | ) |
| 11078 | |
| 11079 | target_link_libraries(qps_interarrival_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11080 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11081 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11082 | qps |
| 11083 | grpc++_test_util |
| 11084 | grpc_test_util |
| 11085 | grpc++ |
| 11086 | grpc |
| 11087 | gpr_test_util |
| 11088 | gpr |
| 11089 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11090 | ) |
| 11091 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11092 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11093 | endif (gRPC_BUILD_TESTS) |
| 11094 | if (gRPC_BUILD_TESTS) |
| 11095 | |
| 11096 | add_executable(qps_json_driver |
| 11097 | test/cpp/qps/qps_json_driver.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11098 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11099 | ) |
| 11100 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11101 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11102 | target_include_directories(qps_json_driver |
| 11103 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11104 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11105 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11106 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11107 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11108 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11109 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11110 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11111 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11112 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11113 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11114 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11115 | PRIVATE third_party/googletest/googletest/include |
| 11116 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11117 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11118 | ) |
| 11119 | |
| 11120 | target_link_libraries(qps_json_driver |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11121 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11122 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11123 | qps |
| 11124 | grpc++_test_util |
| 11125 | grpc_test_util |
| 11126 | grpc++ |
| 11127 | grpc |
| 11128 | gpr_test_util |
| 11129 | gpr |
| 11130 | grpc++_test_config |
| 11131 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11132 | ) |
| 11133 | |
| 11134 | endif (gRPC_BUILD_TESTS) |
| 11135 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11136 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11137 | |
| 11138 | add_executable(qps_openloop_test |
| 11139 | test/cpp/qps/qps_openloop_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11140 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11141 | ) |
| 11142 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11143 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11144 | target_include_directories(qps_openloop_test |
| 11145 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11146 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11147 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11148 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11149 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11150 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11151 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11152 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11153 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11154 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11155 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11156 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11157 | PRIVATE third_party/googletest/googletest/include |
| 11158 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11159 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11160 | ) |
| 11161 | |
| 11162 | target_link_libraries(qps_openloop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11163 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11164 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11165 | qps |
| 11166 | grpc++_test_util |
| 11167 | grpc_test_util |
| 11168 | grpc++ |
| 11169 | grpc |
| 11170 | gpr_test_util |
| 11171 | gpr |
| 11172 | grpc++_test_config |
| 11173 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11174 | ) |
| 11175 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11176 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11177 | endif (gRPC_BUILD_TESTS) |
| 11178 | if (gRPC_BUILD_TESTS) |
| 11179 | |
| 11180 | add_executable(qps_worker |
| 11181 | test/cpp/qps/worker.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11182 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11183 | ) |
| 11184 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11185 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11186 | target_include_directories(qps_worker |
| 11187 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11188 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11189 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11190 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11191 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11192 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11193 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11194 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11195 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11196 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11197 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11198 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11199 | PRIVATE third_party/googletest/googletest/include |
| 11200 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11201 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11202 | ) |
| 11203 | |
| 11204 | target_link_libraries(qps_worker |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11205 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11206 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11207 | qps |
| 11208 | grpc++_test_util |
| 11209 | grpc_test_util |
| 11210 | grpc++ |
| 11211 | grpc |
| 11212 | gpr_test_util |
| 11213 | gpr |
| 11214 | grpc++_test_config |
| 11215 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11216 | ) |
| 11217 | |
| 11218 | endif (gRPC_BUILD_TESTS) |
| 11219 | if (gRPC_BUILD_TESTS) |
| 11220 | |
| 11221 | add_executable(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11222 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 11223 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 11224 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 11225 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 11226 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 11227 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 11228 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 11229 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 11230 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 11231 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 11232 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 11233 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11234 | test/cpp/interop/reconnect_interop_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11235 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11236 | ) |
| 11237 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11238 | protobuf_generate_grpc_cpp( |
| 11239 | src/proto/grpc/testing/empty.proto |
| 11240 | ) |
| 11241 | protobuf_generate_grpc_cpp( |
| 11242 | src/proto/grpc/testing/messages.proto |
| 11243 | ) |
| 11244 | protobuf_generate_grpc_cpp( |
| 11245 | src/proto/grpc/testing/test.proto |
| 11246 | ) |
| 11247 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11248 | target_include_directories(reconnect_interop_client |
| 11249 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11250 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11251 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11252 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11253 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11254 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11255 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11256 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11257 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11258 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11259 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11260 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11261 | PRIVATE third_party/googletest/googletest/include |
| 11262 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11263 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11264 | ) |
| 11265 | |
| 11266 | target_link_libraries(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11267 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11268 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11269 | grpc++_test_util |
| 11270 | grpc_test_util |
| 11271 | grpc++ |
| 11272 | grpc |
| 11273 | gpr_test_util |
| 11274 | gpr |
| 11275 | grpc++_test_config |
| 11276 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11277 | ) |
| 11278 | |
| 11279 | endif (gRPC_BUILD_TESTS) |
| 11280 | if (gRPC_BUILD_TESTS) |
| 11281 | |
| 11282 | add_executable(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11283 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 11284 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 11285 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 11286 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 11287 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 11288 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 11289 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 11290 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 11291 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 11292 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 11293 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 11294 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11295 | test/cpp/interop/reconnect_interop_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11296 | third_party/googletest/googletest/src/gtest-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 | protobuf_generate_grpc_cpp( |
| 11300 | src/proto/grpc/testing/empty.proto |
| 11301 | ) |
| 11302 | protobuf_generate_grpc_cpp( |
| 11303 | src/proto/grpc/testing/messages.proto |
| 11304 | ) |
| 11305 | protobuf_generate_grpc_cpp( |
| 11306 | src/proto/grpc/testing/test.proto |
| 11307 | ) |
| 11308 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11309 | target_include_directories(reconnect_interop_server |
| 11310 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11311 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11312 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11313 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11314 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11315 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11316 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11317 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11318 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11319 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11320 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11321 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11322 | PRIVATE third_party/googletest/googletest/include |
| 11323 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11324 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11325 | ) |
| 11326 | |
| 11327 | target_link_libraries(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11328 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11329 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11330 | reconnect_server |
| 11331 | test_tcp_server |
| 11332 | grpc++_test_util |
| 11333 | grpc_test_util |
| 11334 | grpc++ |
| 11335 | grpc |
| 11336 | gpr_test_util |
| 11337 | gpr |
| 11338 | grpc++_test_config |
| 11339 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11340 | ) |
| 11341 | |
| 11342 | endif (gRPC_BUILD_TESTS) |
| 11343 | if (gRPC_BUILD_TESTS) |
| 11344 | |
| 11345 | add_executable(round_robin_end2end_test |
| 11346 | test/cpp/end2end/round_robin_end2end_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11347 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11348 | ) |
| 11349 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11350 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11351 | target_include_directories(round_robin_end2end_test |
| 11352 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11353 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11354 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11355 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11356 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11357 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11358 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11359 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11360 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11361 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11362 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11363 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11364 | PRIVATE third_party/googletest/googletest/include |
| 11365 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11366 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11367 | ) |
| 11368 | |
| 11369 | target_link_libraries(round_robin_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11370 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11371 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11372 | grpc++_test_util |
| 11373 | grpc_test_util |
| 11374 | grpc++ |
| 11375 | grpc |
| 11376 | gpr_test_util |
| 11377 | gpr |
| 11378 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11379 | ) |
| 11380 | |
| 11381 | endif (gRPC_BUILD_TESTS) |
| 11382 | if (gRPC_BUILD_TESTS) |
| 11383 | |
| 11384 | add_executable(secure_auth_context_test |
| 11385 | test/cpp/common/secure_auth_context_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11386 | third_party/googletest/googletest/src/gtest-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(secure_auth_context_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 | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11398 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11399 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11400 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11401 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11402 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11403 | PRIVATE third_party/googletest/googletest/include |
| 11404 | PRIVATE third_party/googletest/googletest |
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(secure_auth_context_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_test_util |
| 11413 | grpc++ |
| 11414 | grpc |
| 11415 | gpr_test_util |
| 11416 | gpr |
| 11417 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11418 | ) |
| 11419 | |
| 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(secure_sync_unary_ping_pong_test |
| 11425 | test/cpp/qps/secure_sync_unary_ping_pong_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11426 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11427 | ) |
| 11428 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11429 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11430 | target_include_directories(secure_sync_unary_ping_pong_test |
| 11431 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11432 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11433 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11434 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11435 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11436 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11437 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11438 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11439 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11440 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11441 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11442 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11443 | PRIVATE third_party/googletest/googletest/include |
| 11444 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11445 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11446 | ) |
| 11447 | |
| 11448 | target_link_libraries(secure_sync_unary_ping_pong_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11449 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11450 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11451 | qps |
| 11452 | grpc++_test_util |
| 11453 | grpc_test_util |
| 11454 | grpc++ |
| 11455 | grpc |
| 11456 | gpr_test_util |
| 11457 | gpr |
| 11458 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11459 | ) |
| 11460 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11461 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11462 | endif (gRPC_BUILD_TESTS) |
| 11463 | if (gRPC_BUILD_TESTS) |
| 11464 | |
| 11465 | add_executable(server_builder_plugin_test |
| 11466 | test/cpp/end2end/server_builder_plugin_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11467 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11468 | ) |
| 11469 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11470 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11471 | target_include_directories(server_builder_plugin_test |
| 11472 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11473 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11474 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11475 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11476 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11477 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11478 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11479 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11480 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11481 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11482 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11483 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11484 | PRIVATE third_party/googletest/googletest/include |
| 11485 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11486 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11487 | ) |
| 11488 | |
| 11489 | target_link_libraries(server_builder_plugin_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11490 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11491 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11492 | grpc++_test_util |
| 11493 | grpc_test_util |
| 11494 | grpc++ |
| 11495 | grpc |
| 11496 | gpr_test_util |
| 11497 | gpr |
| 11498 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11499 | ) |
| 11500 | |
| 11501 | endif (gRPC_BUILD_TESTS) |
| 11502 | if (gRPC_BUILD_TESTS) |
| 11503 | |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11504 | add_executable(server_builder_test |
| 11505 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 11506 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 11507 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 11508 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 11509 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 11510 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 11511 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 11512 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 11513 | test/cpp/server/server_builder_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11514 | third_party/googletest/googletest/src/gtest-all.cc |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11515 | ) |
| 11516 | |
| 11517 | protobuf_generate_grpc_cpp( |
| 11518 | src/proto/grpc/testing/echo_messages.proto |
| 11519 | ) |
| 11520 | protobuf_generate_grpc_cpp( |
| 11521 | src/proto/grpc/testing/echo.proto |
| 11522 | ) |
| 11523 | |
| 11524 | target_include_directories(server_builder_test |
| 11525 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11526 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11527 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11528 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 11529 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 11530 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11531 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11532 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11533 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11534 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11535 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11536 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11537 | PRIVATE third_party/googletest/googletest/include |
| 11538 | PRIVATE third_party/googletest/googletest |
Craig Tiller | 332bcc3 | 2017-03-08 12:47:46 -0800 | [diff] [blame] | 11539 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 11540 | ) |
| 11541 | |
| 11542 | target_link_libraries(server_builder_test |
| 11543 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11544 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 11545 | grpc++_test_util |
| 11546 | grpc_test_util |
| 11547 | gpr_test_util |
| 11548 | grpc++ |
| 11549 | grpc |
| 11550 | gpr |
| 11551 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11552 | ) |
| 11553 | |
| 11554 | endif (gRPC_BUILD_TESTS) |
| 11555 | if (gRPC_BUILD_TESTS) |
| 11556 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11557 | add_executable(server_context_test_spouse_test |
| 11558 | test/cpp/test/server_context_test_spouse_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11559 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11560 | ) |
| 11561 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11562 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11563 | target_include_directories(server_context_test_spouse_test |
| 11564 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11565 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11566 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11567 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11568 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11569 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11570 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11571 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11572 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11573 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11574 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11575 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11576 | PRIVATE third_party/googletest/googletest/include |
| 11577 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11578 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11579 | ) |
| 11580 | |
| 11581 | target_link_libraries(server_context_test_spouse_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11582 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11583 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11584 | grpc_test_util |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11585 | grpc++ |
| 11586 | grpc |
| 11587 | gpr_test_util |
| 11588 | gpr |
| 11589 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11590 | ) |
| 11591 | |
| 11592 | endif (gRPC_BUILD_TESTS) |
| 11593 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11594 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11595 | |
| 11596 | add_executable(server_crash_test |
| 11597 | test/cpp/end2end/server_crash_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11598 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11599 | ) |
| 11600 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11601 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11602 | target_include_directories(server_crash_test |
| 11603 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11604 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11605 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11606 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11607 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11608 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11609 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11610 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11611 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11612 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11613 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11614 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11615 | PRIVATE third_party/googletest/googletest/include |
| 11616 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11617 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11618 | ) |
| 11619 | |
| 11620 | target_link_libraries(server_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11621 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11622 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11623 | grpc++_test_util |
| 11624 | grpc_test_util |
| 11625 | grpc++ |
| 11626 | grpc |
| 11627 | gpr_test_util |
| 11628 | gpr |
| 11629 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11630 | ) |
| 11631 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11632 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11633 | endif (gRPC_BUILD_TESTS) |
| 11634 | if (gRPC_BUILD_TESTS) |
| 11635 | |
| 11636 | add_executable(server_crash_test_client |
| 11637 | test/cpp/end2end/server_crash_test_client.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11638 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11639 | ) |
| 11640 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11641 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11642 | target_include_directories(server_crash_test_client |
| 11643 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11644 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11645 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11646 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11647 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11648 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11649 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11650 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11651 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11652 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11653 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11654 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11655 | PRIVATE third_party/googletest/googletest/include |
| 11656 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11657 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11658 | ) |
| 11659 | |
| 11660 | target_link_libraries(server_crash_test_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11661 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11662 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11663 | grpc++_test_util |
| 11664 | grpc_test_util |
| 11665 | grpc++ |
| 11666 | grpc |
| 11667 | gpr_test_util |
| 11668 | gpr |
| 11669 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11670 | ) |
| 11671 | |
| 11672 | endif (gRPC_BUILD_TESTS) |
| 11673 | if (gRPC_BUILD_TESTS) |
| 11674 | |
| 11675 | add_executable(shutdown_test |
| 11676 | test/cpp/end2end/shutdown_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11677 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11678 | ) |
| 11679 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11680 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11681 | target_include_directories(shutdown_test |
| 11682 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11683 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11684 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11685 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11686 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11687 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11688 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11689 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11690 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11691 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11692 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11693 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11694 | PRIVATE third_party/googletest/googletest/include |
| 11695 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11696 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11697 | ) |
| 11698 | |
| 11699 | target_link_libraries(shutdown_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11700 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11701 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11702 | grpc++_test_util |
| 11703 | grpc_test_util |
| 11704 | grpc++ |
| 11705 | grpc |
| 11706 | gpr_test_util |
| 11707 | gpr |
| 11708 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11709 | ) |
| 11710 | |
| 11711 | endif (gRPC_BUILD_TESTS) |
| 11712 | if (gRPC_BUILD_TESTS) |
| 11713 | |
| 11714 | add_executable(status_test |
| 11715 | test/cpp/util/status_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11716 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11717 | ) |
| 11718 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11719 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11720 | target_include_directories(status_test |
| 11721 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11722 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11723 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11724 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11725 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11726 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11727 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11728 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11729 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11730 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11731 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11732 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11733 | PRIVATE third_party/googletest/googletest/include |
| 11734 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11735 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11736 | ) |
| 11737 | |
| 11738 | target_link_libraries(status_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11739 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11740 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11741 | grpc_test_util |
| 11742 | grpc++ |
| 11743 | grpc |
| 11744 | gpr_test_util |
| 11745 | gpr |
| 11746 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11747 | ) |
| 11748 | |
| 11749 | endif (gRPC_BUILD_TESTS) |
| 11750 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11751 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11752 | |
| 11753 | add_executable(streaming_throughput_test |
| 11754 | test/cpp/end2end/streaming_throughput_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11755 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11756 | ) |
| 11757 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11758 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11759 | target_include_directories(streaming_throughput_test |
| 11760 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11761 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11762 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11763 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11764 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11765 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11766 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11767 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11768 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11769 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11770 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11771 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11772 | PRIVATE third_party/googletest/googletest/include |
| 11773 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11774 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11775 | ) |
| 11776 | |
| 11777 | target_link_libraries(streaming_throughput_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11778 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11779 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11780 | grpc++_test_util |
| 11781 | grpc_test_util |
| 11782 | grpc++ |
| 11783 | grpc |
| 11784 | gpr_test_util |
| 11785 | gpr |
| 11786 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11787 | ) |
| 11788 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11789 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11790 | endif (gRPC_BUILD_TESTS) |
| 11791 | if (gRPC_BUILD_TESTS) |
| 11792 | |
| 11793 | add_executable(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11794 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 11795 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 11796 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 11797 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 11798 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 11799 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 11800 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 11801 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 11802 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 11803 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 11804 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 11805 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
| 11806 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 11807 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 11808 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 11809 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11810 | test/cpp/interop/interop_client.cc |
| 11811 | test/cpp/interop/stress_interop_client.cc |
| 11812 | test/cpp/interop/stress_test.cc |
| 11813 | test/cpp/util/metrics_server.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11814 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11815 | ) |
| 11816 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11817 | protobuf_generate_grpc_cpp( |
| 11818 | src/proto/grpc/testing/empty.proto |
| 11819 | ) |
| 11820 | protobuf_generate_grpc_cpp( |
| 11821 | src/proto/grpc/testing/messages.proto |
| 11822 | ) |
| 11823 | protobuf_generate_grpc_cpp( |
| 11824 | src/proto/grpc/testing/metrics.proto |
| 11825 | ) |
| 11826 | protobuf_generate_grpc_cpp( |
| 11827 | src/proto/grpc/testing/test.proto |
| 11828 | ) |
| 11829 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11830 | target_include_directories(stress_test |
| 11831 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11832 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11833 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11834 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11835 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11836 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11837 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11838 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11839 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11840 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11841 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11842 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11843 | PRIVATE third_party/googletest/googletest/include |
| 11844 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11845 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11846 | ) |
| 11847 | |
| 11848 | target_link_libraries(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11849 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11850 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11851 | grpc++_test_util |
| 11852 | grpc_test_util |
| 11853 | grpc++ |
| 11854 | grpc |
| 11855 | gpr_test_util |
| 11856 | gpr |
| 11857 | grpc++_test_config |
| 11858 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11859 | ) |
| 11860 | |
| 11861 | endif (gRPC_BUILD_TESTS) |
| 11862 | if (gRPC_BUILD_TESTS) |
| 11863 | |
| 11864 | add_executable(thread_manager_test |
| 11865 | test/cpp/thread_manager/thread_manager_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11866 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11867 | ) |
| 11868 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11869 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11870 | target_include_directories(thread_manager_test |
| 11871 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11872 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11873 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11874 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11875 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11876 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11877 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11878 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11879 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11880 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11881 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11882 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11883 | PRIVATE third_party/googletest/googletest/include |
| 11884 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11885 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11886 | ) |
| 11887 | |
| 11888 | target_link_libraries(thread_manager_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11889 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11890 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11891 | grpc++ |
| 11892 | grpc |
| 11893 | gpr |
| 11894 | grpc++_test_config |
| 11895 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11896 | ) |
| 11897 | |
| 11898 | endif (gRPC_BUILD_TESTS) |
| 11899 | if (gRPC_BUILD_TESTS) |
| 11900 | |
| 11901 | add_executable(thread_stress_test |
| 11902 | test/cpp/end2end/thread_stress_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11903 | third_party/googletest/googletest/src/gtest-all.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11904 | ) |
| 11905 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11906 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11907 | target_include_directories(thread_stress_test |
| 11908 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11909 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11910 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11911 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11912 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11913 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11914 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11915 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11916 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11917 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11918 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11919 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11920 | PRIVATE third_party/googletest/googletest/include |
| 11921 | PRIVATE third_party/googletest/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11922 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11923 | ) |
| 11924 | |
| 11925 | target_link_libraries(thread_stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11926 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11927 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11928 | grpc++_test_util |
| 11929 | grpc_test_util |
| 11930 | grpc++ |
| 11931 | grpc |
| 11932 | gpr_test_util |
| 11933 | gpr |
| 11934 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11935 | ) |
| 11936 | |
| 11937 | endif (gRPC_BUILD_TESTS) |
| 11938 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 11939 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11940 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 11941 | add_executable(writes_per_rpc_test |
| 11942 | test/cpp/performance/writes_per_rpc_test.cc |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11943 | third_party/googletest/googletest/src/gtest-all.cc |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 11944 | ) |
| 11945 | |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 11946 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 11947 | target_include_directories(writes_per_rpc_test |
| 11948 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11949 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11950 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11951 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 11952 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 11953 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11954 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11955 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11956 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11957 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11958 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 11959 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 11960 | PRIVATE third_party/googletest/googletest/include |
| 11961 | PRIVATE third_party/googletest/googletest |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 11962 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 11963 | ) |
| 11964 | |
| 11965 | target_link_libraries(writes_per_rpc_test |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 11966 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 11967 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 11968 | grpc++_test_util |
| 11969 | grpc_test_util |
| 11970 | grpc++ |
| 11971 | grpc |
| 11972 | gpr_test_util |
| 11973 | gpr |
| 11974 | ${_gRPC_GFLAGS_LIBRARIES} |
| 11975 | ) |
| 11976 | |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 11977 | endif() |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 11978 | endif (gRPC_BUILD_TESTS) |
| 11979 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11980 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11981 | add_executable(public_headers_must_be_c89 |
| 11982 | test/core/surface/public_headers_must_be_c89.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11983 | ) |
| 11984 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11985 | |
| 11986 | target_include_directories(public_headers_must_be_c89 |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11987 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 11988 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 11989 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 11990 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 11991 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11992 | PRIVATE ${ZLIB_ROOT_DIR} |
| 11993 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 11994 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 11995 | PRIVATE ${CARES_INCLUDE_DIR} |
| 11996 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 11997 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11998 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 11999 | ) |
| 12000 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12001 | target_link_libraries(public_headers_must_be_c89 |
| 12002 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 12003 | grpc |
| 12004 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12005 | ) |
| 12006 | |
| 12007 | endif (gRPC_BUILD_TESTS) |
| 12008 | if (gRPC_BUILD_TESTS) |
| 12009 | |
| 12010 | add_executable(badreq_bad_client_test |
| 12011 | test/core/bad_client/tests/badreq.c |
| 12012 | ) |
| 12013 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12014 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12015 | target_include_directories(badreq_bad_client_test |
| 12016 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12017 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12018 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12019 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12020 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12021 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12022 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12023 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12024 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12025 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12026 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12027 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12028 | ) |
| 12029 | |
| 12030 | target_link_libraries(badreq_bad_client_test |
| 12031 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12032 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12033 | bad_client_test |
| 12034 | grpc_test_util_unsecure |
| 12035 | grpc_unsecure |
| 12036 | gpr_test_util |
| 12037 | gpr |
| 12038 | ) |
| 12039 | |
| 12040 | endif (gRPC_BUILD_TESTS) |
| 12041 | if (gRPC_BUILD_TESTS) |
| 12042 | |
| 12043 | add_executable(connection_prefix_bad_client_test |
| 12044 | test/core/bad_client/tests/connection_prefix.c |
| 12045 | ) |
| 12046 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12047 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12048 | target_include_directories(connection_prefix_bad_client_test |
| 12049 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12050 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12051 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12052 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12053 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12054 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12055 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12056 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12057 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12058 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12059 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12060 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12061 | ) |
| 12062 | |
| 12063 | target_link_libraries(connection_prefix_bad_client_test |
| 12064 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12065 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12066 | bad_client_test |
| 12067 | grpc_test_util_unsecure |
| 12068 | grpc_unsecure |
| 12069 | gpr_test_util |
| 12070 | gpr |
| 12071 | ) |
| 12072 | |
| 12073 | endif (gRPC_BUILD_TESTS) |
| 12074 | if (gRPC_BUILD_TESTS) |
| 12075 | |
| 12076 | add_executable(head_of_line_blocking_bad_client_test |
| 12077 | test/core/bad_client/tests/head_of_line_blocking.c |
| 12078 | ) |
| 12079 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12080 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12081 | target_include_directories(head_of_line_blocking_bad_client_test |
| 12082 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12083 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12084 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12085 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12086 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12087 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12088 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12089 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12090 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12091 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12092 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12093 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12094 | ) |
| 12095 | |
| 12096 | target_link_libraries(head_of_line_blocking_bad_client_test |
| 12097 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12098 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12099 | bad_client_test |
| 12100 | grpc_test_util_unsecure |
| 12101 | grpc_unsecure |
| 12102 | gpr_test_util |
| 12103 | gpr |
| 12104 | ) |
| 12105 | |
| 12106 | endif (gRPC_BUILD_TESTS) |
| 12107 | if (gRPC_BUILD_TESTS) |
| 12108 | |
| 12109 | add_executable(headers_bad_client_test |
| 12110 | test/core/bad_client/tests/headers.c |
| 12111 | ) |
| 12112 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12113 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12114 | target_include_directories(headers_bad_client_test |
| 12115 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12116 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12117 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12118 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12119 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12120 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12121 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12122 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12123 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12124 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12125 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12126 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12127 | ) |
| 12128 | |
| 12129 | target_link_libraries(headers_bad_client_test |
| 12130 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12131 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12132 | bad_client_test |
| 12133 | grpc_test_util_unsecure |
| 12134 | grpc_unsecure |
| 12135 | gpr_test_util |
| 12136 | gpr |
| 12137 | ) |
| 12138 | |
| 12139 | endif (gRPC_BUILD_TESTS) |
| 12140 | if (gRPC_BUILD_TESTS) |
| 12141 | |
| 12142 | add_executable(initial_settings_frame_bad_client_test |
| 12143 | test/core/bad_client/tests/initial_settings_frame.c |
| 12144 | ) |
| 12145 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12146 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12147 | target_include_directories(initial_settings_frame_bad_client_test |
| 12148 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12149 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12150 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12151 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12152 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12153 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12154 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12155 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12156 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12157 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12158 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12159 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12160 | ) |
| 12161 | |
| 12162 | target_link_libraries(initial_settings_frame_bad_client_test |
| 12163 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12164 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12165 | bad_client_test |
| 12166 | grpc_test_util_unsecure |
| 12167 | grpc_unsecure |
| 12168 | gpr_test_util |
| 12169 | gpr |
| 12170 | ) |
| 12171 | |
| 12172 | endif (gRPC_BUILD_TESTS) |
| 12173 | if (gRPC_BUILD_TESTS) |
| 12174 | |
| 12175 | add_executable(large_metadata_bad_client_test |
| 12176 | test/core/bad_client/tests/large_metadata.c |
| 12177 | ) |
| 12178 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12179 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12180 | target_include_directories(large_metadata_bad_client_test |
| 12181 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12182 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12183 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12184 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12185 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12186 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12187 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12188 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12189 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12190 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12191 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12192 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12193 | ) |
| 12194 | |
| 12195 | target_link_libraries(large_metadata_bad_client_test |
| 12196 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12197 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12198 | bad_client_test |
| 12199 | grpc_test_util_unsecure |
| 12200 | grpc_unsecure |
| 12201 | gpr_test_util |
| 12202 | gpr |
| 12203 | ) |
| 12204 | |
| 12205 | endif (gRPC_BUILD_TESTS) |
| 12206 | if (gRPC_BUILD_TESTS) |
| 12207 | |
| 12208 | add_executable(server_registered_method_bad_client_test |
| 12209 | test/core/bad_client/tests/server_registered_method.c |
| 12210 | ) |
| 12211 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12212 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12213 | target_include_directories(server_registered_method_bad_client_test |
| 12214 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12215 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12216 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12217 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12218 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12219 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12220 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12221 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12222 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12223 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12224 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12225 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12226 | ) |
| 12227 | |
| 12228 | target_link_libraries(server_registered_method_bad_client_test |
| 12229 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12230 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12231 | bad_client_test |
| 12232 | grpc_test_util_unsecure |
| 12233 | grpc_unsecure |
| 12234 | gpr_test_util |
| 12235 | gpr |
| 12236 | ) |
| 12237 | |
| 12238 | endif (gRPC_BUILD_TESTS) |
| 12239 | if (gRPC_BUILD_TESTS) |
| 12240 | |
| 12241 | add_executable(simple_request_bad_client_test |
| 12242 | test/core/bad_client/tests/simple_request.c |
| 12243 | ) |
| 12244 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12245 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12246 | target_include_directories(simple_request_bad_client_test |
| 12247 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12248 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12249 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12250 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12251 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12252 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12253 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12254 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12255 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12256 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12257 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12258 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12259 | ) |
| 12260 | |
| 12261 | target_link_libraries(simple_request_bad_client_test |
| 12262 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12263 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12264 | bad_client_test |
| 12265 | grpc_test_util_unsecure |
| 12266 | grpc_unsecure |
| 12267 | gpr_test_util |
| 12268 | gpr |
| 12269 | ) |
| 12270 | |
| 12271 | endif (gRPC_BUILD_TESTS) |
| 12272 | if (gRPC_BUILD_TESTS) |
| 12273 | |
| 12274 | add_executable(unknown_frame_bad_client_test |
| 12275 | test/core/bad_client/tests/unknown_frame.c |
| 12276 | ) |
| 12277 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12278 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12279 | target_include_directories(unknown_frame_bad_client_test |
| 12280 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12281 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12282 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12283 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12284 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12285 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12286 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12287 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12288 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12289 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12290 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12291 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12292 | ) |
| 12293 | |
| 12294 | target_link_libraries(unknown_frame_bad_client_test |
| 12295 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12296 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12297 | bad_client_test |
| 12298 | grpc_test_util_unsecure |
| 12299 | grpc_unsecure |
| 12300 | gpr_test_util |
| 12301 | gpr |
| 12302 | ) |
| 12303 | |
| 12304 | endif (gRPC_BUILD_TESTS) |
| 12305 | if (gRPC_BUILD_TESTS) |
| 12306 | |
| 12307 | add_executable(window_overflow_bad_client_test |
| 12308 | test/core/bad_client/tests/window_overflow.c |
| 12309 | ) |
| 12310 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12311 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12312 | target_include_directories(window_overflow_bad_client_test |
| 12313 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12314 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12315 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12316 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12317 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12318 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12319 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12320 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12321 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12322 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12323 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12324 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12325 | ) |
| 12326 | |
| 12327 | target_link_libraries(window_overflow_bad_client_test |
| 12328 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12329 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12330 | bad_client_test |
| 12331 | grpc_test_util_unsecure |
| 12332 | grpc_unsecure |
| 12333 | gpr_test_util |
| 12334 | gpr |
| 12335 | ) |
| 12336 | |
| 12337 | endif (gRPC_BUILD_TESTS) |
| 12338 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12339 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12340 | |
| 12341 | add_executable(bad_ssl_cert_server |
| 12342 | test/core/bad_ssl/servers/cert.c |
| 12343 | ) |
| 12344 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12345 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12346 | target_include_directories(bad_ssl_cert_server |
| 12347 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12348 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12349 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12350 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12351 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12352 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12353 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12354 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12355 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12356 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12357 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12358 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12359 | ) |
| 12360 | |
| 12361 | target_link_libraries(bad_ssl_cert_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12362 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12363 | bad_ssl_test_server |
| 12364 | grpc_test_util |
| 12365 | grpc |
| 12366 | gpr_test_util |
| 12367 | gpr |
| 12368 | ) |
| 12369 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12370 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12371 | endif (gRPC_BUILD_TESTS) |
| 12372 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12373 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12374 | |
| 12375 | add_executable(bad_ssl_cert_test |
| 12376 | test/core/bad_ssl/bad_ssl_test.c |
| 12377 | ) |
| 12378 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12379 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12380 | target_include_directories(bad_ssl_cert_test |
| 12381 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12382 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12383 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12384 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12385 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12386 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12387 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12388 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12389 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12390 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12391 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12392 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12393 | ) |
| 12394 | |
| 12395 | target_link_libraries(bad_ssl_cert_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12396 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12397 | grpc_test_util |
| 12398 | grpc |
| 12399 | gpr_test_util |
| 12400 | gpr |
| 12401 | ) |
| 12402 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12403 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12404 | endif (gRPC_BUILD_TESTS) |
| 12405 | if (gRPC_BUILD_TESTS) |
| 12406 | |
| 12407 | add_executable(h2_census_test |
| 12408 | test/core/end2end/fixtures/h2_census.c |
| 12409 | ) |
| 12410 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12411 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12412 | target_include_directories(h2_census_test |
| 12413 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12414 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12415 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12416 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12417 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12418 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12419 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12420 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12421 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12422 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12423 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12424 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12425 | ) |
| 12426 | |
| 12427 | target_link_libraries(h2_census_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12428 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12429 | end2end_tests |
| 12430 | grpc_test_util |
| 12431 | grpc |
| 12432 | gpr_test_util |
| 12433 | gpr |
| 12434 | ) |
| 12435 | |
| 12436 | endif (gRPC_BUILD_TESTS) |
| 12437 | if (gRPC_BUILD_TESTS) |
| 12438 | |
| 12439 | add_executable(h2_compress_test |
| 12440 | test/core/end2end/fixtures/h2_compress.c |
| 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(h2_compress_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 | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12452 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12453 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12454 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12455 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12456 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12457 | ) |
| 12458 | |
| 12459 | target_link_libraries(h2_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12460 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12461 | end2end_tests |
| 12462 | grpc_test_util |
| 12463 | grpc |
| 12464 | gpr_test_util |
| 12465 | gpr |
| 12466 | ) |
| 12467 | |
| 12468 | endif (gRPC_BUILD_TESTS) |
| 12469 | if (gRPC_BUILD_TESTS) |
| 12470 | |
| 12471 | add_executable(h2_fakesec_test |
| 12472 | test/core/end2end/fixtures/h2_fakesec.c |
| 12473 | ) |
| 12474 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12475 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12476 | target_include_directories(h2_fakesec_test |
| 12477 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12478 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12479 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12480 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12481 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12482 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12483 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12484 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12485 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12486 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12487 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12488 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12489 | ) |
| 12490 | |
| 12491 | target_link_libraries(h2_fakesec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12492 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12493 | end2end_tests |
| 12494 | grpc_test_util |
| 12495 | grpc |
| 12496 | gpr_test_util |
| 12497 | gpr |
| 12498 | ) |
| 12499 | |
| 12500 | endif (gRPC_BUILD_TESTS) |
| 12501 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12502 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12503 | |
| 12504 | add_executable(h2_fd_test |
| 12505 | test/core/end2end/fixtures/h2_fd.c |
| 12506 | ) |
| 12507 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12508 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12509 | target_include_directories(h2_fd_test |
| 12510 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12511 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12512 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12513 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12514 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12515 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12516 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12517 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12518 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12519 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12520 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12521 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12522 | ) |
| 12523 | |
| 12524 | target_link_libraries(h2_fd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12525 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12526 | end2end_tests |
| 12527 | grpc_test_util |
| 12528 | grpc |
| 12529 | gpr_test_util |
| 12530 | gpr |
| 12531 | ) |
| 12532 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12533 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12534 | endif (gRPC_BUILD_TESTS) |
| 12535 | if (gRPC_BUILD_TESTS) |
| 12536 | |
| 12537 | add_executable(h2_full_test |
| 12538 | test/core/end2end/fixtures/h2_full.c |
| 12539 | ) |
| 12540 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12541 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12542 | target_include_directories(h2_full_test |
| 12543 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12544 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12545 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12546 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12547 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12548 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12549 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12550 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12551 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12552 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12553 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12554 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12555 | ) |
| 12556 | |
| 12557 | target_link_libraries(h2_full_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12558 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12559 | end2end_tests |
| 12560 | grpc_test_util |
| 12561 | grpc |
| 12562 | gpr_test_util |
| 12563 | gpr |
| 12564 | ) |
| 12565 | |
| 12566 | endif (gRPC_BUILD_TESTS) |
| 12567 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12568 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12569 | |
| 12570 | add_executable(h2_full+pipe_test |
| 12571 | test/core/end2end/fixtures/h2_full+pipe.c |
| 12572 | ) |
| 12573 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12574 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12575 | target_include_directories(h2_full+pipe_test |
| 12576 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12577 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12578 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12579 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12580 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12581 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12582 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12583 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12584 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12585 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12586 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12587 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12588 | ) |
| 12589 | |
| 12590 | target_link_libraries(h2_full+pipe_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12591 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12592 | end2end_tests |
| 12593 | grpc_test_util |
| 12594 | grpc |
| 12595 | gpr_test_util |
| 12596 | gpr |
| 12597 | ) |
| 12598 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12599 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12600 | endif (gRPC_BUILD_TESTS) |
| 12601 | if (gRPC_BUILD_TESTS) |
| 12602 | |
| 12603 | add_executable(h2_full+trace_test |
| 12604 | test/core/end2end/fixtures/h2_full+trace.c |
| 12605 | ) |
| 12606 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12607 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12608 | target_include_directories(h2_full+trace_test |
| 12609 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12610 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12611 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12612 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12613 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12614 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12615 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12616 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12617 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12618 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12619 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12620 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12621 | ) |
| 12622 | |
| 12623 | target_link_libraries(h2_full+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12624 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12625 | end2end_tests |
| 12626 | grpc_test_util |
| 12627 | grpc |
| 12628 | gpr_test_util |
| 12629 | gpr |
| 12630 | ) |
| 12631 | |
| 12632 | endif (gRPC_BUILD_TESTS) |
| 12633 | if (gRPC_BUILD_TESTS) |
| 12634 | |
| 12635 | add_executable(h2_http_proxy_test |
| 12636 | test/core/end2end/fixtures/h2_http_proxy.c |
| 12637 | ) |
| 12638 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12639 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12640 | target_include_directories(h2_http_proxy_test |
| 12641 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12642 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12643 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12644 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12645 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12646 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12647 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12648 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12649 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12650 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12651 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12652 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12653 | ) |
| 12654 | |
| 12655 | target_link_libraries(h2_http_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12656 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12657 | end2end_tests |
| 12658 | grpc_test_util |
| 12659 | grpc |
| 12660 | gpr_test_util |
| 12661 | gpr |
| 12662 | ) |
| 12663 | |
| 12664 | endif (gRPC_BUILD_TESTS) |
| 12665 | if (gRPC_BUILD_TESTS) |
| 12666 | |
| 12667 | add_executable(h2_load_reporting_test |
| 12668 | test/core/end2end/fixtures/h2_load_reporting.c |
| 12669 | ) |
| 12670 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12671 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12672 | target_include_directories(h2_load_reporting_test |
| 12673 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12674 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12675 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12676 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12677 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12678 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12679 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12680 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12681 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12682 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12683 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12684 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12685 | ) |
| 12686 | |
| 12687 | target_link_libraries(h2_load_reporting_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12688 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12689 | end2end_tests |
| 12690 | grpc_test_util |
| 12691 | grpc |
| 12692 | gpr_test_util |
| 12693 | gpr |
| 12694 | ) |
| 12695 | |
| 12696 | endif (gRPC_BUILD_TESTS) |
| 12697 | if (gRPC_BUILD_TESTS) |
| 12698 | |
| 12699 | add_executable(h2_oauth2_test |
| 12700 | test/core/end2end/fixtures/h2_oauth2.c |
| 12701 | ) |
| 12702 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12703 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12704 | target_include_directories(h2_oauth2_test |
| 12705 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12706 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12707 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12708 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12709 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12710 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12711 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12712 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12713 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12714 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12715 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12716 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12717 | ) |
| 12718 | |
| 12719 | target_link_libraries(h2_oauth2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12720 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12721 | end2end_tests |
| 12722 | grpc_test_util |
| 12723 | grpc |
| 12724 | gpr_test_util |
| 12725 | gpr |
| 12726 | ) |
| 12727 | |
| 12728 | endif (gRPC_BUILD_TESTS) |
| 12729 | if (gRPC_BUILD_TESTS) |
| 12730 | |
| 12731 | add_executable(h2_proxy_test |
| 12732 | test/core/end2end/fixtures/h2_proxy.c |
| 12733 | ) |
| 12734 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12735 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12736 | target_include_directories(h2_proxy_test |
| 12737 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12738 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12739 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12740 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12741 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12742 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12743 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12744 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12745 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12746 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12747 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12748 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12749 | ) |
| 12750 | |
| 12751 | target_link_libraries(h2_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12752 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12753 | end2end_tests |
| 12754 | grpc_test_util |
| 12755 | grpc |
| 12756 | gpr_test_util |
| 12757 | gpr |
| 12758 | ) |
| 12759 | |
| 12760 | endif (gRPC_BUILD_TESTS) |
| 12761 | if (gRPC_BUILD_TESTS) |
| 12762 | |
| 12763 | add_executable(h2_sockpair_test |
| 12764 | test/core/end2end/fixtures/h2_sockpair.c |
| 12765 | ) |
| 12766 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12767 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12768 | target_include_directories(h2_sockpair_test |
| 12769 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12770 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12771 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12772 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12773 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12774 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12775 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12776 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12777 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12778 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12779 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12780 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12781 | ) |
| 12782 | |
| 12783 | target_link_libraries(h2_sockpair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12784 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12785 | end2end_tests |
| 12786 | grpc_test_util |
| 12787 | grpc |
| 12788 | gpr_test_util |
| 12789 | gpr |
| 12790 | ) |
| 12791 | |
| 12792 | endif (gRPC_BUILD_TESTS) |
| 12793 | if (gRPC_BUILD_TESTS) |
| 12794 | |
| 12795 | add_executable(h2_sockpair+trace_test |
| 12796 | test/core/end2end/fixtures/h2_sockpair+trace.c |
| 12797 | ) |
| 12798 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12799 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12800 | target_include_directories(h2_sockpair+trace_test |
| 12801 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12802 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12803 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12804 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12805 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12806 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12807 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12808 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12809 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12810 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12811 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12812 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12813 | ) |
| 12814 | |
| 12815 | target_link_libraries(h2_sockpair+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12816 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12817 | end2end_tests |
| 12818 | grpc_test_util |
| 12819 | grpc |
| 12820 | gpr_test_util |
| 12821 | gpr |
| 12822 | ) |
| 12823 | |
| 12824 | endif (gRPC_BUILD_TESTS) |
| 12825 | if (gRPC_BUILD_TESTS) |
| 12826 | |
| 12827 | add_executable(h2_sockpair_1byte_test |
| 12828 | test/core/end2end/fixtures/h2_sockpair_1byte.c |
| 12829 | ) |
| 12830 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12831 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12832 | target_include_directories(h2_sockpair_1byte_test |
| 12833 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12834 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12835 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12836 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12837 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12838 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12839 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12840 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12841 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12842 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12843 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12844 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12845 | ) |
| 12846 | |
| 12847 | target_link_libraries(h2_sockpair_1byte_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12848 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12849 | end2end_tests |
| 12850 | grpc_test_util |
| 12851 | grpc |
| 12852 | gpr_test_util |
| 12853 | gpr |
| 12854 | ) |
| 12855 | |
| 12856 | endif (gRPC_BUILD_TESTS) |
| 12857 | if (gRPC_BUILD_TESTS) |
| 12858 | |
| 12859 | add_executable(h2_ssl_test |
| 12860 | test/core/end2end/fixtures/h2_ssl.c |
| 12861 | ) |
| 12862 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12863 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12864 | target_include_directories(h2_ssl_test |
| 12865 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12866 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12867 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12868 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12869 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12870 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12871 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12872 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12873 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12874 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 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(h2_ssl_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12880 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12881 | end2end_tests |
| 12882 | grpc_test_util |
| 12883 | grpc |
| 12884 | gpr_test_util |
| 12885 | gpr |
| 12886 | ) |
| 12887 | |
| 12888 | endif (gRPC_BUILD_TESTS) |
| 12889 | if (gRPC_BUILD_TESTS) |
| 12890 | |
| 12891 | add_executable(h2_ssl_cert_test |
| 12892 | test/core/end2end/fixtures/h2_ssl_cert.c |
| 12893 | ) |
| 12894 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12895 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12896 | target_include_directories(h2_ssl_cert_test |
| 12897 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12898 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12899 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12900 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12901 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12902 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12903 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12904 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12905 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12906 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12907 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12908 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12909 | ) |
| 12910 | |
| 12911 | target_link_libraries(h2_ssl_cert_test |
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 | end2end_tests |
| 12914 | grpc_test_util |
| 12915 | grpc |
| 12916 | gpr_test_util |
| 12917 | gpr |
| 12918 | ) |
| 12919 | |
| 12920 | endif (gRPC_BUILD_TESTS) |
| 12921 | if (gRPC_BUILD_TESTS) |
| 12922 | |
| 12923 | add_executable(h2_ssl_proxy_test |
| 12924 | test/core/end2end/fixtures/h2_ssl_proxy.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(h2_ssl_proxy_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 | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12936 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12937 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12938 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12939 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12940 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12941 | ) |
| 12942 | |
| 12943 | target_link_libraries(h2_ssl_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12944 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12945 | end2end_tests |
| 12946 | grpc_test_util |
| 12947 | grpc |
| 12948 | gpr_test_util |
| 12949 | gpr |
| 12950 | ) |
| 12951 | |
| 12952 | endif (gRPC_BUILD_TESTS) |
| 12953 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12954 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12955 | |
| 12956 | add_executable(h2_uds_test |
| 12957 | test/core/end2end/fixtures/h2_uds.c |
| 12958 | ) |
| 12959 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12960 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12961 | target_include_directories(h2_uds_test |
| 12962 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12963 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12964 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12965 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12966 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12967 | PRIVATE ${ZLIB_ROOT_DIR} |
| 12968 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 12969 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 12970 | PRIVATE ${CARES_INCLUDE_DIR} |
| 12971 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 12972 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12973 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 12974 | ) |
| 12975 | |
| 12976 | target_link_libraries(h2_uds_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12977 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12978 | end2end_tests |
| 12979 | grpc_test_util |
| 12980 | grpc |
| 12981 | gpr_test_util |
| 12982 | gpr |
| 12983 | ) |
| 12984 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12985 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12986 | endif (gRPC_BUILD_TESTS) |
| 12987 | if (gRPC_BUILD_TESTS) |
| 12988 | |
| 12989 | add_executable(h2_census_nosec_test |
| 12990 | test/core/end2end/fixtures/h2_census.c |
| 12991 | ) |
| 12992 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12993 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 12994 | target_include_directories(h2_census_nosec_test |
| 12995 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 12996 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 12997 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 12998 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 12999 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13000 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13001 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13002 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13003 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13004 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13005 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13006 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13007 | ) |
| 13008 | |
| 13009 | target_link_libraries(h2_census_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13010 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13011 | end2end_nosec_tests |
| 13012 | grpc_test_util_unsecure |
| 13013 | grpc_unsecure |
| 13014 | gpr_test_util |
| 13015 | gpr |
| 13016 | ) |
| 13017 | |
| 13018 | endif (gRPC_BUILD_TESTS) |
| 13019 | if (gRPC_BUILD_TESTS) |
| 13020 | |
| 13021 | add_executable(h2_compress_nosec_test |
| 13022 | test/core/end2end/fixtures/h2_compress.c |
| 13023 | ) |
| 13024 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13025 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13026 | target_include_directories(h2_compress_nosec_test |
| 13027 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13028 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13029 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13030 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13031 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13032 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13033 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13034 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13035 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13036 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13037 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13038 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13039 | ) |
| 13040 | |
| 13041 | target_link_libraries(h2_compress_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13042 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13043 | end2end_nosec_tests |
| 13044 | grpc_test_util_unsecure |
| 13045 | grpc_unsecure |
| 13046 | gpr_test_util |
| 13047 | gpr |
| 13048 | ) |
| 13049 | |
| 13050 | endif (gRPC_BUILD_TESTS) |
| 13051 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13052 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13053 | |
| 13054 | add_executable(h2_fd_nosec_test |
| 13055 | test/core/end2end/fixtures/h2_fd.c |
| 13056 | ) |
| 13057 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13058 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13059 | target_include_directories(h2_fd_nosec_test |
| 13060 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13061 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13062 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13063 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13064 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13065 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13066 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13067 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13068 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13069 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13070 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13071 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13072 | ) |
| 13073 | |
| 13074 | target_link_libraries(h2_fd_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13075 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13076 | end2end_nosec_tests |
| 13077 | grpc_test_util_unsecure |
| 13078 | grpc_unsecure |
| 13079 | gpr_test_util |
| 13080 | gpr |
| 13081 | ) |
| 13082 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13083 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13084 | endif (gRPC_BUILD_TESTS) |
| 13085 | if (gRPC_BUILD_TESTS) |
| 13086 | |
| 13087 | add_executable(h2_full_nosec_test |
| 13088 | test/core/end2end/fixtures/h2_full.c |
| 13089 | ) |
| 13090 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13091 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13092 | target_include_directories(h2_full_nosec_test |
| 13093 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13094 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13095 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13096 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13097 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13098 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13099 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13100 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13101 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13102 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13103 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13104 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13105 | ) |
| 13106 | |
| 13107 | target_link_libraries(h2_full_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13108 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13109 | end2end_nosec_tests |
| 13110 | grpc_test_util_unsecure |
| 13111 | grpc_unsecure |
| 13112 | gpr_test_util |
| 13113 | gpr |
| 13114 | ) |
| 13115 | |
| 13116 | endif (gRPC_BUILD_TESTS) |
| 13117 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13118 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13119 | |
| 13120 | add_executable(h2_full+pipe_nosec_test |
| 13121 | test/core/end2end/fixtures/h2_full+pipe.c |
| 13122 | ) |
| 13123 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13124 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13125 | target_include_directories(h2_full+pipe_nosec_test |
| 13126 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13127 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13128 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13129 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13130 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13131 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13132 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13133 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13134 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13135 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13136 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13137 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13138 | ) |
| 13139 | |
| 13140 | target_link_libraries(h2_full+pipe_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13141 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13142 | end2end_nosec_tests |
| 13143 | grpc_test_util_unsecure |
| 13144 | grpc_unsecure |
| 13145 | gpr_test_util |
| 13146 | gpr |
| 13147 | ) |
| 13148 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13149 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13150 | endif (gRPC_BUILD_TESTS) |
| 13151 | if (gRPC_BUILD_TESTS) |
| 13152 | |
| 13153 | add_executable(h2_full+trace_nosec_test |
| 13154 | test/core/end2end/fixtures/h2_full+trace.c |
| 13155 | ) |
| 13156 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13157 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13158 | target_include_directories(h2_full+trace_nosec_test |
| 13159 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13160 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13161 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13162 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13163 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13164 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13165 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13166 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13167 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13168 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13169 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13170 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13171 | ) |
| 13172 | |
| 13173 | target_link_libraries(h2_full+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13174 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13175 | end2end_nosec_tests |
| 13176 | grpc_test_util_unsecure |
| 13177 | grpc_unsecure |
| 13178 | gpr_test_util |
| 13179 | gpr |
| 13180 | ) |
| 13181 | |
| 13182 | endif (gRPC_BUILD_TESTS) |
| 13183 | if (gRPC_BUILD_TESTS) |
| 13184 | |
| 13185 | add_executable(h2_http_proxy_nosec_test |
| 13186 | test/core/end2end/fixtures/h2_http_proxy.c |
| 13187 | ) |
| 13188 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13189 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13190 | target_include_directories(h2_http_proxy_nosec_test |
| 13191 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13192 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13193 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13194 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13195 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13196 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13197 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13198 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13199 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13200 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13201 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13202 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13203 | ) |
| 13204 | |
| 13205 | target_link_libraries(h2_http_proxy_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13206 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13207 | end2end_nosec_tests |
| 13208 | grpc_test_util_unsecure |
| 13209 | grpc_unsecure |
| 13210 | gpr_test_util |
| 13211 | gpr |
| 13212 | ) |
| 13213 | |
| 13214 | endif (gRPC_BUILD_TESTS) |
| 13215 | if (gRPC_BUILD_TESTS) |
| 13216 | |
| 13217 | add_executable(h2_load_reporting_nosec_test |
| 13218 | test/core/end2end/fixtures/h2_load_reporting.c |
| 13219 | ) |
| 13220 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13221 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13222 | target_include_directories(h2_load_reporting_nosec_test |
| 13223 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13224 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13225 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13226 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13227 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13228 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13229 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13230 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13231 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13232 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13233 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13234 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13235 | ) |
| 13236 | |
| 13237 | target_link_libraries(h2_load_reporting_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13238 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13239 | end2end_nosec_tests |
| 13240 | grpc_test_util_unsecure |
| 13241 | grpc_unsecure |
| 13242 | gpr_test_util |
| 13243 | gpr |
| 13244 | ) |
| 13245 | |
| 13246 | endif (gRPC_BUILD_TESTS) |
| 13247 | if (gRPC_BUILD_TESTS) |
| 13248 | |
| 13249 | add_executable(h2_proxy_nosec_test |
| 13250 | test/core/end2end/fixtures/h2_proxy.c |
| 13251 | ) |
| 13252 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13253 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13254 | target_include_directories(h2_proxy_nosec_test |
| 13255 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13256 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13257 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13258 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13259 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13260 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13261 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13262 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13263 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13264 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13265 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13266 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13267 | ) |
| 13268 | |
| 13269 | target_link_libraries(h2_proxy_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13270 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13271 | end2end_nosec_tests |
| 13272 | grpc_test_util_unsecure |
| 13273 | grpc_unsecure |
| 13274 | gpr_test_util |
| 13275 | gpr |
| 13276 | ) |
| 13277 | |
| 13278 | endif (gRPC_BUILD_TESTS) |
| 13279 | if (gRPC_BUILD_TESTS) |
| 13280 | |
| 13281 | add_executable(h2_sockpair_nosec_test |
| 13282 | test/core/end2end/fixtures/h2_sockpair.c |
| 13283 | ) |
| 13284 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13285 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13286 | target_include_directories(h2_sockpair_nosec_test |
| 13287 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13288 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13289 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13290 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13291 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13292 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13293 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13294 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13295 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13296 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13297 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13298 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13299 | ) |
| 13300 | |
| 13301 | target_link_libraries(h2_sockpair_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13302 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13303 | end2end_nosec_tests |
| 13304 | grpc_test_util_unsecure |
| 13305 | grpc_unsecure |
| 13306 | gpr_test_util |
| 13307 | gpr |
| 13308 | ) |
| 13309 | |
| 13310 | endif (gRPC_BUILD_TESTS) |
| 13311 | if (gRPC_BUILD_TESTS) |
| 13312 | |
| 13313 | add_executable(h2_sockpair+trace_nosec_test |
| 13314 | test/core/end2end/fixtures/h2_sockpair+trace.c |
| 13315 | ) |
| 13316 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13317 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13318 | target_include_directories(h2_sockpair+trace_nosec_test |
| 13319 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13320 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13321 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13322 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13323 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13324 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13325 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13326 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13327 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13328 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13329 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13330 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13331 | ) |
| 13332 | |
| 13333 | target_link_libraries(h2_sockpair+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13334 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13335 | end2end_nosec_tests |
| 13336 | grpc_test_util_unsecure |
| 13337 | grpc_unsecure |
| 13338 | gpr_test_util |
| 13339 | gpr |
| 13340 | ) |
| 13341 | |
| 13342 | endif (gRPC_BUILD_TESTS) |
| 13343 | if (gRPC_BUILD_TESTS) |
| 13344 | |
| 13345 | add_executable(h2_sockpair_1byte_nosec_test |
| 13346 | test/core/end2end/fixtures/h2_sockpair_1byte.c |
| 13347 | ) |
| 13348 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13349 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13350 | target_include_directories(h2_sockpair_1byte_nosec_test |
| 13351 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13352 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13353 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13354 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13355 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13356 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13357 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13358 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13359 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13360 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13361 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13362 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13363 | ) |
| 13364 | |
| 13365 | target_link_libraries(h2_sockpair_1byte_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13366 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13367 | end2end_nosec_tests |
| 13368 | grpc_test_util_unsecure |
| 13369 | grpc_unsecure |
| 13370 | gpr_test_util |
| 13371 | gpr |
| 13372 | ) |
| 13373 | |
| 13374 | endif (gRPC_BUILD_TESTS) |
| 13375 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13376 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13377 | |
| 13378 | add_executable(h2_uds_nosec_test |
| 13379 | test/core/end2end/fixtures/h2_uds.c |
| 13380 | ) |
| 13381 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13382 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13383 | target_include_directories(h2_uds_nosec_test |
| 13384 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13385 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13386 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13387 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13388 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13389 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13390 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13391 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13392 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13393 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13394 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13395 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13396 | ) |
| 13397 | |
| 13398 | target_link_libraries(h2_uds_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13399 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13400 | end2end_nosec_tests |
| 13401 | grpc_test_util_unsecure |
| 13402 | grpc_unsecure |
| 13403 | gpr_test_util |
| 13404 | gpr |
| 13405 | ) |
| 13406 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13407 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13408 | endif (gRPC_BUILD_TESTS) |
| 13409 | if (gRPC_BUILD_TESTS) |
| 13410 | |
| 13411 | add_executable(api_fuzzer_one_entry |
| 13412 | test/core/end2end/fuzzers/api_fuzzer.c |
| 13413 | test/core/util/one_corpus_entry_fuzzer.c |
| 13414 | ) |
| 13415 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13416 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13417 | target_include_directories(api_fuzzer_one_entry |
| 13418 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13419 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13420 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13421 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13422 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13423 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13424 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13425 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13426 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13427 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 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(api_fuzzer_one_entry |
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 | grpc_test_util |
| 13435 | grpc |
| 13436 | gpr_test_util |
| 13437 | gpr |
| 13438 | ) |
| 13439 | |
| 13440 | endif (gRPC_BUILD_TESTS) |
| 13441 | if (gRPC_BUILD_TESTS) |
| 13442 | |
| 13443 | add_executable(client_fuzzer_one_entry |
| 13444 | test/core/end2end/fuzzers/client_fuzzer.c |
| 13445 | test/core/util/one_corpus_entry_fuzzer.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(client_fuzzer_one_entry |
| 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 | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13457 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13458 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13459 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13460 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13461 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13462 | ) |
| 13463 | |
| 13464 | target_link_libraries(client_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13465 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13466 | grpc_test_util |
| 13467 | grpc |
| 13468 | gpr_test_util |
| 13469 | gpr |
| 13470 | ) |
| 13471 | |
| 13472 | endif (gRPC_BUILD_TESTS) |
| 13473 | if (gRPC_BUILD_TESTS) |
| 13474 | |
| 13475 | add_executable(hpack_parser_fuzzer_test_one_entry |
| 13476 | test/core/transport/chttp2/hpack_parser_fuzzer_test.c |
| 13477 | test/core/util/one_corpus_entry_fuzzer.c |
| 13478 | ) |
| 13479 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13480 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13481 | target_include_directories(hpack_parser_fuzzer_test_one_entry |
| 13482 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13483 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13484 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13485 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13486 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13487 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13488 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13489 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13490 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13491 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13492 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13493 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13494 | ) |
| 13495 | |
| 13496 | target_link_libraries(hpack_parser_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13497 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13498 | grpc_test_util |
| 13499 | grpc |
| 13500 | gpr_test_util |
| 13501 | gpr |
| 13502 | ) |
| 13503 | |
| 13504 | endif (gRPC_BUILD_TESTS) |
| 13505 | if (gRPC_BUILD_TESTS) |
| 13506 | |
| 13507 | add_executable(http_request_fuzzer_test_one_entry |
| 13508 | test/core/http/request_fuzzer.c |
| 13509 | test/core/util/one_corpus_entry_fuzzer.c |
| 13510 | ) |
| 13511 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13512 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13513 | target_include_directories(http_request_fuzzer_test_one_entry |
| 13514 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13515 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13516 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13517 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13518 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13519 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13520 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13521 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13522 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13523 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13524 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13525 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13526 | ) |
| 13527 | |
| 13528 | target_link_libraries(http_request_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13529 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13530 | grpc_test_util |
| 13531 | grpc |
| 13532 | gpr_test_util |
| 13533 | gpr |
| 13534 | ) |
| 13535 | |
| 13536 | endif (gRPC_BUILD_TESTS) |
| 13537 | if (gRPC_BUILD_TESTS) |
| 13538 | |
| 13539 | add_executable(http_response_fuzzer_test_one_entry |
| 13540 | test/core/http/response_fuzzer.c |
| 13541 | test/core/util/one_corpus_entry_fuzzer.c |
| 13542 | ) |
| 13543 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13544 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13545 | target_include_directories(http_response_fuzzer_test_one_entry |
| 13546 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13547 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13548 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13549 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13550 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13551 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13552 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13553 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13554 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13555 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13556 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13557 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13558 | ) |
| 13559 | |
| 13560 | target_link_libraries(http_response_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13561 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13562 | grpc_test_util |
| 13563 | grpc |
| 13564 | gpr_test_util |
| 13565 | gpr |
| 13566 | ) |
| 13567 | |
| 13568 | endif (gRPC_BUILD_TESTS) |
| 13569 | if (gRPC_BUILD_TESTS) |
| 13570 | |
| 13571 | add_executable(json_fuzzer_test_one_entry |
| 13572 | test/core/json/fuzzer.c |
| 13573 | test/core/util/one_corpus_entry_fuzzer.c |
| 13574 | ) |
| 13575 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13576 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13577 | target_include_directories(json_fuzzer_test_one_entry |
| 13578 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13579 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13580 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13581 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13582 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13583 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13584 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13585 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13586 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13587 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13588 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13589 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13590 | ) |
| 13591 | |
| 13592 | target_link_libraries(json_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13593 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13594 | grpc_test_util |
| 13595 | grpc |
| 13596 | gpr_test_util |
| 13597 | gpr |
| 13598 | ) |
| 13599 | |
| 13600 | endif (gRPC_BUILD_TESTS) |
| 13601 | if (gRPC_BUILD_TESTS) |
| 13602 | |
| 13603 | add_executable(nanopb_fuzzer_response_test_one_entry |
| 13604 | test/core/nanopb/fuzzer_response.c |
| 13605 | test/core/util/one_corpus_entry_fuzzer.c |
| 13606 | ) |
| 13607 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13608 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13609 | target_include_directories(nanopb_fuzzer_response_test_one_entry |
| 13610 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13611 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13612 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13613 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13614 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13615 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13616 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13617 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13618 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13619 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13620 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13621 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13622 | ) |
| 13623 | |
| 13624 | target_link_libraries(nanopb_fuzzer_response_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13625 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13626 | grpc_test_util |
| 13627 | grpc |
| 13628 | gpr_test_util |
| 13629 | gpr |
| 13630 | ) |
| 13631 | |
| 13632 | endif (gRPC_BUILD_TESTS) |
| 13633 | if (gRPC_BUILD_TESTS) |
| 13634 | |
| 13635 | add_executable(nanopb_fuzzer_serverlist_test_one_entry |
| 13636 | test/core/nanopb/fuzzer_serverlist.c |
| 13637 | test/core/util/one_corpus_entry_fuzzer.c |
| 13638 | ) |
| 13639 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13640 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13641 | target_include_directories(nanopb_fuzzer_serverlist_test_one_entry |
| 13642 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13643 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13644 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13645 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13646 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13647 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13648 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13649 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13650 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13651 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13652 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13653 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13654 | ) |
| 13655 | |
| 13656 | target_link_libraries(nanopb_fuzzer_serverlist_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13657 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13658 | grpc_test_util |
| 13659 | grpc |
| 13660 | gpr_test_util |
| 13661 | gpr |
| 13662 | ) |
| 13663 | |
| 13664 | endif (gRPC_BUILD_TESTS) |
| 13665 | if (gRPC_BUILD_TESTS) |
| 13666 | |
| 13667 | add_executable(percent_decode_fuzzer_one_entry |
| 13668 | test/core/slice/percent_decode_fuzzer.c |
| 13669 | test/core/util/one_corpus_entry_fuzzer.c |
| 13670 | ) |
| 13671 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13672 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13673 | target_include_directories(percent_decode_fuzzer_one_entry |
| 13674 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13675 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13676 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13677 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13678 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13679 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13680 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13681 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13682 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13683 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13684 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13685 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13686 | ) |
| 13687 | |
| 13688 | target_link_libraries(percent_decode_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13689 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13690 | grpc_test_util |
| 13691 | grpc |
| 13692 | gpr_test_util |
| 13693 | gpr |
| 13694 | ) |
| 13695 | |
| 13696 | endif (gRPC_BUILD_TESTS) |
| 13697 | if (gRPC_BUILD_TESTS) |
| 13698 | |
| 13699 | add_executable(percent_encode_fuzzer_one_entry |
| 13700 | test/core/slice/percent_encode_fuzzer.c |
| 13701 | test/core/util/one_corpus_entry_fuzzer.c |
| 13702 | ) |
| 13703 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13704 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13705 | target_include_directories(percent_encode_fuzzer_one_entry |
| 13706 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13707 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13708 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13709 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13710 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13711 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13712 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13713 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13714 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13715 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13716 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13717 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13718 | ) |
| 13719 | |
| 13720 | target_link_libraries(percent_encode_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13721 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13722 | grpc_test_util |
| 13723 | grpc |
| 13724 | gpr_test_util |
| 13725 | gpr |
| 13726 | ) |
| 13727 | |
| 13728 | endif (gRPC_BUILD_TESTS) |
| 13729 | if (gRPC_BUILD_TESTS) |
| 13730 | |
| 13731 | add_executable(server_fuzzer_one_entry |
| 13732 | test/core/end2end/fuzzers/server_fuzzer.c |
| 13733 | test/core/util/one_corpus_entry_fuzzer.c |
| 13734 | ) |
| 13735 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13736 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13737 | target_include_directories(server_fuzzer_one_entry |
| 13738 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13739 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13740 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13741 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13742 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13743 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13744 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13745 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13746 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13747 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13748 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13749 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13750 | ) |
| 13751 | |
| 13752 | target_link_libraries(server_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13753 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13754 | grpc_test_util |
| 13755 | grpc |
| 13756 | gpr_test_util |
| 13757 | gpr |
| 13758 | ) |
| 13759 | |
| 13760 | endif (gRPC_BUILD_TESTS) |
| 13761 | if (gRPC_BUILD_TESTS) |
| 13762 | |
| 13763 | add_executable(ssl_server_fuzzer_one_entry |
| 13764 | test/core/security/ssl_server_fuzzer.c |
| 13765 | test/core/util/one_corpus_entry_fuzzer.c |
| 13766 | ) |
| 13767 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13768 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13769 | target_include_directories(ssl_server_fuzzer_one_entry |
| 13770 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13771 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13772 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13773 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13774 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13775 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13776 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13777 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13778 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13779 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13780 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13781 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13782 | ) |
| 13783 | |
| 13784 | target_link_libraries(ssl_server_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13785 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13786 | grpc_test_util |
| 13787 | grpc |
| 13788 | gpr_test_util |
| 13789 | gpr |
| 13790 | ) |
| 13791 | |
| 13792 | endif (gRPC_BUILD_TESTS) |
| 13793 | if (gRPC_BUILD_TESTS) |
| 13794 | |
| 13795 | add_executable(uri_fuzzer_test_one_entry |
| 13796 | test/core/client_channel/uri_fuzzer_test.c |
| 13797 | test/core/util/one_corpus_entry_fuzzer.c |
| 13798 | ) |
| 13799 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13800 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13801 | target_include_directories(uri_fuzzer_test_one_entry |
| 13802 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 13803 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 13804 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 13805 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13806 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13807 | PRIVATE ${ZLIB_ROOT_DIR} |
| 13808 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Yuchen Zeng | 7496218 | 2017-03-20 15:39:47 -0700 | [diff] [blame] | 13809 | PRIVATE ${CARES_BUILD_INCLUDE_DIR} |
Yuchen Zeng | c75bbf2 | 2017-03-20 12:35:20 -0700 | [diff] [blame] | 13810 | PRIVATE ${CARES_INCLUDE_DIR} |
| 13811 | PRIVATE ${CARES_PLATFORM_INCLUDE_DIR} |
| 13812 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/cares/cares |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13813 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 13814 | ) |
| 13815 | |
| 13816 | target_link_libraries(uri_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 13817 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 13818 | grpc_test_util |
| 13819 | grpc |
| 13820 | gpr_test_util |
| 13821 | gpr |
| 13822 | ) |
| 13823 | |
| 13824 | endif (gRPC_BUILD_TESTS) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 13825 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 13826 | |
| 13827 | |
| 13828 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 13829 | |
| 13830 | |
| 13831 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 13832 | foreach(_config gRPCConfig gRPCConfigVersion) |
| 13833 | configure_file(tools/cmake/${_config}.cmake.in |
| 13834 | ${_config}.cmake @ONLY) |
| 13835 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${_config}.cmake |
| 13836 | DESTINATION ${CMAKE_INSTALL_CMAKEDIR} |
| 13837 | ) |
| 13838 | endforeach() |