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 | # |
| 8 | # Additionally, this is currently very experimental, and unsupported. |
| 9 | # Further work will happen on that file. |
| 10 | # |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 11 | # Copyright 2015, Google Inc. |
| 12 | # All rights reserved. |
| 13 | # |
| 14 | # Redistribution and use in source and binary forms, with or without |
| 15 | # modification, are permitted provided that the following conditions are |
| 16 | # met: |
| 17 | # |
| 18 | # * Redistributions of source code must retain the above copyright |
| 19 | # notice, this list of conditions and the following disclaimer. |
| 20 | # * Redistributions in binary form must reproduce the above |
| 21 | # copyright notice, this list of conditions and the following disclaimer |
| 22 | # in the documentation and/or other materials provided with the |
| 23 | # distribution. |
| 24 | # * Neither the name of Google Inc. nor the names of its |
| 25 | # contributors may be used to endorse or promote products derived from |
| 26 | # this software without specific prior written permission. |
| 27 | # |
| 28 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 29 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 30 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 31 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 32 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 33 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 34 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 35 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 36 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 37 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 38 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 39 | |
| 40 | |
| 41 | |
| 42 | cmake_minimum_required(VERSION 2.8) |
| 43 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 44 | set(PACKAGE_NAME "grpc") |
Craig Tiller | 5cad46e | 2017-01-30 15:32:24 -0800 | [diff] [blame] | 45 | set(PACKAGE_VERSION "1.2.0-dev") |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 46 | set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") |
| 47 | set(PACKAGE_TARNAME "${PACKAGE_NAME}-${PACKAGE_VERSION}") |
| 48 | set(PACKAGE_BUGREPORT "https://github.com/grpc/grpc/issues/") |
| 49 | project(${PACKAGE_NAME} C CXX) |
| 50 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 51 | # Options |
| 52 | option(gRPC_BUILD_TESTS "Build tests" OFF) |
| 53 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 54 | if (NOT MSVC) |
| 55 | set(gRPC_INSTALL ON CACHE BOOL "Generate installation target") |
| 56 | else() |
| 57 | set(gRPC_INSTALL OFF CACHE BOOL "Generate installation target") |
| 58 | endif() |
| 59 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 60 | set(gRPC_ZLIB_PROVIDER "module" CACHE STRING "Provider of zlib library") |
| 61 | set_property(CACHE gRPC_ZLIB_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 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 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 129 | if("${gRPC_PROTOBUF_PROVIDER}" STREQUAL "module") |
| 130 | # Building the protobuf tests require gmock what is not part of a standard protobuf checkout. |
| 131 | # Disable them unless they are explicitly requested from the cmake command line (when we assume |
| 132 | # gmock is downloaded to the right location inside protobuf). |
| 133 | if(NOT protobuf_BUILD_TESTS) |
| 134 | set(protobuf_BUILD_TESTS OFF CACHE BOOL "Build protobuf tests") |
| 135 | endif() |
| 136 | if(NOT PROTOBUF_ROOT_DIR) |
| 137 | set(PROTOBUF_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/protobuf) |
| 138 | endif() |
| 139 | if(EXISTS "${PROTOBUF_ROOT_DIR}/cmake/CMakeLists.txt") |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 140 | set(protobuf_MSVC_STATIC_RUNTIME OFF CACHE BOOL "Link static runtime libraries") |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 141 | add_subdirectory(${PROTOBUF_ROOT_DIR}/cmake third_party/protobuf) |
| 142 | if(TARGET ${_gRPC_PROTOBUF_LIBRARY_NAME}) |
| 143 | set(_gRPC_PROTOBUF_LIBRARIES ${_gRPC_PROTOBUF_LIBRARY_NAME}) |
| 144 | endif() |
| 145 | if(TARGET libprotoc) |
| 146 | set(_gRPC_PROTOBUF_PROTOC_LIBRARIES libprotoc) |
| 147 | endif() |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 148 | if(TARGET protoc) |
| 149 | set(_gRPC_PROTOBUF_PROTOC protoc) |
| 150 | endif() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 151 | else() |
| 152 | message(WARNING "gRPC_PROTOBUF_PROVIDER is \"module\" but PROTOBUF_ROOT_DIR is wrong") |
| 153 | endif() |
| 154 | elseif("${gRPC_PROTOBUF_PROVIDER}" STREQUAL "package") |
| 155 | find_package(protobuf CONFIG) |
| 156 | if(protobuf_FOUND) |
| 157 | if(TARGET protobuf::${_gRPC_PROTOBUF_LIBRARY_NAME}) |
| 158 | set(_gRPC_PROTOBUF_LIBRARIES protobuf::${_gRPC_PROTOBUF_LIBRARY_NAME}) |
| 159 | endif() |
| 160 | if(TARGET protobuf::libprotoc) |
| 161 | set(_gRPC_PROTOBUF_PROTOC_LIBRARIES protobuf::libprotoc) |
| 162 | endif() |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 163 | if(TARGET protobuf::protoc) |
| 164 | set(_gRPC_PROTOBUF_PROTOC protobuf::protoc) |
| 165 | endif() |
Konstantin Podsvirov | dd33148 | 2016-07-28 00:00:25 +0300 | [diff] [blame] | 166 | 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] | 167 | else() |
| 168 | find_package(Protobuf MODULE) |
Konstantin Podsvirov | dd33148 | 2016-07-28 00:00:25 +0300 | [diff] [blame] | 169 | 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] | 170 | endif() |
| 171 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 172 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 173 | if("${gRPC_SSL_PROVIDER}" STREQUAL "module") |
| 174 | if(NOT BORINGSSL_ROOT_DIR) |
| 175 | set(BORINGSSL_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/boringssl) |
| 176 | endif() |
| 177 | if(EXISTS "${BORINGSSL_ROOT_DIR}/CMakeLists.txt") |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 178 | set(OPENSSL_NO_ASM ON) # make boringssl buildable with Visual Studio |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 179 | add_subdirectory(${BORINGSSL_ROOT_DIR} third_party/boringssl) |
| 180 | if(TARGET ssl) |
| 181 | set(_gRPC_SSL_LIBRARIES ssl) |
| 182 | endif() |
| 183 | else() |
| 184 | message(WARNING "gRPC_SSL_PROVIDER is \"module\" but BORINGSSL_ROOT_DIR is wrong") |
| 185 | endif() |
| 186 | elseif("${gRPC_SSL_PROVIDER}" STREQUAL "package") |
| 187 | find_package(OpenSSL) |
| 188 | if(TARGET OpenSSL::SSL) |
| 189 | set(_gRPC_SSL_LIBRARIES OpenSSL::SSL) |
| 190 | endif() |
Konstantin Podsvirov | dd33148 | 2016-07-28 00:00:25 +0300 | [diff] [blame] | 191 | 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] | 192 | endif() |
| 193 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 194 | if("${gRPC_GFLAGS_PROVIDER}" STREQUAL "module") |
| 195 | if(NOT GFLAGS_ROOT_DIR) |
| 196 | set(GFLAGS_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/gflags) |
| 197 | endif() |
| 198 | if(EXISTS "${GFLAGS_ROOT_DIR}/CMakeLists.txt") |
| 199 | add_subdirectory(${GFLAGS_ROOT_DIR} third_party/gflags) |
| 200 | if(TARGET gflags_static) |
| 201 | set(_gRPC_GFLAGS_LIBRARIES gflags_static) |
| 202 | endif() |
| 203 | else() |
| 204 | message(WARNING "gRPC_GFLAGS_PROVIDER is \"module\" but GFLAGS_ROOT_DIR is wrong") |
| 205 | endif() |
| 206 | elseif("${gRPC_GFLAGS_PROVIDER}" STREQUAL "package") |
| 207 | find_package(gflags) |
| 208 | if(TARGET gflags::gflags) |
| 209 | set(_gRPC_GFLAGS_LIBRARIES gflags::gflags) |
| 210 | endif() |
| 211 | set(_gRPC_FIND_GFLAGS "if(NOT gflags_FOUND)\n find_package(gflags)\nendif()") |
| 212 | endif() |
| 213 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 214 | if("${gRPC_BENCHMARK_PROVIDER}" STREQUAL "module") |
| 215 | if(NOT BENCHMARK_ROOT_DIR) |
| 216 | set(BENCHMARK_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/benchmark) |
| 217 | endif() |
| 218 | if(EXISTS "${BENCHMARK_ROOT_DIR}/CMakeLists.txt") |
| 219 | add_subdirectory(${BENCHMARK_ROOT_DIR} third_party/benchmark) |
| 220 | if(TARGET benchmark) |
| 221 | set(_gRPC_BENCHMARK_LIBRARIES benchmark) |
| 222 | endif() |
| 223 | else() |
| 224 | message(WARNING "gRPC_BENCHMARK_PROVIDER is \"module\" but BENCHMARK_ROOT_DIR is wrong") |
| 225 | endif() |
| 226 | elseif("${gRPC_BENCHMARK_PROVIDER}" STREQUAL "package") |
| 227 | find_package(benchmark) |
| 228 | if(TARGET benchmark::benchmark) |
| 229 | set(_gRPC_BENCHMARK_LIBRARIES benchmark::benchmark) |
| 230 | endif() |
| 231 | set(_gRPC_FIND_BENCHMARK "if(NOT benchmark_FOUND)\n find_package(benchmark)\nendif()") |
| 232 | endif() |
| 233 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 234 | if(NOT MSVC) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 235 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 236 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") |
| 237 | endif() |
| 238 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 239 | if(UNIX) |
| 240 | set(_gRPC_ALLTARGETS_LIBRARIES dl rt m pthread) |
| 241 | endif() |
| 242 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 243 | if(WIN32 AND MSVC) |
| 244 | set(_gRPC_BASELIB_LIBRARIES wsock32 ws2_32) |
Tamas Berghammer | 2391156 | 2016-07-27 15:24:05 +0100 | [diff] [blame] | 245 | endif() |
| 246 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 247 | include(GNUInstallDirs) |
| 248 | if(NOT DEFINED CMAKE_INSTALL_CMAKEDIR) |
| 249 | set(CMAKE_INSTALL_CMAKEDIR "${CMAKE_INSTALL_LIBDIR}/cmake/gRPC") |
| 250 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 251 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 252 | # Create directory for generated .proto files |
| 253 | set(_gRPC_PROTO_GENS_DIR ${CMAKE_BINARY_DIR}/gens) |
| 254 | file(MAKE_DIRECTORY ${_gRPC_PROTO_GENS_DIR}) |
| 255 | |
| 256 | # protobuf_generate_grpc_cpp |
| 257 | # -------------------------- |
| 258 | # |
| 259 | # Add custom commands to process ``.proto`` files to C++ using protoc and |
| 260 | # GRPC plugin:: |
| 261 | # |
| 262 | # protobuf_generate_grpc_cpp [<ARGN>...] |
| 263 | # |
| 264 | # ``ARGN`` |
| 265 | # ``.proto`` files |
| 266 | # |
| 267 | function(protobuf_generate_grpc_cpp) |
| 268 | if(NOT ARGN) |
| 269 | message(SEND_ERROR "Error: PROTOBUF_GENERATE_GRPC_CPP() called without any proto files") |
| 270 | return() |
| 271 | endif() |
| 272 | |
| 273 | set(_protobuf_include_path -I .) |
| 274 | foreach(FIL ${ARGN}) |
| 275 | get_filename_component(ABS_FIL ${FIL} ABSOLUTE) |
| 276 | get_filename_component(FIL_WE ${FIL} NAME_WE) |
| 277 | file(RELATIVE_PATH REL_FIL ${CMAKE_SOURCE_DIR} ${ABS_FIL}) |
| 278 | get_filename_component(REL_DIR ${REL_FIL} DIRECTORY) |
| 279 | set(RELFIL_WE "${REL_DIR}/${FIL_WE}") |
| 280 | |
| 281 | add_custom_command( |
| 282 | OUTPUT "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.cc" |
| 283 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.grpc.pb.h" |
| 284 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.cc" |
| 285 | "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.h" |
| 286 | COMMAND ${_gRPC_PROTOBUF_PROTOC} |
| 287 | ARGS --grpc_out=${_gRPC_PROTO_GENS_DIR} |
| 288 | --cpp_out=${_gRPC_PROTO_GENS_DIR} |
| 289 | --plugin=protoc-gen-grpc=$<TARGET_FILE:grpc_cpp_plugin> |
| 290 | ${_protobuf_include_path} |
| 291 | ${REL_FIL} |
| 292 | DEPENDS ${ABS_FIL} ${_gRPC_PROTOBUF_PROTOC} grpc_cpp_plugin |
| 293 | WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} |
| 294 | COMMENT "Running gRPC C++ protocol buffer compiler on ${FIL}" |
| 295 | VERBATIM) |
| 296 | |
| 297 | 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) |
| 298 | endforeach() |
| 299 | endfunction() |
| 300 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 301 | add_custom_target(plugins |
| 302 | DEPENDS |
| 303 | grpc_cpp_plugin |
| 304 | grpc_csharp_plugin |
| 305 | grpc_node_plugin |
| 306 | grpc_objective_c_plugin |
| 307 | grpc_php_plugin |
| 308 | grpc_python_plugin |
| 309 | grpc_ruby_plugin |
| 310 | ) |
| 311 | |
| 312 | add_custom_target(tools_c |
| 313 | DEPENDS |
| 314 | gen_hpack_tables |
| 315 | gen_legal_metadata_characters |
| 316 | gen_percent_encoding_tables |
| 317 | grpc_create_jwt |
| 318 | grpc_print_google_default_creds_token |
| 319 | grpc_verify_jwt |
| 320 | ) |
| 321 | |
| 322 | add_custom_target(tools_cxx |
| 323 | DEPENDS |
| 324 | ) |
| 325 | |
| 326 | add_custom_target(tools |
| 327 | DEPENDS tools_c tools_cxx) |
| 328 | |
| 329 | if (gRPC_BUILD_TESTS) |
| 330 | add_custom_target(buildtests_c) |
| 331 | add_dependencies(buildtests_c alarm_test) |
| 332 | add_dependencies(buildtests_c algorithm_test) |
| 333 | add_dependencies(buildtests_c alloc_test) |
| 334 | add_dependencies(buildtests_c alpn_test) |
| 335 | add_dependencies(buildtests_c bad_server_response_test) |
Craig Tiller | 5395aba | 2017-02-02 10:29:04 -0800 | [diff] [blame] | 336 | add_dependencies(buildtests_c bdp_estimator_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 337 | add_dependencies(buildtests_c bin_decoder_test) |
| 338 | add_dependencies(buildtests_c bin_encoder_test) |
| 339 | add_dependencies(buildtests_c census_context_test) |
| 340 | add_dependencies(buildtests_c census_resource_test) |
| 341 | add_dependencies(buildtests_c census_trace_context_test) |
| 342 | add_dependencies(buildtests_c channel_create_test) |
| 343 | add_dependencies(buildtests_c chttp2_hpack_encoder_test) |
| 344 | add_dependencies(buildtests_c chttp2_stream_map_test) |
| 345 | add_dependencies(buildtests_c chttp2_varint_test) |
| 346 | add_dependencies(buildtests_c combiner_test) |
| 347 | add_dependencies(buildtests_c compression_test) |
| 348 | add_dependencies(buildtests_c concurrent_connectivity_test) |
| 349 | add_dependencies(buildtests_c connection_refused_test) |
| 350 | add_dependencies(buildtests_c dns_resolver_connectivity_test) |
| 351 | add_dependencies(buildtests_c dns_resolver_test) |
| 352 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 353 | add_dependencies(buildtests_c dualstack_socket_test) |
| 354 | endif() |
| 355 | add_dependencies(buildtests_c endpoint_pair_test) |
| 356 | if(_gRPC_PLATFORM_LINUX) |
| 357 | add_dependencies(buildtests_c ev_epoll_linux_test) |
| 358 | endif() |
| 359 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 360 | add_dependencies(buildtests_c fd_conservation_posix_test) |
| 361 | endif() |
| 362 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 363 | add_dependencies(buildtests_c fd_posix_test) |
| 364 | endif() |
| 365 | add_dependencies(buildtests_c fling_client) |
| 366 | add_dependencies(buildtests_c fling_server) |
| 367 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 368 | add_dependencies(buildtests_c fling_stream_test) |
| 369 | endif() |
| 370 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 371 | add_dependencies(buildtests_c fling_test) |
| 372 | endif() |
| 373 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 374 | add_dependencies(buildtests_c goaway_server_test) |
| 375 | endif() |
| 376 | add_dependencies(buildtests_c gpr_avl_test) |
| 377 | add_dependencies(buildtests_c gpr_backoff_test) |
| 378 | add_dependencies(buildtests_c gpr_cmdline_test) |
| 379 | add_dependencies(buildtests_c gpr_cpu_test) |
| 380 | add_dependencies(buildtests_c gpr_env_test) |
| 381 | add_dependencies(buildtests_c gpr_histogram_test) |
| 382 | add_dependencies(buildtests_c gpr_host_port_test) |
| 383 | add_dependencies(buildtests_c gpr_log_test) |
| 384 | add_dependencies(buildtests_c gpr_mpscq_test) |
| 385 | add_dependencies(buildtests_c gpr_stack_lockfree_test) |
| 386 | add_dependencies(buildtests_c gpr_string_test) |
| 387 | add_dependencies(buildtests_c gpr_sync_test) |
| 388 | add_dependencies(buildtests_c gpr_thd_test) |
| 389 | add_dependencies(buildtests_c gpr_time_test) |
| 390 | add_dependencies(buildtests_c gpr_tls_test) |
| 391 | add_dependencies(buildtests_c gpr_useful_test) |
| 392 | add_dependencies(buildtests_c grpc_auth_context_test) |
| 393 | add_dependencies(buildtests_c grpc_b64_test) |
| 394 | add_dependencies(buildtests_c grpc_byte_buffer_reader_test) |
| 395 | add_dependencies(buildtests_c grpc_channel_args_test) |
| 396 | add_dependencies(buildtests_c grpc_channel_stack_test) |
| 397 | add_dependencies(buildtests_c grpc_completion_queue_test) |
| 398 | add_dependencies(buildtests_c grpc_credentials_test) |
| 399 | add_dependencies(buildtests_c grpc_fetch_oauth2) |
| 400 | add_dependencies(buildtests_c grpc_invalid_channel_args_test) |
| 401 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 402 | add_dependencies(buildtests_c grpc_json_token_test) |
| 403 | endif() |
| 404 | add_dependencies(buildtests_c grpc_jwt_verifier_test) |
| 405 | add_dependencies(buildtests_c grpc_security_connector_test) |
| 406 | if(_gRPC_PLATFORM_LINUX) |
| 407 | add_dependencies(buildtests_c handshake_client) |
| 408 | endif() |
| 409 | if(_gRPC_PLATFORM_LINUX) |
| 410 | add_dependencies(buildtests_c handshake_server) |
| 411 | endif() |
| 412 | add_dependencies(buildtests_c hpack_parser_test) |
| 413 | add_dependencies(buildtests_c hpack_table_test) |
| 414 | add_dependencies(buildtests_c http_parser_test) |
| 415 | add_dependencies(buildtests_c httpcli_format_request_test) |
| 416 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 417 | add_dependencies(buildtests_c httpcli_test) |
| 418 | endif() |
| 419 | if(_gRPC_PLATFORM_LINUX) |
| 420 | add_dependencies(buildtests_c httpscli_test) |
| 421 | endif() |
| 422 | add_dependencies(buildtests_c init_test) |
| 423 | add_dependencies(buildtests_c internal_api_canary_iomgr_test) |
| 424 | add_dependencies(buildtests_c internal_api_canary_support_test) |
| 425 | add_dependencies(buildtests_c internal_api_canary_transport_test) |
| 426 | add_dependencies(buildtests_c invalid_call_argument_test) |
| 427 | add_dependencies(buildtests_c json_rewrite) |
| 428 | add_dependencies(buildtests_c json_rewrite_test) |
| 429 | add_dependencies(buildtests_c json_stream_error_test) |
| 430 | add_dependencies(buildtests_c json_test) |
| 431 | add_dependencies(buildtests_c lame_client_test) |
| 432 | add_dependencies(buildtests_c lb_policies_test) |
| 433 | add_dependencies(buildtests_c load_file_test) |
| 434 | add_dependencies(buildtests_c memory_profile_client) |
| 435 | add_dependencies(buildtests_c memory_profile_server) |
| 436 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 437 | add_dependencies(buildtests_c memory_profile_test) |
| 438 | endif() |
| 439 | add_dependencies(buildtests_c message_compress_test) |
| 440 | add_dependencies(buildtests_c mlog_test) |
| 441 | add_dependencies(buildtests_c multiple_server_queues_test) |
| 442 | add_dependencies(buildtests_c murmur_hash_test) |
| 443 | add_dependencies(buildtests_c no_server_test) |
| 444 | add_dependencies(buildtests_c percent_encoding_test) |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 445 | if(_gRPC_PLATFORM_LINUX) |
| 446 | add_dependencies(buildtests_c pollset_set_test) |
| 447 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 448 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 449 | add_dependencies(buildtests_c resolve_address_posix_test) |
| 450 | endif() |
| 451 | add_dependencies(buildtests_c resolve_address_test) |
| 452 | add_dependencies(buildtests_c resource_quota_test) |
| 453 | add_dependencies(buildtests_c secure_channel_create_test) |
| 454 | add_dependencies(buildtests_c secure_endpoint_test) |
| 455 | add_dependencies(buildtests_c sequential_connectivity_test) |
| 456 | add_dependencies(buildtests_c server_chttp2_test) |
| 457 | add_dependencies(buildtests_c server_test) |
| 458 | add_dependencies(buildtests_c set_initial_connect_string_test) |
| 459 | add_dependencies(buildtests_c slice_buffer_test) |
| 460 | add_dependencies(buildtests_c slice_string_helpers_test) |
| 461 | add_dependencies(buildtests_c slice_test) |
| 462 | add_dependencies(buildtests_c sockaddr_resolver_test) |
| 463 | add_dependencies(buildtests_c sockaddr_utils_test) |
| 464 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 465 | add_dependencies(buildtests_c socket_utils_test) |
| 466 | endif() |
| 467 | add_dependencies(buildtests_c status_conversion_test) |
| 468 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 469 | add_dependencies(buildtests_c tcp_client_posix_test) |
| 470 | endif() |
| 471 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 472 | add_dependencies(buildtests_c tcp_posix_test) |
| 473 | endif() |
| 474 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 475 | add_dependencies(buildtests_c tcp_server_posix_test) |
| 476 | endif() |
| 477 | add_dependencies(buildtests_c time_averaged_stats_test) |
| 478 | add_dependencies(buildtests_c timeout_encoding_test) |
| 479 | add_dependencies(buildtests_c timer_heap_test) |
| 480 | add_dependencies(buildtests_c timer_list_test) |
| 481 | add_dependencies(buildtests_c transport_connectivity_state_test) |
| 482 | add_dependencies(buildtests_c transport_metadata_test) |
| 483 | add_dependencies(buildtests_c transport_pid_controller_test) |
| 484 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 485 | add_dependencies(buildtests_c transport_security_test) |
| 486 | endif() |
| 487 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 488 | add_dependencies(buildtests_c udp_server_test) |
| 489 | endif() |
| 490 | add_dependencies(buildtests_c uri_parser_test) |
| 491 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 492 | add_dependencies(buildtests_c wakeup_fd_cv_test) |
| 493 | endif() |
| 494 | add_dependencies(buildtests_c public_headers_must_be_c89) |
| 495 | add_dependencies(buildtests_c badreq_bad_client_test) |
| 496 | add_dependencies(buildtests_c connection_prefix_bad_client_test) |
| 497 | add_dependencies(buildtests_c head_of_line_blocking_bad_client_test) |
| 498 | add_dependencies(buildtests_c headers_bad_client_test) |
| 499 | add_dependencies(buildtests_c initial_settings_frame_bad_client_test) |
| 500 | add_dependencies(buildtests_c large_metadata_bad_client_test) |
| 501 | add_dependencies(buildtests_c server_registered_method_bad_client_test) |
| 502 | add_dependencies(buildtests_c simple_request_bad_client_test) |
| 503 | add_dependencies(buildtests_c unknown_frame_bad_client_test) |
| 504 | add_dependencies(buildtests_c window_overflow_bad_client_test) |
| 505 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 506 | add_dependencies(buildtests_c bad_ssl_cert_server) |
| 507 | endif() |
| 508 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 509 | add_dependencies(buildtests_c bad_ssl_cert_test) |
| 510 | endif() |
| 511 | add_dependencies(buildtests_c h2_census_test) |
| 512 | add_dependencies(buildtests_c h2_compress_test) |
| 513 | add_dependencies(buildtests_c h2_fakesec_test) |
| 514 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 515 | add_dependencies(buildtests_c h2_fd_test) |
| 516 | endif() |
| 517 | add_dependencies(buildtests_c h2_full_test) |
| 518 | if(_gRPC_PLATFORM_LINUX) |
| 519 | add_dependencies(buildtests_c h2_full+pipe_test) |
| 520 | endif() |
| 521 | add_dependencies(buildtests_c h2_full+trace_test) |
| 522 | add_dependencies(buildtests_c h2_http_proxy_test) |
| 523 | add_dependencies(buildtests_c h2_load_reporting_test) |
| 524 | add_dependencies(buildtests_c h2_oauth2_test) |
| 525 | add_dependencies(buildtests_c h2_proxy_test) |
| 526 | add_dependencies(buildtests_c h2_sockpair_test) |
| 527 | add_dependencies(buildtests_c h2_sockpair+trace_test) |
| 528 | add_dependencies(buildtests_c h2_sockpair_1byte_test) |
| 529 | add_dependencies(buildtests_c h2_ssl_test) |
| 530 | add_dependencies(buildtests_c h2_ssl_cert_test) |
| 531 | add_dependencies(buildtests_c h2_ssl_proxy_test) |
| 532 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 533 | add_dependencies(buildtests_c h2_uds_test) |
| 534 | endif() |
| 535 | add_dependencies(buildtests_c h2_census_nosec_test) |
| 536 | add_dependencies(buildtests_c h2_compress_nosec_test) |
| 537 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 538 | add_dependencies(buildtests_c h2_fd_nosec_test) |
| 539 | endif() |
| 540 | add_dependencies(buildtests_c h2_full_nosec_test) |
| 541 | if(_gRPC_PLATFORM_LINUX) |
| 542 | add_dependencies(buildtests_c h2_full+pipe_nosec_test) |
| 543 | endif() |
| 544 | add_dependencies(buildtests_c h2_full+trace_nosec_test) |
| 545 | add_dependencies(buildtests_c h2_http_proxy_nosec_test) |
| 546 | add_dependencies(buildtests_c h2_load_reporting_nosec_test) |
| 547 | add_dependencies(buildtests_c h2_proxy_nosec_test) |
| 548 | add_dependencies(buildtests_c h2_sockpair_nosec_test) |
| 549 | add_dependencies(buildtests_c h2_sockpair+trace_nosec_test) |
| 550 | add_dependencies(buildtests_c h2_sockpair_1byte_nosec_test) |
| 551 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 552 | add_dependencies(buildtests_c h2_uds_nosec_test) |
| 553 | endif() |
| 554 | add_dependencies(buildtests_c api_fuzzer_one_entry) |
| 555 | add_dependencies(buildtests_c client_fuzzer_one_entry) |
| 556 | add_dependencies(buildtests_c hpack_parser_fuzzer_test_one_entry) |
| 557 | add_dependencies(buildtests_c http_request_fuzzer_test_one_entry) |
| 558 | add_dependencies(buildtests_c http_response_fuzzer_test_one_entry) |
| 559 | add_dependencies(buildtests_c json_fuzzer_test_one_entry) |
| 560 | add_dependencies(buildtests_c nanopb_fuzzer_response_test_one_entry) |
| 561 | add_dependencies(buildtests_c nanopb_fuzzer_serverlist_test_one_entry) |
| 562 | add_dependencies(buildtests_c percent_decode_fuzzer_one_entry) |
| 563 | add_dependencies(buildtests_c percent_encode_fuzzer_one_entry) |
| 564 | add_dependencies(buildtests_c server_fuzzer_one_entry) |
| 565 | add_dependencies(buildtests_c ssl_server_fuzzer_one_entry) |
| 566 | add_dependencies(buildtests_c uri_fuzzer_test_one_entry) |
| 567 | |
| 568 | add_custom_target(buildtests_cxx) |
| 569 | add_dependencies(buildtests_cxx alarm_cpp_test) |
| 570 | add_dependencies(buildtests_cxx async_end2end_test) |
| 571 | add_dependencies(buildtests_cxx auth_property_iterator_test) |
| 572 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 573 | add_dependencies(buildtests_cxx bm_fullstack) |
| 574 | endif() |
| 575 | add_dependencies(buildtests_cxx channel_arguments_test) |
| 576 | add_dependencies(buildtests_cxx channel_filter_test) |
| 577 | add_dependencies(buildtests_cxx cli_call_test) |
| 578 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 579 | add_dependencies(buildtests_cxx client_crash_test) |
| 580 | endif() |
| 581 | add_dependencies(buildtests_cxx client_crash_test_server) |
| 582 | add_dependencies(buildtests_cxx codegen_test_full) |
| 583 | add_dependencies(buildtests_cxx codegen_test_minimal) |
| 584 | add_dependencies(buildtests_cxx credentials_test) |
| 585 | add_dependencies(buildtests_cxx cxx_byte_buffer_test) |
| 586 | add_dependencies(buildtests_cxx cxx_slice_test) |
| 587 | add_dependencies(buildtests_cxx cxx_string_ref_test) |
| 588 | add_dependencies(buildtests_cxx cxx_time_test) |
| 589 | add_dependencies(buildtests_cxx end2end_test) |
| 590 | add_dependencies(buildtests_cxx filter_end2end_test) |
| 591 | add_dependencies(buildtests_cxx generic_end2end_test) |
| 592 | add_dependencies(buildtests_cxx golden_file_test) |
| 593 | add_dependencies(buildtests_cxx grpc_cli) |
| 594 | add_dependencies(buildtests_cxx grpc_tool_test) |
| 595 | add_dependencies(buildtests_cxx grpclb_api_test) |
| 596 | add_dependencies(buildtests_cxx grpclb_test) |
| 597 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 598 | add_dependencies(buildtests_cxx http2_client) |
| 599 | endif() |
| 600 | add_dependencies(buildtests_cxx hybrid_end2end_test) |
| 601 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 602 | add_dependencies(buildtests_cxx interop_client) |
| 603 | endif() |
| 604 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 605 | add_dependencies(buildtests_cxx interop_server) |
| 606 | endif() |
| 607 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 608 | add_dependencies(buildtests_cxx interop_test) |
| 609 | endif() |
| 610 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 611 | add_dependencies(buildtests_cxx json_run_localhost) |
| 612 | endif() |
| 613 | add_dependencies(buildtests_cxx metrics_client) |
| 614 | add_dependencies(buildtests_cxx mock_test) |
| 615 | add_dependencies(buildtests_cxx noop-benchmark) |
| 616 | add_dependencies(buildtests_cxx proto_server_reflection_test) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 617 | add_dependencies(buildtests_cxx proto_utils_test) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 618 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 619 | add_dependencies(buildtests_cxx qps_interarrival_test) |
| 620 | endif() |
| 621 | add_dependencies(buildtests_cxx qps_json_driver) |
| 622 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 623 | add_dependencies(buildtests_cxx qps_openloop_test) |
| 624 | endif() |
| 625 | add_dependencies(buildtests_cxx qps_worker) |
| 626 | add_dependencies(buildtests_cxx reconnect_interop_client) |
| 627 | add_dependencies(buildtests_cxx reconnect_interop_server) |
| 628 | add_dependencies(buildtests_cxx round_robin_end2end_test) |
| 629 | add_dependencies(buildtests_cxx secure_auth_context_test) |
| 630 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 631 | add_dependencies(buildtests_cxx secure_sync_unary_ping_pong_test) |
| 632 | endif() |
| 633 | add_dependencies(buildtests_cxx server_builder_plugin_test) |
| 634 | add_dependencies(buildtests_cxx server_context_test_spouse_test) |
| 635 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 636 | add_dependencies(buildtests_cxx server_crash_test) |
| 637 | endif() |
| 638 | add_dependencies(buildtests_cxx server_crash_test_client) |
| 639 | add_dependencies(buildtests_cxx shutdown_test) |
| 640 | add_dependencies(buildtests_cxx status_test) |
| 641 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
| 642 | add_dependencies(buildtests_cxx streaming_throughput_test) |
| 643 | endif() |
| 644 | add_dependencies(buildtests_cxx stress_test) |
| 645 | add_dependencies(buildtests_cxx thread_manager_test) |
| 646 | add_dependencies(buildtests_cxx thread_stress_test) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 647 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 648 | add_dependencies(buildtests_cxx writes_per_rpc_test) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 649 | endif() |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 650 | |
| 651 | add_custom_target(buildtests |
| 652 | DEPENDS buildtests_c buildtests_cxx) |
| 653 | endif (gRPC_BUILD_TESTS) |
| 654 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 655 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 656 | add_library(gpr |
| 657 | src/core/lib/profiling/basic_timers.c |
| 658 | src/core/lib/profiling/stap_timers.c |
| 659 | src/core/lib/support/alloc.c |
| 660 | src/core/lib/support/avl.c |
| 661 | src/core/lib/support/backoff.c |
| 662 | src/core/lib/support/cmdline.c |
| 663 | src/core/lib/support/cpu_iphone.c |
| 664 | src/core/lib/support/cpu_linux.c |
| 665 | src/core/lib/support/cpu_posix.c |
| 666 | src/core/lib/support/cpu_windows.c |
| 667 | src/core/lib/support/env_linux.c |
| 668 | src/core/lib/support/env_posix.c |
| 669 | src/core/lib/support/env_windows.c |
| 670 | src/core/lib/support/histogram.c |
| 671 | src/core/lib/support/host_port.c |
| 672 | src/core/lib/support/log.c |
| 673 | src/core/lib/support/log_android.c |
| 674 | src/core/lib/support/log_linux.c |
| 675 | src/core/lib/support/log_posix.c |
| 676 | src/core/lib/support/log_windows.c |
Craig Tiller | 57726ca | 2016-09-12 11:59:45 -0700 | [diff] [blame] | 677 | src/core/lib/support/mpscq.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 678 | src/core/lib/support/murmur_hash.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 679 | src/core/lib/support/stack_lockfree.c |
| 680 | src/core/lib/support/string.c |
| 681 | src/core/lib/support/string_posix.c |
| 682 | src/core/lib/support/string_util_windows.c |
| 683 | src/core/lib/support/string_windows.c |
| 684 | src/core/lib/support/subprocess_posix.c |
| 685 | src/core/lib/support/subprocess_windows.c |
| 686 | src/core/lib/support/sync.c |
| 687 | src/core/lib/support/sync_posix.c |
| 688 | src/core/lib/support/sync_windows.c |
| 689 | src/core/lib/support/thd.c |
| 690 | src/core/lib/support/thd_posix.c |
| 691 | src/core/lib/support/thd_windows.c |
| 692 | src/core/lib/support/time.c |
| 693 | src/core/lib/support/time_posix.c |
| 694 | src/core/lib/support/time_precise.c |
| 695 | src/core/lib/support/time_windows.c |
| 696 | src/core/lib/support/tls_pthread.c |
| 697 | src/core/lib/support/tmpfile_msys.c |
| 698 | src/core/lib/support/tmpfile_posix.c |
| 699 | src/core/lib/support/tmpfile_windows.c |
| 700 | src/core/lib/support/wrap_memcpy.c |
| 701 | ) |
| 702 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 703 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 704 | target_include_directories(gpr |
| 705 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 706 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 707 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 708 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 709 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 710 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 711 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 712 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 713 | ) |
| 714 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 715 | target_link_libraries(gpr |
| 716 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 717 | ) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 718 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 719 | foreach(_hdr |
| 720 | include/grpc/support/alloc.h |
| 721 | include/grpc/support/atm.h |
| 722 | include/grpc/support/atm_gcc_atomic.h |
| 723 | include/grpc/support/atm_gcc_sync.h |
| 724 | include/grpc/support/atm_windows.h |
| 725 | include/grpc/support/avl.h |
| 726 | include/grpc/support/cmdline.h |
| 727 | include/grpc/support/cpu.h |
| 728 | include/grpc/support/histogram.h |
| 729 | include/grpc/support/host_port.h |
| 730 | include/grpc/support/log.h |
| 731 | include/grpc/support/log_windows.h |
| 732 | include/grpc/support/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 733 | include/grpc/support/string_util.h |
| 734 | include/grpc/support/subprocess.h |
| 735 | include/grpc/support/sync.h |
| 736 | include/grpc/support/sync_generic.h |
| 737 | include/grpc/support/sync_posix.h |
| 738 | include/grpc/support/sync_windows.h |
| 739 | include/grpc/support/thd.h |
| 740 | include/grpc/support/time.h |
| 741 | include/grpc/support/tls.h |
| 742 | include/grpc/support/tls_gcc.h |
| 743 | include/grpc/support/tls_msvc.h |
| 744 | include/grpc/support/tls_pthread.h |
| 745 | include/grpc/support/useful.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 746 | include/grpc/impl/codegen/atm.h |
| 747 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 748 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 749 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 750 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 751 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 752 | include/grpc/impl/codegen/port_platform.h |
| 753 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 754 | include/grpc/impl/codegen/sync.h |
| 755 | include/grpc/impl/codegen/sync_generic.h |
| 756 | include/grpc/impl/codegen/sync_posix.h |
| 757 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 758 | ) |
| 759 | string(REPLACE "include/" "" _path ${_hdr}) |
| 760 | get_filename_component(_path ${_path} PATH) |
| 761 | install(FILES ${_hdr} |
| 762 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 763 | ) |
| 764 | endforeach() |
| 765 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 766 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 767 | if (gRPC_INSTALL) |
| 768 | install(TARGETS gpr EXPORT gRPCTargets |
| 769 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 770 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 771 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 772 | ) |
| 773 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 774 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 775 | if (gRPC_BUILD_TESTS) |
| 776 | |
| 777 | add_library(gpr_test_util |
| 778 | test/core/util/test_config.c |
| 779 | ) |
| 780 | |
| 781 | |
| 782 | target_include_directories(gpr_test_util |
| 783 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 784 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 785 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 786 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 787 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 788 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 789 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 790 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 791 | ) |
| 792 | |
| 793 | target_link_libraries(gpr_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 794 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 795 | gpr |
| 796 | ) |
| 797 | |
| 798 | |
| 799 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 800 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 801 | add_library(grpc |
| 802 | src/core/lib/surface/init.c |
| 803 | src/core/lib/channel/channel_args.c |
| 804 | src/core/lib/channel/channel_stack.c |
| 805 | src/core/lib/channel/channel_stack_builder.c |
| 806 | src/core/lib/channel/compress_filter.c |
| 807 | src/core/lib/channel/connected_channel.c |
Mark D. Roth | 14c072c | 2016-08-26 08:31:34 -0700 | [diff] [blame] | 808 | src/core/lib/channel/deadline_filter.c |
Mark D. Roth | dfbdefe | 2016-07-14 09:18:22 -0700 | [diff] [blame] | 809 | src/core/lib/channel/handshaker.c |
Mark D. Roth | 1f0f23c | 2017-01-06 13:07:19 -0800 | [diff] [blame] | 810 | src/core/lib/channel/handshaker_factory.c |
| 811 | src/core/lib/channel/handshaker_registry.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 812 | src/core/lib/channel/http_client_filter.c |
| 813 | src/core/lib/channel/http_server_filter.c |
Mark D. Roth | af00d8b | 2016-08-23 12:48:16 -0700 | [diff] [blame] | 814 | src/core/lib/channel/message_size_filter.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 815 | src/core/lib/compression/compression.c |
| 816 | src/core/lib/compression/message_compress.c |
| 817 | src/core/lib/debug/trace.c |
| 818 | src/core/lib/http/format_request.c |
| 819 | src/core/lib/http/httpcli.c |
| 820 | src/core/lib/http/parser.c |
| 821 | src/core/lib/iomgr/closure.c |
Craig Tiller | 57726ca | 2016-09-12 11:59:45 -0700 | [diff] [blame] | 822 | src/core/lib/iomgr/combiner.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 823 | src/core/lib/iomgr/endpoint.c |
| 824 | src/core/lib/iomgr/endpoint_pair_posix.c |
murgatroid99 | c36f6ea | 2016-10-03 09:24:09 -0700 | [diff] [blame] | 825 | src/core/lib/iomgr/endpoint_pair_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 826 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 827 | src/core/lib/iomgr/error.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 828 | src/core/lib/iomgr/ev_epoll_linux.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 829 | src/core/lib/iomgr/ev_poll_posix.c |
| 830 | src/core/lib/iomgr/ev_posix.c |
| 831 | src/core/lib/iomgr/exec_ctx.c |
| 832 | src/core/lib/iomgr/executor.c |
| 833 | src/core/lib/iomgr/iocp_windows.c |
| 834 | src/core/lib/iomgr/iomgr.c |
| 835 | src/core/lib/iomgr/iomgr_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 836 | src/core/lib/iomgr/iomgr_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 837 | src/core/lib/iomgr/iomgr_windows.c |
| 838 | src/core/lib/iomgr/load_file.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 839 | src/core/lib/iomgr/network_status_tracker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 840 | src/core/lib/iomgr/polling_entity.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 841 | src/core/lib/iomgr/pollset_set_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 842 | src/core/lib/iomgr/pollset_set_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 843 | src/core/lib/iomgr/pollset_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 844 | src/core/lib/iomgr/pollset_windows.c |
| 845 | src/core/lib/iomgr/resolve_address_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 846 | src/core/lib/iomgr/resolve_address_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 847 | src/core/lib/iomgr/resolve_address_windows.c |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 848 | src/core/lib/iomgr/resource_quota.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 849 | src/core/lib/iomgr/sockaddr_utils.c |
Yuchen Zeng | de3daf5 | 2016-10-13 17:26:26 -0700 | [diff] [blame] | 850 | src/core/lib/iomgr/socket_mutator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 851 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 852 | src/core/lib/iomgr/socket_utils_linux.c |
| 853 | src/core/lib/iomgr/socket_utils_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 854 | src/core/lib/iomgr/socket_utils_uv.c |
murgatroid99 | 79b3227 | 2016-08-08 13:38:30 -0700 | [diff] [blame] | 855 | src/core/lib/iomgr/socket_utils_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 856 | src/core/lib/iomgr/socket_windows.c |
| 857 | src/core/lib/iomgr/tcp_client_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 858 | src/core/lib/iomgr/tcp_client_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 859 | src/core/lib/iomgr/tcp_client_windows.c |
| 860 | src/core/lib/iomgr/tcp_posix.c |
| 861 | src/core/lib/iomgr/tcp_server_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 862 | src/core/lib/iomgr/tcp_server_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 863 | src/core/lib/iomgr/tcp_server_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 864 | src/core/lib/iomgr/tcp_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 865 | src/core/lib/iomgr/tcp_windows.c |
| 866 | src/core/lib/iomgr/time_averaged_stats.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 867 | src/core/lib/iomgr/timer_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 868 | src/core/lib/iomgr/timer_heap.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 869 | src/core/lib/iomgr/timer_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 870 | src/core/lib/iomgr/udp_server.c |
| 871 | src/core/lib/iomgr/unix_sockets_posix.c |
| 872 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 873 | src/core/lib/iomgr/wakeup_fd_cv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 874 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 875 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 876 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 877 | src/core/lib/iomgr/wakeup_fd_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 878 | src/core/lib/iomgr/workqueue_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 879 | src/core/lib/iomgr/workqueue_windows.c |
| 880 | src/core/lib/json/json.c |
| 881 | src/core/lib/json/json_reader.c |
| 882 | src/core/lib/json/json_string.c |
| 883 | src/core/lib/json/json_writer.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 884 | src/core/lib/slice/percent_encoding.c |
| 885 | src/core/lib/slice/slice.c |
| 886 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 887 | src/core/lib/slice/slice_hash_table.c |
| 888 | src/core/lib/slice/slice_intern.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 889 | src/core/lib/slice/slice_string_helpers.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 890 | src/core/lib/surface/alarm.c |
| 891 | src/core/lib/surface/api_trace.c |
| 892 | src/core/lib/surface/byte_buffer.c |
| 893 | src/core/lib/surface/byte_buffer_reader.c |
| 894 | src/core/lib/surface/call.c |
| 895 | src/core/lib/surface/call_details.c |
| 896 | src/core/lib/surface/call_log_batch.c |
| 897 | src/core/lib/surface/channel.c |
| 898 | src/core/lib/surface/channel_init.c |
| 899 | src/core/lib/surface/channel_ping.c |
| 900 | src/core/lib/surface/channel_stack_type.c |
| 901 | src/core/lib/surface/completion_queue.c |
| 902 | src/core/lib/surface/event_string.c |
| 903 | src/core/lib/surface/lame_client.c |
| 904 | src/core/lib/surface/metadata_array.c |
| 905 | src/core/lib/surface/server.c |
| 906 | src/core/lib/surface/validate_metadata.c |
| 907 | src/core/lib/surface/version.c |
Craig Tiller | 9e0066b | 2016-10-20 14:04:18 -0700 | [diff] [blame] | 908 | src/core/lib/transport/bdp_estimator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 909 | src/core/lib/transport/byte_stream.c |
| 910 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 911 | src/core/lib/transport/error_utils.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 912 | src/core/lib/transport/metadata.c |
| 913 | src/core/lib/transport/metadata_batch.c |
Craig Tiller | dd2fa64 | 2016-10-20 15:46:32 -0700 | [diff] [blame] | 914 | src/core/lib/transport/pid_controller.c |
Mark D. Roth | ea846a0 | 2016-11-03 11:32:54 -0700 | [diff] [blame] | 915 | src/core/lib/transport/service_config.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 916 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 917 | src/core/lib/transport/status_conversion.c |
Robbie Shade | 710d242 | 2016-07-13 15:15:38 -0400 | [diff] [blame] | 918 | src/core/lib/transport/timeout_encoding.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 919 | src/core/lib/transport/transport.c |
| 920 | src/core/lib/transport/transport_op_string.c |
| 921 | src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c |
| 922 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 923 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 924 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 925 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
| 926 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 927 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 928 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 929 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 930 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 931 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 932 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 933 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 934 | src/core/ext/transport/chttp2/transport/hpack_table.c |
| 935 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 936 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 937 | src/core/ext/transport/chttp2/transport/parsing.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 938 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 939 | src/core/ext/transport/chttp2/transport/stream_map.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 940 | src/core/ext/transport/chttp2/transport/varint.c |
| 941 | src/core/ext/transport/chttp2/transport/writing.c |
| 942 | src/core/ext/transport/chttp2/alpn/alpn.c |
| 943 | src/core/lib/http/httpcli_security_connector.c |
| 944 | src/core/lib/security/context/security_context.c |
| 945 | src/core/lib/security/credentials/composite/composite_credentials.c |
| 946 | src/core/lib/security/credentials/credentials.c |
| 947 | src/core/lib/security/credentials/credentials_metadata.c |
| 948 | src/core/lib/security/credentials/fake/fake_credentials.c |
murgatroid99 | 7c20590 | 2016-08-09 10:07:42 -0700 | [diff] [blame] | 949 | src/core/lib/security/credentials/google_default/credentials_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 950 | src/core/lib/security/credentials/google_default/google_default_credentials.c |
| 951 | src/core/lib/security/credentials/iam/iam_credentials.c |
| 952 | src/core/lib/security/credentials/jwt/json_token.c |
| 953 | src/core/lib/security/credentials/jwt/jwt_credentials.c |
| 954 | src/core/lib/security/credentials/jwt/jwt_verifier.c |
| 955 | src/core/lib/security/credentials/oauth2/oauth2_credentials.c |
| 956 | src/core/lib/security/credentials/plugin/plugin_credentials.c |
| 957 | src/core/lib/security/credentials/ssl/ssl_credentials.c |
| 958 | src/core/lib/security/transport/client_auth_filter.c |
David Garcia Quintas | 0129150 | 2017-02-07 13:26:41 -0800 | [diff] [blame] | 959 | src/core/lib/security/transport/lb_targets_info.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 960 | src/core/lib/security/transport/secure_endpoint.c |
| 961 | src/core/lib/security/transport/security_connector.c |
Mark D. Roth | 071cacf | 2016-11-17 13:17:56 -0800 | [diff] [blame] | 962 | src/core/lib/security/transport/security_handshaker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 963 | src/core/lib/security/transport/server_auth_filter.c |
| 964 | src/core/lib/security/transport/tsi_error.c |
| 965 | src/core/lib/security/util/b64.c |
| 966 | src/core/lib/security/util/json_util.c |
| 967 | src/core/lib/surface/init_secure.c |
| 968 | src/core/lib/tsi/fake_transport_security.c |
| 969 | src/core/lib/tsi/ssl_transport_security.c |
| 970 | src/core/lib/tsi/transport_security.c |
Mark D. Roth | 7140382 | 2016-12-02 10:51:39 -0800 | [diff] [blame] | 971 | src/core/ext/transport/chttp2/server/chttp2_server.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 972 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.c |
Mark D. Roth | 2137cd8 | 2016-09-14 09:04:00 -0700 | [diff] [blame] | 973 | src/core/ext/client_channel/channel_connectivity.c |
| 974 | src/core/ext/client_channel/client_channel.c |
| 975 | src/core/ext/client_channel/client_channel_factory.c |
| 976 | src/core/ext/client_channel/client_channel_plugin.c |
| 977 | src/core/ext/client_channel/connector.c |
| 978 | src/core/ext/client_channel/default_initial_connect_string.c |
Mark D. Roth | 1519574 | 2016-10-07 09:02:28 -0700 | [diff] [blame] | 979 | src/core/ext/client_channel/http_connect_handshaker.c |
Mark D. Roth | d58a985 | 2017-01-18 08:28:57 -0800 | [diff] [blame] | 980 | src/core/ext/client_channel/http_proxy.c |
Mark D. Roth | 2137cd8 | 2016-09-14 09:04:00 -0700 | [diff] [blame] | 981 | src/core/ext/client_channel/initial_connect_string.c |
| 982 | src/core/ext/client_channel/lb_policy.c |
| 983 | src/core/ext/client_channel/lb_policy_factory.c |
| 984 | src/core/ext/client_channel/lb_policy_registry.c |
| 985 | src/core/ext/client_channel/parse_address.c |
Mark D. Roth | 79f2a24 | 2017-01-17 14:13:33 -0800 | [diff] [blame] | 986 | src/core/ext/client_channel/proxy_mapper.c |
| 987 | src/core/ext/client_channel/proxy_mapper_registry.c |
Mark D. Roth | 2137cd8 | 2016-09-14 09:04:00 -0700 | [diff] [blame] | 988 | src/core/ext/client_channel/resolver.c |
| 989 | src/core/ext/client_channel/resolver_factory.c |
| 990 | src/core/ext/client_channel/resolver_registry.c |
Mark D. Roth | 2137cd8 | 2016-09-14 09:04:00 -0700 | [diff] [blame] | 991 | src/core/ext/client_channel/subchannel.c |
| 992 | src/core/ext/client_channel/subchannel_index.c |
| 993 | src/core/ext/client_channel/uri_parser.c |
Mark D. Roth | 8686cab | 2016-11-17 13:12:17 -0800 | [diff] [blame] | 994 | src/core/ext/transport/chttp2/client/chttp2_connector.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 995 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.c |
| 996 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c |
| 997 | src/core/ext/transport/chttp2/client/insecure/channel_create.c |
| 998 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c |
David Garcia Quintas | 7c3ba12 | 2016-07-14 11:38:38 -0700 | [diff] [blame] | 999 | src/core/ext/lb_policy/grpclb/grpclb.c |
David Garcia Quintas | 0129150 | 2017-02-07 13:26:41 -0800 | [diff] [blame] | 1000 | src/core/ext/lb_policy/grpclb/grpclb_channel_secure.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1001 | src/core/ext/lb_policy/grpclb/load_balancer_api.c |
| 1002 | src/core/ext/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c |
| 1003 | third_party/nanopb/pb_common.c |
| 1004 | third_party/nanopb/pb_decode.c |
| 1005 | third_party/nanopb/pb_encode.c |
| 1006 | src/core/ext/lb_policy/pick_first/pick_first.c |
| 1007 | src/core/ext/lb_policy/round_robin/round_robin.c |
| 1008 | src/core/ext/resolver/dns/native/dns_resolver.c |
| 1009 | src/core/ext/resolver/sockaddr/sockaddr_resolver.c |
| 1010 | src/core/ext/load_reporting/load_reporting.c |
| 1011 | src/core/ext/load_reporting/load_reporting_filter.c |
Alistair Veitch | 3abd27e | 2016-07-21 17:29:04 -0700 | [diff] [blame] | 1012 | src/core/ext/census/base_resources.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1013 | src/core/ext/census/context.c |
| 1014 | src/core/ext/census/gen/census.pb.c |
Alistair Veitch | a0c69f9 | 2016-08-31 12:01:27 -0700 | [diff] [blame] | 1015 | src/core/ext/census/gen/trace_context.pb.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1016 | src/core/ext/census/grpc_context.c |
| 1017 | src/core/ext/census/grpc_filter.c |
| 1018 | src/core/ext/census/grpc_plugin.c |
| 1019 | src/core/ext/census/initialize.c |
| 1020 | src/core/ext/census/mlog.c |
| 1021 | src/core/ext/census/operation.c |
| 1022 | src/core/ext/census/placeholders.c |
Alistair Veitch | 3abd27e | 2016-07-21 17:29:04 -0700 | [diff] [blame] | 1023 | src/core/ext/census/resource.c |
Vizerai | 12d1fc6 | 2016-09-09 14:22:19 -0700 | [diff] [blame] | 1024 | src/core/ext/census/trace_context.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1025 | src/core/ext/census/tracing.c |
| 1026 | src/core/plugin_registry/grpc_plugin_registry.c |
| 1027 | ) |
| 1028 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1029 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1030 | target_include_directories(grpc |
| 1031 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1032 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1033 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1034 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1035 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1036 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1037 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1038 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1039 | ) |
| 1040 | |
| 1041 | target_link_libraries(grpc |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1042 | ${_gRPC_BASELIB_LIBRARIES} |
| 1043 | ${_gRPC_SSL_LIBRARIES} |
| 1044 | ${_gRPC_ZLIB_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1045 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1046 | gpr |
| 1047 | ) |
| 1048 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1049 | foreach(_hdr |
| 1050 | include/grpc/byte_buffer.h |
| 1051 | include/grpc/byte_buffer_reader.h |
| 1052 | include/grpc/compression.h |
| 1053 | include/grpc/grpc.h |
| 1054 | include/grpc/grpc_posix.h |
Nicolas "Pixel" Noble | e3e17d3 | 2016-08-20 01:45:32 +0200 | [diff] [blame] | 1055 | include/grpc/grpc_security_constants.h |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1056 | include/grpc/slice.h |
| 1057 | include/grpc/slice_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1058 | include/grpc/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1059 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1060 | include/grpc/impl/codegen/compression_types.h |
| 1061 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 1062 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1063 | include/grpc/impl/codegen/grpc_types.h |
| 1064 | include/grpc/impl/codegen/propagation_bits.h |
| 1065 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1066 | include/grpc/impl/codegen/atm.h |
| 1067 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1068 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1069 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1070 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1071 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1072 | include/grpc/impl/codegen/port_platform.h |
| 1073 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1074 | include/grpc/impl/codegen/sync.h |
| 1075 | include/grpc/impl/codegen/sync_generic.h |
| 1076 | include/grpc/impl/codegen/sync_posix.h |
| 1077 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1078 | include/grpc/grpc_security.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1079 | include/grpc/census.h |
| 1080 | ) |
| 1081 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1082 | get_filename_component(_path ${_path} PATH) |
| 1083 | install(FILES ${_hdr} |
| 1084 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 1085 | ) |
| 1086 | endforeach() |
| 1087 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1088 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1089 | if (gRPC_INSTALL) |
| 1090 | install(TARGETS grpc EXPORT gRPCTargets |
| 1091 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 1092 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1093 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1094 | ) |
| 1095 | endif() |
| 1096 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1097 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1098 | add_library(grpc_cronet |
| 1099 | src/core/lib/surface/init.c |
| 1100 | src/core/lib/channel/channel_args.c |
| 1101 | src/core/lib/channel/channel_stack.c |
| 1102 | src/core/lib/channel/channel_stack_builder.c |
| 1103 | src/core/lib/channel/compress_filter.c |
| 1104 | src/core/lib/channel/connected_channel.c |
Mark D. Roth | 14c072c | 2016-08-26 08:31:34 -0700 | [diff] [blame] | 1105 | src/core/lib/channel/deadline_filter.c |
Mark D. Roth | dfbdefe | 2016-07-14 09:18:22 -0700 | [diff] [blame] | 1106 | src/core/lib/channel/handshaker.c |
Mark D. Roth | 1f0f23c | 2017-01-06 13:07:19 -0800 | [diff] [blame] | 1107 | src/core/lib/channel/handshaker_factory.c |
| 1108 | src/core/lib/channel/handshaker_registry.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1109 | src/core/lib/channel/http_client_filter.c |
| 1110 | src/core/lib/channel/http_server_filter.c |
Mark D. Roth | af00d8b | 2016-08-23 12:48:16 -0700 | [diff] [blame] | 1111 | src/core/lib/channel/message_size_filter.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1112 | src/core/lib/compression/compression.c |
| 1113 | src/core/lib/compression/message_compress.c |
| 1114 | src/core/lib/debug/trace.c |
| 1115 | src/core/lib/http/format_request.c |
| 1116 | src/core/lib/http/httpcli.c |
| 1117 | src/core/lib/http/parser.c |
| 1118 | src/core/lib/iomgr/closure.c |
Craig Tiller | 57726ca | 2016-09-12 11:59:45 -0700 | [diff] [blame] | 1119 | src/core/lib/iomgr/combiner.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1120 | src/core/lib/iomgr/endpoint.c |
| 1121 | src/core/lib/iomgr/endpoint_pair_posix.c |
murgatroid99 | c36f6ea | 2016-10-03 09:24:09 -0700 | [diff] [blame] | 1122 | src/core/lib/iomgr/endpoint_pair_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1123 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 1124 | src/core/lib/iomgr/error.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 1125 | src/core/lib/iomgr/ev_epoll_linux.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1126 | src/core/lib/iomgr/ev_poll_posix.c |
| 1127 | src/core/lib/iomgr/ev_posix.c |
| 1128 | src/core/lib/iomgr/exec_ctx.c |
| 1129 | src/core/lib/iomgr/executor.c |
| 1130 | src/core/lib/iomgr/iocp_windows.c |
| 1131 | src/core/lib/iomgr/iomgr.c |
| 1132 | src/core/lib/iomgr/iomgr_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1133 | src/core/lib/iomgr/iomgr_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1134 | src/core/lib/iomgr/iomgr_windows.c |
| 1135 | src/core/lib/iomgr/load_file.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 1136 | src/core/lib/iomgr/network_status_tracker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1137 | src/core/lib/iomgr/polling_entity.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1138 | src/core/lib/iomgr/pollset_set_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1139 | src/core/lib/iomgr/pollset_set_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1140 | src/core/lib/iomgr/pollset_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1141 | src/core/lib/iomgr/pollset_windows.c |
| 1142 | src/core/lib/iomgr/resolve_address_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1143 | src/core/lib/iomgr/resolve_address_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1144 | src/core/lib/iomgr/resolve_address_windows.c |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 1145 | src/core/lib/iomgr/resource_quota.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1146 | src/core/lib/iomgr/sockaddr_utils.c |
Yuchen Zeng | de3daf5 | 2016-10-13 17:26:26 -0700 | [diff] [blame] | 1147 | src/core/lib/iomgr/socket_mutator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1148 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 1149 | src/core/lib/iomgr/socket_utils_linux.c |
| 1150 | src/core/lib/iomgr/socket_utils_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1151 | src/core/lib/iomgr/socket_utils_uv.c |
murgatroid99 | 79b3227 | 2016-08-08 13:38:30 -0700 | [diff] [blame] | 1152 | src/core/lib/iomgr/socket_utils_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1153 | src/core/lib/iomgr/socket_windows.c |
| 1154 | src/core/lib/iomgr/tcp_client_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1155 | src/core/lib/iomgr/tcp_client_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1156 | src/core/lib/iomgr/tcp_client_windows.c |
| 1157 | src/core/lib/iomgr/tcp_posix.c |
| 1158 | src/core/lib/iomgr/tcp_server_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1159 | src/core/lib/iomgr/tcp_server_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1160 | src/core/lib/iomgr/tcp_server_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1161 | src/core/lib/iomgr/tcp_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1162 | src/core/lib/iomgr/tcp_windows.c |
| 1163 | src/core/lib/iomgr/time_averaged_stats.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1164 | src/core/lib/iomgr/timer_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1165 | src/core/lib/iomgr/timer_heap.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1166 | src/core/lib/iomgr/timer_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1167 | src/core/lib/iomgr/udp_server.c |
| 1168 | src/core/lib/iomgr/unix_sockets_posix.c |
| 1169 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 1170 | src/core/lib/iomgr/wakeup_fd_cv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1171 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 1172 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 1173 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 1174 | src/core/lib/iomgr/wakeup_fd_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1175 | src/core/lib/iomgr/workqueue_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1176 | src/core/lib/iomgr/workqueue_windows.c |
| 1177 | src/core/lib/json/json.c |
| 1178 | src/core/lib/json/json_reader.c |
| 1179 | src/core/lib/json/json_string.c |
| 1180 | src/core/lib/json/json_writer.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1181 | src/core/lib/slice/percent_encoding.c |
| 1182 | src/core/lib/slice/slice.c |
| 1183 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1184 | src/core/lib/slice/slice_hash_table.c |
| 1185 | src/core/lib/slice/slice_intern.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1186 | src/core/lib/slice/slice_string_helpers.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1187 | src/core/lib/surface/alarm.c |
| 1188 | src/core/lib/surface/api_trace.c |
| 1189 | src/core/lib/surface/byte_buffer.c |
| 1190 | src/core/lib/surface/byte_buffer_reader.c |
| 1191 | src/core/lib/surface/call.c |
| 1192 | src/core/lib/surface/call_details.c |
| 1193 | src/core/lib/surface/call_log_batch.c |
| 1194 | src/core/lib/surface/channel.c |
| 1195 | src/core/lib/surface/channel_init.c |
| 1196 | src/core/lib/surface/channel_ping.c |
| 1197 | src/core/lib/surface/channel_stack_type.c |
| 1198 | src/core/lib/surface/completion_queue.c |
| 1199 | src/core/lib/surface/event_string.c |
| 1200 | src/core/lib/surface/lame_client.c |
| 1201 | src/core/lib/surface/metadata_array.c |
| 1202 | src/core/lib/surface/server.c |
| 1203 | src/core/lib/surface/validate_metadata.c |
| 1204 | src/core/lib/surface/version.c |
Craig Tiller | 9e0066b | 2016-10-20 14:04:18 -0700 | [diff] [blame] | 1205 | src/core/lib/transport/bdp_estimator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1206 | src/core/lib/transport/byte_stream.c |
| 1207 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1208 | src/core/lib/transport/error_utils.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1209 | src/core/lib/transport/metadata.c |
| 1210 | src/core/lib/transport/metadata_batch.c |
Craig Tiller | dd2fa64 | 2016-10-20 15:46:32 -0700 | [diff] [blame] | 1211 | src/core/lib/transport/pid_controller.c |
Mark D. Roth | ea846a0 | 2016-11-03 11:32:54 -0700 | [diff] [blame] | 1212 | src/core/lib/transport/service_config.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1213 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1214 | src/core/lib/transport/status_conversion.c |
Robbie Shade | 710d242 | 2016-07-13 15:15:38 -0400 | [diff] [blame] | 1215 | src/core/lib/transport/timeout_encoding.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1216 | src/core/lib/transport/transport.c |
| 1217 | src/core/lib/transport/transport_op_string.c |
| 1218 | src/core/ext/transport/cronet/client/secure/cronet_channel_create.c |
| 1219 | src/core/ext/transport/cronet/transport/cronet_api_dummy.c |
| 1220 | src/core/ext/transport/cronet/transport/cronet_transport.c |
| 1221 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.c |
| 1222 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 1223 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 1224 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 1225 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
| 1226 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 1227 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 1228 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 1229 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 1230 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 1231 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 1232 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 1233 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 1234 | src/core/ext/transport/chttp2/transport/hpack_table.c |
| 1235 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 1236 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 1237 | src/core/ext/transport/chttp2/transport/parsing.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1238 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 1239 | src/core/ext/transport/chttp2/transport/stream_map.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1240 | src/core/ext/transport/chttp2/transport/varint.c |
| 1241 | src/core/ext/transport/chttp2/transport/writing.c |
| 1242 | src/core/ext/transport/chttp2/alpn/alpn.c |
Mark D. Roth | 2137cd8 | 2016-09-14 09:04:00 -0700 | [diff] [blame] | 1243 | src/core/ext/client_channel/channel_connectivity.c |
| 1244 | src/core/ext/client_channel/client_channel.c |
| 1245 | src/core/ext/client_channel/client_channel_factory.c |
| 1246 | src/core/ext/client_channel/client_channel_plugin.c |
| 1247 | src/core/ext/client_channel/connector.c |
| 1248 | src/core/ext/client_channel/default_initial_connect_string.c |
Mark D. Roth | 1519574 | 2016-10-07 09:02:28 -0700 | [diff] [blame] | 1249 | src/core/ext/client_channel/http_connect_handshaker.c |
Mark D. Roth | d58a985 | 2017-01-18 08:28:57 -0800 | [diff] [blame] | 1250 | src/core/ext/client_channel/http_proxy.c |
Mark D. Roth | 2137cd8 | 2016-09-14 09:04:00 -0700 | [diff] [blame] | 1251 | src/core/ext/client_channel/initial_connect_string.c |
| 1252 | src/core/ext/client_channel/lb_policy.c |
| 1253 | src/core/ext/client_channel/lb_policy_factory.c |
| 1254 | src/core/ext/client_channel/lb_policy_registry.c |
| 1255 | src/core/ext/client_channel/parse_address.c |
Mark D. Roth | 79f2a24 | 2017-01-17 14:13:33 -0800 | [diff] [blame] | 1256 | src/core/ext/client_channel/proxy_mapper.c |
| 1257 | src/core/ext/client_channel/proxy_mapper_registry.c |
Mark D. Roth | 2137cd8 | 2016-09-14 09:04:00 -0700 | [diff] [blame] | 1258 | src/core/ext/client_channel/resolver.c |
| 1259 | src/core/ext/client_channel/resolver_factory.c |
| 1260 | src/core/ext/client_channel/resolver_registry.c |
Mark D. Roth | 2137cd8 | 2016-09-14 09:04:00 -0700 | [diff] [blame] | 1261 | src/core/ext/client_channel/subchannel.c |
| 1262 | src/core/ext/client_channel/subchannel_index.c |
| 1263 | src/core/ext/client_channel/uri_parser.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1264 | src/core/lib/http/httpcli_security_connector.c |
| 1265 | src/core/lib/security/context/security_context.c |
| 1266 | src/core/lib/security/credentials/composite/composite_credentials.c |
| 1267 | src/core/lib/security/credentials/credentials.c |
| 1268 | src/core/lib/security/credentials/credentials_metadata.c |
| 1269 | src/core/lib/security/credentials/fake/fake_credentials.c |
murgatroid99 | 7c20590 | 2016-08-09 10:07:42 -0700 | [diff] [blame] | 1270 | src/core/lib/security/credentials/google_default/credentials_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1271 | src/core/lib/security/credentials/google_default/google_default_credentials.c |
| 1272 | src/core/lib/security/credentials/iam/iam_credentials.c |
| 1273 | src/core/lib/security/credentials/jwt/json_token.c |
| 1274 | src/core/lib/security/credentials/jwt/jwt_credentials.c |
| 1275 | src/core/lib/security/credentials/jwt/jwt_verifier.c |
| 1276 | src/core/lib/security/credentials/oauth2/oauth2_credentials.c |
| 1277 | src/core/lib/security/credentials/plugin/plugin_credentials.c |
| 1278 | src/core/lib/security/credentials/ssl/ssl_credentials.c |
| 1279 | src/core/lib/security/transport/client_auth_filter.c |
David Garcia Quintas | 0129150 | 2017-02-07 13:26:41 -0800 | [diff] [blame] | 1280 | src/core/lib/security/transport/lb_targets_info.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1281 | src/core/lib/security/transport/secure_endpoint.c |
| 1282 | src/core/lib/security/transport/security_connector.c |
Mark D. Roth | 071cacf | 2016-11-17 13:17:56 -0800 | [diff] [blame] | 1283 | src/core/lib/security/transport/security_handshaker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1284 | src/core/lib/security/transport/server_auth_filter.c |
| 1285 | src/core/lib/security/transport/tsi_error.c |
| 1286 | src/core/lib/security/util/b64.c |
| 1287 | src/core/lib/security/util/json_util.c |
| 1288 | src/core/lib/surface/init_secure.c |
| 1289 | src/core/lib/tsi/fake_transport_security.c |
| 1290 | src/core/lib/tsi/ssl_transport_security.c |
| 1291 | src/core/lib/tsi/transport_security.c |
Mark D. Roth | 8686cab | 2016-11-17 13:12:17 -0800 | [diff] [blame] | 1292 | src/core/ext/transport/chttp2/client/chttp2_connector.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1293 | src/core/plugin_registry/grpc_cronet_plugin_registry.c |
| 1294 | ) |
| 1295 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1296 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1297 | target_include_directories(grpc_cronet |
| 1298 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1299 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1300 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1301 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1302 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1303 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1304 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1305 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1306 | ) |
| 1307 | |
| 1308 | target_link_libraries(grpc_cronet |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1309 | ${_gRPC_BASELIB_LIBRARIES} |
| 1310 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1311 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1312 | gpr |
| 1313 | ) |
| 1314 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1315 | foreach(_hdr |
| 1316 | include/grpc/byte_buffer.h |
| 1317 | include/grpc/byte_buffer_reader.h |
| 1318 | include/grpc/compression.h |
| 1319 | include/grpc/grpc.h |
| 1320 | include/grpc/grpc_posix.h |
Nicolas "Pixel" Noble | e3e17d3 | 2016-08-20 01:45:32 +0200 | [diff] [blame] | 1321 | include/grpc/grpc_security_constants.h |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1322 | include/grpc/slice.h |
| 1323 | include/grpc/slice_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1324 | include/grpc/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1325 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1326 | include/grpc/impl/codegen/compression_types.h |
| 1327 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 1328 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1329 | include/grpc/impl/codegen/grpc_types.h |
| 1330 | include/grpc/impl/codegen/propagation_bits.h |
| 1331 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1332 | include/grpc/impl/codegen/atm.h |
| 1333 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1334 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1335 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1336 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1337 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1338 | include/grpc/impl/codegen/port_platform.h |
| 1339 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1340 | include/grpc/impl/codegen/sync.h |
| 1341 | include/grpc/impl/codegen/sync_generic.h |
| 1342 | include/grpc/impl/codegen/sync_posix.h |
| 1343 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1344 | include/grpc/grpc_cronet.h |
| 1345 | include/grpc/grpc_security.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1346 | ) |
| 1347 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1348 | get_filename_component(_path ${_path} PATH) |
| 1349 | install(FILES ${_hdr} |
| 1350 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 1351 | ) |
| 1352 | endforeach() |
| 1353 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1354 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1355 | if (gRPC_INSTALL) |
| 1356 | install(TARGETS grpc_cronet EXPORT gRPCTargets |
| 1357 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 1358 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1359 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1360 | ) |
| 1361 | endif() |
| 1362 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1363 | if (gRPC_BUILD_TESTS) |
| 1364 | |
| 1365 | add_library(grpc_test_util |
| 1366 | test/core/end2end/data/client_certs.c |
| 1367 | test/core/end2end/data/server1_cert.c |
| 1368 | test/core/end2end/data/server1_key.c |
| 1369 | test/core/end2end/data/test_root_cert.c |
| 1370 | test/core/security/oauth2_utils.c |
| 1371 | test/core/end2end/cq_verifier.c |
| 1372 | test/core/end2end/fake_resolver.c |
| 1373 | test/core/end2end/fixtures/http_proxy.c |
| 1374 | test/core/end2end/fixtures/proxy.c |
| 1375 | test/core/iomgr/endpoint_tests.c |
Craig Tiller | 61eb40c | 2017-02-03 13:46:33 -0800 | [diff] [blame] | 1376 | test/core/util/debugger_macros.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1377 | test/core/util/grpc_profiler.c |
| 1378 | test/core/util/memory_counters.c |
| 1379 | test/core/util/mock_endpoint.c |
| 1380 | test/core/util/parse_hexstring.c |
| 1381 | test/core/util/passthru_endpoint.c |
| 1382 | test/core/util/port_posix.c |
| 1383 | test/core/util/port_server_client.c |
| 1384 | test/core/util/port_uv.c |
| 1385 | test/core/util/port_windows.c |
| 1386 | test/core/util/slice_splitter.c |
| 1387 | src/core/lib/channel/channel_args.c |
| 1388 | src/core/lib/channel/channel_stack.c |
| 1389 | src/core/lib/channel/channel_stack_builder.c |
| 1390 | src/core/lib/channel/compress_filter.c |
| 1391 | src/core/lib/channel/connected_channel.c |
| 1392 | src/core/lib/channel/deadline_filter.c |
| 1393 | src/core/lib/channel/handshaker.c |
| 1394 | src/core/lib/channel/handshaker_factory.c |
| 1395 | src/core/lib/channel/handshaker_registry.c |
| 1396 | src/core/lib/channel/http_client_filter.c |
| 1397 | src/core/lib/channel/http_server_filter.c |
| 1398 | src/core/lib/channel/message_size_filter.c |
| 1399 | src/core/lib/compression/compression.c |
| 1400 | src/core/lib/compression/message_compress.c |
| 1401 | src/core/lib/debug/trace.c |
| 1402 | src/core/lib/http/format_request.c |
| 1403 | src/core/lib/http/httpcli.c |
| 1404 | src/core/lib/http/parser.c |
| 1405 | src/core/lib/iomgr/closure.c |
| 1406 | src/core/lib/iomgr/combiner.c |
| 1407 | src/core/lib/iomgr/endpoint.c |
| 1408 | src/core/lib/iomgr/endpoint_pair_posix.c |
| 1409 | src/core/lib/iomgr/endpoint_pair_uv.c |
| 1410 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 1411 | src/core/lib/iomgr/error.c |
| 1412 | src/core/lib/iomgr/ev_epoll_linux.c |
| 1413 | src/core/lib/iomgr/ev_poll_posix.c |
| 1414 | src/core/lib/iomgr/ev_posix.c |
| 1415 | src/core/lib/iomgr/exec_ctx.c |
| 1416 | src/core/lib/iomgr/executor.c |
| 1417 | src/core/lib/iomgr/iocp_windows.c |
| 1418 | src/core/lib/iomgr/iomgr.c |
| 1419 | src/core/lib/iomgr/iomgr_posix.c |
| 1420 | src/core/lib/iomgr/iomgr_uv.c |
| 1421 | src/core/lib/iomgr/iomgr_windows.c |
| 1422 | src/core/lib/iomgr/load_file.c |
| 1423 | src/core/lib/iomgr/network_status_tracker.c |
| 1424 | src/core/lib/iomgr/polling_entity.c |
| 1425 | src/core/lib/iomgr/pollset_set_uv.c |
| 1426 | src/core/lib/iomgr/pollset_set_windows.c |
| 1427 | src/core/lib/iomgr/pollset_uv.c |
| 1428 | src/core/lib/iomgr/pollset_windows.c |
| 1429 | src/core/lib/iomgr/resolve_address_posix.c |
| 1430 | src/core/lib/iomgr/resolve_address_uv.c |
| 1431 | src/core/lib/iomgr/resolve_address_windows.c |
| 1432 | src/core/lib/iomgr/resource_quota.c |
| 1433 | src/core/lib/iomgr/sockaddr_utils.c |
| 1434 | src/core/lib/iomgr/socket_mutator.c |
| 1435 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 1436 | src/core/lib/iomgr/socket_utils_linux.c |
| 1437 | src/core/lib/iomgr/socket_utils_posix.c |
| 1438 | src/core/lib/iomgr/socket_utils_uv.c |
| 1439 | src/core/lib/iomgr/socket_utils_windows.c |
| 1440 | src/core/lib/iomgr/socket_windows.c |
| 1441 | src/core/lib/iomgr/tcp_client_posix.c |
| 1442 | src/core/lib/iomgr/tcp_client_uv.c |
| 1443 | src/core/lib/iomgr/tcp_client_windows.c |
| 1444 | src/core/lib/iomgr/tcp_posix.c |
| 1445 | src/core/lib/iomgr/tcp_server_posix.c |
| 1446 | src/core/lib/iomgr/tcp_server_uv.c |
| 1447 | src/core/lib/iomgr/tcp_server_windows.c |
| 1448 | src/core/lib/iomgr/tcp_uv.c |
| 1449 | src/core/lib/iomgr/tcp_windows.c |
| 1450 | src/core/lib/iomgr/time_averaged_stats.c |
| 1451 | src/core/lib/iomgr/timer_generic.c |
| 1452 | src/core/lib/iomgr/timer_heap.c |
| 1453 | src/core/lib/iomgr/timer_uv.c |
| 1454 | src/core/lib/iomgr/udp_server.c |
| 1455 | src/core/lib/iomgr/unix_sockets_posix.c |
| 1456 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
| 1457 | src/core/lib/iomgr/wakeup_fd_cv.c |
| 1458 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 1459 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 1460 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 1461 | src/core/lib/iomgr/wakeup_fd_posix.c |
| 1462 | src/core/lib/iomgr/workqueue_uv.c |
| 1463 | src/core/lib/iomgr/workqueue_windows.c |
| 1464 | src/core/lib/json/json.c |
| 1465 | src/core/lib/json/json_reader.c |
| 1466 | src/core/lib/json/json_string.c |
| 1467 | src/core/lib/json/json_writer.c |
| 1468 | src/core/lib/slice/percent_encoding.c |
| 1469 | src/core/lib/slice/slice.c |
| 1470 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1471 | src/core/lib/slice/slice_hash_table.c |
| 1472 | src/core/lib/slice/slice_intern.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1473 | src/core/lib/slice/slice_string_helpers.c |
| 1474 | src/core/lib/surface/alarm.c |
| 1475 | src/core/lib/surface/api_trace.c |
| 1476 | src/core/lib/surface/byte_buffer.c |
| 1477 | src/core/lib/surface/byte_buffer_reader.c |
| 1478 | src/core/lib/surface/call.c |
| 1479 | src/core/lib/surface/call_details.c |
| 1480 | src/core/lib/surface/call_log_batch.c |
| 1481 | src/core/lib/surface/channel.c |
| 1482 | src/core/lib/surface/channel_init.c |
| 1483 | src/core/lib/surface/channel_ping.c |
| 1484 | src/core/lib/surface/channel_stack_type.c |
| 1485 | src/core/lib/surface/completion_queue.c |
| 1486 | src/core/lib/surface/event_string.c |
| 1487 | src/core/lib/surface/lame_client.c |
| 1488 | src/core/lib/surface/metadata_array.c |
| 1489 | src/core/lib/surface/server.c |
| 1490 | src/core/lib/surface/validate_metadata.c |
| 1491 | src/core/lib/surface/version.c |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 1492 | src/core/lib/transport/bdp_estimator.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1493 | src/core/lib/transport/byte_stream.c |
| 1494 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1495 | src/core/lib/transport/error_utils.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1496 | src/core/lib/transport/metadata.c |
| 1497 | src/core/lib/transport/metadata_batch.c |
| 1498 | src/core/lib/transport/pid_controller.c |
| 1499 | src/core/lib/transport/service_config.c |
| 1500 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1501 | src/core/lib/transport/status_conversion.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1502 | src/core/lib/transport/timeout_encoding.c |
| 1503 | src/core/lib/transport/transport.c |
| 1504 | src/core/lib/transport/transport_op_string.c |
| 1505 | ) |
| 1506 | |
| 1507 | |
| 1508 | target_include_directories(grpc_test_util |
| 1509 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1510 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1511 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1512 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 1513 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1514 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1515 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 1516 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 1517 | ) |
| 1518 | |
| 1519 | target_link_libraries(grpc_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1520 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1521 | gpr_test_util |
| 1522 | gpr |
| 1523 | grpc |
| 1524 | ) |
| 1525 | |
| 1526 | foreach(_hdr |
| 1527 | include/grpc/byte_buffer.h |
| 1528 | include/grpc/byte_buffer_reader.h |
| 1529 | include/grpc/compression.h |
| 1530 | include/grpc/grpc.h |
| 1531 | include/grpc/grpc_posix.h |
| 1532 | include/grpc/grpc_security_constants.h |
| 1533 | include/grpc/slice.h |
| 1534 | include/grpc/slice_buffer.h |
| 1535 | include/grpc/status.h |
| 1536 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1537 | include/grpc/impl/codegen/compression_types.h |
| 1538 | include/grpc/impl/codegen/connectivity_state.h |
| 1539 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 1540 | include/grpc/impl/codegen/grpc_types.h |
| 1541 | include/grpc/impl/codegen/propagation_bits.h |
| 1542 | include/grpc/impl/codegen/status.h |
| 1543 | include/grpc/impl/codegen/atm.h |
| 1544 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1545 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1546 | include/grpc/impl/codegen/atm_windows.h |
| 1547 | include/grpc/impl/codegen/gpr_slice.h |
| 1548 | include/grpc/impl/codegen/gpr_types.h |
| 1549 | include/grpc/impl/codegen/port_platform.h |
| 1550 | include/grpc/impl/codegen/slice.h |
| 1551 | include/grpc/impl/codegen/sync.h |
| 1552 | include/grpc/impl/codegen/sync_generic.h |
| 1553 | include/grpc/impl/codegen/sync_posix.h |
| 1554 | include/grpc/impl/codegen/sync_windows.h |
| 1555 | ) |
| 1556 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1557 | get_filename_component(_path ${_path} PATH) |
| 1558 | install(FILES ${_hdr} |
| 1559 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 1560 | ) |
| 1561 | endforeach() |
| 1562 | |
| 1563 | endif (gRPC_BUILD_TESTS) |
| 1564 | if (gRPC_BUILD_TESTS) |
| 1565 | |
| 1566 | add_library(grpc_test_util_unsecure |
| 1567 | test/core/end2end/cq_verifier.c |
| 1568 | test/core/end2end/fake_resolver.c |
| 1569 | test/core/end2end/fixtures/http_proxy.c |
| 1570 | test/core/end2end/fixtures/proxy.c |
| 1571 | test/core/iomgr/endpoint_tests.c |
Craig Tiller | 61eb40c | 2017-02-03 13:46:33 -0800 | [diff] [blame] | 1572 | test/core/util/debugger_macros.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1573 | test/core/util/grpc_profiler.c |
| 1574 | test/core/util/memory_counters.c |
| 1575 | test/core/util/mock_endpoint.c |
| 1576 | test/core/util/parse_hexstring.c |
| 1577 | test/core/util/passthru_endpoint.c |
| 1578 | test/core/util/port_posix.c |
| 1579 | test/core/util/port_server_client.c |
| 1580 | test/core/util/port_uv.c |
| 1581 | test/core/util/port_windows.c |
| 1582 | test/core/util/slice_splitter.c |
| 1583 | ) |
| 1584 | |
| 1585 | |
| 1586 | target_include_directories(grpc_test_util_unsecure |
| 1587 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1588 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1589 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1590 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 1591 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1592 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1593 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 1594 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 1595 | ) |
| 1596 | |
| 1597 | target_link_libraries(grpc_test_util_unsecure |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1598 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1599 | gpr |
| 1600 | gpr_test_util |
| 1601 | grpc_unsecure |
| 1602 | grpc |
| 1603 | ) |
| 1604 | |
| 1605 | |
| 1606 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1607 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1608 | add_library(grpc_unsecure |
| 1609 | src/core/lib/surface/init.c |
| 1610 | src/core/lib/surface/init_unsecure.c |
| 1611 | src/core/lib/channel/channel_args.c |
| 1612 | src/core/lib/channel/channel_stack.c |
| 1613 | src/core/lib/channel/channel_stack_builder.c |
| 1614 | src/core/lib/channel/compress_filter.c |
| 1615 | src/core/lib/channel/connected_channel.c |
Mark D. Roth | 14c072c | 2016-08-26 08:31:34 -0700 | [diff] [blame] | 1616 | src/core/lib/channel/deadline_filter.c |
Mark D. Roth | dfbdefe | 2016-07-14 09:18:22 -0700 | [diff] [blame] | 1617 | src/core/lib/channel/handshaker.c |
Mark D. Roth | 1f0f23c | 2017-01-06 13:07:19 -0800 | [diff] [blame] | 1618 | src/core/lib/channel/handshaker_factory.c |
| 1619 | src/core/lib/channel/handshaker_registry.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1620 | src/core/lib/channel/http_client_filter.c |
| 1621 | src/core/lib/channel/http_server_filter.c |
Mark D. Roth | af00d8b | 2016-08-23 12:48:16 -0700 | [diff] [blame] | 1622 | src/core/lib/channel/message_size_filter.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1623 | src/core/lib/compression/compression.c |
| 1624 | src/core/lib/compression/message_compress.c |
| 1625 | src/core/lib/debug/trace.c |
| 1626 | src/core/lib/http/format_request.c |
| 1627 | src/core/lib/http/httpcli.c |
| 1628 | src/core/lib/http/parser.c |
| 1629 | src/core/lib/iomgr/closure.c |
Craig Tiller | 57726ca | 2016-09-12 11:59:45 -0700 | [diff] [blame] | 1630 | src/core/lib/iomgr/combiner.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1631 | src/core/lib/iomgr/endpoint.c |
| 1632 | src/core/lib/iomgr/endpoint_pair_posix.c |
murgatroid99 | c36f6ea | 2016-10-03 09:24:09 -0700 | [diff] [blame] | 1633 | src/core/lib/iomgr/endpoint_pair_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1634 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 1635 | src/core/lib/iomgr/error.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 1636 | src/core/lib/iomgr/ev_epoll_linux.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1637 | src/core/lib/iomgr/ev_poll_posix.c |
| 1638 | src/core/lib/iomgr/ev_posix.c |
| 1639 | src/core/lib/iomgr/exec_ctx.c |
| 1640 | src/core/lib/iomgr/executor.c |
| 1641 | src/core/lib/iomgr/iocp_windows.c |
| 1642 | src/core/lib/iomgr/iomgr.c |
| 1643 | src/core/lib/iomgr/iomgr_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1644 | src/core/lib/iomgr/iomgr_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1645 | src/core/lib/iomgr/iomgr_windows.c |
| 1646 | src/core/lib/iomgr/load_file.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 1647 | src/core/lib/iomgr/network_status_tracker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1648 | src/core/lib/iomgr/polling_entity.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1649 | src/core/lib/iomgr/pollset_set_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1650 | src/core/lib/iomgr/pollset_set_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1651 | src/core/lib/iomgr/pollset_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1652 | src/core/lib/iomgr/pollset_windows.c |
| 1653 | src/core/lib/iomgr/resolve_address_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1654 | src/core/lib/iomgr/resolve_address_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1655 | src/core/lib/iomgr/resolve_address_windows.c |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 1656 | src/core/lib/iomgr/resource_quota.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1657 | src/core/lib/iomgr/sockaddr_utils.c |
Yuchen Zeng | de3daf5 | 2016-10-13 17:26:26 -0700 | [diff] [blame] | 1658 | src/core/lib/iomgr/socket_mutator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1659 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 1660 | src/core/lib/iomgr/socket_utils_linux.c |
| 1661 | src/core/lib/iomgr/socket_utils_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1662 | src/core/lib/iomgr/socket_utils_uv.c |
murgatroid99 | 79b3227 | 2016-08-08 13:38:30 -0700 | [diff] [blame] | 1663 | src/core/lib/iomgr/socket_utils_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1664 | src/core/lib/iomgr/socket_windows.c |
| 1665 | src/core/lib/iomgr/tcp_client_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1666 | src/core/lib/iomgr/tcp_client_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1667 | src/core/lib/iomgr/tcp_client_windows.c |
| 1668 | src/core/lib/iomgr/tcp_posix.c |
| 1669 | src/core/lib/iomgr/tcp_server_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1670 | src/core/lib/iomgr/tcp_server_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1671 | src/core/lib/iomgr/tcp_server_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1672 | src/core/lib/iomgr/tcp_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1673 | src/core/lib/iomgr/tcp_windows.c |
| 1674 | src/core/lib/iomgr/time_averaged_stats.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1675 | src/core/lib/iomgr/timer_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1676 | src/core/lib/iomgr/timer_heap.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1677 | src/core/lib/iomgr/timer_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1678 | src/core/lib/iomgr/udp_server.c |
| 1679 | src/core/lib/iomgr/unix_sockets_posix.c |
| 1680 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 1681 | src/core/lib/iomgr/wakeup_fd_cv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1682 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 1683 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 1684 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 1685 | src/core/lib/iomgr/wakeup_fd_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 1686 | src/core/lib/iomgr/workqueue_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1687 | src/core/lib/iomgr/workqueue_windows.c |
| 1688 | src/core/lib/json/json.c |
| 1689 | src/core/lib/json/json_reader.c |
| 1690 | src/core/lib/json/json_string.c |
| 1691 | src/core/lib/json/json_writer.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1692 | src/core/lib/slice/percent_encoding.c |
| 1693 | src/core/lib/slice/slice.c |
| 1694 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1695 | src/core/lib/slice/slice_hash_table.c |
| 1696 | src/core/lib/slice/slice_intern.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1697 | src/core/lib/slice/slice_string_helpers.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1698 | src/core/lib/surface/alarm.c |
| 1699 | src/core/lib/surface/api_trace.c |
| 1700 | src/core/lib/surface/byte_buffer.c |
| 1701 | src/core/lib/surface/byte_buffer_reader.c |
| 1702 | src/core/lib/surface/call.c |
| 1703 | src/core/lib/surface/call_details.c |
| 1704 | src/core/lib/surface/call_log_batch.c |
| 1705 | src/core/lib/surface/channel.c |
| 1706 | src/core/lib/surface/channel_init.c |
| 1707 | src/core/lib/surface/channel_ping.c |
| 1708 | src/core/lib/surface/channel_stack_type.c |
| 1709 | src/core/lib/surface/completion_queue.c |
| 1710 | src/core/lib/surface/event_string.c |
| 1711 | src/core/lib/surface/lame_client.c |
| 1712 | src/core/lib/surface/metadata_array.c |
| 1713 | src/core/lib/surface/server.c |
| 1714 | src/core/lib/surface/validate_metadata.c |
| 1715 | src/core/lib/surface/version.c |
Craig Tiller | 9e0066b | 2016-10-20 14:04:18 -0700 | [diff] [blame] | 1716 | src/core/lib/transport/bdp_estimator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1717 | src/core/lib/transport/byte_stream.c |
| 1718 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1719 | src/core/lib/transport/error_utils.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1720 | src/core/lib/transport/metadata.c |
| 1721 | src/core/lib/transport/metadata_batch.c |
Craig Tiller | dd2fa64 | 2016-10-20 15:46:32 -0700 | [diff] [blame] | 1722 | src/core/lib/transport/pid_controller.c |
Mark D. Roth | ea846a0 | 2016-11-03 11:32:54 -0700 | [diff] [blame] | 1723 | src/core/lib/transport/service_config.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1724 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 1725 | src/core/lib/transport/status_conversion.c |
Robbie Shade | 710d242 | 2016-07-13 15:15:38 -0400 | [diff] [blame] | 1726 | src/core/lib/transport/timeout_encoding.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1727 | src/core/lib/transport/transport.c |
| 1728 | src/core/lib/transport/transport_op_string.c |
| 1729 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.c |
| 1730 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c |
| 1731 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 1732 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 1733 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 1734 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
| 1735 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 1736 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 1737 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 1738 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 1739 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 1740 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 1741 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 1742 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 1743 | src/core/ext/transport/chttp2/transport/hpack_table.c |
| 1744 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 1745 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 1746 | src/core/ext/transport/chttp2/transport/parsing.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1747 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 1748 | src/core/ext/transport/chttp2/transport/stream_map.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1749 | src/core/ext/transport/chttp2/transport/varint.c |
| 1750 | src/core/ext/transport/chttp2/transport/writing.c |
| 1751 | src/core/ext/transport/chttp2/alpn/alpn.c |
Mark D. Roth | 7140382 | 2016-12-02 10:51:39 -0800 | [diff] [blame] | 1752 | src/core/ext/transport/chttp2/server/chttp2_server.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1753 | src/core/ext/transport/chttp2/client/insecure/channel_create.c |
| 1754 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c |
Mark D. Roth | 2502afb | 2016-11-29 15:17:31 -0800 | [diff] [blame] | 1755 | src/core/ext/transport/chttp2/client/chttp2_connector.c |
Mark D. Roth | 2137cd8 | 2016-09-14 09:04:00 -0700 | [diff] [blame] | 1756 | src/core/ext/client_channel/channel_connectivity.c |
| 1757 | src/core/ext/client_channel/client_channel.c |
| 1758 | src/core/ext/client_channel/client_channel_factory.c |
| 1759 | src/core/ext/client_channel/client_channel_plugin.c |
| 1760 | src/core/ext/client_channel/connector.c |
| 1761 | src/core/ext/client_channel/default_initial_connect_string.c |
Mark D. Roth | 1519574 | 2016-10-07 09:02:28 -0700 | [diff] [blame] | 1762 | src/core/ext/client_channel/http_connect_handshaker.c |
Mark D. Roth | d58a985 | 2017-01-18 08:28:57 -0800 | [diff] [blame] | 1763 | src/core/ext/client_channel/http_proxy.c |
Mark D. Roth | 2137cd8 | 2016-09-14 09:04:00 -0700 | [diff] [blame] | 1764 | src/core/ext/client_channel/initial_connect_string.c |
| 1765 | src/core/ext/client_channel/lb_policy.c |
| 1766 | src/core/ext/client_channel/lb_policy_factory.c |
| 1767 | src/core/ext/client_channel/lb_policy_registry.c |
| 1768 | src/core/ext/client_channel/parse_address.c |
Mark D. Roth | 79f2a24 | 2017-01-17 14:13:33 -0800 | [diff] [blame] | 1769 | src/core/ext/client_channel/proxy_mapper.c |
| 1770 | src/core/ext/client_channel/proxy_mapper_registry.c |
Mark D. Roth | 2137cd8 | 2016-09-14 09:04:00 -0700 | [diff] [blame] | 1771 | src/core/ext/client_channel/resolver.c |
| 1772 | src/core/ext/client_channel/resolver_factory.c |
| 1773 | src/core/ext/client_channel/resolver_registry.c |
Mark D. Roth | 2137cd8 | 2016-09-14 09:04:00 -0700 | [diff] [blame] | 1774 | src/core/ext/client_channel/subchannel.c |
| 1775 | src/core/ext/client_channel/subchannel_index.c |
| 1776 | src/core/ext/client_channel/uri_parser.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1777 | src/core/ext/resolver/dns/native/dns_resolver.c |
| 1778 | src/core/ext/resolver/sockaddr/sockaddr_resolver.c |
| 1779 | src/core/ext/load_reporting/load_reporting.c |
| 1780 | src/core/ext/load_reporting/load_reporting_filter.c |
David Garcia Quintas | 7c3ba12 | 2016-07-14 11:38:38 -0700 | [diff] [blame] | 1781 | src/core/ext/lb_policy/grpclb/grpclb.c |
David Garcia Quintas | 0129150 | 2017-02-07 13:26:41 -0800 | [diff] [blame] | 1782 | src/core/ext/lb_policy/grpclb/grpclb_channel.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1783 | src/core/ext/lb_policy/grpclb/load_balancer_api.c |
| 1784 | src/core/ext/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c |
| 1785 | third_party/nanopb/pb_common.c |
| 1786 | third_party/nanopb/pb_decode.c |
| 1787 | third_party/nanopb/pb_encode.c |
| 1788 | src/core/ext/lb_policy/pick_first/pick_first.c |
| 1789 | src/core/ext/lb_policy/round_robin/round_robin.c |
Alistair Veitch | 3abd27e | 2016-07-21 17:29:04 -0700 | [diff] [blame] | 1790 | src/core/ext/census/base_resources.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1791 | src/core/ext/census/context.c |
| 1792 | src/core/ext/census/gen/census.pb.c |
Alistair Veitch | a0c69f9 | 2016-08-31 12:01:27 -0700 | [diff] [blame] | 1793 | src/core/ext/census/gen/trace_context.pb.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1794 | src/core/ext/census/grpc_context.c |
| 1795 | src/core/ext/census/grpc_filter.c |
| 1796 | src/core/ext/census/grpc_plugin.c |
| 1797 | src/core/ext/census/initialize.c |
| 1798 | src/core/ext/census/mlog.c |
| 1799 | src/core/ext/census/operation.c |
| 1800 | src/core/ext/census/placeholders.c |
Alistair Veitch | 3abd27e | 2016-07-21 17:29:04 -0700 | [diff] [blame] | 1801 | src/core/ext/census/resource.c |
Vizerai | 12d1fc6 | 2016-09-09 14:22:19 -0700 | [diff] [blame] | 1802 | src/core/ext/census/trace_context.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1803 | src/core/ext/census/tracing.c |
| 1804 | src/core/plugin_registry/grpc_unsecure_plugin_registry.c |
| 1805 | ) |
| 1806 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1807 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1808 | target_include_directories(grpc_unsecure |
| 1809 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1810 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1811 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1812 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1813 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1814 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1815 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1816 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1817 | ) |
| 1818 | |
| 1819 | target_link_libraries(grpc_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1820 | ${_gRPC_BASELIB_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1821 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1822 | gpr |
| 1823 | ) |
| 1824 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1825 | foreach(_hdr |
| 1826 | include/grpc/byte_buffer.h |
| 1827 | include/grpc/byte_buffer_reader.h |
| 1828 | include/grpc/compression.h |
| 1829 | include/grpc/grpc.h |
| 1830 | include/grpc/grpc_posix.h |
Nicolas "Pixel" Noble | e3e17d3 | 2016-08-20 01:45:32 +0200 | [diff] [blame] | 1831 | include/grpc/grpc_security_constants.h |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1832 | include/grpc/slice.h |
| 1833 | include/grpc/slice_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1834 | include/grpc/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1835 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1836 | include/grpc/impl/codegen/compression_types.h |
| 1837 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 1838 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1839 | include/grpc/impl/codegen/grpc_types.h |
| 1840 | include/grpc/impl/codegen/propagation_bits.h |
| 1841 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1842 | include/grpc/impl/codegen/atm.h |
| 1843 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1844 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1845 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 1846 | include/grpc/impl/codegen/gpr_slice.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1847 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1848 | include/grpc/impl/codegen/port_platform.h |
| 1849 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1850 | include/grpc/impl/codegen/sync.h |
| 1851 | include/grpc/impl/codegen/sync_generic.h |
| 1852 | include/grpc/impl/codegen/sync_posix.h |
| 1853 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1854 | include/grpc/census.h |
| 1855 | ) |
| 1856 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1857 | get_filename_component(_path ${_path} PATH) |
| 1858 | install(FILES ${_hdr} |
| 1859 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 1860 | ) |
| 1861 | endforeach() |
| 1862 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1863 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1864 | if (gRPC_INSTALL) |
| 1865 | install(TARGETS grpc_unsecure EXPORT gRPCTargets |
| 1866 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 1867 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1868 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1869 | ) |
| 1870 | endif() |
| 1871 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1872 | if (gRPC_BUILD_TESTS) |
| 1873 | |
| 1874 | add_library(reconnect_server |
| 1875 | test/core/util/reconnect_server.c |
| 1876 | ) |
| 1877 | |
| 1878 | |
| 1879 | target_include_directories(reconnect_server |
| 1880 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1881 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1882 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1883 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 1884 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1885 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1886 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 1887 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 1888 | ) |
| 1889 | |
| 1890 | target_link_libraries(reconnect_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1891 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1892 | test_tcp_server |
| 1893 | grpc_test_util |
| 1894 | grpc |
| 1895 | gpr_test_util |
| 1896 | gpr |
| 1897 | ) |
| 1898 | |
| 1899 | |
| 1900 | endif (gRPC_BUILD_TESTS) |
| 1901 | if (gRPC_BUILD_TESTS) |
| 1902 | |
| 1903 | add_library(test_tcp_server |
| 1904 | test/core/util/test_tcp_server.c |
| 1905 | ) |
| 1906 | |
| 1907 | |
| 1908 | target_include_directories(test_tcp_server |
| 1909 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1910 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1911 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1912 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 1913 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1914 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1915 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 1916 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 1917 | ) |
| 1918 | |
| 1919 | target_link_libraries(test_tcp_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1920 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1921 | grpc_test_util |
| 1922 | grpc |
| 1923 | gpr_test_util |
| 1924 | gpr |
| 1925 | ) |
| 1926 | |
| 1927 | |
| 1928 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1929 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1930 | add_library(grpc++ |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 1931 | src/cpp/client/insecure_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1932 | src/cpp/client/secure_credentials.cc |
| 1933 | src/cpp/common/auth_property_iterator.cc |
| 1934 | src/cpp/common/secure_auth_context.cc |
| 1935 | src/cpp/common/secure_channel_arguments.cc |
| 1936 | src/cpp/common/secure_create_auth_context.cc |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 1937 | src/cpp/server/insecure_server_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1938 | src/cpp/server/secure_server_credentials.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 1939 | src/cpp/client/channel_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1940 | src/cpp/client/client_context.cc |
| 1941 | src/cpp/client/create_channel.cc |
| 1942 | src/cpp/client/create_channel_internal.cc |
| 1943 | src/cpp/client/create_channel_posix.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 1944 | src/cpp/client/credentials_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1945 | src/cpp/client/generic_stub.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1946 | src/cpp/common/channel_arguments.cc |
Mark D. Roth | 4004ac2 | 2016-08-02 10:08:27 -0700 | [diff] [blame] | 1947 | src/cpp/common/channel_filter.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 1948 | src/cpp/common/completion_queue_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1949 | src/cpp/common/core_codegen.cc |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 1950 | src/cpp/common/resource_quota_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1951 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 1952 | src/cpp/common/version_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1953 | src/cpp/server/async_generic_service.cc |
| 1954 | src/cpp/server/create_default_thread_pool.cc |
| 1955 | src/cpp/server/dynamic_thread_pool.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1956 | src/cpp/server/server_builder.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 1957 | src/cpp/server/server_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1958 | src/cpp/server/server_context.cc |
| 1959 | src/cpp/server/server_credentials.cc |
| 1960 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 8f7739b | 2016-10-13 15:12:55 -0700 | [diff] [blame] | 1961 | src/cpp/thread_manager/thread_manager.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 1962 | src/cpp/util/byte_buffer_cc.cc |
| 1963 | src/cpp/util/slice_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1964 | src/cpp/util/status.cc |
| 1965 | src/cpp/util/string_ref.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 1966 | src/cpp/util/time_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1967 | src/cpp/codegen/codegen_init.cc |
| 1968 | ) |
| 1969 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 1970 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1971 | target_include_directories(grpc++ |
| 1972 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1973 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1974 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1975 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1976 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1977 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1978 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 1979 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1980 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1981 | ) |
| 1982 | |
| 1983 | target_link_libraries(grpc++ |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1984 | ${_gRPC_BASELIB_LIBRARIES} |
| 1985 | ${_gRPC_SSL_LIBRARIES} |
| 1986 | ${_gRPC_PROTOBUF_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 1987 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1988 | grpc |
| 1989 | ) |
| 1990 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1991 | foreach(_hdr |
| 1992 | include/grpc++/alarm.h |
| 1993 | include/grpc++/channel.h |
| 1994 | include/grpc++/client_context.h |
| 1995 | include/grpc++/completion_queue.h |
| 1996 | include/grpc++/create_channel.h |
| 1997 | include/grpc++/create_channel_posix.h |
| 1998 | include/grpc++/generic/async_generic_service.h |
| 1999 | include/grpc++/generic/generic_stub.h |
| 2000 | include/grpc++/grpc++.h |
| 2001 | include/grpc++/impl/call.h |
| 2002 | include/grpc++/impl/client_unary_call.h |
| 2003 | include/grpc++/impl/codegen/core_codegen.h |
| 2004 | include/grpc++/impl/grpc_library.h |
| 2005 | include/grpc++/impl/method_handler_impl.h |
| 2006 | include/grpc++/impl/rpc_method.h |
| 2007 | include/grpc++/impl/rpc_service_method.h |
| 2008 | include/grpc++/impl/serialization_traits.h |
| 2009 | include/grpc++/impl/server_builder_option.h |
| 2010 | include/grpc++/impl/server_builder_plugin.h |
| 2011 | include/grpc++/impl/server_initializer.h |
| 2012 | include/grpc++/impl/service_type.h |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2013 | include/grpc++/resource_quota.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2014 | include/grpc++/security/auth_context.h |
| 2015 | include/grpc++/security/auth_metadata_processor.h |
| 2016 | include/grpc++/security/credentials.h |
| 2017 | include/grpc++/security/server_credentials.h |
| 2018 | include/grpc++/server.h |
| 2019 | include/grpc++/server_builder.h |
| 2020 | include/grpc++/server_context.h |
| 2021 | include/grpc++/server_posix.h |
| 2022 | include/grpc++/support/async_stream.h |
| 2023 | include/grpc++/support/async_unary_call.h |
| 2024 | include/grpc++/support/byte_buffer.h |
| 2025 | include/grpc++/support/channel_arguments.h |
| 2026 | include/grpc++/support/config.h |
| 2027 | include/grpc++/support/slice.h |
| 2028 | include/grpc++/support/status.h |
| 2029 | include/grpc++/support/status_code_enum.h |
| 2030 | include/grpc++/support/string_ref.h |
| 2031 | include/grpc++/support/stub_options.h |
| 2032 | include/grpc++/support/sync_stream.h |
| 2033 | include/grpc++/support/time.h |
| 2034 | include/grpc++/impl/codegen/async_stream.h |
| 2035 | include/grpc++/impl/codegen/async_unary_call.h |
| 2036 | include/grpc++/impl/codegen/call.h |
| 2037 | include/grpc++/impl/codegen/call_hook.h |
| 2038 | include/grpc++/impl/codegen/channel_interface.h |
| 2039 | include/grpc++/impl/codegen/client_context.h |
| 2040 | include/grpc++/impl/codegen/client_unary_call.h |
| 2041 | include/grpc++/impl/codegen/completion_queue.h |
| 2042 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 2043 | include/grpc++/impl/codegen/config.h |
| 2044 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 2045 | include/grpc++/impl/codegen/create_auth_context.h |
| 2046 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 2047 | include/grpc++/impl/codegen/metadata_map.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2048 | include/grpc++/impl/codegen/method_handler_impl.h |
| 2049 | include/grpc++/impl/codegen/rpc_method.h |
| 2050 | include/grpc++/impl/codegen/rpc_service_method.h |
| 2051 | include/grpc++/impl/codegen/security/auth_context.h |
| 2052 | include/grpc++/impl/codegen/serialization_traits.h |
| 2053 | include/grpc++/impl/codegen/server_context.h |
| 2054 | include/grpc++/impl/codegen/server_interface.h |
| 2055 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2056 | include/grpc++/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2057 | include/grpc++/impl/codegen/status.h |
| 2058 | include/grpc++/impl/codegen/status_code_enum.h |
yang-g | d558149 | 2016-09-06 14:05:53 -0700 | [diff] [blame] | 2059 | include/grpc++/impl/codegen/status_helper.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2060 | include/grpc++/impl/codegen/string_ref.h |
| 2061 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2062 | include/grpc++/impl/codegen/sync_stream.h |
| 2063 | include/grpc++/impl/codegen/time.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 2064 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2065 | include/grpc/impl/codegen/compression_types.h |
| 2066 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 2067 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 2068 | include/grpc/impl/codegen/grpc_types.h |
| 2069 | include/grpc/impl/codegen/propagation_bits.h |
| 2070 | include/grpc/impl/codegen/status.h |
| 2071 | include/grpc/impl/codegen/atm.h |
| 2072 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2073 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2074 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 2075 | include/grpc/impl/codegen/gpr_slice.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 2076 | include/grpc/impl/codegen/gpr_types.h |
| 2077 | include/grpc/impl/codegen/port_platform.h |
| 2078 | include/grpc/impl/codegen/slice.h |
| 2079 | include/grpc/impl/codegen/sync.h |
| 2080 | include/grpc/impl/codegen/sync_generic.h |
| 2081 | include/grpc/impl/codegen/sync_posix.h |
| 2082 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2083 | ) |
| 2084 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2085 | get_filename_component(_path ${_path} PATH) |
| 2086 | install(FILES ${_hdr} |
| 2087 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 2088 | ) |
| 2089 | endforeach() |
| 2090 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2091 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2092 | if (gRPC_INSTALL) |
| 2093 | install(TARGETS grpc++ EXPORT gRPCTargets |
| 2094 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 2095 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2096 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2097 | ) |
| 2098 | endif() |
| 2099 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2100 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2101 | add_library(grpc++_cronet |
| 2102 | src/cpp/client/cronet_credentials.cc |
| 2103 | src/cpp/client/insecure_credentials.cc |
| 2104 | src/cpp/common/insecure_create_auth_context.cc |
| 2105 | src/cpp/server/insecure_server_credentials.cc |
| 2106 | src/cpp/client/channel_cc.cc |
| 2107 | src/cpp/client/client_context.cc |
| 2108 | src/cpp/client/create_channel.cc |
| 2109 | src/cpp/client/create_channel_internal.cc |
| 2110 | src/cpp/client/create_channel_posix.cc |
| 2111 | src/cpp/client/credentials_cc.cc |
| 2112 | src/cpp/client/generic_stub.cc |
| 2113 | src/cpp/common/channel_arguments.cc |
| 2114 | src/cpp/common/channel_filter.cc |
| 2115 | src/cpp/common/completion_queue_cc.cc |
| 2116 | src/cpp/common/core_codegen.cc |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 2117 | src/cpp/common/resource_quota_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2118 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 2119 | src/cpp/common/version_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2120 | src/cpp/server/async_generic_service.cc |
| 2121 | src/cpp/server/create_default_thread_pool.cc |
| 2122 | src/cpp/server/dynamic_thread_pool.cc |
| 2123 | src/cpp/server/server_builder.cc |
| 2124 | src/cpp/server/server_cc.cc |
| 2125 | src/cpp/server/server_context.cc |
| 2126 | src/cpp/server/server_credentials.cc |
| 2127 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 33d5494 | 2016-10-25 10:03:52 -0700 | [diff] [blame] | 2128 | src/cpp/thread_manager/thread_manager.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2129 | src/cpp/util/byte_buffer_cc.cc |
| 2130 | src/cpp/util/slice_cc.cc |
| 2131 | src/cpp/util/status.cc |
| 2132 | src/cpp/util/string_ref.cc |
| 2133 | src/cpp/util/time_cc.cc |
| 2134 | src/cpp/codegen/codegen_init.cc |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2135 | src/core/ext/transport/chttp2/client/insecure/channel_create.c |
| 2136 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c |
Mark D. Roth | 2502afb | 2016-11-29 15:17:31 -0800 | [diff] [blame] | 2137 | src/core/ext/transport/chttp2/client/chttp2_connector.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2138 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 2139 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 2140 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 2141 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
| 2142 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 2143 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 2144 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 2145 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 2146 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 2147 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 2148 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 2149 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 2150 | src/core/ext/transport/chttp2/transport/hpack_table.c |
| 2151 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 2152 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 2153 | src/core/ext/transport/chttp2/transport/parsing.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2154 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 2155 | src/core/ext/transport/chttp2/transport/stream_map.c |
| 2156 | src/core/ext/transport/chttp2/transport/varint.c |
| 2157 | src/core/ext/transport/chttp2/transport/writing.c |
| 2158 | src/core/lib/channel/channel_args.c |
| 2159 | src/core/lib/channel/channel_stack.c |
| 2160 | src/core/lib/channel/channel_stack_builder.c |
| 2161 | src/core/lib/channel/compress_filter.c |
| 2162 | src/core/lib/channel/connected_channel.c |
| 2163 | src/core/lib/channel/deadline_filter.c |
| 2164 | src/core/lib/channel/handshaker.c |
Mark D. Roth | 1f0f23c | 2017-01-06 13:07:19 -0800 | [diff] [blame] | 2165 | src/core/lib/channel/handshaker_factory.c |
| 2166 | src/core/lib/channel/handshaker_registry.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2167 | src/core/lib/channel/http_client_filter.c |
| 2168 | src/core/lib/channel/http_server_filter.c |
| 2169 | src/core/lib/channel/message_size_filter.c |
| 2170 | src/core/lib/compression/compression.c |
| 2171 | src/core/lib/compression/message_compress.c |
| 2172 | src/core/lib/debug/trace.c |
| 2173 | src/core/lib/http/format_request.c |
| 2174 | src/core/lib/http/httpcli.c |
| 2175 | src/core/lib/http/parser.c |
| 2176 | src/core/lib/iomgr/closure.c |
| 2177 | src/core/lib/iomgr/combiner.c |
| 2178 | src/core/lib/iomgr/endpoint.c |
| 2179 | src/core/lib/iomgr/endpoint_pair_posix.c |
| 2180 | src/core/lib/iomgr/endpoint_pair_uv.c |
| 2181 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 2182 | src/core/lib/iomgr/error.c |
| 2183 | src/core/lib/iomgr/ev_epoll_linux.c |
| 2184 | src/core/lib/iomgr/ev_poll_posix.c |
| 2185 | src/core/lib/iomgr/ev_posix.c |
| 2186 | src/core/lib/iomgr/exec_ctx.c |
| 2187 | src/core/lib/iomgr/executor.c |
| 2188 | src/core/lib/iomgr/iocp_windows.c |
| 2189 | src/core/lib/iomgr/iomgr.c |
| 2190 | src/core/lib/iomgr/iomgr_posix.c |
| 2191 | src/core/lib/iomgr/iomgr_uv.c |
| 2192 | src/core/lib/iomgr/iomgr_windows.c |
| 2193 | src/core/lib/iomgr/load_file.c |
| 2194 | src/core/lib/iomgr/network_status_tracker.c |
| 2195 | src/core/lib/iomgr/polling_entity.c |
| 2196 | src/core/lib/iomgr/pollset_set_uv.c |
| 2197 | src/core/lib/iomgr/pollset_set_windows.c |
| 2198 | src/core/lib/iomgr/pollset_uv.c |
| 2199 | src/core/lib/iomgr/pollset_windows.c |
| 2200 | src/core/lib/iomgr/resolve_address_posix.c |
| 2201 | src/core/lib/iomgr/resolve_address_uv.c |
| 2202 | src/core/lib/iomgr/resolve_address_windows.c |
| 2203 | src/core/lib/iomgr/resource_quota.c |
| 2204 | src/core/lib/iomgr/sockaddr_utils.c |
| 2205 | src/core/lib/iomgr/socket_mutator.c |
| 2206 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 2207 | src/core/lib/iomgr/socket_utils_linux.c |
| 2208 | src/core/lib/iomgr/socket_utils_posix.c |
| 2209 | src/core/lib/iomgr/socket_utils_uv.c |
| 2210 | src/core/lib/iomgr/socket_utils_windows.c |
| 2211 | src/core/lib/iomgr/socket_windows.c |
| 2212 | src/core/lib/iomgr/tcp_client_posix.c |
| 2213 | src/core/lib/iomgr/tcp_client_uv.c |
| 2214 | src/core/lib/iomgr/tcp_client_windows.c |
| 2215 | src/core/lib/iomgr/tcp_posix.c |
| 2216 | src/core/lib/iomgr/tcp_server_posix.c |
| 2217 | src/core/lib/iomgr/tcp_server_uv.c |
| 2218 | src/core/lib/iomgr/tcp_server_windows.c |
| 2219 | src/core/lib/iomgr/tcp_uv.c |
| 2220 | src/core/lib/iomgr/tcp_windows.c |
| 2221 | src/core/lib/iomgr/time_averaged_stats.c |
| 2222 | src/core/lib/iomgr/timer_generic.c |
| 2223 | src/core/lib/iomgr/timer_heap.c |
| 2224 | src/core/lib/iomgr/timer_uv.c |
| 2225 | src/core/lib/iomgr/udp_server.c |
| 2226 | src/core/lib/iomgr/unix_sockets_posix.c |
| 2227 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
| 2228 | src/core/lib/iomgr/wakeup_fd_cv.c |
| 2229 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 2230 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 2231 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 2232 | src/core/lib/iomgr/wakeup_fd_posix.c |
| 2233 | src/core/lib/iomgr/workqueue_uv.c |
| 2234 | src/core/lib/iomgr/workqueue_windows.c |
| 2235 | src/core/lib/json/json.c |
| 2236 | src/core/lib/json/json_reader.c |
| 2237 | src/core/lib/json/json_string.c |
| 2238 | src/core/lib/json/json_writer.c |
| 2239 | src/core/lib/slice/percent_encoding.c |
| 2240 | src/core/lib/slice/slice.c |
| 2241 | src/core/lib/slice/slice_buffer.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2242 | src/core/lib/slice/slice_hash_table.c |
| 2243 | src/core/lib/slice/slice_intern.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2244 | src/core/lib/slice/slice_string_helpers.c |
| 2245 | src/core/lib/surface/alarm.c |
| 2246 | src/core/lib/surface/api_trace.c |
| 2247 | src/core/lib/surface/byte_buffer.c |
| 2248 | src/core/lib/surface/byte_buffer_reader.c |
| 2249 | src/core/lib/surface/call.c |
| 2250 | src/core/lib/surface/call_details.c |
| 2251 | src/core/lib/surface/call_log_batch.c |
| 2252 | src/core/lib/surface/channel.c |
| 2253 | src/core/lib/surface/channel_init.c |
| 2254 | src/core/lib/surface/channel_ping.c |
| 2255 | src/core/lib/surface/channel_stack_type.c |
| 2256 | src/core/lib/surface/completion_queue.c |
| 2257 | src/core/lib/surface/event_string.c |
| 2258 | src/core/lib/surface/lame_client.c |
| 2259 | src/core/lib/surface/metadata_array.c |
| 2260 | src/core/lib/surface/server.c |
| 2261 | src/core/lib/surface/validate_metadata.c |
| 2262 | src/core/lib/surface/version.c |
Craig Tiller | d425712 | 2017-01-13 09:33:57 -0800 | [diff] [blame] | 2263 | src/core/lib/transport/bdp_estimator.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2264 | src/core/lib/transport/byte_stream.c |
| 2265 | src/core/lib/transport/connectivity_state.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2266 | src/core/lib/transport/error_utils.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2267 | src/core/lib/transport/metadata.c |
| 2268 | src/core/lib/transport/metadata_batch.c |
| 2269 | src/core/lib/transport/pid_controller.c |
| 2270 | src/core/lib/transport/service_config.c |
| 2271 | src/core/lib/transport/static_metadata.c |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2272 | src/core/lib/transport/status_conversion.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2273 | src/core/lib/transport/timeout_encoding.c |
| 2274 | src/core/lib/transport/transport.c |
| 2275 | src/core/lib/transport/transport_op_string.c |
| 2276 | src/core/ext/transport/chttp2/alpn/alpn.c |
| 2277 | src/core/ext/client_channel/channel_connectivity.c |
| 2278 | src/core/ext/client_channel/client_channel.c |
| 2279 | src/core/ext/client_channel/client_channel_factory.c |
| 2280 | src/core/ext/client_channel/client_channel_plugin.c |
| 2281 | src/core/ext/client_channel/connector.c |
| 2282 | src/core/ext/client_channel/default_initial_connect_string.c |
| 2283 | src/core/ext/client_channel/http_connect_handshaker.c |
Mark D. Roth | d58a985 | 2017-01-18 08:28:57 -0800 | [diff] [blame] | 2284 | src/core/ext/client_channel/http_proxy.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2285 | src/core/ext/client_channel/initial_connect_string.c |
| 2286 | src/core/ext/client_channel/lb_policy.c |
| 2287 | src/core/ext/client_channel/lb_policy_factory.c |
| 2288 | src/core/ext/client_channel/lb_policy_registry.c |
| 2289 | src/core/ext/client_channel/parse_address.c |
Mark D. Roth | 79f2a24 | 2017-01-17 14:13:33 -0800 | [diff] [blame] | 2290 | src/core/ext/client_channel/proxy_mapper.c |
| 2291 | src/core/ext/client_channel/proxy_mapper_registry.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2292 | src/core/ext/client_channel/resolver.c |
| 2293 | src/core/ext/client_channel/resolver_factory.c |
| 2294 | src/core/ext/client_channel/resolver_registry.c |
| 2295 | src/core/ext/client_channel/subchannel.c |
| 2296 | src/core/ext/client_channel/subchannel_index.c |
| 2297 | src/core/ext/client_channel/uri_parser.c |
| 2298 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.c |
| 2299 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c |
Mark D. Roth | 7140382 | 2016-12-02 10:51:39 -0800 | [diff] [blame] | 2300 | src/core/ext/transport/chttp2/server/chttp2_server.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2301 | src/core/ext/census/base_resources.c |
| 2302 | src/core/ext/census/context.c |
| 2303 | src/core/ext/census/gen/census.pb.c |
| 2304 | src/core/ext/census/gen/trace_context.pb.c |
| 2305 | src/core/ext/census/grpc_context.c |
| 2306 | src/core/ext/census/grpc_filter.c |
| 2307 | src/core/ext/census/grpc_plugin.c |
| 2308 | src/core/ext/census/initialize.c |
| 2309 | src/core/ext/census/mlog.c |
| 2310 | src/core/ext/census/operation.c |
| 2311 | src/core/ext/census/placeholders.c |
| 2312 | src/core/ext/census/resource.c |
| 2313 | src/core/ext/census/trace_context.c |
| 2314 | src/core/ext/census/tracing.c |
| 2315 | third_party/nanopb/pb_common.c |
| 2316 | third_party/nanopb/pb_decode.c |
| 2317 | third_party/nanopb/pb_encode.c |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2318 | ) |
| 2319 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2320 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2321 | target_include_directories(grpc++_cronet |
| 2322 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2323 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 2324 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2325 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2326 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2327 | PRIVATE ${BENCHMARK}/include |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2328 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2329 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2330 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2331 | ) |
| 2332 | |
| 2333 | target_link_libraries(grpc++_cronet |
| 2334 | ${_gRPC_BASELIB_LIBRARIES} |
| 2335 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2336 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2337 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2338 | gpr |
| 2339 | grpc_cronet |
| 2340 | ) |
| 2341 | |
| 2342 | foreach(_hdr |
| 2343 | include/grpc++/alarm.h |
| 2344 | include/grpc++/channel.h |
| 2345 | include/grpc++/client_context.h |
| 2346 | include/grpc++/completion_queue.h |
| 2347 | include/grpc++/create_channel.h |
| 2348 | include/grpc++/create_channel_posix.h |
| 2349 | include/grpc++/generic/async_generic_service.h |
| 2350 | include/grpc++/generic/generic_stub.h |
| 2351 | include/grpc++/grpc++.h |
| 2352 | include/grpc++/impl/call.h |
| 2353 | include/grpc++/impl/client_unary_call.h |
| 2354 | include/grpc++/impl/codegen/core_codegen.h |
| 2355 | include/grpc++/impl/grpc_library.h |
| 2356 | include/grpc++/impl/method_handler_impl.h |
| 2357 | include/grpc++/impl/rpc_method.h |
| 2358 | include/grpc++/impl/rpc_service_method.h |
| 2359 | include/grpc++/impl/serialization_traits.h |
| 2360 | include/grpc++/impl/server_builder_option.h |
| 2361 | include/grpc++/impl/server_builder_plugin.h |
| 2362 | include/grpc++/impl/server_initializer.h |
| 2363 | include/grpc++/impl/service_type.h |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 2364 | include/grpc++/resource_quota.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2365 | include/grpc++/security/auth_context.h |
| 2366 | include/grpc++/security/auth_metadata_processor.h |
| 2367 | include/grpc++/security/credentials.h |
| 2368 | include/grpc++/security/server_credentials.h |
| 2369 | include/grpc++/server.h |
| 2370 | include/grpc++/server_builder.h |
| 2371 | include/grpc++/server_context.h |
| 2372 | include/grpc++/server_posix.h |
| 2373 | include/grpc++/support/async_stream.h |
| 2374 | include/grpc++/support/async_unary_call.h |
| 2375 | include/grpc++/support/byte_buffer.h |
| 2376 | include/grpc++/support/channel_arguments.h |
| 2377 | include/grpc++/support/config.h |
| 2378 | include/grpc++/support/slice.h |
| 2379 | include/grpc++/support/status.h |
| 2380 | include/grpc++/support/status_code_enum.h |
| 2381 | include/grpc++/support/string_ref.h |
| 2382 | include/grpc++/support/stub_options.h |
| 2383 | include/grpc++/support/sync_stream.h |
| 2384 | include/grpc++/support/time.h |
| 2385 | include/grpc++/impl/codegen/async_stream.h |
| 2386 | include/grpc++/impl/codegen/async_unary_call.h |
| 2387 | include/grpc++/impl/codegen/call.h |
| 2388 | include/grpc++/impl/codegen/call_hook.h |
| 2389 | include/grpc++/impl/codegen/channel_interface.h |
| 2390 | include/grpc++/impl/codegen/client_context.h |
| 2391 | include/grpc++/impl/codegen/client_unary_call.h |
| 2392 | include/grpc++/impl/codegen/completion_queue.h |
| 2393 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 2394 | include/grpc++/impl/codegen/config.h |
| 2395 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 2396 | include/grpc++/impl/codegen/create_auth_context.h |
| 2397 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 2398 | include/grpc++/impl/codegen/metadata_map.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2399 | include/grpc++/impl/codegen/method_handler_impl.h |
| 2400 | include/grpc++/impl/codegen/rpc_method.h |
| 2401 | include/grpc++/impl/codegen/rpc_service_method.h |
| 2402 | include/grpc++/impl/codegen/security/auth_context.h |
| 2403 | include/grpc++/impl/codegen/serialization_traits.h |
| 2404 | include/grpc++/impl/codegen/server_context.h |
| 2405 | include/grpc++/impl/codegen/server_interface.h |
| 2406 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2407 | include/grpc++/impl/codegen/slice.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2408 | include/grpc++/impl/codegen/status.h |
| 2409 | include/grpc++/impl/codegen/status_code_enum.h |
| 2410 | include/grpc++/impl/codegen/status_helper.h |
| 2411 | include/grpc++/impl/codegen/string_ref.h |
| 2412 | include/grpc++/impl/codegen/stub_options.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2413 | include/grpc++/impl/codegen/sync_stream.h |
| 2414 | include/grpc++/impl/codegen/time.h |
| 2415 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2416 | include/grpc/impl/codegen/compression_types.h |
| 2417 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 2418 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2419 | include/grpc/impl/codegen/grpc_types.h |
| 2420 | include/grpc/impl/codegen/propagation_bits.h |
| 2421 | include/grpc/impl/codegen/status.h |
| 2422 | include/grpc/impl/codegen/atm.h |
| 2423 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2424 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2425 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 2426 | include/grpc/impl/codegen/gpr_slice.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2427 | include/grpc/impl/codegen/gpr_types.h |
| 2428 | include/grpc/impl/codegen/port_platform.h |
| 2429 | include/grpc/impl/codegen/slice.h |
| 2430 | include/grpc/impl/codegen/sync.h |
| 2431 | include/grpc/impl/codegen/sync_generic.h |
| 2432 | include/grpc/impl/codegen/sync_posix.h |
| 2433 | include/grpc/impl/codegen/sync_windows.h |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 2434 | include/grpc/byte_buffer.h |
| 2435 | include/grpc/byte_buffer_reader.h |
| 2436 | include/grpc/compression.h |
| 2437 | include/grpc/grpc.h |
| 2438 | include/grpc/grpc_posix.h |
| 2439 | include/grpc/grpc_security_constants.h |
| 2440 | include/grpc/slice.h |
| 2441 | include/grpc/slice_buffer.h |
| 2442 | include/grpc/status.h |
| 2443 | include/grpc/census.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2444 | ) |
| 2445 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2446 | get_filename_component(_path ${_path} PATH) |
| 2447 | install(FILES ${_hdr} |
| 2448 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 2449 | ) |
| 2450 | endforeach() |
| 2451 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2452 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 2453 | if (gRPC_INSTALL) |
| 2454 | install(TARGETS grpc++_cronet EXPORT gRPCTargets |
| 2455 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 2456 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2457 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2458 | ) |
| 2459 | endif() |
| 2460 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2461 | if (gRPC_BUILD_TESTS) |
| 2462 | |
| 2463 | add_library(grpc++_proto_reflection_desc_db |
| 2464 | test/cpp/util/proto_reflection_descriptor_database.cc |
| 2465 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 2466 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 2467 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 2468 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 2469 | ) |
| 2470 | |
| 2471 | protobuf_generate_grpc_cpp( |
| 2472 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 2473 | ) |
| 2474 | |
| 2475 | target_include_directories(grpc++_proto_reflection_desc_db |
| 2476 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2477 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 2478 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2479 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2480 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2481 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2482 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 2483 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2484 | PRIVATE third_party/googletest/include |
| 2485 | PRIVATE third_party/googletest |
| 2486 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 2487 | ) |
| 2488 | |
| 2489 | target_link_libraries(grpc++_proto_reflection_desc_db |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2490 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2491 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2492 | grpc++ |
| 2493 | ) |
| 2494 | |
| 2495 | foreach(_hdr |
| 2496 | include/grpc++/impl/codegen/config_protobuf.h |
| 2497 | ) |
| 2498 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2499 | get_filename_component(_path ${_path} PATH) |
| 2500 | install(FILES ${_hdr} |
| 2501 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 2502 | ) |
| 2503 | endforeach() |
| 2504 | |
| 2505 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2506 | |
| 2507 | add_library(grpc++_reflection |
| 2508 | src/cpp/ext/proto_server_reflection.cc |
| 2509 | src/cpp/ext/proto_server_reflection_plugin.cc |
| 2510 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 2511 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 2512 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 2513 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 2514 | ) |
| 2515 | |
| 2516 | protobuf_generate_grpc_cpp( |
| 2517 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 2518 | ) |
| 2519 | |
| 2520 | target_include_directories(grpc++_reflection |
| 2521 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2522 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 2523 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2524 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2525 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2526 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2527 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2528 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2529 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 2530 | ) |
| 2531 | |
| 2532 | target_link_libraries(grpc++_reflection |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2533 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2534 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2535 | grpc++ |
| 2536 | ) |
| 2537 | |
| 2538 | foreach(_hdr |
| 2539 | include/grpc++/ext/proto_server_reflection_plugin.h |
| 2540 | ) |
| 2541 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2542 | get_filename_component(_path ${_path} PATH) |
| 2543 | install(FILES ${_hdr} |
| 2544 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 2545 | ) |
| 2546 | endforeach() |
| 2547 | |
| 2548 | |
| 2549 | if (gRPC_INSTALL) |
| 2550 | install(TARGETS grpc++_reflection EXPORT gRPCTargets |
| 2551 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 2552 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2553 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2554 | ) |
| 2555 | endif() |
| 2556 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2557 | if (gRPC_BUILD_TESTS) |
| 2558 | |
| 2559 | add_library(grpc++_test |
| 2560 | src/cpp/test/server_context_test_spouse.cc |
| 2561 | ) |
| 2562 | |
| 2563 | |
| 2564 | target_include_directories(grpc++_test |
| 2565 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2566 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 2567 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2568 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2569 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2570 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2571 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 2572 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2573 | PRIVATE third_party/googletest/include |
| 2574 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2575 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2576 | ) |
| 2577 | |
| 2578 | target_link_libraries(grpc++_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2579 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2580 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2581 | grpc++ |
| 2582 | ) |
| 2583 | |
| 2584 | |
| 2585 | endif (gRPC_BUILD_TESTS) |
| 2586 | if (gRPC_BUILD_TESTS) |
| 2587 | |
| 2588 | add_library(grpc++_test_config |
| 2589 | test/cpp/util/test_config_cc.cc |
| 2590 | ) |
| 2591 | |
| 2592 | |
| 2593 | target_include_directories(grpc++_test_config |
| 2594 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2595 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 2596 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2597 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2598 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2599 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2600 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 2601 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2602 | PRIVATE third_party/googletest/include |
| 2603 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2604 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2605 | ) |
| 2606 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2607 | target_link_libraries(grpc++_test_config |
| 2608 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2609 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 2610 | ) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2611 | |
| 2612 | |
| 2613 | endif (gRPC_BUILD_TESTS) |
| 2614 | if (gRPC_BUILD_TESTS) |
| 2615 | |
| 2616 | add_library(grpc++_test_util |
| 2617 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 2618 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 2619 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 2620 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.h |
| 2621 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 2622 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 2623 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 2624 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 2625 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc |
| 2626 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 2627 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.pb.h |
| 2628 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h |
| 2629 | test/cpp/end2end/test_service_impl.cc |
| 2630 | test/cpp/util/byte_buffer_proto_helper.cc |
| 2631 | test/cpp/util/create_test_channel.cc |
| 2632 | test/cpp/util/string_ref_helper.cc |
| 2633 | test/cpp/util/subprocess.cc |
| 2634 | test/cpp/util/test_credentials_provider.cc |
| 2635 | src/cpp/codegen/codegen_init.cc |
| 2636 | ) |
| 2637 | |
| 2638 | protobuf_generate_grpc_cpp( |
| 2639 | src/proto/grpc/testing/echo_messages.proto |
| 2640 | ) |
| 2641 | protobuf_generate_grpc_cpp( |
| 2642 | src/proto/grpc/testing/echo.proto |
| 2643 | ) |
| 2644 | protobuf_generate_grpc_cpp( |
| 2645 | src/proto/grpc/testing/duplicate/echo_duplicate.proto |
| 2646 | ) |
| 2647 | |
| 2648 | target_include_directories(grpc++_test_util |
| 2649 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2650 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 2651 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2652 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2653 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2654 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2655 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 2656 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2657 | PRIVATE third_party/googletest/include |
| 2658 | PRIVATE third_party/googletest |
| 2659 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 2660 | ) |
| 2661 | |
| 2662 | target_link_libraries(grpc++_test_util |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2663 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2664 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2665 | grpc++ |
| 2666 | grpc_test_util |
| 2667 | ) |
| 2668 | |
| 2669 | foreach(_hdr |
| 2670 | include/grpc++/impl/codegen/async_stream.h |
| 2671 | include/grpc++/impl/codegen/async_unary_call.h |
| 2672 | include/grpc++/impl/codegen/call.h |
| 2673 | include/grpc++/impl/codegen/call_hook.h |
| 2674 | include/grpc++/impl/codegen/channel_interface.h |
| 2675 | include/grpc++/impl/codegen/client_context.h |
| 2676 | include/grpc++/impl/codegen/client_unary_call.h |
| 2677 | include/grpc++/impl/codegen/completion_queue.h |
| 2678 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 2679 | include/grpc++/impl/codegen/config.h |
| 2680 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 2681 | include/grpc++/impl/codegen/create_auth_context.h |
| 2682 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 2683 | include/grpc++/impl/codegen/metadata_map.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2684 | include/grpc++/impl/codegen/method_handler_impl.h |
| 2685 | include/grpc++/impl/codegen/rpc_method.h |
| 2686 | include/grpc++/impl/codegen/rpc_service_method.h |
| 2687 | include/grpc++/impl/codegen/security/auth_context.h |
| 2688 | include/grpc++/impl/codegen/serialization_traits.h |
| 2689 | include/grpc++/impl/codegen/server_context.h |
| 2690 | include/grpc++/impl/codegen/server_interface.h |
| 2691 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2692 | include/grpc++/impl/codegen/slice.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2693 | include/grpc++/impl/codegen/status.h |
| 2694 | include/grpc++/impl/codegen/status_code_enum.h |
| 2695 | include/grpc++/impl/codegen/status_helper.h |
| 2696 | include/grpc++/impl/codegen/string_ref.h |
| 2697 | include/grpc++/impl/codegen/stub_options.h |
| 2698 | include/grpc++/impl/codegen/sync_stream.h |
| 2699 | include/grpc++/impl/codegen/time.h |
| 2700 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2701 | include/grpc/impl/codegen/compression_types.h |
| 2702 | include/grpc/impl/codegen/connectivity_state.h |
| 2703 | include/grpc/impl/codegen/exec_ctx_fwd.h |
| 2704 | include/grpc/impl/codegen/grpc_types.h |
| 2705 | include/grpc/impl/codegen/propagation_bits.h |
| 2706 | include/grpc/impl/codegen/status.h |
| 2707 | include/grpc/impl/codegen/atm.h |
| 2708 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2709 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2710 | include/grpc/impl/codegen/atm_windows.h |
| 2711 | include/grpc/impl/codegen/gpr_slice.h |
| 2712 | include/grpc/impl/codegen/gpr_types.h |
| 2713 | include/grpc/impl/codegen/port_platform.h |
| 2714 | include/grpc/impl/codegen/slice.h |
| 2715 | include/grpc/impl/codegen/sync.h |
| 2716 | include/grpc/impl/codegen/sync_generic.h |
| 2717 | include/grpc/impl/codegen/sync_posix.h |
| 2718 | include/grpc/impl/codegen/sync_windows.h |
| 2719 | include/grpc++/impl/codegen/proto_utils.h |
| 2720 | include/grpc++/impl/codegen/config_protobuf.h |
| 2721 | include/grpc++/impl/codegen/thrift_serializer.h |
| 2722 | include/grpc++/impl/codegen/thrift_utils.h |
| 2723 | ) |
| 2724 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2725 | get_filename_component(_path ${_path} PATH) |
| 2726 | install(FILES ${_hdr} |
| 2727 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 2728 | ) |
| 2729 | endforeach() |
| 2730 | |
| 2731 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2732 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2733 | add_library(grpc++_unsecure |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2734 | src/cpp/client/insecure_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2735 | src/cpp/common/insecure_create_auth_context.cc |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 2736 | src/cpp/server/insecure_server_credentials.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2737 | src/cpp/client/channel_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2738 | src/cpp/client/client_context.cc |
| 2739 | src/cpp/client/create_channel.cc |
| 2740 | src/cpp/client/create_channel_internal.cc |
| 2741 | src/cpp/client/create_channel_posix.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2742 | src/cpp/client/credentials_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2743 | src/cpp/client/generic_stub.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2744 | src/cpp/common/channel_arguments.cc |
Mark D. Roth | 4004ac2 | 2016-08-02 10:08:27 -0700 | [diff] [blame] | 2745 | src/cpp/common/channel_filter.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2746 | src/cpp/common/completion_queue_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2747 | src/cpp/common/core_codegen.cc |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2748 | src/cpp/common/resource_quota_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2749 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 2750 | src/cpp/common/version_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2751 | src/cpp/server/async_generic_service.cc |
| 2752 | src/cpp/server/create_default_thread_pool.cc |
| 2753 | src/cpp/server/dynamic_thread_pool.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2754 | src/cpp/server/server_builder.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2755 | src/cpp/server/server_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2756 | src/cpp/server/server_context.cc |
| 2757 | src/cpp/server/server_credentials.cc |
| 2758 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 8f7739b | 2016-10-13 15:12:55 -0700 | [diff] [blame] | 2759 | src/cpp/thread_manager/thread_manager.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2760 | src/cpp/util/byte_buffer_cc.cc |
| 2761 | src/cpp/util/slice_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2762 | src/cpp/util/status.cc |
| 2763 | src/cpp/util/string_ref.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 2764 | src/cpp/util/time_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2765 | src/cpp/codegen/codegen_init.cc |
| 2766 | ) |
| 2767 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2768 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2769 | target_include_directories(grpc++_unsecure |
| 2770 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2771 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 2772 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2773 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2774 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2775 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2776 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2777 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2778 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2779 | ) |
| 2780 | |
| 2781 | target_link_libraries(grpc++_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2782 | ${_gRPC_BASELIB_LIBRARIES} |
| 2783 | ${_gRPC_PROTOBUF_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2784 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2785 | gpr |
| 2786 | grpc_unsecure |
| 2787 | ) |
| 2788 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2789 | foreach(_hdr |
| 2790 | include/grpc++/alarm.h |
| 2791 | include/grpc++/channel.h |
| 2792 | include/grpc++/client_context.h |
| 2793 | include/grpc++/completion_queue.h |
| 2794 | include/grpc++/create_channel.h |
| 2795 | include/grpc++/create_channel_posix.h |
| 2796 | include/grpc++/generic/async_generic_service.h |
| 2797 | include/grpc++/generic/generic_stub.h |
| 2798 | include/grpc++/grpc++.h |
| 2799 | include/grpc++/impl/call.h |
| 2800 | include/grpc++/impl/client_unary_call.h |
| 2801 | include/grpc++/impl/codegen/core_codegen.h |
| 2802 | include/grpc++/impl/grpc_library.h |
| 2803 | include/grpc++/impl/method_handler_impl.h |
| 2804 | include/grpc++/impl/rpc_method.h |
| 2805 | include/grpc++/impl/rpc_service_method.h |
| 2806 | include/grpc++/impl/serialization_traits.h |
| 2807 | include/grpc++/impl/server_builder_option.h |
| 2808 | include/grpc++/impl/server_builder_plugin.h |
| 2809 | include/grpc++/impl/server_initializer.h |
| 2810 | include/grpc++/impl/service_type.h |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 2811 | include/grpc++/resource_quota.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2812 | include/grpc++/security/auth_context.h |
| 2813 | include/grpc++/security/auth_metadata_processor.h |
| 2814 | include/grpc++/security/credentials.h |
| 2815 | include/grpc++/security/server_credentials.h |
| 2816 | include/grpc++/server.h |
| 2817 | include/grpc++/server_builder.h |
| 2818 | include/grpc++/server_context.h |
| 2819 | include/grpc++/server_posix.h |
| 2820 | include/grpc++/support/async_stream.h |
| 2821 | include/grpc++/support/async_unary_call.h |
| 2822 | include/grpc++/support/byte_buffer.h |
| 2823 | include/grpc++/support/channel_arguments.h |
| 2824 | include/grpc++/support/config.h |
| 2825 | include/grpc++/support/slice.h |
| 2826 | include/grpc++/support/status.h |
| 2827 | include/grpc++/support/status_code_enum.h |
| 2828 | include/grpc++/support/string_ref.h |
| 2829 | include/grpc++/support/stub_options.h |
| 2830 | include/grpc++/support/sync_stream.h |
| 2831 | include/grpc++/support/time.h |
| 2832 | include/grpc++/impl/codegen/async_stream.h |
| 2833 | include/grpc++/impl/codegen/async_unary_call.h |
| 2834 | include/grpc++/impl/codegen/call.h |
| 2835 | include/grpc++/impl/codegen/call_hook.h |
| 2836 | include/grpc++/impl/codegen/channel_interface.h |
| 2837 | include/grpc++/impl/codegen/client_context.h |
| 2838 | include/grpc++/impl/codegen/client_unary_call.h |
| 2839 | include/grpc++/impl/codegen/completion_queue.h |
| 2840 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 2841 | include/grpc++/impl/codegen/config.h |
| 2842 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 2843 | include/grpc++/impl/codegen/create_auth_context.h |
| 2844 | include/grpc++/impl/codegen/grpc_library.h |
yang-g | 988b47c | 2017-01-31 09:51:45 -0800 | [diff] [blame] | 2845 | include/grpc++/impl/codegen/metadata_map.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2846 | include/grpc++/impl/codegen/method_handler_impl.h |
| 2847 | include/grpc++/impl/codegen/rpc_method.h |
| 2848 | include/grpc++/impl/codegen/rpc_service_method.h |
| 2849 | include/grpc++/impl/codegen/security/auth_context.h |
| 2850 | include/grpc++/impl/codegen/serialization_traits.h |
| 2851 | include/grpc++/impl/codegen/server_context.h |
| 2852 | include/grpc++/impl/codegen/server_interface.h |
| 2853 | include/grpc++/impl/codegen/service_type.h |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 2854 | include/grpc++/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2855 | include/grpc++/impl/codegen/status.h |
| 2856 | include/grpc++/impl/codegen/status_code_enum.h |
yang-g | d558149 | 2016-09-06 14:05:53 -0700 | [diff] [blame] | 2857 | include/grpc++/impl/codegen/status_helper.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2858 | include/grpc++/impl/codegen/string_ref.h |
| 2859 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2860 | include/grpc++/impl/codegen/sync_stream.h |
| 2861 | include/grpc++/impl/codegen/time.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 2862 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 2863 | include/grpc/impl/codegen/compression_types.h |
| 2864 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 2865 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 2866 | include/grpc/impl/codegen/grpc_types.h |
| 2867 | include/grpc/impl/codegen/propagation_bits.h |
| 2868 | include/grpc/impl/codegen/status.h |
| 2869 | include/grpc/impl/codegen/atm.h |
| 2870 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 2871 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 2872 | include/grpc/impl/codegen/atm_windows.h |
Mark D. Roth | 4d2ea02 | 2016-12-12 07:12:27 -0800 | [diff] [blame] | 2873 | include/grpc/impl/codegen/gpr_slice.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 2874 | include/grpc/impl/codegen/gpr_types.h |
| 2875 | include/grpc/impl/codegen/port_platform.h |
| 2876 | include/grpc/impl/codegen/slice.h |
| 2877 | include/grpc/impl/codegen/sync.h |
| 2878 | include/grpc/impl/codegen/sync_generic.h |
| 2879 | include/grpc/impl/codegen/sync_posix.h |
| 2880 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2881 | ) |
| 2882 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2883 | get_filename_component(_path ${_path} PATH) |
| 2884 | install(FILES ${_hdr} |
| 2885 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 2886 | ) |
| 2887 | endforeach() |
| 2888 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2889 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2890 | if (gRPC_INSTALL) |
| 2891 | install(TARGETS grpc++_unsecure EXPORT gRPCTargets |
| 2892 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 2893 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2894 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2895 | ) |
| 2896 | endif() |
| 2897 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2898 | if (gRPC_BUILD_TESTS) |
| 2899 | |
| 2900 | add_library(grpc_cli_libs |
| 2901 | test/cpp/util/cli_call.cc |
| 2902 | test/cpp/util/cli_credentials.cc |
| 2903 | test/cpp/util/grpc_tool.cc |
| 2904 | test/cpp/util/proto_file_parser.cc |
| 2905 | test/cpp/util/service_describer.cc |
| 2906 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.cc |
| 2907 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc |
| 2908 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h |
| 2909 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h |
| 2910 | ) |
| 2911 | |
| 2912 | protobuf_generate_grpc_cpp( |
| 2913 | src/proto/grpc/reflection/v1alpha/reflection.proto |
| 2914 | ) |
| 2915 | |
| 2916 | target_include_directories(grpc_cli_libs |
| 2917 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2918 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 2919 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2920 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2921 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2922 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2923 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 2924 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 2925 | PRIVATE third_party/googletest/include |
| 2926 | PRIVATE third_party/googletest |
| 2927 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 2928 | ) |
| 2929 | |
| 2930 | target_link_libraries(grpc_cli_libs |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2931 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2932 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2933 | grpc++_proto_reflection_desc_db |
| 2934 | grpc++ |
| 2935 | ) |
| 2936 | |
| 2937 | foreach(_hdr |
| 2938 | include/grpc++/impl/codegen/config_protobuf.h |
| 2939 | ) |
| 2940 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2941 | get_filename_component(_path ${_path} PATH) |
| 2942 | install(FILES ${_hdr} |
| 2943 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 2944 | ) |
| 2945 | endforeach() |
| 2946 | |
| 2947 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2948 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2949 | add_library(grpc_plugin_support |
| 2950 | src/compiler/cpp_generator.cc |
| 2951 | src/compiler/csharp_generator.cc |
| 2952 | src/compiler/node_generator.cc |
| 2953 | src/compiler/objective_c_generator.cc |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 2954 | src/compiler/php_generator.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2955 | src/compiler/python_generator.cc |
| 2956 | src/compiler/ruby_generator.cc |
| 2957 | ) |
| 2958 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2959 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2960 | target_include_directories(grpc_plugin_support |
| 2961 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2962 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 2963 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2964 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2965 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2966 | PRIVATE ${BENCHMARK}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2967 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2968 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2969 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2970 | ) |
| 2971 | |
| 2972 | target_link_libraries(grpc_plugin_support |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2973 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 2974 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 2975 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2976 | ) |
| 2977 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2978 | foreach(_hdr |
| 2979 | include/grpc++/impl/codegen/config_protobuf.h |
| 2980 | ) |
| 2981 | string(REPLACE "include/" "" _path ${_hdr}) |
| 2982 | get_filename_component(_path ${_path} PATH) |
| 2983 | install(FILES ${_hdr} |
| 2984 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 2985 | ) |
| 2986 | endforeach() |
| 2987 | |
Jan Tattermusch | 54492aa | 2017-01-17 11:53:33 +0100 | [diff] [blame] | 2988 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2989 | if (gRPC_INSTALL) |
| 2990 | install(TARGETS grpc_plugin_support EXPORT gRPCTargets |
| 2991 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 2992 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2993 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2994 | ) |
| 2995 | endif() |
| 2996 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2997 | if (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2998 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 2999 | add_library(http2_client_main |
| 3000 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 3001 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 3002 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 3003 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 3004 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 3005 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 3006 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 3007 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 3008 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 3009 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 3010 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 3011 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 3012 | test/cpp/interop/http2_client.cc |
| 3013 | ) |
| 3014 | |
| 3015 | protobuf_generate_grpc_cpp( |
| 3016 | src/proto/grpc/testing/empty.proto |
| 3017 | ) |
| 3018 | protobuf_generate_grpc_cpp( |
| 3019 | src/proto/grpc/testing/messages.proto |
| 3020 | ) |
| 3021 | protobuf_generate_grpc_cpp( |
| 3022 | src/proto/grpc/testing/test.proto |
| 3023 | ) |
| 3024 | |
| 3025 | target_include_directories(http2_client_main |
| 3026 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3027 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3028 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3029 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3030 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3031 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3032 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3033 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3034 | PRIVATE third_party/googletest/include |
| 3035 | PRIVATE third_party/googletest |
| 3036 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3037 | ) |
| 3038 | |
| 3039 | target_link_libraries(http2_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3040 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3041 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3042 | grpc++_test_util |
| 3043 | grpc_test_util |
| 3044 | grpc++ |
| 3045 | grpc |
| 3046 | grpc++_test_config |
| 3047 | ) |
| 3048 | |
| 3049 | |
| 3050 | endif (gRPC_BUILD_TESTS) |
| 3051 | if (gRPC_BUILD_TESTS) |
| 3052 | |
| 3053 | add_library(interop_client_helper |
| 3054 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 3055 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 3056 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 3057 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 3058 | test/cpp/interop/client_helper.cc |
| 3059 | ) |
| 3060 | |
| 3061 | protobuf_generate_grpc_cpp( |
| 3062 | src/proto/grpc/testing/messages.proto |
| 3063 | ) |
| 3064 | |
| 3065 | target_include_directories(interop_client_helper |
| 3066 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3067 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3068 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3069 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3070 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3071 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3072 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3073 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3074 | PRIVATE third_party/googletest/include |
| 3075 | PRIVATE third_party/googletest |
| 3076 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3077 | ) |
| 3078 | |
| 3079 | target_link_libraries(interop_client_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3080 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3081 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3082 | grpc++_test_util |
| 3083 | grpc_test_util |
| 3084 | grpc++ |
| 3085 | grpc |
| 3086 | gpr |
| 3087 | ) |
| 3088 | |
| 3089 | |
| 3090 | endif (gRPC_BUILD_TESTS) |
| 3091 | if (gRPC_BUILD_TESTS) |
| 3092 | |
| 3093 | add_library(interop_client_main |
| 3094 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 3095 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 3096 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 3097 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 3098 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 3099 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 3100 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 3101 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 3102 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 3103 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 3104 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 3105 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 3106 | test/cpp/interop/client.cc |
| 3107 | test/cpp/interop/interop_client.cc |
| 3108 | ) |
| 3109 | |
| 3110 | protobuf_generate_grpc_cpp( |
| 3111 | src/proto/grpc/testing/empty.proto |
| 3112 | ) |
| 3113 | protobuf_generate_grpc_cpp( |
| 3114 | src/proto/grpc/testing/messages.proto |
| 3115 | ) |
| 3116 | protobuf_generate_grpc_cpp( |
| 3117 | src/proto/grpc/testing/test.proto |
| 3118 | ) |
| 3119 | |
| 3120 | target_include_directories(interop_client_main |
| 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 |
| 3128 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3129 | PRIVATE third_party/googletest/include |
| 3130 | PRIVATE third_party/googletest |
| 3131 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3132 | ) |
| 3133 | |
| 3134 | target_link_libraries(interop_client_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3135 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3136 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3137 | interop_client_helper |
| 3138 | grpc++_test_util |
| 3139 | grpc_test_util |
| 3140 | grpc++ |
| 3141 | grpc |
| 3142 | gpr_test_util |
| 3143 | gpr |
| 3144 | grpc++_test_config |
| 3145 | ) |
| 3146 | |
| 3147 | |
| 3148 | endif (gRPC_BUILD_TESTS) |
| 3149 | if (gRPC_BUILD_TESTS) |
| 3150 | |
| 3151 | add_library(interop_server_helper |
| 3152 | test/cpp/interop/server_helper.cc |
| 3153 | ) |
| 3154 | |
| 3155 | |
| 3156 | target_include_directories(interop_server_helper |
| 3157 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3158 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3159 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3160 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3161 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3162 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3163 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3164 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3165 | PRIVATE third_party/googletest/include |
| 3166 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3167 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3168 | ) |
| 3169 | |
| 3170 | target_link_libraries(interop_server_helper |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3171 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3172 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3173 | grpc++_test_util |
| 3174 | grpc_test_util |
| 3175 | grpc++ |
| 3176 | grpc |
| 3177 | gpr |
| 3178 | ) |
| 3179 | |
| 3180 | |
| 3181 | endif (gRPC_BUILD_TESTS) |
| 3182 | if (gRPC_BUILD_TESTS) |
| 3183 | |
| 3184 | add_library(interop_server_lib |
| 3185 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 3186 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 3187 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 3188 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 3189 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 3190 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 3191 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 3192 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 3193 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 3194 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 3195 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 3196 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
| 3197 | test/cpp/interop/interop_server.cc |
| 3198 | ) |
| 3199 | |
| 3200 | protobuf_generate_grpc_cpp( |
| 3201 | src/proto/grpc/testing/empty.proto |
| 3202 | ) |
| 3203 | protobuf_generate_grpc_cpp( |
| 3204 | src/proto/grpc/testing/messages.proto |
| 3205 | ) |
| 3206 | protobuf_generate_grpc_cpp( |
| 3207 | src/proto/grpc/testing/test.proto |
| 3208 | ) |
| 3209 | |
| 3210 | target_include_directories(interop_server_lib |
| 3211 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3212 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3213 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3214 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3215 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3216 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3217 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3218 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3219 | PRIVATE third_party/googletest/include |
| 3220 | PRIVATE third_party/googletest |
| 3221 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3222 | ) |
| 3223 | |
| 3224 | target_link_libraries(interop_server_lib |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3225 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3226 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3227 | interop_server_helper |
| 3228 | grpc++_test_util |
| 3229 | grpc_test_util |
| 3230 | grpc++ |
| 3231 | grpc |
| 3232 | gpr_test_util |
| 3233 | gpr |
| 3234 | grpc++_test_config |
| 3235 | ) |
| 3236 | |
| 3237 | |
| 3238 | endif (gRPC_BUILD_TESTS) |
| 3239 | if (gRPC_BUILD_TESTS) |
| 3240 | |
| 3241 | add_library(interop_server_main |
| 3242 | test/cpp/interop/interop_server_bootstrap.cc |
| 3243 | ) |
| 3244 | |
| 3245 | |
| 3246 | target_include_directories(interop_server_main |
| 3247 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3248 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3249 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3250 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3251 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3252 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3253 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3254 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3255 | PRIVATE third_party/googletest/include |
| 3256 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3257 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3258 | ) |
| 3259 | |
| 3260 | target_link_libraries(interop_server_main |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3261 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3262 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3263 | interop_server_lib |
| 3264 | ) |
| 3265 | |
| 3266 | |
| 3267 | endif (gRPC_BUILD_TESTS) |
| 3268 | if (gRPC_BUILD_TESTS) |
| 3269 | |
| 3270 | add_library(qps |
| 3271 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 3272 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 3273 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 3274 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 3275 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 3276 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 3277 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 3278 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 3279 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 3280 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 3281 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 3282 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
| 3283 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 3284 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 3285 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 3286 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 3287 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 3288 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 3289 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 3290 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
| 3291 | test/cpp/qps/client_async.cc |
| 3292 | test/cpp/qps/client_sync.cc |
| 3293 | test/cpp/qps/driver.cc |
| 3294 | test/cpp/qps/parse_json.cc |
| 3295 | test/cpp/qps/qps_worker.cc |
| 3296 | test/cpp/qps/report.cc |
| 3297 | test/cpp/qps/server_async.cc |
| 3298 | test/cpp/qps/server_sync.cc |
| 3299 | test/cpp/qps/usage_timer.cc |
| 3300 | test/cpp/util/benchmark_config.cc |
| 3301 | ) |
| 3302 | |
| 3303 | protobuf_generate_grpc_cpp( |
| 3304 | src/proto/grpc/testing/messages.proto |
| 3305 | ) |
| 3306 | protobuf_generate_grpc_cpp( |
| 3307 | src/proto/grpc/testing/payloads.proto |
| 3308 | ) |
| 3309 | protobuf_generate_grpc_cpp( |
| 3310 | src/proto/grpc/testing/stats.proto |
| 3311 | ) |
| 3312 | protobuf_generate_grpc_cpp( |
| 3313 | src/proto/grpc/testing/control.proto |
| 3314 | ) |
| 3315 | protobuf_generate_grpc_cpp( |
| 3316 | src/proto/grpc/testing/services.proto |
| 3317 | ) |
| 3318 | |
| 3319 | target_include_directories(qps |
| 3320 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3321 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3322 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3323 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3324 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3325 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3326 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3327 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3328 | PRIVATE third_party/googletest/include |
| 3329 | PRIVATE third_party/googletest |
| 3330 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 3331 | ) |
| 3332 | |
| 3333 | target_link_libraries(qps |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3334 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 3335 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3336 | grpc_test_util |
| 3337 | grpc++_test_util |
| 3338 | grpc++ |
| 3339 | ) |
| 3340 | |
| 3341 | |
| 3342 | endif (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3343 | |
Jan Tattermusch | c09656c | 2017-01-27 13:36:24 +0100 | [diff] [blame] | 3344 | add_library(grpc_csharp_ext SHARED |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3345 | src/csharp/ext/grpc_csharp_ext.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3346 | ) |
| 3347 | |
| 3348 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3349 | target_include_directories(grpc_csharp_ext |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3350 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3351 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3352 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3353 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3354 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3355 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3356 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3357 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3358 | ) |
| 3359 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3360 | target_link_libraries(grpc_csharp_ext |
| 3361 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 3362 | grpc |
| 3363 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3364 | ) |
| 3365 | |
| 3366 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3367 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3368 | if (gRPC_INSTALL) |
| 3369 | install(TARGETS grpc_csharp_ext EXPORT gRPCTargets |
| 3370 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 3371 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 3372 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 3373 | ) |
| 3374 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3375 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3376 | if (gRPC_BUILD_TESTS) |
| 3377 | |
| 3378 | add_library(bad_client_test |
| 3379 | test/core/bad_client/bad_client.c |
| 3380 | ) |
| 3381 | |
| 3382 | |
| 3383 | target_include_directories(bad_client_test |
| 3384 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3385 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3386 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3387 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3388 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3389 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3390 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3391 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3392 | ) |
| 3393 | |
| 3394 | target_link_libraries(bad_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3395 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3396 | grpc_test_util_unsecure |
| 3397 | grpc_unsecure |
| 3398 | gpr_test_util |
| 3399 | gpr |
| 3400 | ) |
| 3401 | |
| 3402 | |
| 3403 | endif (gRPC_BUILD_TESTS) |
| 3404 | if (gRPC_BUILD_TESTS) |
| 3405 | |
| 3406 | add_library(bad_ssl_test_server |
| 3407 | test/core/bad_ssl/server_common.c |
| 3408 | ) |
| 3409 | |
| 3410 | |
| 3411 | target_include_directories(bad_ssl_test_server |
| 3412 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3413 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3414 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3415 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3416 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3417 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3418 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3419 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3420 | ) |
| 3421 | |
| 3422 | target_link_libraries(bad_ssl_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3423 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3424 | grpc_test_util |
| 3425 | grpc |
| 3426 | gpr_test_util |
| 3427 | gpr |
| 3428 | ) |
| 3429 | |
| 3430 | |
| 3431 | endif (gRPC_BUILD_TESTS) |
| 3432 | if (gRPC_BUILD_TESTS) |
| 3433 | |
| 3434 | add_library(end2end_tests |
| 3435 | test/core/end2end/end2end_tests.c |
| 3436 | test/core/end2end/end2end_test_utils.c |
| 3437 | test/core/end2end/tests/authority_not_supported.c |
| 3438 | test/core/end2end/tests/bad_hostname.c |
| 3439 | test/core/end2end/tests/binary_metadata.c |
| 3440 | test/core/end2end/tests/call_creds.c |
| 3441 | test/core/end2end/tests/cancel_after_accept.c |
| 3442 | test/core/end2end/tests/cancel_after_client_done.c |
| 3443 | test/core/end2end/tests/cancel_after_invoke.c |
| 3444 | test/core/end2end/tests/cancel_before_invoke.c |
| 3445 | test/core/end2end/tests/cancel_in_a_vacuum.c |
| 3446 | test/core/end2end/tests/cancel_with_status.c |
| 3447 | test/core/end2end/tests/compressed_payload.c |
| 3448 | test/core/end2end/tests/connectivity.c |
| 3449 | test/core/end2end/tests/default_host.c |
| 3450 | test/core/end2end/tests/disappearing_server.c |
| 3451 | test/core/end2end/tests/empty_batch.c |
| 3452 | test/core/end2end/tests/filter_call_init_fails.c |
| 3453 | test/core/end2end/tests/filter_causes_close.c |
| 3454 | test/core/end2end/tests/filter_latency.c |
| 3455 | test/core/end2end/tests/graceful_server_shutdown.c |
| 3456 | test/core/end2end/tests/high_initial_seqno.c |
| 3457 | test/core/end2end/tests/hpack_size.c |
| 3458 | test/core/end2end/tests/idempotent_request.c |
| 3459 | test/core/end2end/tests/invoke_large_request.c |
| 3460 | test/core/end2end/tests/large_metadata.c |
| 3461 | test/core/end2end/tests/load_reporting_hook.c |
| 3462 | test/core/end2end/tests/max_concurrent_streams.c |
| 3463 | test/core/end2end/tests/max_message_length.c |
| 3464 | test/core/end2end/tests/negative_deadline.c |
| 3465 | test/core/end2end/tests/network_status_change.c |
| 3466 | test/core/end2end/tests/no_logging.c |
| 3467 | test/core/end2end/tests/no_op.c |
| 3468 | test/core/end2end/tests/payload.c |
| 3469 | test/core/end2end/tests/ping.c |
| 3470 | test/core/end2end/tests/ping_pong_streaming.c |
| 3471 | test/core/end2end/tests/registered_call.c |
| 3472 | test/core/end2end/tests/request_with_flags.c |
| 3473 | test/core/end2end/tests/request_with_payload.c |
| 3474 | test/core/end2end/tests/resource_quota_server.c |
| 3475 | test/core/end2end/tests/server_finishes_request.c |
| 3476 | test/core/end2end/tests/shutdown_finishes_calls.c |
| 3477 | test/core/end2end/tests/shutdown_finishes_tags.c |
| 3478 | test/core/end2end/tests/simple_cacheable_request.c |
| 3479 | test/core/end2end/tests/simple_delayed_request.c |
| 3480 | test/core/end2end/tests/simple_metadata.c |
| 3481 | test/core/end2end/tests/simple_request.c |
| 3482 | test/core/end2end/tests/streaming_error_response.c |
| 3483 | test/core/end2end/tests/trailing_metadata.c |
| 3484 | test/core/end2end/tests/write_buffering.c |
| 3485 | test/core/end2end/tests/write_buffering_at_end.c |
| 3486 | ) |
| 3487 | |
| 3488 | |
| 3489 | target_include_directories(end2end_tests |
| 3490 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3491 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3492 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3493 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3494 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3495 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3496 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3497 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3498 | ) |
| 3499 | |
| 3500 | target_link_libraries(end2end_tests |
| 3501 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3502 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3503 | grpc_test_util |
| 3504 | grpc |
| 3505 | gpr_test_util |
| 3506 | gpr |
| 3507 | ) |
| 3508 | |
| 3509 | |
| 3510 | endif (gRPC_BUILD_TESTS) |
| 3511 | if (gRPC_BUILD_TESTS) |
| 3512 | |
| 3513 | add_library(end2end_nosec_tests |
| 3514 | test/core/end2end/end2end_nosec_tests.c |
| 3515 | test/core/end2end/end2end_test_utils.c |
| 3516 | test/core/end2end/tests/authority_not_supported.c |
| 3517 | test/core/end2end/tests/bad_hostname.c |
| 3518 | test/core/end2end/tests/binary_metadata.c |
| 3519 | test/core/end2end/tests/cancel_after_accept.c |
| 3520 | test/core/end2end/tests/cancel_after_client_done.c |
| 3521 | test/core/end2end/tests/cancel_after_invoke.c |
| 3522 | test/core/end2end/tests/cancel_before_invoke.c |
| 3523 | test/core/end2end/tests/cancel_in_a_vacuum.c |
| 3524 | test/core/end2end/tests/cancel_with_status.c |
| 3525 | test/core/end2end/tests/compressed_payload.c |
| 3526 | test/core/end2end/tests/connectivity.c |
| 3527 | test/core/end2end/tests/default_host.c |
| 3528 | test/core/end2end/tests/disappearing_server.c |
| 3529 | test/core/end2end/tests/empty_batch.c |
| 3530 | test/core/end2end/tests/filter_call_init_fails.c |
| 3531 | test/core/end2end/tests/filter_causes_close.c |
| 3532 | test/core/end2end/tests/filter_latency.c |
| 3533 | test/core/end2end/tests/graceful_server_shutdown.c |
| 3534 | test/core/end2end/tests/high_initial_seqno.c |
| 3535 | test/core/end2end/tests/hpack_size.c |
| 3536 | test/core/end2end/tests/idempotent_request.c |
| 3537 | test/core/end2end/tests/invoke_large_request.c |
| 3538 | test/core/end2end/tests/large_metadata.c |
| 3539 | test/core/end2end/tests/load_reporting_hook.c |
| 3540 | test/core/end2end/tests/max_concurrent_streams.c |
| 3541 | test/core/end2end/tests/max_message_length.c |
| 3542 | test/core/end2end/tests/negative_deadline.c |
| 3543 | test/core/end2end/tests/network_status_change.c |
| 3544 | test/core/end2end/tests/no_logging.c |
| 3545 | test/core/end2end/tests/no_op.c |
| 3546 | test/core/end2end/tests/payload.c |
| 3547 | test/core/end2end/tests/ping.c |
| 3548 | test/core/end2end/tests/ping_pong_streaming.c |
| 3549 | test/core/end2end/tests/registered_call.c |
| 3550 | test/core/end2end/tests/request_with_flags.c |
| 3551 | test/core/end2end/tests/request_with_payload.c |
| 3552 | test/core/end2end/tests/resource_quota_server.c |
| 3553 | test/core/end2end/tests/server_finishes_request.c |
| 3554 | test/core/end2end/tests/shutdown_finishes_calls.c |
| 3555 | test/core/end2end/tests/shutdown_finishes_tags.c |
| 3556 | test/core/end2end/tests/simple_cacheable_request.c |
| 3557 | test/core/end2end/tests/simple_delayed_request.c |
| 3558 | test/core/end2end/tests/simple_metadata.c |
| 3559 | test/core/end2end/tests/simple_request.c |
| 3560 | test/core/end2end/tests/streaming_error_response.c |
| 3561 | test/core/end2end/tests/trailing_metadata.c |
| 3562 | test/core/end2end/tests/write_buffering.c |
| 3563 | test/core/end2end/tests/write_buffering_at_end.c |
| 3564 | ) |
| 3565 | |
| 3566 | |
| 3567 | target_include_directories(end2end_nosec_tests |
| 3568 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3569 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3570 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3571 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 3572 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3573 | PRIVATE ${BENCHMARK}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3574 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3575 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3576 | ) |
| 3577 | |
| 3578 | target_link_libraries(end2end_nosec_tests |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3579 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3580 | grpc_test_util_unsecure |
| 3581 | grpc_unsecure |
| 3582 | gpr_test_util |
| 3583 | gpr |
| 3584 | ) |
| 3585 | |
| 3586 | |
| 3587 | endif (gRPC_BUILD_TESTS) |
| 3588 | |
| 3589 | if (gRPC_BUILD_TESTS) |
| 3590 | |
| 3591 | add_executable(alarm_test |
| 3592 | test/core/surface/alarm_test.c |
| 3593 | ) |
| 3594 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3595 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3596 | target_include_directories(alarm_test |
| 3597 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3598 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3599 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3600 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3601 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3602 | PRIVATE ${ZLIB_ROOT_DIR} |
| 3603 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3604 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3605 | ) |
| 3606 | |
| 3607 | target_link_libraries(alarm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3608 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3609 | grpc_test_util |
| 3610 | grpc |
| 3611 | gpr_test_util |
| 3612 | gpr |
| 3613 | ) |
| 3614 | |
| 3615 | endif (gRPC_BUILD_TESTS) |
| 3616 | if (gRPC_BUILD_TESTS) |
| 3617 | |
| 3618 | add_executable(algorithm_test |
| 3619 | test/core/compression/algorithm_test.c |
| 3620 | ) |
| 3621 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3622 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3623 | target_include_directories(algorithm_test |
| 3624 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3625 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3626 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3627 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3628 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3629 | PRIVATE ${ZLIB_ROOT_DIR} |
| 3630 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3631 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3632 | ) |
| 3633 | |
| 3634 | target_link_libraries(algorithm_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3635 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3636 | grpc_test_util |
| 3637 | grpc |
| 3638 | gpr_test_util |
| 3639 | gpr |
| 3640 | ) |
| 3641 | |
| 3642 | endif (gRPC_BUILD_TESTS) |
| 3643 | if (gRPC_BUILD_TESTS) |
| 3644 | |
| 3645 | add_executable(alloc_test |
| 3646 | test/core/support/alloc_test.c |
| 3647 | ) |
| 3648 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3649 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3650 | target_include_directories(alloc_test |
| 3651 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3652 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3653 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3654 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3655 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3656 | PRIVATE ${ZLIB_ROOT_DIR} |
| 3657 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3658 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3659 | ) |
| 3660 | |
| 3661 | target_link_libraries(alloc_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3662 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3663 | gpr_test_util |
| 3664 | gpr |
| 3665 | ) |
| 3666 | |
| 3667 | endif (gRPC_BUILD_TESTS) |
| 3668 | if (gRPC_BUILD_TESTS) |
| 3669 | |
| 3670 | add_executable(alpn_test |
| 3671 | test/core/transport/chttp2/alpn_test.c |
| 3672 | ) |
| 3673 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3674 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3675 | target_include_directories(alpn_test |
| 3676 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3677 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3678 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3679 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3680 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3681 | PRIVATE ${ZLIB_ROOT_DIR} |
| 3682 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3683 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3684 | ) |
| 3685 | |
| 3686 | target_link_libraries(alpn_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3687 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3688 | grpc_test_util |
| 3689 | grpc |
| 3690 | gpr_test_util |
| 3691 | gpr |
| 3692 | ) |
| 3693 | |
| 3694 | endif (gRPC_BUILD_TESTS) |
| 3695 | if (gRPC_BUILD_TESTS) |
| 3696 | |
| 3697 | add_executable(bad_server_response_test |
| 3698 | test/core/end2end/bad_server_response_test.c |
| 3699 | ) |
| 3700 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3701 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3702 | target_include_directories(bad_server_response_test |
| 3703 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3704 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3705 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3706 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3707 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3708 | PRIVATE ${ZLIB_ROOT_DIR} |
| 3709 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3710 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3711 | ) |
| 3712 | |
| 3713 | target_link_libraries(bad_server_response_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3714 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3715 | test_tcp_server |
| 3716 | grpc_test_util |
| 3717 | grpc |
| 3718 | gpr_test_util |
| 3719 | gpr |
| 3720 | ) |
| 3721 | |
| 3722 | endif (gRPC_BUILD_TESTS) |
| 3723 | if (gRPC_BUILD_TESTS) |
| 3724 | |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 3725 | add_executable(bdp_estimator_test |
| 3726 | test/core/transport/bdp_estimator_test.c |
| 3727 | ) |
| 3728 | |
Craig Tiller | 5395aba | 2017-02-02 10:29:04 -0800 | [diff] [blame] | 3729 | |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 3730 | target_include_directories(bdp_estimator_test |
| 3731 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3732 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3733 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3734 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Craig Tiller | 5395aba | 2017-02-02 10:29:04 -0800 | [diff] [blame] | 3735 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 3736 | PRIVATE ${ZLIB_ROOT_DIR} |
| 3737 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3738 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3739 | ) |
| 3740 | |
| 3741 | target_link_libraries(bdp_estimator_test |
Craig Tiller | 5395aba | 2017-02-02 10:29:04 -0800 | [diff] [blame] | 3742 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | ff1f160 | 2017-01-20 13:55:35 -0800 | [diff] [blame] | 3743 | grpc_test_util |
| 3744 | grpc |
| 3745 | gpr_test_util |
| 3746 | gpr |
| 3747 | ) |
| 3748 | |
| 3749 | endif (gRPC_BUILD_TESTS) |
| 3750 | if (gRPC_BUILD_TESTS) |
| 3751 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3752 | add_executable(bin_decoder_test |
| 3753 | test/core/transport/chttp2/bin_decoder_test.c |
| 3754 | ) |
| 3755 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3756 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3757 | target_include_directories(bin_decoder_test |
| 3758 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3759 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3760 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3761 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3762 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3763 | PRIVATE ${ZLIB_ROOT_DIR} |
| 3764 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3765 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3766 | ) |
| 3767 | |
| 3768 | target_link_libraries(bin_decoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3769 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3770 | grpc_test_util |
| 3771 | grpc |
| 3772 | ) |
| 3773 | |
| 3774 | endif (gRPC_BUILD_TESTS) |
| 3775 | if (gRPC_BUILD_TESTS) |
| 3776 | |
| 3777 | add_executable(bin_encoder_test |
| 3778 | test/core/transport/chttp2/bin_encoder_test.c |
| 3779 | ) |
| 3780 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3781 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3782 | target_include_directories(bin_encoder_test |
| 3783 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3784 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3785 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3786 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3787 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3788 | PRIVATE ${ZLIB_ROOT_DIR} |
| 3789 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3790 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3791 | ) |
| 3792 | |
| 3793 | target_link_libraries(bin_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3794 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3795 | grpc_test_util |
| 3796 | grpc |
| 3797 | ) |
| 3798 | |
| 3799 | endif (gRPC_BUILD_TESTS) |
| 3800 | if (gRPC_BUILD_TESTS) |
| 3801 | |
| 3802 | add_executable(census_context_test |
| 3803 | test/core/census/context_test.c |
| 3804 | ) |
| 3805 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3806 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3807 | target_include_directories(census_context_test |
| 3808 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3809 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3810 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3811 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3812 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3813 | PRIVATE ${ZLIB_ROOT_DIR} |
| 3814 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3815 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3816 | ) |
| 3817 | |
| 3818 | target_link_libraries(census_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3819 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3820 | grpc_test_util |
| 3821 | grpc |
| 3822 | gpr_test_util |
| 3823 | gpr |
| 3824 | ) |
| 3825 | |
| 3826 | endif (gRPC_BUILD_TESTS) |
| 3827 | if (gRPC_BUILD_TESTS) |
| 3828 | |
| 3829 | add_executable(census_resource_test |
| 3830 | test/core/census/resource_test.c |
| 3831 | ) |
| 3832 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3833 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3834 | target_include_directories(census_resource_test |
| 3835 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3836 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3837 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3838 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3839 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3840 | PRIVATE ${ZLIB_ROOT_DIR} |
| 3841 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3842 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3843 | ) |
| 3844 | |
| 3845 | target_link_libraries(census_resource_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3846 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3847 | grpc_test_util |
| 3848 | grpc |
| 3849 | gpr_test_util |
| 3850 | gpr |
| 3851 | ) |
| 3852 | |
| 3853 | endif (gRPC_BUILD_TESTS) |
| 3854 | if (gRPC_BUILD_TESTS) |
| 3855 | |
| 3856 | add_executable(census_trace_context_test |
| 3857 | test/core/census/trace_context_test.c |
| 3858 | ) |
| 3859 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3860 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3861 | target_include_directories(census_trace_context_test |
| 3862 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3863 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3864 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3865 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3866 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3867 | PRIVATE ${ZLIB_ROOT_DIR} |
| 3868 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3869 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3870 | ) |
| 3871 | |
| 3872 | target_link_libraries(census_trace_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3873 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3874 | grpc_test_util |
| 3875 | grpc |
| 3876 | gpr_test_util |
| 3877 | gpr |
| 3878 | ) |
| 3879 | |
| 3880 | endif (gRPC_BUILD_TESTS) |
| 3881 | if (gRPC_BUILD_TESTS) |
| 3882 | |
| 3883 | add_executable(channel_create_test |
| 3884 | test/core/surface/channel_create_test.c |
| 3885 | ) |
| 3886 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3887 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3888 | target_include_directories(channel_create_test |
| 3889 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3890 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3891 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3892 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3893 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3894 | PRIVATE ${ZLIB_ROOT_DIR} |
| 3895 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3896 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3897 | ) |
| 3898 | |
| 3899 | target_link_libraries(channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3900 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3901 | grpc_test_util |
| 3902 | grpc |
| 3903 | gpr_test_util |
| 3904 | gpr |
| 3905 | ) |
| 3906 | |
| 3907 | endif (gRPC_BUILD_TESTS) |
| 3908 | if (gRPC_BUILD_TESTS) |
| 3909 | |
| 3910 | add_executable(chttp2_hpack_encoder_test |
| 3911 | test/core/transport/chttp2/hpack_encoder_test.c |
| 3912 | ) |
| 3913 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3914 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3915 | target_include_directories(chttp2_hpack_encoder_test |
| 3916 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3917 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3918 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3919 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3920 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3921 | PRIVATE ${ZLIB_ROOT_DIR} |
| 3922 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3923 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3924 | ) |
| 3925 | |
| 3926 | target_link_libraries(chttp2_hpack_encoder_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3927 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3928 | grpc_test_util |
| 3929 | grpc |
| 3930 | gpr_test_util |
| 3931 | gpr |
| 3932 | ) |
| 3933 | |
| 3934 | endif (gRPC_BUILD_TESTS) |
| 3935 | if (gRPC_BUILD_TESTS) |
| 3936 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3937 | add_executable(chttp2_stream_map_test |
| 3938 | test/core/transport/chttp2/stream_map_test.c |
| 3939 | ) |
| 3940 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3941 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3942 | target_include_directories(chttp2_stream_map_test |
| 3943 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3944 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3945 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3946 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3947 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3948 | PRIVATE ${ZLIB_ROOT_DIR} |
| 3949 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3950 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3951 | ) |
| 3952 | |
| 3953 | target_link_libraries(chttp2_stream_map_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3954 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3955 | grpc_test_util |
| 3956 | grpc |
| 3957 | gpr_test_util |
| 3958 | gpr |
| 3959 | ) |
| 3960 | |
| 3961 | endif (gRPC_BUILD_TESTS) |
| 3962 | if (gRPC_BUILD_TESTS) |
| 3963 | |
| 3964 | add_executable(chttp2_varint_test |
| 3965 | test/core/transport/chttp2/varint_test.c |
| 3966 | ) |
| 3967 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3968 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3969 | target_include_directories(chttp2_varint_test |
| 3970 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3971 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3972 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 3973 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3974 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3975 | PRIVATE ${ZLIB_ROOT_DIR} |
| 3976 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 3977 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 3978 | ) |
| 3979 | |
| 3980 | target_link_libraries(chttp2_varint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3981 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3982 | grpc_test_util |
| 3983 | grpc |
| 3984 | gpr_test_util |
| 3985 | gpr |
| 3986 | ) |
| 3987 | |
| 3988 | endif (gRPC_BUILD_TESTS) |
| 3989 | if (gRPC_BUILD_TESTS) |
| 3990 | |
| 3991 | add_executable(combiner_test |
| 3992 | test/core/iomgr/combiner_test.c |
| 3993 | ) |
| 3994 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 3995 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 3996 | target_include_directories(combiner_test |
| 3997 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 3998 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 3999 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4000 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4001 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4002 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4003 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4004 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4005 | ) |
| 4006 | |
| 4007 | target_link_libraries(combiner_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4008 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4009 | grpc_test_util |
| 4010 | grpc |
| 4011 | gpr_test_util |
| 4012 | gpr |
| 4013 | ) |
| 4014 | |
| 4015 | endif (gRPC_BUILD_TESTS) |
| 4016 | if (gRPC_BUILD_TESTS) |
| 4017 | |
| 4018 | add_executable(compression_test |
| 4019 | test/core/compression/compression_test.c |
| 4020 | ) |
| 4021 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4022 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4023 | target_include_directories(compression_test |
| 4024 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4025 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4026 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4027 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4028 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4029 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4030 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4031 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4032 | ) |
| 4033 | |
| 4034 | target_link_libraries(compression_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4035 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4036 | grpc_test_util |
| 4037 | grpc |
| 4038 | gpr_test_util |
| 4039 | gpr |
| 4040 | ) |
| 4041 | |
| 4042 | endif (gRPC_BUILD_TESTS) |
| 4043 | if (gRPC_BUILD_TESTS) |
| 4044 | |
| 4045 | add_executable(concurrent_connectivity_test |
| 4046 | test/core/surface/concurrent_connectivity_test.c |
| 4047 | ) |
| 4048 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4049 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4050 | target_include_directories(concurrent_connectivity_test |
| 4051 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4052 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4053 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4054 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4055 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4056 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4057 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4058 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4059 | ) |
| 4060 | |
| 4061 | target_link_libraries(concurrent_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4062 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4063 | grpc_test_util |
| 4064 | grpc |
| 4065 | gpr_test_util |
| 4066 | gpr |
| 4067 | ) |
| 4068 | |
| 4069 | endif (gRPC_BUILD_TESTS) |
| 4070 | if (gRPC_BUILD_TESTS) |
| 4071 | |
| 4072 | add_executable(connection_refused_test |
| 4073 | test/core/end2end/connection_refused_test.c |
| 4074 | ) |
| 4075 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4076 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4077 | target_include_directories(connection_refused_test |
| 4078 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4079 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4080 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4081 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4082 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4083 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4084 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4085 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4086 | ) |
| 4087 | |
| 4088 | target_link_libraries(connection_refused_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4089 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4090 | grpc_test_util |
| 4091 | grpc |
| 4092 | gpr_test_util |
| 4093 | gpr |
| 4094 | ) |
| 4095 | |
| 4096 | endif (gRPC_BUILD_TESTS) |
| 4097 | if (gRPC_BUILD_TESTS) |
| 4098 | |
| 4099 | add_executable(dns_resolver_connectivity_test |
| 4100 | test/core/client_channel/resolvers/dns_resolver_connectivity_test.c |
| 4101 | ) |
| 4102 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4103 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4104 | target_include_directories(dns_resolver_connectivity_test |
| 4105 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4106 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4107 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4108 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4109 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4110 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4111 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4112 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4113 | ) |
| 4114 | |
| 4115 | target_link_libraries(dns_resolver_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4116 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4117 | grpc_test_util |
| 4118 | grpc |
| 4119 | gpr_test_util |
| 4120 | gpr |
| 4121 | ) |
| 4122 | |
| 4123 | endif (gRPC_BUILD_TESTS) |
| 4124 | if (gRPC_BUILD_TESTS) |
| 4125 | |
| 4126 | add_executable(dns_resolver_test |
| 4127 | test/core/client_channel/resolvers/dns_resolver_test.c |
| 4128 | ) |
| 4129 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4130 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4131 | target_include_directories(dns_resolver_test |
| 4132 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4133 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4134 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4135 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4136 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4137 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4138 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4139 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4140 | ) |
| 4141 | |
| 4142 | target_link_libraries(dns_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4143 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4144 | grpc_test_util |
| 4145 | grpc |
| 4146 | gpr_test_util |
| 4147 | gpr |
| 4148 | ) |
| 4149 | |
| 4150 | endif (gRPC_BUILD_TESTS) |
| 4151 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4152 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4153 | |
| 4154 | add_executable(dualstack_socket_test |
| 4155 | test/core/end2end/dualstack_socket_test.c |
| 4156 | ) |
| 4157 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4158 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4159 | target_include_directories(dualstack_socket_test |
| 4160 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4161 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4162 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4163 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4164 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4165 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4166 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4167 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4168 | ) |
| 4169 | |
| 4170 | target_link_libraries(dualstack_socket_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4171 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4172 | grpc_test_util |
| 4173 | grpc |
| 4174 | gpr_test_util |
| 4175 | gpr |
| 4176 | ) |
| 4177 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4178 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4179 | endif (gRPC_BUILD_TESTS) |
| 4180 | if (gRPC_BUILD_TESTS) |
| 4181 | |
| 4182 | add_executable(endpoint_pair_test |
| 4183 | test/core/iomgr/endpoint_pair_test.c |
| 4184 | ) |
| 4185 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4186 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4187 | target_include_directories(endpoint_pair_test |
| 4188 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4189 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4190 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4191 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4192 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4193 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4194 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4195 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4196 | ) |
| 4197 | |
| 4198 | target_link_libraries(endpoint_pair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4199 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4200 | grpc_test_util |
| 4201 | grpc |
| 4202 | gpr_test_util |
| 4203 | gpr |
| 4204 | ) |
| 4205 | |
| 4206 | endif (gRPC_BUILD_TESTS) |
| 4207 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4208 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4209 | |
| 4210 | add_executable(ev_epoll_linux_test |
| 4211 | test/core/iomgr/ev_epoll_linux_test.c |
| 4212 | ) |
| 4213 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4214 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4215 | target_include_directories(ev_epoll_linux_test |
| 4216 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4217 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4218 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4219 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4220 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4221 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4222 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4223 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4224 | ) |
| 4225 | |
| 4226 | target_link_libraries(ev_epoll_linux_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4227 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4228 | grpc_test_util |
| 4229 | grpc |
| 4230 | gpr_test_util |
| 4231 | gpr |
| 4232 | ) |
| 4233 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4234 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4235 | endif (gRPC_BUILD_TESTS) |
| 4236 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4237 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4238 | |
| 4239 | add_executable(fd_conservation_posix_test |
| 4240 | test/core/iomgr/fd_conservation_posix_test.c |
| 4241 | ) |
| 4242 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4243 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4244 | target_include_directories(fd_conservation_posix_test |
| 4245 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4246 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4247 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4248 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4249 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4250 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4251 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4252 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4253 | ) |
| 4254 | |
| 4255 | target_link_libraries(fd_conservation_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4256 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4257 | grpc_test_util |
| 4258 | grpc |
| 4259 | gpr_test_util |
| 4260 | gpr |
| 4261 | ) |
| 4262 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4263 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4264 | endif (gRPC_BUILD_TESTS) |
| 4265 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4266 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4267 | |
| 4268 | add_executable(fd_posix_test |
| 4269 | test/core/iomgr/fd_posix_test.c |
| 4270 | ) |
| 4271 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4272 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4273 | target_include_directories(fd_posix_test |
| 4274 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4275 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4276 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4277 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4278 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4279 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4280 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4281 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4282 | ) |
| 4283 | |
| 4284 | target_link_libraries(fd_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4285 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4286 | grpc_test_util |
| 4287 | grpc |
| 4288 | gpr_test_util |
| 4289 | gpr |
| 4290 | ) |
| 4291 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4292 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4293 | endif (gRPC_BUILD_TESTS) |
| 4294 | if (gRPC_BUILD_TESTS) |
| 4295 | |
| 4296 | add_executable(fling_client |
| 4297 | test/core/fling/client.c |
| 4298 | ) |
| 4299 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4300 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4301 | target_include_directories(fling_client |
| 4302 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4303 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4304 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4305 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4306 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4307 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4308 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4309 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4310 | ) |
| 4311 | |
| 4312 | target_link_libraries(fling_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4313 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4314 | grpc_test_util |
| 4315 | grpc |
| 4316 | gpr_test_util |
| 4317 | gpr |
| 4318 | ) |
| 4319 | |
| 4320 | endif (gRPC_BUILD_TESTS) |
| 4321 | if (gRPC_BUILD_TESTS) |
| 4322 | |
| 4323 | add_executable(fling_server |
| 4324 | test/core/fling/server.c |
| 4325 | ) |
| 4326 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4327 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4328 | target_include_directories(fling_server |
| 4329 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4330 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4331 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4332 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4333 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4334 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4335 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4336 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4337 | ) |
| 4338 | |
| 4339 | target_link_libraries(fling_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4340 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4341 | grpc_test_util |
| 4342 | grpc |
| 4343 | gpr_test_util |
| 4344 | gpr |
| 4345 | ) |
| 4346 | |
| 4347 | endif (gRPC_BUILD_TESTS) |
| 4348 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4349 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4350 | |
| 4351 | add_executable(fling_stream_test |
| 4352 | test/core/fling/fling_stream_test.c |
| 4353 | ) |
| 4354 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4355 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4356 | target_include_directories(fling_stream_test |
| 4357 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4358 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4359 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4360 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4361 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4362 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4363 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4364 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4365 | ) |
| 4366 | |
| 4367 | target_link_libraries(fling_stream_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4368 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4369 | grpc_test_util |
| 4370 | grpc |
| 4371 | gpr_test_util |
| 4372 | gpr |
| 4373 | ) |
| 4374 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4375 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4376 | endif (gRPC_BUILD_TESTS) |
| 4377 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4378 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4379 | |
| 4380 | add_executable(fling_test |
| 4381 | test/core/fling/fling_test.c |
| 4382 | ) |
| 4383 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4384 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4385 | target_include_directories(fling_test |
| 4386 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4387 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4388 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4389 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4390 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4391 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4392 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4393 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4394 | ) |
| 4395 | |
| 4396 | target_link_libraries(fling_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4397 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4398 | grpc_test_util |
| 4399 | grpc |
| 4400 | gpr_test_util |
| 4401 | gpr |
| 4402 | ) |
| 4403 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4404 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4405 | endif (gRPC_BUILD_TESTS) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 4406 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 4407 | add_executable(gen_hpack_tables |
| 4408 | tools/codegen/core/gen_hpack_tables.c |
| 4409 | ) |
| 4410 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4411 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 4412 | target_include_directories(gen_hpack_tables |
| 4413 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4414 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4415 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4416 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4417 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 4418 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4419 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4420 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 4421 | ) |
| 4422 | |
| 4423 | target_link_libraries(gen_hpack_tables |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4424 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 4425 | gpr |
| 4426 | grpc |
| 4427 | ) |
| 4428 | |
| 4429 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 4430 | if (gRPC_INSTALL) |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 4431 | install(TARGETS gen_hpack_tables EXPORT gRPCTargets |
| 4432 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 4433 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 4434 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 4435 | ) |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 4436 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4437 | |
| 4438 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 4439 | add_executable(gen_legal_metadata_characters |
| 4440 | tools/codegen/core/gen_legal_metadata_characters.c |
| 4441 | ) |
| 4442 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4443 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 4444 | target_include_directories(gen_legal_metadata_characters |
| 4445 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4446 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4447 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4448 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4449 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 4450 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4451 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4452 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 4453 | ) |
| 4454 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4455 | target_link_libraries(gen_legal_metadata_characters |
| 4456 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4457 | ) |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 4458 | |
| 4459 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 4460 | if (gRPC_INSTALL) |
| 4461 | install(TARGETS gen_legal_metadata_characters EXPORT gRPCTargets |
| 4462 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 4463 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 4464 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 4465 | ) |
| 4466 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 4467 | |
| 4468 | |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 4469 | add_executable(gen_percent_encoding_tables |
| 4470 | tools/codegen/core/gen_percent_encoding_tables.c |
| 4471 | ) |
| 4472 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4473 | |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 4474 | target_include_directories(gen_percent_encoding_tables |
| 4475 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4476 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4477 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4478 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4479 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 4480 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4481 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4482 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 4483 | ) |
| 4484 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4485 | target_link_libraries(gen_percent_encoding_tables |
| 4486 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 4487 | ) |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 4488 | |
| 4489 | |
Craig Tiller | 426dcde | 2016-09-07 15:43:10 -0700 | [diff] [blame] | 4490 | if (gRPC_INSTALL) |
| 4491 | install(TARGETS gen_percent_encoding_tables EXPORT gRPCTargets |
| 4492 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 4493 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 4494 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 4495 | ) |
| 4496 | endif() |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 4497 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4498 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4499 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4500 | |
| 4501 | add_executable(goaway_server_test |
| 4502 | test/core/end2end/goaway_server_test.c |
| 4503 | ) |
| 4504 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4505 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4506 | target_include_directories(goaway_server_test |
| 4507 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4508 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4509 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4510 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4511 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4512 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4513 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4514 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4515 | ) |
| 4516 | |
| 4517 | target_link_libraries(goaway_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4518 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4519 | grpc_test_util |
| 4520 | grpc |
| 4521 | gpr_test_util |
| 4522 | gpr |
| 4523 | ) |
| 4524 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4525 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4526 | endif (gRPC_BUILD_TESTS) |
| 4527 | if (gRPC_BUILD_TESTS) |
| 4528 | |
| 4529 | add_executable(gpr_avl_test |
| 4530 | test/core/support/avl_test.c |
| 4531 | ) |
| 4532 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4533 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4534 | target_include_directories(gpr_avl_test |
| 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 |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4539 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4540 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4541 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4542 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4543 | ) |
| 4544 | |
| 4545 | target_link_libraries(gpr_avl_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4546 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4547 | gpr_test_util |
| 4548 | gpr |
| 4549 | ) |
| 4550 | |
| 4551 | endif (gRPC_BUILD_TESTS) |
| 4552 | if (gRPC_BUILD_TESTS) |
| 4553 | |
| 4554 | add_executable(gpr_backoff_test |
| 4555 | test/core/support/backoff_test.c |
| 4556 | ) |
| 4557 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4558 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4559 | target_include_directories(gpr_backoff_test |
| 4560 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4561 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4562 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4563 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4564 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4565 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4566 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4567 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4568 | ) |
| 4569 | |
| 4570 | target_link_libraries(gpr_backoff_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4571 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4572 | gpr_test_util |
| 4573 | gpr |
| 4574 | ) |
| 4575 | |
| 4576 | endif (gRPC_BUILD_TESTS) |
| 4577 | if (gRPC_BUILD_TESTS) |
| 4578 | |
| 4579 | add_executable(gpr_cmdline_test |
| 4580 | test/core/support/cmdline_test.c |
| 4581 | ) |
| 4582 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4583 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4584 | target_include_directories(gpr_cmdline_test |
| 4585 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4586 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4587 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4588 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4589 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4590 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4591 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4592 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4593 | ) |
| 4594 | |
| 4595 | target_link_libraries(gpr_cmdline_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4596 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4597 | gpr_test_util |
| 4598 | gpr |
| 4599 | ) |
| 4600 | |
| 4601 | endif (gRPC_BUILD_TESTS) |
| 4602 | if (gRPC_BUILD_TESTS) |
| 4603 | |
| 4604 | add_executable(gpr_cpu_test |
| 4605 | test/core/support/cpu_test.c |
| 4606 | ) |
| 4607 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4608 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4609 | target_include_directories(gpr_cpu_test |
| 4610 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4611 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4612 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4613 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4614 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4615 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4616 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4617 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4618 | ) |
| 4619 | |
| 4620 | target_link_libraries(gpr_cpu_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4621 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4622 | gpr_test_util |
| 4623 | gpr |
| 4624 | ) |
| 4625 | |
| 4626 | endif (gRPC_BUILD_TESTS) |
| 4627 | if (gRPC_BUILD_TESTS) |
| 4628 | |
| 4629 | add_executable(gpr_env_test |
| 4630 | test/core/support/env_test.c |
| 4631 | ) |
| 4632 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4633 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4634 | target_include_directories(gpr_env_test |
| 4635 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4636 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4637 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4638 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4639 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4640 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4641 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4642 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4643 | ) |
| 4644 | |
| 4645 | target_link_libraries(gpr_env_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4646 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4647 | gpr_test_util |
| 4648 | gpr |
| 4649 | ) |
| 4650 | |
| 4651 | endif (gRPC_BUILD_TESTS) |
| 4652 | if (gRPC_BUILD_TESTS) |
| 4653 | |
| 4654 | add_executable(gpr_histogram_test |
| 4655 | test/core/support/histogram_test.c |
| 4656 | ) |
| 4657 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4658 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4659 | target_include_directories(gpr_histogram_test |
| 4660 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4661 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4662 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4663 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4664 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4665 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4666 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4667 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4668 | ) |
| 4669 | |
| 4670 | target_link_libraries(gpr_histogram_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4671 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4672 | gpr_test_util |
| 4673 | gpr |
| 4674 | ) |
| 4675 | |
| 4676 | endif (gRPC_BUILD_TESTS) |
| 4677 | if (gRPC_BUILD_TESTS) |
| 4678 | |
| 4679 | add_executable(gpr_host_port_test |
| 4680 | test/core/support/host_port_test.c |
| 4681 | ) |
| 4682 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4683 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4684 | target_include_directories(gpr_host_port_test |
| 4685 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4686 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4687 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4688 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4689 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4690 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4691 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4692 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4693 | ) |
| 4694 | |
| 4695 | target_link_libraries(gpr_host_port_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4696 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4697 | gpr_test_util |
| 4698 | gpr |
| 4699 | ) |
| 4700 | |
| 4701 | endif (gRPC_BUILD_TESTS) |
| 4702 | if (gRPC_BUILD_TESTS) |
| 4703 | |
| 4704 | add_executable(gpr_log_test |
| 4705 | test/core/support/log_test.c |
| 4706 | ) |
| 4707 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4708 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4709 | target_include_directories(gpr_log_test |
| 4710 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4711 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4712 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4713 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4714 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4715 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4716 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4717 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4718 | ) |
| 4719 | |
| 4720 | target_link_libraries(gpr_log_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4721 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4722 | gpr_test_util |
| 4723 | gpr |
| 4724 | ) |
| 4725 | |
| 4726 | endif (gRPC_BUILD_TESTS) |
| 4727 | if (gRPC_BUILD_TESTS) |
| 4728 | |
| 4729 | add_executable(gpr_mpscq_test |
| 4730 | test/core/support/mpscq_test.c |
| 4731 | ) |
| 4732 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4733 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4734 | target_include_directories(gpr_mpscq_test |
| 4735 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4736 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4737 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4738 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4739 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4740 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4741 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4742 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4743 | ) |
| 4744 | |
| 4745 | target_link_libraries(gpr_mpscq_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4746 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4747 | gpr_test_util |
| 4748 | gpr |
| 4749 | ) |
| 4750 | |
| 4751 | endif (gRPC_BUILD_TESTS) |
| 4752 | if (gRPC_BUILD_TESTS) |
| 4753 | |
| 4754 | add_executable(gpr_stack_lockfree_test |
| 4755 | test/core/support/stack_lockfree_test.c |
| 4756 | ) |
| 4757 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4758 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4759 | target_include_directories(gpr_stack_lockfree_test |
| 4760 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4761 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4762 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4763 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4764 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4765 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4766 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4767 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4768 | ) |
| 4769 | |
| 4770 | target_link_libraries(gpr_stack_lockfree_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4771 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4772 | gpr_test_util |
| 4773 | gpr |
| 4774 | ) |
| 4775 | |
| 4776 | endif (gRPC_BUILD_TESTS) |
| 4777 | if (gRPC_BUILD_TESTS) |
| 4778 | |
| 4779 | add_executable(gpr_string_test |
| 4780 | test/core/support/string_test.c |
| 4781 | ) |
| 4782 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4783 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4784 | target_include_directories(gpr_string_test |
| 4785 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4786 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4787 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4788 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4789 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4790 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4791 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4792 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4793 | ) |
| 4794 | |
| 4795 | target_link_libraries(gpr_string_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4796 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4797 | gpr_test_util |
| 4798 | gpr |
| 4799 | ) |
| 4800 | |
| 4801 | endif (gRPC_BUILD_TESTS) |
| 4802 | if (gRPC_BUILD_TESTS) |
| 4803 | |
| 4804 | add_executable(gpr_sync_test |
| 4805 | test/core/support/sync_test.c |
| 4806 | ) |
| 4807 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4808 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4809 | target_include_directories(gpr_sync_test |
| 4810 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4811 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4812 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4813 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4814 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4815 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4816 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4817 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4818 | ) |
| 4819 | |
| 4820 | target_link_libraries(gpr_sync_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4821 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4822 | gpr_test_util |
| 4823 | gpr |
| 4824 | ) |
| 4825 | |
| 4826 | endif (gRPC_BUILD_TESTS) |
| 4827 | if (gRPC_BUILD_TESTS) |
| 4828 | |
| 4829 | add_executable(gpr_thd_test |
| 4830 | test/core/support/thd_test.c |
| 4831 | ) |
| 4832 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4833 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4834 | target_include_directories(gpr_thd_test |
| 4835 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4836 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4837 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4838 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4839 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4840 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4841 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4842 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4843 | ) |
| 4844 | |
| 4845 | target_link_libraries(gpr_thd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4846 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4847 | gpr_test_util |
| 4848 | gpr |
| 4849 | ) |
| 4850 | |
| 4851 | endif (gRPC_BUILD_TESTS) |
| 4852 | if (gRPC_BUILD_TESTS) |
| 4853 | |
| 4854 | add_executable(gpr_time_test |
| 4855 | test/core/support/time_test.c |
| 4856 | ) |
| 4857 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4858 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4859 | target_include_directories(gpr_time_test |
| 4860 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4861 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4862 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4863 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4864 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4865 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4866 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4867 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4868 | ) |
| 4869 | |
| 4870 | target_link_libraries(gpr_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4871 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4872 | gpr_test_util |
| 4873 | gpr |
| 4874 | ) |
| 4875 | |
| 4876 | endif (gRPC_BUILD_TESTS) |
| 4877 | if (gRPC_BUILD_TESTS) |
| 4878 | |
| 4879 | add_executable(gpr_tls_test |
| 4880 | test/core/support/tls_test.c |
| 4881 | ) |
| 4882 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4883 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4884 | target_include_directories(gpr_tls_test |
| 4885 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4886 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4887 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4888 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4889 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4890 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4891 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4892 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4893 | ) |
| 4894 | |
| 4895 | target_link_libraries(gpr_tls_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4896 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4897 | gpr_test_util |
| 4898 | gpr |
| 4899 | ) |
| 4900 | |
| 4901 | endif (gRPC_BUILD_TESTS) |
| 4902 | if (gRPC_BUILD_TESTS) |
| 4903 | |
| 4904 | add_executable(gpr_useful_test |
| 4905 | test/core/support/useful_test.c |
| 4906 | ) |
| 4907 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4908 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4909 | target_include_directories(gpr_useful_test |
| 4910 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4911 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4912 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4913 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4914 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4915 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4916 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4917 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4918 | ) |
| 4919 | |
| 4920 | target_link_libraries(gpr_useful_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4921 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4922 | gpr_test_util |
| 4923 | gpr |
| 4924 | ) |
| 4925 | |
| 4926 | endif (gRPC_BUILD_TESTS) |
| 4927 | if (gRPC_BUILD_TESTS) |
| 4928 | |
| 4929 | add_executable(grpc_auth_context_test |
| 4930 | test/core/security/auth_context_test.c |
| 4931 | ) |
| 4932 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4933 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4934 | target_include_directories(grpc_auth_context_test |
| 4935 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4936 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4937 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4938 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4939 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4940 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4941 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4942 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4943 | ) |
| 4944 | |
| 4945 | target_link_libraries(grpc_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4946 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4947 | grpc_test_util |
| 4948 | grpc |
| 4949 | gpr_test_util |
| 4950 | gpr |
| 4951 | ) |
| 4952 | |
| 4953 | endif (gRPC_BUILD_TESTS) |
| 4954 | if (gRPC_BUILD_TESTS) |
| 4955 | |
| 4956 | add_executable(grpc_b64_test |
| 4957 | test/core/security/b64_test.c |
| 4958 | ) |
| 4959 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4960 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4961 | target_include_directories(grpc_b64_test |
| 4962 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4963 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4964 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4965 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4966 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4967 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4968 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4969 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4970 | ) |
| 4971 | |
| 4972 | target_link_libraries(grpc_b64_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4973 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4974 | grpc_test_util |
| 4975 | grpc |
| 4976 | gpr_test_util |
| 4977 | gpr |
| 4978 | ) |
| 4979 | |
| 4980 | endif (gRPC_BUILD_TESTS) |
| 4981 | if (gRPC_BUILD_TESTS) |
| 4982 | |
| 4983 | add_executable(grpc_byte_buffer_reader_test |
| 4984 | test/core/surface/byte_buffer_reader_test.c |
| 4985 | ) |
| 4986 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4987 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4988 | target_include_directories(grpc_byte_buffer_reader_test |
| 4989 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 4990 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 4991 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 4992 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 4993 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 4994 | PRIVATE ${ZLIB_ROOT_DIR} |
| 4995 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 4996 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 4997 | ) |
| 4998 | |
| 4999 | target_link_libraries(grpc_byte_buffer_reader_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5000 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5001 | grpc_test_util |
| 5002 | grpc |
| 5003 | gpr_test_util |
| 5004 | gpr |
| 5005 | ) |
| 5006 | |
| 5007 | endif (gRPC_BUILD_TESTS) |
| 5008 | if (gRPC_BUILD_TESTS) |
| 5009 | |
| 5010 | add_executable(grpc_channel_args_test |
| 5011 | test/core/channel/channel_args_test.c |
| 5012 | ) |
| 5013 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5014 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5015 | target_include_directories(grpc_channel_args_test |
| 5016 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5017 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5018 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5019 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5020 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5021 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5022 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5023 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5024 | ) |
| 5025 | |
| 5026 | target_link_libraries(grpc_channel_args_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5027 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5028 | grpc_test_util |
| 5029 | grpc |
| 5030 | gpr_test_util |
| 5031 | gpr |
| 5032 | ) |
| 5033 | |
| 5034 | endif (gRPC_BUILD_TESTS) |
| 5035 | if (gRPC_BUILD_TESTS) |
| 5036 | |
| 5037 | add_executable(grpc_channel_stack_test |
| 5038 | test/core/channel/channel_stack_test.c |
| 5039 | ) |
| 5040 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5041 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5042 | target_include_directories(grpc_channel_stack_test |
| 5043 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5044 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5045 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5046 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5047 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5048 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5049 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5050 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5051 | ) |
| 5052 | |
| 5053 | target_link_libraries(grpc_channel_stack_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5054 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5055 | grpc_test_util |
| 5056 | grpc |
| 5057 | gpr_test_util |
| 5058 | gpr |
| 5059 | ) |
| 5060 | |
| 5061 | endif (gRPC_BUILD_TESTS) |
| 5062 | if (gRPC_BUILD_TESTS) |
| 5063 | |
| 5064 | add_executable(grpc_completion_queue_test |
| 5065 | test/core/surface/completion_queue_test.c |
| 5066 | ) |
| 5067 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5068 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5069 | target_include_directories(grpc_completion_queue_test |
| 5070 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5071 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5072 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5073 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5074 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5075 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5076 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5077 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5078 | ) |
| 5079 | |
| 5080 | target_link_libraries(grpc_completion_queue_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5081 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5082 | grpc_test_util |
| 5083 | grpc |
| 5084 | gpr_test_util |
| 5085 | gpr |
| 5086 | ) |
| 5087 | |
| 5088 | endif (gRPC_BUILD_TESTS) |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 5089 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5090 | add_executable(grpc_create_jwt |
| 5091 | test/core/security/create_jwt.c |
| 5092 | ) |
| 5093 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5094 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5095 | target_include_directories(grpc_create_jwt |
| 5096 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5097 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5098 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5099 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5100 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5101 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5102 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5103 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5104 | ) |
| 5105 | |
| 5106 | target_link_libraries(grpc_create_jwt |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 5107 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5108 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5109 | grpc |
| 5110 | gpr |
| 5111 | ) |
| 5112 | |
| 5113 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 5114 | if (gRPC_INSTALL) |
| 5115 | install(TARGETS grpc_create_jwt EXPORT gRPCTargets |
| 5116 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 5117 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 5118 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 5119 | ) |
| 5120 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 5121 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5122 | if (gRPC_BUILD_TESTS) |
| 5123 | |
| 5124 | add_executable(grpc_credentials_test |
| 5125 | test/core/security/credentials_test.c |
| 5126 | ) |
| 5127 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5128 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5129 | target_include_directories(grpc_credentials_test |
| 5130 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5131 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5132 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5133 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5134 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5135 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5136 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5137 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5138 | ) |
| 5139 | |
| 5140 | target_link_libraries(grpc_credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5141 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5142 | grpc_test_util |
| 5143 | grpc |
| 5144 | gpr_test_util |
| 5145 | gpr |
| 5146 | ) |
| 5147 | |
| 5148 | endif (gRPC_BUILD_TESTS) |
| 5149 | if (gRPC_BUILD_TESTS) |
| 5150 | |
| 5151 | add_executable(grpc_fetch_oauth2 |
| 5152 | test/core/security/fetch_oauth2.c |
| 5153 | ) |
| 5154 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5155 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5156 | target_include_directories(grpc_fetch_oauth2 |
| 5157 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5158 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5159 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5160 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5161 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5162 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5163 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5164 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5165 | ) |
| 5166 | |
| 5167 | target_link_libraries(grpc_fetch_oauth2 |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5168 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5169 | grpc_test_util |
| 5170 | grpc |
| 5171 | gpr_test_util |
| 5172 | gpr |
| 5173 | ) |
| 5174 | |
| 5175 | endif (gRPC_BUILD_TESTS) |
| 5176 | if (gRPC_BUILD_TESTS) |
| 5177 | |
| 5178 | add_executable(grpc_invalid_channel_args_test |
| 5179 | test/core/surface/invalid_channel_args_test.c |
| 5180 | ) |
| 5181 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5182 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5183 | target_include_directories(grpc_invalid_channel_args_test |
| 5184 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5185 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5186 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5187 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5188 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5189 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5190 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5191 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5192 | ) |
| 5193 | |
| 5194 | target_link_libraries(grpc_invalid_channel_args_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5195 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5196 | grpc_test_util |
| 5197 | grpc |
| 5198 | gpr_test_util |
| 5199 | gpr |
| 5200 | ) |
| 5201 | |
| 5202 | endif (gRPC_BUILD_TESTS) |
| 5203 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5204 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5205 | |
| 5206 | add_executable(grpc_json_token_test |
| 5207 | test/core/security/json_token_test.c |
| 5208 | ) |
| 5209 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5210 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5211 | target_include_directories(grpc_json_token_test |
| 5212 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5213 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5214 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5215 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5216 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5217 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5218 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5219 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5220 | ) |
| 5221 | |
| 5222 | target_link_libraries(grpc_json_token_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5223 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5224 | grpc_test_util |
| 5225 | grpc |
| 5226 | gpr_test_util |
| 5227 | gpr |
| 5228 | ) |
| 5229 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5230 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5231 | endif (gRPC_BUILD_TESTS) |
| 5232 | if (gRPC_BUILD_TESTS) |
| 5233 | |
| 5234 | add_executable(grpc_jwt_verifier_test |
| 5235 | test/core/security/jwt_verifier_test.c |
| 5236 | ) |
| 5237 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5238 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5239 | target_include_directories(grpc_jwt_verifier_test |
| 5240 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5241 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5242 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5243 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5244 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5245 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5246 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5247 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5248 | ) |
| 5249 | |
| 5250 | target_link_libraries(grpc_jwt_verifier_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5251 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5252 | grpc_test_util |
| 5253 | grpc |
| 5254 | gpr_test_util |
| 5255 | gpr |
| 5256 | ) |
| 5257 | |
| 5258 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 5259 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5260 | add_executable(grpc_print_google_default_creds_token |
| 5261 | test/core/security/print_google_default_creds_token.c |
| 5262 | ) |
| 5263 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5264 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5265 | target_include_directories(grpc_print_google_default_creds_token |
| 5266 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5267 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5268 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5269 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5270 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5271 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5272 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5273 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5274 | ) |
| 5275 | |
| 5276 | target_link_libraries(grpc_print_google_default_creds_token |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5277 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5278 | grpc |
| 5279 | gpr |
| 5280 | ) |
| 5281 | |
| 5282 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 5283 | if (gRPC_INSTALL) |
| 5284 | install(TARGETS grpc_print_google_default_creds_token EXPORT gRPCTargets |
| 5285 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 5286 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 5287 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 5288 | ) |
| 5289 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 5290 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5291 | if (gRPC_BUILD_TESTS) |
| 5292 | |
| 5293 | add_executable(grpc_security_connector_test |
| 5294 | test/core/security/security_connector_test.c |
| 5295 | ) |
| 5296 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5297 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5298 | target_include_directories(grpc_security_connector_test |
| 5299 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5300 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5301 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5302 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5303 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5304 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5305 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5306 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5307 | ) |
| 5308 | |
| 5309 | target_link_libraries(grpc_security_connector_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5310 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5311 | grpc_test_util |
| 5312 | grpc |
| 5313 | gpr_test_util |
| 5314 | gpr |
| 5315 | ) |
| 5316 | |
| 5317 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 5318 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5319 | add_executable(grpc_verify_jwt |
| 5320 | test/core/security/verify_jwt.c |
| 5321 | ) |
| 5322 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5323 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5324 | target_include_directories(grpc_verify_jwt |
| 5325 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5326 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5327 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5328 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5329 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5330 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5331 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5332 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5333 | ) |
| 5334 | |
| 5335 | target_link_libraries(grpc_verify_jwt |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5336 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 5337 | grpc |
| 5338 | gpr |
| 5339 | ) |
| 5340 | |
| 5341 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 5342 | if (gRPC_INSTALL) |
| 5343 | install(TARGETS grpc_verify_jwt EXPORT gRPCTargets |
| 5344 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 5345 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 5346 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 5347 | ) |
| 5348 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 5349 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5350 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5351 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5352 | |
| 5353 | add_executable(handshake_client |
| 5354 | test/core/handshake/client_ssl.c |
| 5355 | ) |
| 5356 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5357 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5358 | target_include_directories(handshake_client |
| 5359 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5360 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5361 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5362 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5363 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5364 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5365 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5366 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5367 | ) |
| 5368 | |
| 5369 | target_link_libraries(handshake_client |
| 5370 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5371 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5372 | grpc_test_util |
| 5373 | grpc |
| 5374 | gpr_test_util |
| 5375 | gpr |
| 5376 | ) |
| 5377 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5378 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5379 | endif (gRPC_BUILD_TESTS) |
| 5380 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5381 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5382 | |
| 5383 | add_executable(handshake_server |
| 5384 | test/core/handshake/server_ssl.c |
| 5385 | ) |
| 5386 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5387 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5388 | target_include_directories(handshake_server |
| 5389 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5390 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5391 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5392 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5393 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5394 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5395 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5396 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5397 | ) |
| 5398 | |
| 5399 | target_link_libraries(handshake_server |
| 5400 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5401 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5402 | grpc_test_util |
| 5403 | grpc |
| 5404 | gpr_test_util |
| 5405 | gpr |
| 5406 | ) |
| 5407 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5408 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5409 | endif (gRPC_BUILD_TESTS) |
| 5410 | if (gRPC_BUILD_TESTS) |
| 5411 | |
| 5412 | add_executable(hpack_parser_test |
| 5413 | test/core/transport/chttp2/hpack_parser_test.c |
| 5414 | ) |
| 5415 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5416 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5417 | target_include_directories(hpack_parser_test |
| 5418 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5419 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5420 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5421 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5422 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5423 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5424 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5425 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5426 | ) |
| 5427 | |
| 5428 | target_link_libraries(hpack_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5429 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5430 | grpc_test_util |
| 5431 | grpc |
| 5432 | gpr_test_util |
| 5433 | gpr |
| 5434 | ) |
| 5435 | |
| 5436 | endif (gRPC_BUILD_TESTS) |
| 5437 | if (gRPC_BUILD_TESTS) |
| 5438 | |
| 5439 | add_executable(hpack_table_test |
| 5440 | test/core/transport/chttp2/hpack_table_test.c |
| 5441 | ) |
| 5442 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5443 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5444 | target_include_directories(hpack_table_test |
| 5445 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5446 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5447 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5448 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5449 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5450 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5451 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5452 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5453 | ) |
| 5454 | |
| 5455 | target_link_libraries(hpack_table_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5456 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5457 | grpc_test_util |
| 5458 | grpc |
| 5459 | gpr_test_util |
| 5460 | gpr |
| 5461 | ) |
| 5462 | |
| 5463 | endif (gRPC_BUILD_TESTS) |
| 5464 | if (gRPC_BUILD_TESTS) |
| 5465 | |
| 5466 | add_executable(http_parser_test |
| 5467 | test/core/http/parser_test.c |
| 5468 | ) |
| 5469 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5470 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5471 | target_include_directories(http_parser_test |
| 5472 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5473 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5474 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5475 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5476 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5477 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5478 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5479 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5480 | ) |
| 5481 | |
| 5482 | target_link_libraries(http_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5483 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5484 | grpc_test_util |
| 5485 | grpc |
| 5486 | gpr_test_util |
| 5487 | gpr |
| 5488 | ) |
| 5489 | |
| 5490 | endif (gRPC_BUILD_TESTS) |
| 5491 | if (gRPC_BUILD_TESTS) |
| 5492 | |
| 5493 | add_executable(httpcli_format_request_test |
| 5494 | test/core/http/format_request_test.c |
| 5495 | ) |
| 5496 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5497 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5498 | target_include_directories(httpcli_format_request_test |
| 5499 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5500 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5501 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5502 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5503 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5504 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5505 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5506 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5507 | ) |
| 5508 | |
| 5509 | target_link_libraries(httpcli_format_request_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5510 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5511 | grpc_test_util |
| 5512 | grpc |
| 5513 | gpr_test_util |
| 5514 | gpr |
| 5515 | ) |
| 5516 | |
| 5517 | endif (gRPC_BUILD_TESTS) |
| 5518 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5519 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5520 | |
| 5521 | add_executable(httpcli_test |
| 5522 | test/core/http/httpcli_test.c |
| 5523 | ) |
| 5524 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5525 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5526 | target_include_directories(httpcli_test |
| 5527 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5528 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5529 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5530 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5531 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5532 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5533 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5534 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5535 | ) |
| 5536 | |
| 5537 | target_link_libraries(httpcli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5538 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5539 | grpc_test_util |
| 5540 | grpc |
| 5541 | gpr_test_util |
| 5542 | gpr |
| 5543 | ) |
| 5544 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5545 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5546 | endif (gRPC_BUILD_TESTS) |
| 5547 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5548 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5549 | |
| 5550 | add_executable(httpscli_test |
| 5551 | test/core/http/httpscli_test.c |
| 5552 | ) |
| 5553 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5554 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5555 | target_include_directories(httpscli_test |
| 5556 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5557 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5558 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5559 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5560 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5561 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5562 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5563 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5564 | ) |
| 5565 | |
| 5566 | target_link_libraries(httpscli_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5567 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5568 | grpc_test_util |
| 5569 | grpc |
| 5570 | gpr_test_util |
| 5571 | gpr |
| 5572 | ) |
| 5573 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5574 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5575 | endif (gRPC_BUILD_TESTS) |
| 5576 | if (gRPC_BUILD_TESTS) |
| 5577 | |
| 5578 | add_executable(init_test |
| 5579 | test/core/surface/init_test.c |
| 5580 | ) |
| 5581 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5582 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5583 | target_include_directories(init_test |
| 5584 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5585 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5586 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5587 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5588 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5589 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5590 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5591 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5592 | ) |
| 5593 | |
| 5594 | target_link_libraries(init_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5595 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5596 | grpc_test_util |
| 5597 | grpc |
| 5598 | gpr_test_util |
| 5599 | gpr |
| 5600 | ) |
| 5601 | |
| 5602 | endif (gRPC_BUILD_TESTS) |
| 5603 | if (gRPC_BUILD_TESTS) |
| 5604 | |
| 5605 | add_executable(internal_api_canary_iomgr_test |
| 5606 | test/core/internal_api_canaries/iomgr.c |
| 5607 | ) |
| 5608 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5609 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5610 | target_include_directories(internal_api_canary_iomgr_test |
| 5611 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5612 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5613 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5614 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5615 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5616 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5617 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5618 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5619 | ) |
| 5620 | |
| 5621 | target_link_libraries(internal_api_canary_iomgr_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5622 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5623 | grpc_test_util |
| 5624 | grpc |
| 5625 | gpr_test_util |
| 5626 | gpr |
| 5627 | ) |
| 5628 | |
| 5629 | endif (gRPC_BUILD_TESTS) |
| 5630 | if (gRPC_BUILD_TESTS) |
| 5631 | |
| 5632 | add_executable(internal_api_canary_support_test |
| 5633 | test/core/internal_api_canaries/iomgr.c |
| 5634 | ) |
| 5635 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5636 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5637 | target_include_directories(internal_api_canary_support_test |
| 5638 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5639 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5640 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5641 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5642 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5643 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5644 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5645 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5646 | ) |
| 5647 | |
| 5648 | target_link_libraries(internal_api_canary_support_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5649 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5650 | grpc_test_util |
| 5651 | grpc |
| 5652 | gpr_test_util |
| 5653 | gpr |
| 5654 | ) |
| 5655 | |
| 5656 | endif (gRPC_BUILD_TESTS) |
| 5657 | if (gRPC_BUILD_TESTS) |
| 5658 | |
| 5659 | add_executable(internal_api_canary_transport_test |
| 5660 | test/core/internal_api_canaries/iomgr.c |
| 5661 | ) |
| 5662 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5663 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5664 | target_include_directories(internal_api_canary_transport_test |
| 5665 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5666 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5667 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5668 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5669 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5670 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5671 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5672 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5673 | ) |
| 5674 | |
| 5675 | target_link_libraries(internal_api_canary_transport_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5676 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5677 | grpc_test_util |
| 5678 | grpc |
| 5679 | gpr_test_util |
| 5680 | gpr |
| 5681 | ) |
| 5682 | |
| 5683 | endif (gRPC_BUILD_TESTS) |
| 5684 | if (gRPC_BUILD_TESTS) |
| 5685 | |
| 5686 | add_executable(invalid_call_argument_test |
| 5687 | test/core/end2end/invalid_call_argument_test.c |
| 5688 | ) |
| 5689 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5690 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5691 | target_include_directories(invalid_call_argument_test |
| 5692 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5693 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5694 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5695 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5696 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5697 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5698 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5699 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5700 | ) |
| 5701 | |
| 5702 | target_link_libraries(invalid_call_argument_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5703 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5704 | grpc_test_util |
| 5705 | grpc |
| 5706 | gpr_test_util |
| 5707 | gpr |
| 5708 | ) |
| 5709 | |
| 5710 | endif (gRPC_BUILD_TESTS) |
| 5711 | if (gRPC_BUILD_TESTS) |
| 5712 | |
| 5713 | add_executable(json_rewrite |
| 5714 | test/core/json/json_rewrite.c |
| 5715 | ) |
| 5716 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5717 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5718 | target_include_directories(json_rewrite |
| 5719 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5720 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5721 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5722 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5723 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5724 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5725 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5726 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5727 | ) |
| 5728 | |
| 5729 | target_link_libraries(json_rewrite |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5730 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5731 | grpc |
| 5732 | gpr |
| 5733 | ) |
| 5734 | |
| 5735 | endif (gRPC_BUILD_TESTS) |
| 5736 | if (gRPC_BUILD_TESTS) |
| 5737 | |
| 5738 | add_executable(json_rewrite_test |
| 5739 | test/core/json/json_rewrite_test.c |
| 5740 | ) |
| 5741 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5742 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5743 | target_include_directories(json_rewrite_test |
| 5744 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5745 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5746 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5747 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5748 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5749 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5750 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5751 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5752 | ) |
| 5753 | |
| 5754 | target_link_libraries(json_rewrite_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5755 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5756 | grpc_test_util |
| 5757 | grpc |
| 5758 | gpr_test_util |
| 5759 | gpr |
| 5760 | ) |
| 5761 | |
| 5762 | endif (gRPC_BUILD_TESTS) |
| 5763 | if (gRPC_BUILD_TESTS) |
| 5764 | |
| 5765 | add_executable(json_stream_error_test |
| 5766 | test/core/json/json_stream_error_test.c |
| 5767 | ) |
| 5768 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5769 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5770 | target_include_directories(json_stream_error_test |
| 5771 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5772 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5773 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5774 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5775 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5776 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5777 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5778 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5779 | ) |
| 5780 | |
| 5781 | target_link_libraries(json_stream_error_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 | |
| 5789 | endif (gRPC_BUILD_TESTS) |
| 5790 | if (gRPC_BUILD_TESTS) |
| 5791 | |
| 5792 | add_executable(json_test |
| 5793 | test/core/json/json_test.c |
| 5794 | ) |
| 5795 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5796 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5797 | target_include_directories(json_test |
| 5798 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5799 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5800 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5801 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5802 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5803 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5804 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5805 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5806 | ) |
| 5807 | |
| 5808 | target_link_libraries(json_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5809 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5810 | grpc_test_util |
| 5811 | grpc |
| 5812 | gpr_test_util |
| 5813 | gpr |
| 5814 | ) |
| 5815 | |
| 5816 | endif (gRPC_BUILD_TESTS) |
| 5817 | if (gRPC_BUILD_TESTS) |
| 5818 | |
| 5819 | add_executable(lame_client_test |
| 5820 | test/core/surface/lame_client_test.c |
| 5821 | ) |
| 5822 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5823 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5824 | target_include_directories(lame_client_test |
| 5825 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5826 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5827 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5828 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5829 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5830 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5831 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5832 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5833 | ) |
| 5834 | |
| 5835 | target_link_libraries(lame_client_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5836 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5837 | grpc_test_util |
| 5838 | grpc |
| 5839 | gpr_test_util |
| 5840 | gpr |
| 5841 | ) |
| 5842 | |
| 5843 | endif (gRPC_BUILD_TESTS) |
| 5844 | if (gRPC_BUILD_TESTS) |
| 5845 | |
| 5846 | add_executable(lb_policies_test |
| 5847 | test/core/client_channel/lb_policies_test.c |
| 5848 | ) |
| 5849 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5850 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5851 | target_include_directories(lb_policies_test |
| 5852 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5853 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5854 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5855 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5856 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5857 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5858 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5859 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5860 | ) |
| 5861 | |
| 5862 | target_link_libraries(lb_policies_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5863 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5864 | grpc_test_util |
| 5865 | grpc |
| 5866 | gpr_test_util |
| 5867 | gpr |
| 5868 | ) |
| 5869 | |
| 5870 | endif (gRPC_BUILD_TESTS) |
| 5871 | if (gRPC_BUILD_TESTS) |
| 5872 | |
| 5873 | add_executable(load_file_test |
| 5874 | test/core/iomgr/load_file_test.c |
| 5875 | ) |
| 5876 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5877 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5878 | target_include_directories(load_file_test |
| 5879 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5880 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5881 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5882 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5883 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5884 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5885 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5886 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5887 | ) |
| 5888 | |
| 5889 | target_link_libraries(load_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5890 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5891 | grpc_test_util |
| 5892 | grpc |
| 5893 | gpr_test_util |
| 5894 | gpr |
| 5895 | ) |
| 5896 | |
| 5897 | endif (gRPC_BUILD_TESTS) |
| 5898 | if (gRPC_BUILD_TESTS) |
| 5899 | |
| 5900 | add_executable(memory_profile_client |
| 5901 | test/core/memory_usage/client.c |
| 5902 | ) |
| 5903 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5904 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5905 | target_include_directories(memory_profile_client |
| 5906 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5907 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5908 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5909 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5910 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5911 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5912 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5913 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5914 | ) |
| 5915 | |
| 5916 | target_link_libraries(memory_profile_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5917 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5918 | grpc_test_util |
| 5919 | grpc |
| 5920 | gpr_test_util |
| 5921 | gpr |
| 5922 | ) |
| 5923 | |
| 5924 | endif (gRPC_BUILD_TESTS) |
| 5925 | if (gRPC_BUILD_TESTS) |
| 5926 | |
| 5927 | add_executable(memory_profile_server |
| 5928 | test/core/memory_usage/server.c |
| 5929 | ) |
| 5930 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5931 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5932 | target_include_directories(memory_profile_server |
| 5933 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5934 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5935 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5936 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5937 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5938 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5939 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5940 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5941 | ) |
| 5942 | |
| 5943 | target_link_libraries(memory_profile_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5944 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5945 | grpc_test_util |
| 5946 | grpc |
| 5947 | gpr_test_util |
| 5948 | gpr |
| 5949 | ) |
| 5950 | |
| 5951 | endif (gRPC_BUILD_TESTS) |
| 5952 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5953 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5954 | |
| 5955 | add_executable(memory_profile_test |
| 5956 | test/core/memory_usage/memory_usage_test.c |
| 5957 | ) |
| 5958 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5959 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5960 | target_include_directories(memory_profile_test |
| 5961 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5962 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5963 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5964 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5965 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5966 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5967 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5968 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5969 | ) |
| 5970 | |
| 5971 | target_link_libraries(memory_profile_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5972 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5973 | grpc_test_util |
| 5974 | grpc |
| 5975 | gpr_test_util |
| 5976 | gpr |
| 5977 | ) |
| 5978 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5979 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5980 | endif (gRPC_BUILD_TESTS) |
| 5981 | if (gRPC_BUILD_TESTS) |
| 5982 | |
| 5983 | add_executable(message_compress_test |
| 5984 | test/core/compression/message_compress_test.c |
| 5985 | ) |
| 5986 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5987 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5988 | target_include_directories(message_compress_test |
| 5989 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 5990 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 5991 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 5992 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 5993 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 5994 | PRIVATE ${ZLIB_ROOT_DIR} |
| 5995 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 5996 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 5997 | ) |
| 5998 | |
| 5999 | target_link_libraries(message_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6000 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6001 | grpc_test_util |
| 6002 | grpc |
| 6003 | gpr_test_util |
| 6004 | gpr |
| 6005 | ) |
| 6006 | |
| 6007 | endif (gRPC_BUILD_TESTS) |
| 6008 | if (gRPC_BUILD_TESTS) |
| 6009 | |
| 6010 | add_executable(mlog_test |
| 6011 | test/core/census/mlog_test.c |
| 6012 | ) |
| 6013 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6014 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6015 | target_include_directories(mlog_test |
| 6016 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6017 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6018 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6019 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6020 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6021 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6022 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6023 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6024 | ) |
| 6025 | |
| 6026 | target_link_libraries(mlog_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6027 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6028 | grpc_test_util |
| 6029 | grpc |
| 6030 | gpr_test_util |
| 6031 | gpr |
| 6032 | ) |
| 6033 | |
| 6034 | endif (gRPC_BUILD_TESTS) |
| 6035 | if (gRPC_BUILD_TESTS) |
| 6036 | |
| 6037 | add_executable(multiple_server_queues_test |
| 6038 | test/core/end2end/multiple_server_queues_test.c |
| 6039 | ) |
| 6040 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6041 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6042 | target_include_directories(multiple_server_queues_test |
| 6043 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6044 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6045 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6046 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6047 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6048 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6049 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6050 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6051 | ) |
| 6052 | |
| 6053 | target_link_libraries(multiple_server_queues_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6054 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6055 | grpc_test_util |
| 6056 | grpc |
| 6057 | gpr_test_util |
| 6058 | gpr |
| 6059 | ) |
| 6060 | |
| 6061 | endif (gRPC_BUILD_TESTS) |
| 6062 | if (gRPC_BUILD_TESTS) |
| 6063 | |
| 6064 | add_executable(murmur_hash_test |
| 6065 | test/core/support/murmur_hash_test.c |
| 6066 | ) |
| 6067 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6068 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6069 | target_include_directories(murmur_hash_test |
| 6070 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6071 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6072 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6073 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6074 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6075 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6076 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6077 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6078 | ) |
| 6079 | |
| 6080 | target_link_libraries(murmur_hash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6081 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6082 | gpr_test_util |
| 6083 | gpr |
| 6084 | ) |
| 6085 | |
| 6086 | endif (gRPC_BUILD_TESTS) |
| 6087 | if (gRPC_BUILD_TESTS) |
| 6088 | |
| 6089 | add_executable(no_server_test |
| 6090 | test/core/end2end/no_server_test.c |
| 6091 | ) |
| 6092 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6093 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6094 | target_include_directories(no_server_test |
| 6095 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6096 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6097 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6098 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6099 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6100 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6101 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6102 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6103 | ) |
| 6104 | |
| 6105 | target_link_libraries(no_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6106 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6107 | grpc_test_util |
| 6108 | grpc |
| 6109 | gpr_test_util |
| 6110 | gpr |
| 6111 | ) |
| 6112 | |
| 6113 | endif (gRPC_BUILD_TESTS) |
| 6114 | if (gRPC_BUILD_TESTS) |
| 6115 | |
| 6116 | add_executable(percent_encoding_test |
| 6117 | test/core/slice/percent_encoding_test.c |
| 6118 | ) |
| 6119 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6120 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6121 | target_include_directories(percent_encoding_test |
| 6122 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6123 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6124 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6125 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6126 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6127 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6128 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6129 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6130 | ) |
| 6131 | |
| 6132 | target_link_libraries(percent_encoding_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 | grpc_test_util |
| 6135 | grpc |
| 6136 | gpr_test_util |
| 6137 | gpr |
| 6138 | ) |
| 6139 | |
| 6140 | endif (gRPC_BUILD_TESTS) |
| 6141 | if (gRPC_BUILD_TESTS) |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 6142 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6143 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 6144 | add_executable(pollset_set_test |
| 6145 | test/core/iomgr/pollset_set_test.c |
| 6146 | ) |
| 6147 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 6148 | |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 6149 | target_include_directories(pollset_set_test |
| 6150 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6151 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6152 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6153 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 6154 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 6155 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6156 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6157 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6158 | ) |
| 6159 | |
| 6160 | target_link_libraries(pollset_set_test |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 6161 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 6162 | grpc_test_util |
| 6163 | grpc |
| 6164 | gpr_test_util |
| 6165 | gpr |
| 6166 | ) |
| 6167 | |
Sree Kuchibhotla | 6613168 | 2017-02-02 09:39:07 -0800 | [diff] [blame] | 6168 | endif() |
Sree Kuchibhotla | 7e87c32 | 2017-01-23 14:11:23 -0800 | [diff] [blame] | 6169 | endif (gRPC_BUILD_TESTS) |
| 6170 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6171 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6172 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 6173 | add_executable(resolve_address_posix_test |
| 6174 | test/core/iomgr/resolve_address_posix_test.c |
| 6175 | ) |
| 6176 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6177 | |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 6178 | target_include_directories(resolve_address_posix_test |
| 6179 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6180 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6181 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6182 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6183 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 6184 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6185 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6186 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6187 | ) |
| 6188 | |
| 6189 | target_link_libraries(resolve_address_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6190 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 6191 | grpc_test_util |
| 6192 | grpc |
| 6193 | gpr_test_util |
| 6194 | gpr |
| 6195 | ) |
| 6196 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6197 | endif() |
Stanley Cheung | 1695218 | 2017-01-27 20:09:31 -0800 | [diff] [blame] | 6198 | endif (gRPC_BUILD_TESTS) |
| 6199 | if (gRPC_BUILD_TESTS) |
| 6200 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6201 | add_executable(resolve_address_test |
| 6202 | test/core/iomgr/resolve_address_test.c |
| 6203 | ) |
| 6204 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6205 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6206 | target_include_directories(resolve_address_test |
| 6207 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6208 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6209 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6210 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6211 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6212 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6213 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6214 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6215 | ) |
| 6216 | |
| 6217 | target_link_libraries(resolve_address_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6218 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6219 | grpc_test_util |
| 6220 | grpc |
| 6221 | gpr_test_util |
| 6222 | gpr |
| 6223 | ) |
| 6224 | |
| 6225 | endif (gRPC_BUILD_TESTS) |
| 6226 | if (gRPC_BUILD_TESTS) |
| 6227 | |
| 6228 | add_executable(resource_quota_test |
| 6229 | test/core/iomgr/resource_quota_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(resource_quota_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 |
| 6241 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6242 | ) |
| 6243 | |
| 6244 | target_link_libraries(resource_quota_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6245 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6246 | grpc_test_util |
| 6247 | grpc |
| 6248 | gpr_test_util |
| 6249 | gpr |
| 6250 | ) |
| 6251 | |
| 6252 | endif (gRPC_BUILD_TESTS) |
| 6253 | if (gRPC_BUILD_TESTS) |
| 6254 | |
| 6255 | add_executable(secure_channel_create_test |
| 6256 | test/core/surface/secure_channel_create_test.c |
| 6257 | ) |
| 6258 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6259 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6260 | target_include_directories(secure_channel_create_test |
| 6261 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6262 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6263 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6264 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6265 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6266 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6267 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6268 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6269 | ) |
| 6270 | |
| 6271 | target_link_libraries(secure_channel_create_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6272 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6273 | grpc_test_util |
| 6274 | grpc |
| 6275 | gpr_test_util |
| 6276 | gpr |
| 6277 | ) |
| 6278 | |
| 6279 | endif (gRPC_BUILD_TESTS) |
| 6280 | if (gRPC_BUILD_TESTS) |
| 6281 | |
| 6282 | add_executable(secure_endpoint_test |
| 6283 | test/core/security/secure_endpoint_test.c |
| 6284 | ) |
| 6285 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6286 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6287 | target_include_directories(secure_endpoint_test |
| 6288 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6289 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6290 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6291 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6292 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6293 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6294 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6295 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6296 | ) |
| 6297 | |
| 6298 | target_link_libraries(secure_endpoint_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6299 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6300 | grpc_test_util |
| 6301 | grpc |
| 6302 | gpr_test_util |
| 6303 | gpr |
| 6304 | ) |
| 6305 | |
| 6306 | endif (gRPC_BUILD_TESTS) |
| 6307 | if (gRPC_BUILD_TESTS) |
| 6308 | |
| 6309 | add_executable(sequential_connectivity_test |
| 6310 | test/core/surface/sequential_connectivity_test.c |
| 6311 | ) |
| 6312 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6313 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6314 | target_include_directories(sequential_connectivity_test |
| 6315 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6316 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6317 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6318 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6319 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6320 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6321 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6322 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6323 | ) |
| 6324 | |
| 6325 | target_link_libraries(sequential_connectivity_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6326 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6327 | grpc_test_util |
| 6328 | grpc |
| 6329 | gpr_test_util |
| 6330 | gpr |
| 6331 | ) |
| 6332 | |
| 6333 | endif (gRPC_BUILD_TESTS) |
| 6334 | if (gRPC_BUILD_TESTS) |
| 6335 | |
| 6336 | add_executable(server_chttp2_test |
| 6337 | test/core/surface/server_chttp2_test.c |
| 6338 | ) |
| 6339 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6340 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6341 | target_include_directories(server_chttp2_test |
| 6342 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6343 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6344 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6345 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6346 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6347 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6348 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6349 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6350 | ) |
| 6351 | |
| 6352 | target_link_libraries(server_chttp2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6353 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6354 | grpc_test_util |
| 6355 | grpc |
| 6356 | gpr_test_util |
| 6357 | gpr |
| 6358 | ) |
| 6359 | |
| 6360 | endif (gRPC_BUILD_TESTS) |
| 6361 | if (gRPC_BUILD_TESTS) |
| 6362 | |
| 6363 | add_executable(server_test |
| 6364 | test/core/surface/server_test.c |
| 6365 | ) |
| 6366 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6367 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6368 | target_include_directories(server_test |
| 6369 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6370 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6371 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6372 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6373 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6374 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6375 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6376 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6377 | ) |
| 6378 | |
| 6379 | target_link_libraries(server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6380 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6381 | grpc_test_util |
| 6382 | grpc |
| 6383 | gpr_test_util |
| 6384 | gpr |
| 6385 | ) |
| 6386 | |
| 6387 | endif (gRPC_BUILD_TESTS) |
| 6388 | if (gRPC_BUILD_TESTS) |
| 6389 | |
| 6390 | add_executable(set_initial_connect_string_test |
| 6391 | test/core/client_channel/set_initial_connect_string_test.c |
| 6392 | ) |
| 6393 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6394 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6395 | target_include_directories(set_initial_connect_string_test |
| 6396 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6397 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6398 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6399 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6400 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6401 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6402 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6403 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6404 | ) |
| 6405 | |
| 6406 | target_link_libraries(set_initial_connect_string_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6407 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6408 | test_tcp_server |
| 6409 | grpc_test_util |
| 6410 | grpc |
| 6411 | gpr_test_util |
| 6412 | gpr |
| 6413 | ) |
| 6414 | |
| 6415 | endif (gRPC_BUILD_TESTS) |
| 6416 | if (gRPC_BUILD_TESTS) |
| 6417 | |
| 6418 | add_executable(slice_buffer_test |
| 6419 | test/core/slice/slice_buffer_test.c |
| 6420 | ) |
| 6421 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6422 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6423 | target_include_directories(slice_buffer_test |
| 6424 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6425 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6426 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6427 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6428 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6429 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6430 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6431 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6432 | ) |
| 6433 | |
| 6434 | target_link_libraries(slice_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6435 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6436 | grpc_test_util |
| 6437 | grpc |
| 6438 | gpr_test_util |
| 6439 | gpr |
| 6440 | ) |
| 6441 | |
| 6442 | endif (gRPC_BUILD_TESTS) |
| 6443 | if (gRPC_BUILD_TESTS) |
| 6444 | |
| 6445 | add_executable(slice_string_helpers_test |
| 6446 | test/core/slice/slice_string_helpers_test.c |
| 6447 | ) |
| 6448 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6449 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6450 | target_include_directories(slice_string_helpers_test |
| 6451 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6452 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6453 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6454 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6455 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6456 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6457 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6458 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6459 | ) |
| 6460 | |
| 6461 | target_link_libraries(slice_string_helpers_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) |
| 6470 | if (gRPC_BUILD_TESTS) |
| 6471 | |
| 6472 | add_executable(slice_test |
| 6473 | test/core/slice/slice_test.c |
| 6474 | ) |
| 6475 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6476 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6477 | target_include_directories(slice_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 |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6482 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6483 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6484 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6485 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6486 | ) |
| 6487 | |
| 6488 | target_link_libraries(slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6489 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6490 | grpc_test_util |
| 6491 | grpc |
| 6492 | gpr_test_util |
| 6493 | gpr |
| 6494 | ) |
| 6495 | |
| 6496 | endif (gRPC_BUILD_TESTS) |
| 6497 | if (gRPC_BUILD_TESTS) |
| 6498 | |
| 6499 | add_executable(sockaddr_resolver_test |
| 6500 | test/core/client_channel/resolvers/sockaddr_resolver_test.c |
| 6501 | ) |
| 6502 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6503 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6504 | target_include_directories(sockaddr_resolver_test |
| 6505 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6506 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6507 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6508 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6509 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6510 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6511 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6512 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6513 | ) |
| 6514 | |
| 6515 | target_link_libraries(sockaddr_resolver_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6516 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6517 | grpc_test_util |
| 6518 | grpc |
| 6519 | gpr_test_util |
| 6520 | gpr |
| 6521 | ) |
| 6522 | |
| 6523 | endif (gRPC_BUILD_TESTS) |
| 6524 | if (gRPC_BUILD_TESTS) |
| 6525 | |
| 6526 | add_executable(sockaddr_utils_test |
| 6527 | test/core/iomgr/sockaddr_utils_test.c |
| 6528 | ) |
| 6529 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6530 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6531 | target_include_directories(sockaddr_utils_test |
| 6532 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6533 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6534 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6535 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6536 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6537 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6538 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6539 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6540 | ) |
| 6541 | |
| 6542 | target_link_libraries(sockaddr_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6543 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6544 | grpc_test_util |
| 6545 | grpc |
| 6546 | gpr_test_util |
| 6547 | gpr |
| 6548 | ) |
| 6549 | |
| 6550 | endif (gRPC_BUILD_TESTS) |
| 6551 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6552 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6553 | |
| 6554 | add_executable(socket_utils_test |
| 6555 | test/core/iomgr/socket_utils_test.c |
| 6556 | ) |
| 6557 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6558 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6559 | target_include_directories(socket_utils_test |
| 6560 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6561 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6562 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6563 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6564 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6565 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6566 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6567 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6568 | ) |
| 6569 | |
| 6570 | target_link_libraries(socket_utils_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6571 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6572 | grpc_test_util |
| 6573 | grpc |
| 6574 | gpr_test_util |
| 6575 | gpr |
| 6576 | ) |
| 6577 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6578 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6579 | endif (gRPC_BUILD_TESTS) |
| 6580 | if (gRPC_BUILD_TESTS) |
| 6581 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 6582 | add_executable(status_conversion_test |
| 6583 | test/core/transport/status_conversion_test.c |
| 6584 | ) |
| 6585 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6586 | |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 6587 | target_include_directories(status_conversion_test |
| 6588 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6589 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6590 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6591 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6592 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 6593 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6594 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6595 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6596 | ) |
| 6597 | |
| 6598 | target_link_libraries(status_conversion_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6599 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 6600 | grpc_test_util |
| 6601 | grpc |
| 6602 | gpr_test_util |
| 6603 | gpr |
| 6604 | ) |
| 6605 | |
| 6606 | endif (gRPC_BUILD_TESTS) |
| 6607 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6608 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 6609 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6610 | add_executable(tcp_client_posix_test |
| 6611 | test/core/iomgr/tcp_client_posix_test.c |
| 6612 | ) |
| 6613 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6614 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6615 | target_include_directories(tcp_client_posix_test |
| 6616 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6617 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6618 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6619 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6620 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6621 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6622 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6623 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6624 | ) |
| 6625 | |
| 6626 | target_link_libraries(tcp_client_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6627 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6628 | grpc_test_util |
| 6629 | grpc |
| 6630 | gpr_test_util |
| 6631 | gpr |
| 6632 | ) |
| 6633 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6634 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6635 | endif (gRPC_BUILD_TESTS) |
| 6636 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6637 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6638 | |
| 6639 | add_executable(tcp_posix_test |
| 6640 | test/core/iomgr/tcp_posix_test.c |
| 6641 | ) |
| 6642 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6643 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6644 | target_include_directories(tcp_posix_test |
| 6645 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6646 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6647 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6648 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6649 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6650 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6651 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6652 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6653 | ) |
| 6654 | |
| 6655 | target_link_libraries(tcp_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6656 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6657 | grpc_test_util |
| 6658 | grpc |
| 6659 | gpr_test_util |
| 6660 | gpr |
| 6661 | ) |
| 6662 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6663 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6664 | endif (gRPC_BUILD_TESTS) |
| 6665 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6666 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6667 | |
| 6668 | add_executable(tcp_server_posix_test |
| 6669 | test/core/iomgr/tcp_server_posix_test.c |
| 6670 | ) |
| 6671 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6672 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6673 | target_include_directories(tcp_server_posix_test |
| 6674 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6675 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6676 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6677 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6678 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6679 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6680 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6681 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6682 | ) |
| 6683 | |
| 6684 | target_link_libraries(tcp_server_posix_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6685 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6686 | grpc_test_util |
| 6687 | grpc |
| 6688 | gpr_test_util |
| 6689 | gpr |
| 6690 | ) |
| 6691 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6692 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6693 | endif (gRPC_BUILD_TESTS) |
| 6694 | if (gRPC_BUILD_TESTS) |
| 6695 | |
| 6696 | add_executable(time_averaged_stats_test |
| 6697 | test/core/iomgr/time_averaged_stats_test.c |
| 6698 | ) |
| 6699 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6700 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6701 | target_include_directories(time_averaged_stats_test |
| 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 |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6707 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6708 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6709 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6710 | ) |
| 6711 | |
| 6712 | target_link_libraries(time_averaged_stats_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6713 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6714 | grpc_test_util |
| 6715 | grpc |
| 6716 | gpr_test_util |
| 6717 | gpr |
| 6718 | ) |
| 6719 | |
| 6720 | endif (gRPC_BUILD_TESTS) |
| 6721 | if (gRPC_BUILD_TESTS) |
| 6722 | |
| 6723 | add_executable(timeout_encoding_test |
| 6724 | test/core/transport/timeout_encoding_test.c |
| 6725 | ) |
| 6726 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6727 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6728 | target_include_directories(timeout_encoding_test |
| 6729 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6730 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6731 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6732 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6733 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6734 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6735 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6736 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6737 | ) |
| 6738 | |
| 6739 | target_link_libraries(timeout_encoding_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6740 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6741 | grpc_test_util |
| 6742 | grpc |
| 6743 | gpr_test_util |
| 6744 | gpr |
| 6745 | ) |
| 6746 | |
| 6747 | endif (gRPC_BUILD_TESTS) |
| 6748 | if (gRPC_BUILD_TESTS) |
| 6749 | |
| 6750 | add_executable(timer_heap_test |
| 6751 | test/core/iomgr/timer_heap_test.c |
| 6752 | ) |
| 6753 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6754 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6755 | target_include_directories(timer_heap_test |
| 6756 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6757 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6758 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6759 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6760 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6761 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6762 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6763 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6764 | ) |
| 6765 | |
| 6766 | target_link_libraries(timer_heap_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6767 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6768 | grpc_test_util |
| 6769 | grpc |
| 6770 | gpr_test_util |
| 6771 | gpr |
| 6772 | ) |
| 6773 | |
| 6774 | endif (gRPC_BUILD_TESTS) |
| 6775 | if (gRPC_BUILD_TESTS) |
| 6776 | |
| 6777 | add_executable(timer_list_test |
| 6778 | test/core/iomgr/timer_list_test.c |
| 6779 | ) |
| 6780 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6781 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6782 | target_include_directories(timer_list_test |
| 6783 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6784 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6785 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6786 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6787 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6788 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6789 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6790 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6791 | ) |
| 6792 | |
| 6793 | target_link_libraries(timer_list_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6794 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6795 | grpc_test_util |
| 6796 | grpc |
| 6797 | gpr_test_util |
| 6798 | gpr |
| 6799 | ) |
| 6800 | |
| 6801 | endif (gRPC_BUILD_TESTS) |
| 6802 | if (gRPC_BUILD_TESTS) |
| 6803 | |
| 6804 | add_executable(transport_connectivity_state_test |
| 6805 | test/core/transport/connectivity_state_test.c |
| 6806 | ) |
| 6807 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6808 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6809 | target_include_directories(transport_connectivity_state_test |
| 6810 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6811 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6812 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6813 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6814 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6815 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6816 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6817 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6818 | ) |
| 6819 | |
| 6820 | target_link_libraries(transport_connectivity_state_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6821 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6822 | grpc_test_util |
| 6823 | grpc |
| 6824 | gpr_test_util |
| 6825 | gpr |
| 6826 | ) |
| 6827 | |
| 6828 | endif (gRPC_BUILD_TESTS) |
| 6829 | if (gRPC_BUILD_TESTS) |
| 6830 | |
| 6831 | add_executable(transport_metadata_test |
| 6832 | test/core/transport/metadata_test.c |
| 6833 | ) |
| 6834 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6835 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6836 | target_include_directories(transport_metadata_test |
| 6837 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6838 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6839 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6840 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6841 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6842 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6843 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6844 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6845 | ) |
| 6846 | |
| 6847 | target_link_libraries(transport_metadata_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6848 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6849 | grpc_test_util |
| 6850 | grpc |
| 6851 | gpr_test_util |
| 6852 | gpr |
| 6853 | ) |
| 6854 | |
| 6855 | endif (gRPC_BUILD_TESTS) |
| 6856 | if (gRPC_BUILD_TESTS) |
| 6857 | |
| 6858 | add_executable(transport_pid_controller_test |
| 6859 | test/core/transport/pid_controller_test.c |
| 6860 | ) |
| 6861 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6862 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6863 | target_include_directories(transport_pid_controller_test |
| 6864 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6865 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6866 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6867 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6868 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6869 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6870 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6871 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6872 | ) |
| 6873 | |
| 6874 | target_link_libraries(transport_pid_controller_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6875 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6876 | grpc_test_util |
| 6877 | grpc |
| 6878 | gpr_test_util |
| 6879 | gpr |
| 6880 | ) |
| 6881 | |
| 6882 | endif (gRPC_BUILD_TESTS) |
| 6883 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6884 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6885 | |
| 6886 | add_executable(transport_security_test |
| 6887 | test/core/tsi/transport_security_test.c |
| 6888 | ) |
| 6889 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6890 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6891 | target_include_directories(transport_security_test |
| 6892 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6893 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6894 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6895 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6896 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6897 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6898 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6899 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6900 | ) |
| 6901 | |
| 6902 | target_link_libraries(transport_security_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6903 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6904 | grpc_test_util |
| 6905 | grpc |
| 6906 | gpr_test_util |
| 6907 | gpr |
| 6908 | ) |
| 6909 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6910 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6911 | endif (gRPC_BUILD_TESTS) |
| 6912 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6913 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6914 | |
| 6915 | add_executable(udp_server_test |
| 6916 | test/core/iomgr/udp_server_test.c |
| 6917 | ) |
| 6918 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6919 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6920 | target_include_directories(udp_server_test |
| 6921 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6922 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6923 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6924 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6925 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6926 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6927 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6928 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6929 | ) |
| 6930 | |
| 6931 | target_link_libraries(udp_server_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6932 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6933 | grpc_test_util |
| 6934 | grpc |
| 6935 | gpr_test_util |
| 6936 | gpr |
| 6937 | ) |
| 6938 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6939 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6940 | endif (gRPC_BUILD_TESTS) |
| 6941 | if (gRPC_BUILD_TESTS) |
| 6942 | |
| 6943 | add_executable(uri_parser_test |
| 6944 | test/core/client_channel/uri_parser_test.c |
| 6945 | ) |
| 6946 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6947 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6948 | target_include_directories(uri_parser_test |
| 6949 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6950 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6951 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6952 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6953 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6954 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6955 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6956 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6957 | ) |
| 6958 | |
| 6959 | target_link_libraries(uri_parser_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6960 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6961 | grpc_test_util |
| 6962 | grpc |
| 6963 | gpr_test_util |
| 6964 | gpr |
| 6965 | ) |
| 6966 | |
| 6967 | endif (gRPC_BUILD_TESTS) |
| 6968 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6969 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6970 | |
| 6971 | add_executable(wakeup_fd_cv_test |
| 6972 | test/core/iomgr/wakeup_fd_cv_test.c |
| 6973 | ) |
| 6974 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6975 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6976 | target_include_directories(wakeup_fd_cv_test |
| 6977 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 6978 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 6979 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 6980 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6981 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6982 | PRIVATE ${ZLIB_ROOT_DIR} |
| 6983 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 6984 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 6985 | ) |
| 6986 | |
| 6987 | target_link_libraries(wakeup_fd_cv_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6988 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6989 | grpc_test_util |
| 6990 | grpc |
| 6991 | gpr_test_util |
| 6992 | gpr |
| 6993 | ) |
| 6994 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 6995 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 6996 | endif (gRPC_BUILD_TESTS) |
| 6997 | if (gRPC_BUILD_TESTS) |
| 6998 | |
| 6999 | add_executable(alarm_cpp_test |
| 7000 | test/cpp/common/alarm_cpp_test.cc |
| 7001 | third_party/googletest/src/gtest-all.cc |
| 7002 | ) |
| 7003 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7004 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7005 | target_include_directories(alarm_cpp_test |
| 7006 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7007 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7008 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7009 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7010 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7011 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7012 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7013 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7014 | PRIVATE third_party/googletest/include |
| 7015 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7016 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7017 | ) |
| 7018 | |
| 7019 | target_link_libraries(alarm_cpp_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7020 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 7021 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7022 | grpc++_test_util |
| 7023 | grpc_test_util |
| 7024 | grpc++ |
| 7025 | grpc |
| 7026 | gpr_test_util |
| 7027 | gpr |
| 7028 | ${_gRPC_GFLAGS_LIBRARIES} |
| 7029 | ) |
| 7030 | |
| 7031 | endif (gRPC_BUILD_TESTS) |
| 7032 | if (gRPC_BUILD_TESTS) |
| 7033 | |
| 7034 | add_executable(async_end2end_test |
| 7035 | test/cpp/end2end/async_end2end_test.cc |
| 7036 | third_party/googletest/src/gtest-all.cc |
| 7037 | ) |
| 7038 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7039 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7040 | target_include_directories(async_end2end_test |
| 7041 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7042 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7043 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7044 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7045 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7046 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7047 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7048 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7049 | PRIVATE third_party/googletest/include |
| 7050 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7051 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7052 | ) |
| 7053 | |
| 7054 | target_link_libraries(async_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7055 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 7056 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7057 | grpc++_test_util |
| 7058 | grpc_test_util |
| 7059 | grpc++ |
| 7060 | grpc |
| 7061 | gpr_test_util |
| 7062 | gpr |
| 7063 | ${_gRPC_GFLAGS_LIBRARIES} |
| 7064 | ) |
| 7065 | |
| 7066 | endif (gRPC_BUILD_TESTS) |
| 7067 | if (gRPC_BUILD_TESTS) |
| 7068 | |
| 7069 | add_executable(auth_property_iterator_test |
| 7070 | test/cpp/common/auth_property_iterator_test.cc |
| 7071 | third_party/googletest/src/gtest-all.cc |
| 7072 | ) |
| 7073 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7074 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7075 | target_include_directories(auth_property_iterator_test |
| 7076 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7077 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7078 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7079 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7080 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7081 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7082 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7083 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7084 | PRIVATE third_party/googletest/include |
| 7085 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7086 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7087 | ) |
| 7088 | |
| 7089 | target_link_libraries(auth_property_iterator_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7090 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 7091 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7092 | grpc++_test_util |
| 7093 | grpc_test_util |
| 7094 | grpc++ |
| 7095 | grpc |
| 7096 | gpr_test_util |
| 7097 | gpr |
| 7098 | ${_gRPC_GFLAGS_LIBRARIES} |
| 7099 | ) |
| 7100 | |
| 7101 | endif (gRPC_BUILD_TESTS) |
| 7102 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7103 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7104 | |
| 7105 | add_executable(bm_fullstack |
| 7106 | test/cpp/microbenchmarks/bm_fullstack.cc |
| 7107 | third_party/googletest/src/gtest-all.cc |
| 7108 | ) |
| 7109 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7110 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7111 | target_include_directories(bm_fullstack |
| 7112 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7113 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7114 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7115 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7116 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7117 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7118 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7119 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7120 | PRIVATE third_party/googletest/include |
| 7121 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7122 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7123 | ) |
| 7124 | |
| 7125 | target_link_libraries(bm_fullstack |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7126 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 7127 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7128 | benchmark |
| 7129 | grpc++_test_util |
| 7130 | grpc_test_util |
| 7131 | grpc++ |
| 7132 | grpc |
| 7133 | gpr_test_util |
| 7134 | gpr |
| 7135 | ${_gRPC_GFLAGS_LIBRARIES} |
| 7136 | ) |
| 7137 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7138 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7139 | endif (gRPC_BUILD_TESTS) |
| 7140 | if (gRPC_BUILD_TESTS) |
| 7141 | |
| 7142 | add_executable(channel_arguments_test |
| 7143 | test/cpp/common/channel_arguments_test.cc |
| 7144 | third_party/googletest/src/gtest-all.cc |
| 7145 | ) |
| 7146 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7147 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7148 | target_include_directories(channel_arguments_test |
| 7149 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7150 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7151 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7152 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7153 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7154 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7155 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7156 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7157 | PRIVATE third_party/googletest/include |
| 7158 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7159 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7160 | ) |
| 7161 | |
| 7162 | target_link_libraries(channel_arguments_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7163 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 7164 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7165 | grpc++ |
| 7166 | grpc |
| 7167 | gpr |
| 7168 | ${_gRPC_GFLAGS_LIBRARIES} |
| 7169 | ) |
| 7170 | |
| 7171 | endif (gRPC_BUILD_TESTS) |
| 7172 | if (gRPC_BUILD_TESTS) |
| 7173 | |
| 7174 | add_executable(channel_filter_test |
| 7175 | test/cpp/common/channel_filter_test.cc |
| 7176 | third_party/googletest/src/gtest-all.cc |
| 7177 | ) |
| 7178 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7179 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7180 | target_include_directories(channel_filter_test |
| 7181 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7182 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7183 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7184 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7185 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7186 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7187 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7188 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7189 | PRIVATE third_party/googletest/include |
| 7190 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7191 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7192 | ) |
| 7193 | |
| 7194 | target_link_libraries(channel_filter_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7195 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 7196 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7197 | grpc++ |
| 7198 | grpc |
| 7199 | gpr |
| 7200 | ${_gRPC_GFLAGS_LIBRARIES} |
| 7201 | ) |
| 7202 | |
| 7203 | endif (gRPC_BUILD_TESTS) |
| 7204 | if (gRPC_BUILD_TESTS) |
| 7205 | |
| 7206 | add_executable(cli_call_test |
| 7207 | test/cpp/util/cli_call_test.cc |
| 7208 | third_party/googletest/src/gtest-all.cc |
| 7209 | ) |
| 7210 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7211 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7212 | target_include_directories(cli_call_test |
| 7213 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7214 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7215 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7216 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7217 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7218 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7219 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7220 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7221 | PRIVATE third_party/googletest/include |
| 7222 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7223 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7224 | ) |
| 7225 | |
| 7226 | target_link_libraries(cli_call_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7227 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 7228 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7229 | grpc_cli_libs |
| 7230 | grpc++_test_util |
| 7231 | grpc_test_util |
| 7232 | grpc++ |
| 7233 | grpc |
| 7234 | gpr_test_util |
| 7235 | gpr |
| 7236 | ${_gRPC_GFLAGS_LIBRARIES} |
| 7237 | ) |
| 7238 | |
| 7239 | endif (gRPC_BUILD_TESTS) |
| 7240 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7241 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7242 | |
| 7243 | add_executable(client_crash_test |
| 7244 | test/cpp/end2end/client_crash_test.cc |
| 7245 | third_party/googletest/src/gtest-all.cc |
| 7246 | ) |
| 7247 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7248 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7249 | target_include_directories(client_crash_test |
| 7250 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7251 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7252 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7253 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7254 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7255 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7256 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7257 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7258 | PRIVATE third_party/googletest/include |
| 7259 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7260 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7261 | ) |
| 7262 | |
| 7263 | target_link_libraries(client_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7264 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 7265 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7266 | grpc++_test_util |
| 7267 | grpc_test_util |
| 7268 | grpc++ |
| 7269 | grpc |
| 7270 | gpr_test_util |
| 7271 | gpr |
| 7272 | ${_gRPC_GFLAGS_LIBRARIES} |
| 7273 | ) |
| 7274 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7275 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7276 | endif (gRPC_BUILD_TESTS) |
| 7277 | if (gRPC_BUILD_TESTS) |
| 7278 | |
| 7279 | add_executable(client_crash_test_server |
| 7280 | test/cpp/end2end/client_crash_test_server.cc |
| 7281 | third_party/googletest/src/gtest-all.cc |
| 7282 | ) |
| 7283 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7284 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7285 | target_include_directories(client_crash_test_server |
| 7286 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7287 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7288 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7289 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7290 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7291 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7292 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7293 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7294 | PRIVATE third_party/googletest/include |
| 7295 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7296 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7297 | ) |
| 7298 | |
| 7299 | target_link_libraries(client_crash_test_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7300 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 7301 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7302 | grpc++_test_util |
| 7303 | grpc_test_util |
| 7304 | grpc++ |
| 7305 | grpc |
| 7306 | gpr_test_util |
| 7307 | gpr |
| 7308 | ${_gRPC_GFLAGS_LIBRARIES} |
| 7309 | ) |
| 7310 | |
| 7311 | endif (gRPC_BUILD_TESTS) |
| 7312 | if (gRPC_BUILD_TESTS) |
| 7313 | |
| 7314 | add_executable(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7315 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 7316 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 7317 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 7318 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 7319 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 7320 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 7321 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 7322 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 7323 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 7324 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 7325 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 7326 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 7327 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 7328 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 7329 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 7330 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
| 7331 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 7332 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 7333 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 7334 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7335 | test/cpp/codegen/codegen_test_full.cc |
| 7336 | third_party/googletest/src/gtest-all.cc |
| 7337 | ) |
| 7338 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7339 | protobuf_generate_grpc_cpp( |
| 7340 | src/proto/grpc/testing/control.proto |
| 7341 | ) |
| 7342 | protobuf_generate_grpc_cpp( |
| 7343 | src/proto/grpc/testing/messages.proto |
| 7344 | ) |
| 7345 | protobuf_generate_grpc_cpp( |
| 7346 | src/proto/grpc/testing/payloads.proto |
| 7347 | ) |
| 7348 | protobuf_generate_grpc_cpp( |
| 7349 | src/proto/grpc/testing/services.proto |
| 7350 | ) |
| 7351 | protobuf_generate_grpc_cpp( |
| 7352 | src/proto/grpc/testing/stats.proto |
| 7353 | ) |
| 7354 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7355 | target_include_directories(codegen_test_full |
| 7356 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7357 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7358 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7359 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7360 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7361 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7362 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7363 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7364 | PRIVATE third_party/googletest/include |
| 7365 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7366 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7367 | ) |
| 7368 | |
| 7369 | target_link_libraries(codegen_test_full |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7370 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 7371 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7372 | grpc++ |
| 7373 | grpc |
| 7374 | gpr |
| 7375 | ${_gRPC_GFLAGS_LIBRARIES} |
| 7376 | ) |
| 7377 | |
| 7378 | endif (gRPC_BUILD_TESTS) |
| 7379 | if (gRPC_BUILD_TESTS) |
| 7380 | |
| 7381 | add_executable(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7382 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.cc |
| 7383 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.cc |
| 7384 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.pb.h |
| 7385 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/control.grpc.pb.h |
| 7386 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 7387 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 7388 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 7389 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 7390 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.cc |
| 7391 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.cc |
| 7392 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.pb.h |
| 7393 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/payloads.grpc.pb.h |
| 7394 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.cc |
| 7395 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.cc |
| 7396 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.pb.h |
| 7397 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/services.grpc.pb.h |
| 7398 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.cc |
| 7399 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.cc |
| 7400 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.pb.h |
| 7401 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/stats.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7402 | test/cpp/codegen/codegen_test_minimal.cc |
| 7403 | src/cpp/codegen/codegen_init.cc |
| 7404 | third_party/googletest/src/gtest-all.cc |
| 7405 | ) |
| 7406 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7407 | protobuf_generate_grpc_cpp( |
| 7408 | src/proto/grpc/testing/control.proto |
| 7409 | ) |
| 7410 | protobuf_generate_grpc_cpp( |
| 7411 | src/proto/grpc/testing/messages.proto |
| 7412 | ) |
| 7413 | protobuf_generate_grpc_cpp( |
| 7414 | src/proto/grpc/testing/payloads.proto |
| 7415 | ) |
| 7416 | protobuf_generate_grpc_cpp( |
| 7417 | src/proto/grpc/testing/services.proto |
| 7418 | ) |
| 7419 | protobuf_generate_grpc_cpp( |
| 7420 | src/proto/grpc/testing/stats.proto |
| 7421 | ) |
| 7422 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7423 | target_include_directories(codegen_test_minimal |
| 7424 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7425 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7426 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7427 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7428 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7429 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7430 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7431 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7432 | PRIVATE third_party/googletest/include |
| 7433 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7434 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7435 | ) |
| 7436 | |
| 7437 | target_link_libraries(codegen_test_minimal |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7438 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 7439 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7440 | ${_gRPC_GFLAGS_LIBRARIES} |
| 7441 | ) |
| 7442 | |
| 7443 | endif (gRPC_BUILD_TESTS) |
| 7444 | if (gRPC_BUILD_TESTS) |
| 7445 | |
| 7446 | add_executable(credentials_test |
| 7447 | test/cpp/client/credentials_test.cc |
| 7448 | third_party/googletest/src/gtest-all.cc |
| 7449 | ) |
| 7450 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7451 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7452 | target_include_directories(credentials_test |
| 7453 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7454 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7455 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7456 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7457 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7458 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7459 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7460 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7461 | PRIVATE third_party/googletest/include |
| 7462 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7463 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7464 | ) |
| 7465 | |
| 7466 | target_link_libraries(credentials_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7467 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 7468 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7469 | grpc++ |
| 7470 | grpc |
| 7471 | gpr |
| 7472 | ${_gRPC_GFLAGS_LIBRARIES} |
| 7473 | ) |
| 7474 | |
| 7475 | endif (gRPC_BUILD_TESTS) |
| 7476 | if (gRPC_BUILD_TESTS) |
| 7477 | |
| 7478 | add_executable(cxx_byte_buffer_test |
| 7479 | test/cpp/util/byte_buffer_test.cc |
| 7480 | third_party/googletest/src/gtest-all.cc |
| 7481 | ) |
| 7482 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7483 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7484 | target_include_directories(cxx_byte_buffer_test |
| 7485 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7486 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7487 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7488 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7489 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7490 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7491 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7492 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7493 | PRIVATE third_party/googletest/include |
| 7494 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7495 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7496 | ) |
| 7497 | |
| 7498 | target_link_libraries(cxx_byte_buffer_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7499 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 7500 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7501 | grpc_test_util |
| 7502 | grpc++ |
| 7503 | grpc |
| 7504 | gpr_test_util |
| 7505 | gpr |
| 7506 | ${_gRPC_GFLAGS_LIBRARIES} |
| 7507 | ) |
| 7508 | |
| 7509 | endif (gRPC_BUILD_TESTS) |
| 7510 | if (gRPC_BUILD_TESTS) |
| 7511 | |
| 7512 | add_executable(cxx_slice_test |
| 7513 | test/cpp/util/slice_test.cc |
| 7514 | third_party/googletest/src/gtest-all.cc |
| 7515 | ) |
| 7516 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7517 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7518 | target_include_directories(cxx_slice_test |
| 7519 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7520 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7521 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7522 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7523 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7524 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7525 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7526 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7527 | PRIVATE third_party/googletest/include |
| 7528 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7529 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7530 | ) |
| 7531 | |
| 7532 | target_link_libraries(cxx_slice_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7533 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 7534 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7535 | grpc_test_util |
| 7536 | grpc++ |
| 7537 | grpc |
| 7538 | gpr_test_util |
| 7539 | gpr |
| 7540 | ${_gRPC_GFLAGS_LIBRARIES} |
| 7541 | ) |
| 7542 | |
| 7543 | endif (gRPC_BUILD_TESTS) |
| 7544 | if (gRPC_BUILD_TESTS) |
| 7545 | |
| 7546 | add_executable(cxx_string_ref_test |
| 7547 | test/cpp/util/string_ref_test.cc |
| 7548 | third_party/googletest/src/gtest-all.cc |
| 7549 | ) |
| 7550 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7551 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7552 | target_include_directories(cxx_string_ref_test |
| 7553 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7554 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7555 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7556 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7557 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7558 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7559 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7560 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7561 | PRIVATE third_party/googletest/include |
| 7562 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7563 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7564 | ) |
| 7565 | |
| 7566 | target_link_libraries(cxx_string_ref_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7567 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 7568 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7569 | grpc++ |
| 7570 | ${_gRPC_GFLAGS_LIBRARIES} |
| 7571 | ) |
| 7572 | |
| 7573 | endif (gRPC_BUILD_TESTS) |
| 7574 | if (gRPC_BUILD_TESTS) |
| 7575 | |
| 7576 | add_executable(cxx_time_test |
| 7577 | test/cpp/util/time_test.cc |
| 7578 | third_party/googletest/src/gtest-all.cc |
| 7579 | ) |
| 7580 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7581 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7582 | target_include_directories(cxx_time_test |
| 7583 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7584 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7585 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7586 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7587 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7588 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7589 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7590 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7591 | PRIVATE third_party/googletest/include |
| 7592 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7593 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7594 | ) |
| 7595 | |
| 7596 | target_link_libraries(cxx_time_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7597 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 7598 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7599 | grpc_test_util |
| 7600 | grpc++ |
| 7601 | grpc |
| 7602 | gpr_test_util |
| 7603 | gpr |
| 7604 | ${_gRPC_GFLAGS_LIBRARIES} |
| 7605 | ) |
| 7606 | |
| 7607 | endif (gRPC_BUILD_TESTS) |
| 7608 | if (gRPC_BUILD_TESTS) |
| 7609 | |
| 7610 | add_executable(end2end_test |
| 7611 | test/cpp/end2end/end2end_test.cc |
| 7612 | third_party/googletest/src/gtest-all.cc |
| 7613 | ) |
| 7614 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7615 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7616 | target_include_directories(end2end_test |
| 7617 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7618 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7619 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7620 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7621 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7622 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7623 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7624 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7625 | PRIVATE third_party/googletest/include |
| 7626 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7627 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7628 | ) |
| 7629 | |
| 7630 | target_link_libraries(end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7631 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 7632 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7633 | grpc++_test_util |
| 7634 | grpc_test_util |
| 7635 | grpc++ |
| 7636 | grpc |
| 7637 | gpr_test_util |
| 7638 | gpr |
| 7639 | ${_gRPC_GFLAGS_LIBRARIES} |
| 7640 | ) |
| 7641 | |
| 7642 | endif (gRPC_BUILD_TESTS) |
| 7643 | if (gRPC_BUILD_TESTS) |
| 7644 | |
| 7645 | add_executable(filter_end2end_test |
| 7646 | test/cpp/end2end/filter_end2end_test.cc |
| 7647 | third_party/googletest/src/gtest-all.cc |
| 7648 | ) |
| 7649 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7650 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7651 | target_include_directories(filter_end2end_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 |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7656 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7657 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7658 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7659 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7660 | PRIVATE third_party/googletest/include |
| 7661 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7662 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7663 | ) |
| 7664 | |
| 7665 | target_link_libraries(filter_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7666 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 7667 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7668 | grpc++_test_util |
| 7669 | grpc_test_util |
| 7670 | grpc++ |
| 7671 | grpc |
| 7672 | gpr_test_util |
| 7673 | gpr |
| 7674 | ${_gRPC_GFLAGS_LIBRARIES} |
| 7675 | ) |
| 7676 | |
| 7677 | endif (gRPC_BUILD_TESTS) |
| 7678 | if (gRPC_BUILD_TESTS) |
| 7679 | |
| 7680 | add_executable(generic_end2end_test |
| 7681 | test/cpp/end2end/generic_end2end_test.cc |
| 7682 | third_party/googletest/src/gtest-all.cc |
| 7683 | ) |
| 7684 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7685 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7686 | target_include_directories(generic_end2end_test |
| 7687 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7688 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7689 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7690 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7691 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7692 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7693 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7694 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7695 | PRIVATE third_party/googletest/include |
| 7696 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7697 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7698 | ) |
| 7699 | |
| 7700 | target_link_libraries(generic_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7701 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 7702 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7703 | grpc++_test_util |
| 7704 | grpc_test_util |
| 7705 | grpc++ |
| 7706 | grpc |
| 7707 | gpr_test_util |
| 7708 | gpr |
| 7709 | ${_gRPC_GFLAGS_LIBRARIES} |
| 7710 | ) |
| 7711 | |
| 7712 | endif (gRPC_BUILD_TESTS) |
| 7713 | if (gRPC_BUILD_TESTS) |
| 7714 | |
| 7715 | add_executable(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7716 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.cc |
| 7717 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.grpc.pb.cc |
| 7718 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/compiler_test.pb.h |
| 7719 | ${_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] | 7720 | test/cpp/codegen/golden_file_test.cc |
| 7721 | third_party/googletest/src/gtest-all.cc |
| 7722 | ) |
| 7723 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7724 | protobuf_generate_grpc_cpp( |
| 7725 | src/proto/grpc/testing/compiler_test.proto |
| 7726 | ) |
| 7727 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7728 | target_include_directories(golden_file_test |
| 7729 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7730 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7731 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7732 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7733 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7734 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7735 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7736 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7737 | PRIVATE third_party/googletest/include |
| 7738 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7739 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7740 | ) |
| 7741 | |
| 7742 | target_link_libraries(golden_file_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7743 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 7744 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7745 | grpc++ |
| 7746 | grpc |
| 7747 | gpr |
| 7748 | ${_gRPC_GFLAGS_LIBRARIES} |
| 7749 | ) |
| 7750 | |
| 7751 | endif (gRPC_BUILD_TESTS) |
| 7752 | if (gRPC_BUILD_TESTS) |
| 7753 | |
| 7754 | add_executable(grpc_cli |
| 7755 | test/cpp/util/grpc_cli.cc |
| 7756 | third_party/googletest/src/gtest-all.cc |
| 7757 | ) |
| 7758 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7759 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7760 | target_include_directories(grpc_cli |
| 7761 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7762 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7763 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7764 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7765 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7766 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7767 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 7768 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 7769 | PRIVATE third_party/googletest/include |
| 7770 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7771 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7772 | ) |
| 7773 | |
| 7774 | target_link_libraries(grpc_cli |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7775 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 7776 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7777 | grpc_cli_libs |
| 7778 | grpc++_proto_reflection_desc_db |
| 7779 | grpc++ |
| 7780 | grpc |
| 7781 | gpr |
| 7782 | grpc++_test_config |
| 7783 | ${_gRPC_GFLAGS_LIBRARIES} |
| 7784 | ) |
| 7785 | |
| 7786 | endif (gRPC_BUILD_TESTS) |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 7787 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 7788 | add_executable(grpc_cpp_plugin |
| 7789 | src/compiler/cpp_plugin.cc |
| 7790 | ) |
| 7791 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7792 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 7793 | target_include_directories(grpc_cpp_plugin |
| 7794 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7795 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7796 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7797 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7798 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 7799 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7800 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7801 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7802 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 7803 | ) |
| 7804 | |
| 7805 | target_link_libraries(grpc_cpp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 7806 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7807 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 7808 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 7809 | grpc_plugin_support |
| 7810 | ) |
| 7811 | |
| 7812 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 7813 | if (gRPC_INSTALL) |
| 7814 | install(TARGETS grpc_cpp_plugin EXPORT gRPCTargets |
| 7815 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 7816 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 7817 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 7818 | ) |
| 7819 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 7820 | |
| 7821 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 7822 | add_executable(grpc_csharp_plugin |
| 7823 | src/compiler/csharp_plugin.cc |
| 7824 | ) |
| 7825 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7826 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 7827 | target_include_directories(grpc_csharp_plugin |
| 7828 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7829 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7830 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7831 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7832 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 7833 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7834 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7835 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7836 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 7837 | ) |
| 7838 | |
| 7839 | target_link_libraries(grpc_csharp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 7840 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7841 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 7842 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 7843 | grpc_plugin_support |
| 7844 | ) |
| 7845 | |
| 7846 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 7847 | if (gRPC_INSTALL) |
| 7848 | install(TARGETS grpc_csharp_plugin EXPORT gRPCTargets |
| 7849 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 7850 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 7851 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 7852 | ) |
| 7853 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 7854 | |
| 7855 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 7856 | add_executable(grpc_node_plugin |
| 7857 | src/compiler/node_plugin.cc |
| 7858 | ) |
| 7859 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7860 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 7861 | target_include_directories(grpc_node_plugin |
| 7862 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7863 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7864 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7865 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7866 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 7867 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7868 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7869 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7870 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 7871 | ) |
| 7872 | |
| 7873 | target_link_libraries(grpc_node_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 7874 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7875 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 7876 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 7877 | grpc_plugin_support |
| 7878 | ) |
| 7879 | |
| 7880 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 7881 | if (gRPC_INSTALL) |
| 7882 | install(TARGETS grpc_node_plugin EXPORT gRPCTargets |
| 7883 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 7884 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 7885 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 7886 | ) |
| 7887 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 7888 | |
| 7889 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 7890 | add_executable(grpc_objective_c_plugin |
| 7891 | src/compiler/objective_c_plugin.cc |
| 7892 | ) |
| 7893 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7894 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 7895 | target_include_directories(grpc_objective_c_plugin |
| 7896 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7897 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7898 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7899 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7900 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 7901 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7902 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7903 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7904 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 7905 | ) |
| 7906 | |
| 7907 | target_link_libraries(grpc_objective_c_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 7908 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7909 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 7910 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 7911 | grpc_plugin_support |
| 7912 | ) |
| 7913 | |
| 7914 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 7915 | if (gRPC_INSTALL) |
| 7916 | install(TARGETS grpc_objective_c_plugin EXPORT gRPCTargets |
| 7917 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 7918 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 7919 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 7920 | ) |
| 7921 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 7922 | |
| 7923 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 7924 | add_executable(grpc_php_plugin |
| 7925 | src/compiler/php_plugin.cc |
| 7926 | ) |
| 7927 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7928 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 7929 | target_include_directories(grpc_php_plugin |
| 7930 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7931 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7932 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7933 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7934 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 7935 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7936 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7937 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7938 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 7939 | ) |
| 7940 | |
| 7941 | target_link_libraries(grpc_php_plugin |
| 7942 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7943 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 7944 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 7945 | grpc_plugin_support |
| 7946 | ) |
| 7947 | |
| 7948 | |
| 7949 | if (gRPC_INSTALL) |
| 7950 | install(TARGETS grpc_php_plugin EXPORT gRPCTargets |
| 7951 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 7952 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 7953 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 7954 | ) |
| 7955 | endif() |
| 7956 | |
| 7957 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 7958 | add_executable(grpc_python_plugin |
| 7959 | src/compiler/python_plugin.cc |
| 7960 | ) |
| 7961 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7962 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 7963 | target_include_directories(grpc_python_plugin |
| 7964 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7965 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 7966 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 7967 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7968 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 7969 | PRIVATE ${ZLIB_ROOT_DIR} |
| 7970 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 7971 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7972 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 7973 | ) |
| 7974 | |
| 7975 | target_link_libraries(grpc_python_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 7976 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7977 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 7978 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 7979 | grpc_plugin_support |
| 7980 | ) |
| 7981 | |
| 7982 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 7983 | if (gRPC_INSTALL) |
| 7984 | install(TARGETS grpc_python_plugin EXPORT gRPCTargets |
| 7985 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 7986 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 7987 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 7988 | ) |
| 7989 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 7990 | |
| 7991 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 7992 | add_executable(grpc_ruby_plugin |
| 7993 | src/compiler/ruby_plugin.cc |
| 7994 | ) |
| 7995 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 7996 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 7997 | target_include_directories(grpc_ruby_plugin |
| 7998 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 7999 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8000 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8001 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8002 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 8003 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8004 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8005 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8006 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 8007 | ) |
| 8008 | |
| 8009 | target_link_libraries(grpc_ruby_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 8010 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8011 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8012 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 8013 | grpc_plugin_support |
| 8014 | ) |
| 8015 | |
| 8016 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 8017 | if (gRPC_INSTALL) |
| 8018 | install(TARGETS grpc_ruby_plugin EXPORT gRPCTargets |
| 8019 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 8020 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 8021 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 8022 | ) |
| 8023 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 8024 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8025 | if (gRPC_BUILD_TESTS) |
| 8026 | |
| 8027 | add_executable(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8028 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.cc |
| 8029 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.cc |
| 8030 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.pb.h |
| 8031 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo.grpc.pb.h |
| 8032 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.cc |
| 8033 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 8034 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/echo_messages.pb.h |
| 8035 | ${_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] | 8036 | test/cpp/util/grpc_tool_test.cc |
| 8037 | third_party/googletest/src/gtest-all.cc |
| 8038 | ) |
| 8039 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8040 | protobuf_generate_grpc_cpp( |
| 8041 | src/proto/grpc/testing/echo.proto |
| 8042 | ) |
| 8043 | protobuf_generate_grpc_cpp( |
| 8044 | src/proto/grpc/testing/echo_messages.proto |
| 8045 | ) |
| 8046 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8047 | target_include_directories(grpc_tool_test |
| 8048 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8049 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8050 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8051 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8052 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8053 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8054 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8055 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8056 | PRIVATE third_party/googletest/include |
| 8057 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8058 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8059 | ) |
| 8060 | |
| 8061 | target_link_libraries(grpc_tool_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8062 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8063 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8064 | grpc_cli_libs |
| 8065 | grpc++_proto_reflection_desc_db |
| 8066 | grpc++_reflection |
| 8067 | grpc++_test_util |
| 8068 | grpc_test_util |
| 8069 | grpc++ |
| 8070 | grpc |
| 8071 | gpr_test_util |
| 8072 | gpr |
| 8073 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8074 | ) |
| 8075 | |
| 8076 | endif (gRPC_BUILD_TESTS) |
| 8077 | if (gRPC_BUILD_TESTS) |
| 8078 | |
| 8079 | add_executable(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8080 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 8081 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 8082 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 8083 | ${_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] | 8084 | test/cpp/grpclb/grpclb_api_test.cc |
| 8085 | third_party/googletest/src/gtest-all.cc |
| 8086 | ) |
| 8087 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8088 | protobuf_generate_grpc_cpp( |
| 8089 | src/proto/grpc/lb/v1/load_balancer.proto |
| 8090 | ) |
| 8091 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8092 | target_include_directories(grpclb_api_test |
| 8093 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8094 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8095 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8096 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8097 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8098 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8099 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8100 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8101 | PRIVATE third_party/googletest/include |
| 8102 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8103 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8104 | ) |
| 8105 | |
| 8106 | target_link_libraries(grpclb_api_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8107 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8108 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8109 | grpc++_test_util |
| 8110 | grpc_test_util |
| 8111 | grpc++ |
| 8112 | grpc |
| 8113 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8114 | ) |
| 8115 | |
| 8116 | endif (gRPC_BUILD_TESTS) |
| 8117 | if (gRPC_BUILD_TESTS) |
| 8118 | |
| 8119 | add_executable(grpclb_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8120 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.cc |
| 8121 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 8122 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/lb/v1/load_balancer.pb.h |
| 8123 | ${_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] | 8124 | test/cpp/grpclb/grpclb_test.cc |
| 8125 | third_party/googletest/src/gtest-all.cc |
| 8126 | ) |
| 8127 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8128 | protobuf_generate_grpc_cpp( |
| 8129 | src/proto/grpc/lb/v1/load_balancer.proto |
| 8130 | ) |
| 8131 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8132 | target_include_directories(grpclb_test |
| 8133 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8134 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8135 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8136 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8137 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8138 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8139 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8140 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8141 | PRIVATE third_party/googletest/include |
| 8142 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8143 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8144 | ) |
| 8145 | |
| 8146 | target_link_libraries(grpclb_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8147 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8148 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8149 | grpc++_test_util |
| 8150 | grpc_test_util |
Jan Tattermusch | 1c6a144 | 2017-01-13 14:17:40 +0100 | [diff] [blame] | 8151 | grpc++ |
| 8152 | grpc |
| 8153 | gpr_test_util |
| 8154 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8155 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8156 | ) |
| 8157 | |
| 8158 | endif (gRPC_BUILD_TESTS) |
| 8159 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8160 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8161 | |
| 8162 | add_executable(http2_client |
| 8163 | third_party/googletest/src/gtest-all.cc |
| 8164 | ) |
| 8165 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8166 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8167 | target_include_directories(http2_client |
| 8168 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8169 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8170 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8171 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8172 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8173 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8174 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8175 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8176 | PRIVATE third_party/googletest/include |
| 8177 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8178 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8179 | ) |
| 8180 | |
| 8181 | target_link_libraries(http2_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8182 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8183 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8184 | http2_client_main |
| 8185 | grpc++_test_util |
| 8186 | grpc_test_util |
| 8187 | grpc++ |
| 8188 | grpc |
| 8189 | grpc++_test_config |
| 8190 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8191 | ) |
| 8192 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8193 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8194 | endif (gRPC_BUILD_TESTS) |
| 8195 | if (gRPC_BUILD_TESTS) |
| 8196 | |
| 8197 | add_executable(hybrid_end2end_test |
| 8198 | test/cpp/end2end/hybrid_end2end_test.cc |
| 8199 | third_party/googletest/src/gtest-all.cc |
| 8200 | ) |
| 8201 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8202 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8203 | target_include_directories(hybrid_end2end_test |
| 8204 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8205 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8206 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8207 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8208 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8209 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8210 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8211 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8212 | PRIVATE third_party/googletest/include |
| 8213 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8214 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8215 | ) |
| 8216 | |
| 8217 | target_link_libraries(hybrid_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8218 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8219 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8220 | grpc++_test_util |
| 8221 | grpc_test_util |
| 8222 | grpc++ |
| 8223 | grpc |
| 8224 | gpr_test_util |
| 8225 | gpr |
| 8226 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8227 | ) |
| 8228 | |
| 8229 | endif (gRPC_BUILD_TESTS) |
| 8230 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8231 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8232 | |
| 8233 | add_executable(interop_client |
| 8234 | third_party/googletest/src/gtest-all.cc |
| 8235 | ) |
| 8236 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8237 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8238 | target_include_directories(interop_client |
| 8239 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8240 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8241 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8242 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8243 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8244 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8245 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8246 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8247 | PRIVATE third_party/googletest/include |
| 8248 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8249 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8250 | ) |
| 8251 | |
| 8252 | target_link_libraries(interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8253 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8254 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8255 | interop_client_main |
| 8256 | interop_client_helper |
| 8257 | grpc++_test_util |
| 8258 | grpc_test_util |
| 8259 | grpc++ |
| 8260 | grpc |
| 8261 | gpr_test_util |
| 8262 | gpr |
| 8263 | grpc++_test_config |
| 8264 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8265 | ) |
| 8266 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8267 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8268 | endif (gRPC_BUILD_TESTS) |
| 8269 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8270 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8271 | |
| 8272 | add_executable(interop_server |
| 8273 | third_party/googletest/src/gtest-all.cc |
| 8274 | ) |
| 8275 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8276 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8277 | target_include_directories(interop_server |
| 8278 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8279 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8280 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8281 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8282 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8283 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8284 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8285 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8286 | PRIVATE third_party/googletest/include |
| 8287 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8288 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8289 | ) |
| 8290 | |
| 8291 | target_link_libraries(interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8292 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8293 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8294 | interop_server_main |
| 8295 | interop_server_helper |
| 8296 | interop_server_lib |
| 8297 | grpc++_test_util |
| 8298 | grpc_test_util |
| 8299 | grpc++ |
| 8300 | grpc |
| 8301 | gpr_test_util |
| 8302 | gpr |
| 8303 | grpc++_test_config |
| 8304 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8305 | ) |
| 8306 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8307 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8308 | endif (gRPC_BUILD_TESTS) |
| 8309 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8310 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8311 | |
| 8312 | add_executable(interop_test |
| 8313 | test/cpp/interop/interop_test.cc |
| 8314 | third_party/googletest/src/gtest-all.cc |
| 8315 | ) |
| 8316 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8317 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8318 | target_include_directories(interop_test |
| 8319 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8320 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8321 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8322 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8323 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8324 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8325 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8326 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8327 | PRIVATE third_party/googletest/include |
| 8328 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8329 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8330 | ) |
| 8331 | |
| 8332 | target_link_libraries(interop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8333 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8334 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8335 | grpc_test_util |
| 8336 | grpc |
| 8337 | gpr_test_util |
| 8338 | gpr |
| 8339 | grpc++_test_config |
| 8340 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8341 | ) |
| 8342 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8343 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8344 | endif (gRPC_BUILD_TESTS) |
| 8345 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8346 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8347 | |
| 8348 | add_executable(json_run_localhost |
| 8349 | test/cpp/qps/json_run_localhost.cc |
| 8350 | third_party/googletest/src/gtest-all.cc |
| 8351 | ) |
| 8352 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8353 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8354 | target_include_directories(json_run_localhost |
| 8355 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8356 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8357 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8358 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8359 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8360 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8361 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8362 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8363 | PRIVATE third_party/googletest/include |
| 8364 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8365 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8366 | ) |
| 8367 | |
| 8368 | target_link_libraries(json_run_localhost |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8369 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8370 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8371 | grpc++_test_util |
| 8372 | grpc_test_util |
| 8373 | grpc++ |
| 8374 | grpc |
| 8375 | gpr_test_util |
| 8376 | gpr |
| 8377 | grpc++_test_config |
| 8378 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8379 | ) |
| 8380 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8381 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8382 | endif (gRPC_BUILD_TESTS) |
| 8383 | if (gRPC_BUILD_TESTS) |
| 8384 | |
| 8385 | add_executable(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8386 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 8387 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 8388 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 8389 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8390 | test/cpp/interop/metrics_client.cc |
| 8391 | third_party/googletest/src/gtest-all.cc |
| 8392 | ) |
| 8393 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8394 | protobuf_generate_grpc_cpp( |
| 8395 | src/proto/grpc/testing/metrics.proto |
| 8396 | ) |
| 8397 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8398 | target_include_directories(metrics_client |
| 8399 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8400 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8401 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8402 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8403 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8404 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8405 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8406 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8407 | PRIVATE third_party/googletest/include |
| 8408 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8409 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8410 | ) |
| 8411 | |
| 8412 | target_link_libraries(metrics_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8413 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8414 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8415 | grpc++ |
| 8416 | grpc |
| 8417 | gpr |
| 8418 | grpc++_test_config |
| 8419 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8420 | ) |
| 8421 | |
| 8422 | endif (gRPC_BUILD_TESTS) |
| 8423 | if (gRPC_BUILD_TESTS) |
| 8424 | |
| 8425 | add_executable(mock_test |
| 8426 | test/cpp/end2end/mock_test.cc |
| 8427 | third_party/googletest/src/gtest-all.cc |
| 8428 | ) |
| 8429 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8430 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8431 | target_include_directories(mock_test |
| 8432 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8433 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8434 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8435 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8436 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8437 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8438 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8439 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8440 | PRIVATE third_party/googletest/include |
| 8441 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8442 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8443 | ) |
| 8444 | |
| 8445 | target_link_libraries(mock_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8446 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8447 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8448 | grpc++_test_util |
| 8449 | grpc_test_util |
| 8450 | grpc++ |
| 8451 | grpc |
| 8452 | gpr_test_util |
| 8453 | gpr |
| 8454 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8455 | ) |
| 8456 | |
| 8457 | endif (gRPC_BUILD_TESTS) |
| 8458 | if (gRPC_BUILD_TESTS) |
| 8459 | |
| 8460 | add_executable(noop-benchmark |
| 8461 | test/cpp/microbenchmarks/noop-benchmark.cc |
| 8462 | third_party/googletest/src/gtest-all.cc |
| 8463 | ) |
| 8464 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8465 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8466 | target_include_directories(noop-benchmark |
| 8467 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8468 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8469 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8470 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8471 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8472 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8473 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8474 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8475 | PRIVATE third_party/googletest/include |
| 8476 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8477 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8478 | ) |
| 8479 | |
| 8480 | target_link_libraries(noop-benchmark |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8481 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8482 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8483 | benchmark |
| 8484 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8485 | ) |
| 8486 | |
| 8487 | endif (gRPC_BUILD_TESTS) |
| 8488 | if (gRPC_BUILD_TESTS) |
| 8489 | |
| 8490 | add_executable(proto_server_reflection_test |
| 8491 | test/cpp/end2end/proto_server_reflection_test.cc |
| 8492 | third_party/googletest/src/gtest-all.cc |
| 8493 | ) |
| 8494 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8495 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8496 | target_include_directories(proto_server_reflection_test |
| 8497 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8498 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8499 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8500 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8501 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8502 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8503 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8504 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8505 | PRIVATE third_party/googletest/include |
| 8506 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8507 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8508 | ) |
| 8509 | |
| 8510 | target_link_libraries(proto_server_reflection_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8511 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8512 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8513 | grpc++_proto_reflection_desc_db |
| 8514 | grpc++_reflection |
| 8515 | grpc++_test_util |
| 8516 | grpc_test_util |
| 8517 | grpc++ |
| 8518 | grpc |
| 8519 | gpr_test_util |
| 8520 | gpr |
| 8521 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8522 | ) |
| 8523 | |
| 8524 | endif (gRPC_BUILD_TESTS) |
| 8525 | if (gRPC_BUILD_TESTS) |
Harvey Tuch | 5f3cfe9 | 2017-01-20 11:02:11 -0500 | [diff] [blame] | 8526 | |
| 8527 | add_executable(proto_utils_test |
| 8528 | test/cpp/codegen/proto_utils_test.cc |
| 8529 | third_party/googletest/src/gtest-all.cc |
| 8530 | ) |
| 8531 | |
| 8532 | |
| 8533 | target_include_directories(proto_utils_test |
| 8534 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8535 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8536 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8537 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 8538 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
| 8539 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8540 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8541 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8542 | PRIVATE third_party/googletest/include |
| 8543 | PRIVATE third_party/googletest |
| 8544 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
| 8545 | ) |
| 8546 | |
| 8547 | target_link_libraries(proto_utils_test |
| 8548 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8549 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 8550 | grpc++ |
| 8551 | grpc |
| 8552 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8553 | ) |
| 8554 | |
| 8555 | endif (gRPC_BUILD_TESTS) |
| 8556 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8557 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8558 | |
| 8559 | add_executable(qps_interarrival_test |
| 8560 | test/cpp/qps/qps_interarrival_test.cc |
| 8561 | third_party/googletest/src/gtest-all.cc |
| 8562 | ) |
| 8563 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8564 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8565 | target_include_directories(qps_interarrival_test |
| 8566 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8567 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8568 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8569 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8570 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8571 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8572 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8573 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8574 | PRIVATE third_party/googletest/include |
| 8575 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8576 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8577 | ) |
| 8578 | |
| 8579 | target_link_libraries(qps_interarrival_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8580 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8581 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8582 | qps |
| 8583 | grpc++_test_util |
| 8584 | grpc_test_util |
| 8585 | grpc++ |
| 8586 | grpc |
| 8587 | gpr_test_util |
| 8588 | gpr |
| 8589 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8590 | ) |
| 8591 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8592 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8593 | endif (gRPC_BUILD_TESTS) |
| 8594 | if (gRPC_BUILD_TESTS) |
| 8595 | |
| 8596 | add_executable(qps_json_driver |
| 8597 | test/cpp/qps/qps_json_driver.cc |
| 8598 | third_party/googletest/src/gtest-all.cc |
| 8599 | ) |
| 8600 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8601 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8602 | target_include_directories(qps_json_driver |
| 8603 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8604 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8605 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8606 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8607 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8608 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8609 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8610 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8611 | PRIVATE third_party/googletest/include |
| 8612 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8613 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8614 | ) |
| 8615 | |
| 8616 | target_link_libraries(qps_json_driver |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8617 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8618 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8619 | qps |
| 8620 | grpc++_test_util |
| 8621 | grpc_test_util |
| 8622 | grpc++ |
| 8623 | grpc |
| 8624 | gpr_test_util |
| 8625 | gpr |
| 8626 | grpc++_test_config |
| 8627 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8628 | ) |
| 8629 | |
| 8630 | endif (gRPC_BUILD_TESTS) |
| 8631 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8632 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8633 | |
| 8634 | add_executable(qps_openloop_test |
| 8635 | test/cpp/qps/qps_openloop_test.cc |
| 8636 | third_party/googletest/src/gtest-all.cc |
| 8637 | ) |
| 8638 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8639 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8640 | target_include_directories(qps_openloop_test |
| 8641 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8642 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8643 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8644 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8645 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8646 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8647 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8648 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8649 | PRIVATE third_party/googletest/include |
| 8650 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8651 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8652 | ) |
| 8653 | |
| 8654 | target_link_libraries(qps_openloop_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8655 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8656 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8657 | qps |
| 8658 | grpc++_test_util |
| 8659 | grpc_test_util |
| 8660 | grpc++ |
| 8661 | grpc |
| 8662 | gpr_test_util |
| 8663 | gpr |
| 8664 | grpc++_test_config |
| 8665 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8666 | ) |
| 8667 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8668 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8669 | endif (gRPC_BUILD_TESTS) |
| 8670 | if (gRPC_BUILD_TESTS) |
| 8671 | |
| 8672 | add_executable(qps_worker |
| 8673 | test/cpp/qps/worker.cc |
| 8674 | third_party/googletest/src/gtest-all.cc |
| 8675 | ) |
| 8676 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8677 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8678 | target_include_directories(qps_worker |
| 8679 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8680 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8681 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8682 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8683 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8684 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8685 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8686 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8687 | PRIVATE third_party/googletest/include |
| 8688 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8689 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8690 | ) |
| 8691 | |
| 8692 | target_link_libraries(qps_worker |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8693 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8694 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8695 | qps |
| 8696 | grpc++_test_util |
| 8697 | grpc_test_util |
| 8698 | grpc++ |
| 8699 | grpc |
| 8700 | gpr_test_util |
| 8701 | gpr |
| 8702 | grpc++_test_config |
| 8703 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8704 | ) |
| 8705 | |
| 8706 | endif (gRPC_BUILD_TESTS) |
| 8707 | if (gRPC_BUILD_TESTS) |
| 8708 | |
| 8709 | add_executable(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8710 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 8711 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 8712 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 8713 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 8714 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 8715 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 8716 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 8717 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 8718 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 8719 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 8720 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 8721 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8722 | test/cpp/interop/reconnect_interop_client.cc |
| 8723 | third_party/googletest/src/gtest-all.cc |
| 8724 | ) |
| 8725 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8726 | protobuf_generate_grpc_cpp( |
| 8727 | src/proto/grpc/testing/empty.proto |
| 8728 | ) |
| 8729 | protobuf_generate_grpc_cpp( |
| 8730 | src/proto/grpc/testing/messages.proto |
| 8731 | ) |
| 8732 | protobuf_generate_grpc_cpp( |
| 8733 | src/proto/grpc/testing/test.proto |
| 8734 | ) |
| 8735 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8736 | target_include_directories(reconnect_interop_client |
| 8737 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8738 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8739 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8740 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8741 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8742 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8743 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8744 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8745 | PRIVATE third_party/googletest/include |
| 8746 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8747 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8748 | ) |
| 8749 | |
| 8750 | target_link_libraries(reconnect_interop_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8751 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8752 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8753 | grpc++_test_util |
| 8754 | grpc_test_util |
| 8755 | grpc++ |
| 8756 | grpc |
| 8757 | gpr_test_util |
| 8758 | gpr |
| 8759 | grpc++_test_config |
| 8760 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8761 | ) |
| 8762 | |
| 8763 | endif (gRPC_BUILD_TESTS) |
| 8764 | if (gRPC_BUILD_TESTS) |
| 8765 | |
| 8766 | add_executable(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8767 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 8768 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 8769 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 8770 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 8771 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 8772 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 8773 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 8774 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 8775 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 8776 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 8777 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 8778 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8779 | test/cpp/interop/reconnect_interop_server.cc |
| 8780 | third_party/googletest/src/gtest-all.cc |
| 8781 | ) |
| 8782 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8783 | protobuf_generate_grpc_cpp( |
| 8784 | src/proto/grpc/testing/empty.proto |
| 8785 | ) |
| 8786 | protobuf_generate_grpc_cpp( |
| 8787 | src/proto/grpc/testing/messages.proto |
| 8788 | ) |
| 8789 | protobuf_generate_grpc_cpp( |
| 8790 | src/proto/grpc/testing/test.proto |
| 8791 | ) |
| 8792 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8793 | target_include_directories(reconnect_interop_server |
| 8794 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8795 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8796 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8797 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8798 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8799 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8800 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8801 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8802 | PRIVATE third_party/googletest/include |
| 8803 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8804 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8805 | ) |
| 8806 | |
| 8807 | target_link_libraries(reconnect_interop_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8808 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8809 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8810 | reconnect_server |
| 8811 | test_tcp_server |
| 8812 | grpc++_test_util |
| 8813 | grpc_test_util |
| 8814 | grpc++ |
| 8815 | grpc |
| 8816 | gpr_test_util |
| 8817 | gpr |
| 8818 | grpc++_test_config |
| 8819 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8820 | ) |
| 8821 | |
| 8822 | endif (gRPC_BUILD_TESTS) |
| 8823 | if (gRPC_BUILD_TESTS) |
| 8824 | |
| 8825 | add_executable(round_robin_end2end_test |
| 8826 | test/cpp/end2end/round_robin_end2end_test.cc |
| 8827 | third_party/googletest/src/gtest-all.cc |
| 8828 | ) |
| 8829 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8830 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8831 | target_include_directories(round_robin_end2end_test |
| 8832 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8833 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8834 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8835 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8836 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8837 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8838 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8839 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8840 | PRIVATE third_party/googletest/include |
| 8841 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8842 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8843 | ) |
| 8844 | |
| 8845 | target_link_libraries(round_robin_end2end_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8846 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8847 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8848 | grpc++_test_util |
| 8849 | grpc_test_util |
| 8850 | grpc++ |
| 8851 | grpc |
| 8852 | gpr_test_util |
| 8853 | gpr |
| 8854 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8855 | ) |
| 8856 | |
| 8857 | endif (gRPC_BUILD_TESTS) |
| 8858 | if (gRPC_BUILD_TESTS) |
| 8859 | |
| 8860 | add_executable(secure_auth_context_test |
| 8861 | test/cpp/common/secure_auth_context_test.cc |
| 8862 | third_party/googletest/src/gtest-all.cc |
| 8863 | ) |
| 8864 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8865 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8866 | target_include_directories(secure_auth_context_test |
| 8867 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8868 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8869 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8870 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8871 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8872 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8873 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8874 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8875 | PRIVATE third_party/googletest/include |
| 8876 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8877 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8878 | ) |
| 8879 | |
| 8880 | target_link_libraries(secure_auth_context_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8881 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8882 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8883 | grpc++_test_util |
| 8884 | grpc_test_util |
| 8885 | grpc++ |
| 8886 | grpc |
| 8887 | gpr_test_util |
| 8888 | gpr |
| 8889 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8890 | ) |
| 8891 | |
| 8892 | endif (gRPC_BUILD_TESTS) |
| 8893 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8894 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8895 | |
| 8896 | add_executable(secure_sync_unary_ping_pong_test |
| 8897 | test/cpp/qps/secure_sync_unary_ping_pong_test.cc |
| 8898 | third_party/googletest/src/gtest-all.cc |
| 8899 | ) |
| 8900 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8901 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8902 | target_include_directories(secure_sync_unary_ping_pong_test |
| 8903 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8904 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8905 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8906 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8907 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8908 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8909 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8910 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8911 | PRIVATE third_party/googletest/include |
| 8912 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8913 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8914 | ) |
| 8915 | |
| 8916 | target_link_libraries(secure_sync_unary_ping_pong_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8917 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8918 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8919 | qps |
| 8920 | grpc++_test_util |
| 8921 | grpc_test_util |
| 8922 | grpc++ |
| 8923 | grpc |
| 8924 | gpr_test_util |
| 8925 | gpr |
| 8926 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8927 | ) |
| 8928 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8929 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8930 | endif (gRPC_BUILD_TESTS) |
| 8931 | if (gRPC_BUILD_TESTS) |
| 8932 | |
| 8933 | add_executable(server_builder_plugin_test |
| 8934 | test/cpp/end2end/server_builder_plugin_test.cc |
| 8935 | third_party/googletest/src/gtest-all.cc |
| 8936 | ) |
| 8937 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8938 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8939 | target_include_directories(server_builder_plugin_test |
| 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 |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8944 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8945 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8946 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8947 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8948 | PRIVATE third_party/googletest/include |
| 8949 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8950 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8951 | ) |
| 8952 | |
| 8953 | target_link_libraries(server_builder_plugin_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8954 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8955 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8956 | grpc++_test_util |
| 8957 | grpc_test_util |
| 8958 | grpc++ |
| 8959 | grpc |
| 8960 | gpr_test_util |
| 8961 | gpr |
| 8962 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8963 | ) |
| 8964 | |
| 8965 | endif (gRPC_BUILD_TESTS) |
| 8966 | if (gRPC_BUILD_TESTS) |
| 8967 | |
| 8968 | add_executable(server_context_test_spouse_test |
| 8969 | test/cpp/test/server_context_test_spouse_test.cc |
| 8970 | third_party/googletest/src/gtest-all.cc |
| 8971 | ) |
| 8972 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8973 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8974 | target_include_directories(server_context_test_spouse_test |
| 8975 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 8976 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 8977 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 8978 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8979 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8980 | PRIVATE ${ZLIB_ROOT_DIR} |
| 8981 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 8982 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 8983 | PRIVATE third_party/googletest/include |
| 8984 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8985 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8986 | ) |
| 8987 | |
| 8988 | target_link_libraries(server_context_test_spouse_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 8989 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 8990 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 8991 | grpc_test_util |
| 8992 | grpc++_test |
| 8993 | grpc++ |
| 8994 | grpc |
| 8995 | gpr_test_util |
| 8996 | gpr |
| 8997 | ${_gRPC_GFLAGS_LIBRARIES} |
| 8998 | ) |
| 8999 | |
| 9000 | endif (gRPC_BUILD_TESTS) |
| 9001 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9002 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9003 | |
| 9004 | add_executable(server_crash_test |
| 9005 | test/cpp/end2end/server_crash_test.cc |
| 9006 | third_party/googletest/src/gtest-all.cc |
| 9007 | ) |
| 9008 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9009 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9010 | target_include_directories(server_crash_test |
| 9011 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9012 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9013 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9014 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9015 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9016 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9017 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9018 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9019 | PRIVATE third_party/googletest/include |
| 9020 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9021 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9022 | ) |
| 9023 | |
| 9024 | target_link_libraries(server_crash_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9025 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9026 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9027 | grpc++_test_util |
| 9028 | grpc_test_util |
| 9029 | grpc++ |
| 9030 | grpc |
| 9031 | gpr_test_util |
| 9032 | gpr |
| 9033 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9034 | ) |
| 9035 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9036 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9037 | endif (gRPC_BUILD_TESTS) |
| 9038 | if (gRPC_BUILD_TESTS) |
| 9039 | |
| 9040 | add_executable(server_crash_test_client |
| 9041 | test/cpp/end2end/server_crash_test_client.cc |
| 9042 | third_party/googletest/src/gtest-all.cc |
| 9043 | ) |
| 9044 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9045 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9046 | target_include_directories(server_crash_test_client |
| 9047 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9048 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9049 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9050 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9051 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9052 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9053 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9054 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9055 | PRIVATE third_party/googletest/include |
| 9056 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9057 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9058 | ) |
| 9059 | |
| 9060 | target_link_libraries(server_crash_test_client |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9061 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9062 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9063 | grpc++_test_util |
| 9064 | grpc_test_util |
| 9065 | grpc++ |
| 9066 | grpc |
| 9067 | gpr_test_util |
| 9068 | gpr |
| 9069 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9070 | ) |
| 9071 | |
| 9072 | endif (gRPC_BUILD_TESTS) |
| 9073 | if (gRPC_BUILD_TESTS) |
| 9074 | |
| 9075 | add_executable(shutdown_test |
| 9076 | test/cpp/end2end/shutdown_test.cc |
| 9077 | third_party/googletest/src/gtest-all.cc |
| 9078 | ) |
| 9079 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9080 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9081 | target_include_directories(shutdown_test |
| 9082 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9083 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9084 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9085 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9086 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9087 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9088 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9089 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9090 | PRIVATE third_party/googletest/include |
| 9091 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9092 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9093 | ) |
| 9094 | |
| 9095 | target_link_libraries(shutdown_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9096 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9097 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9098 | grpc++_test_util |
| 9099 | grpc_test_util |
| 9100 | grpc++ |
| 9101 | grpc |
| 9102 | gpr_test_util |
| 9103 | gpr |
| 9104 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9105 | ) |
| 9106 | |
| 9107 | endif (gRPC_BUILD_TESTS) |
| 9108 | if (gRPC_BUILD_TESTS) |
| 9109 | |
| 9110 | add_executable(status_test |
| 9111 | test/cpp/util/status_test.cc |
| 9112 | third_party/googletest/src/gtest-all.cc |
| 9113 | ) |
| 9114 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9115 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9116 | target_include_directories(status_test |
| 9117 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9118 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9119 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9120 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9121 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9122 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9123 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9124 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9125 | PRIVATE third_party/googletest/include |
| 9126 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9127 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9128 | ) |
| 9129 | |
| 9130 | target_link_libraries(status_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9131 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9132 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9133 | grpc_test_util |
| 9134 | grpc++ |
| 9135 | grpc |
| 9136 | gpr_test_util |
| 9137 | gpr |
| 9138 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9139 | ) |
| 9140 | |
| 9141 | endif (gRPC_BUILD_TESTS) |
| 9142 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9143 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9144 | |
| 9145 | add_executable(streaming_throughput_test |
| 9146 | test/cpp/end2end/streaming_throughput_test.cc |
| 9147 | third_party/googletest/src/gtest-all.cc |
| 9148 | ) |
| 9149 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9150 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9151 | target_include_directories(streaming_throughput_test |
| 9152 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9153 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9154 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9155 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9156 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9157 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9158 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9159 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9160 | PRIVATE third_party/googletest/include |
| 9161 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9162 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9163 | ) |
| 9164 | |
| 9165 | target_link_libraries(streaming_throughput_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9166 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9167 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9168 | grpc++_test_util |
| 9169 | grpc_test_util |
| 9170 | grpc++ |
| 9171 | grpc |
| 9172 | gpr_test_util |
| 9173 | gpr |
| 9174 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9175 | ) |
| 9176 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9177 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9178 | endif (gRPC_BUILD_TESTS) |
| 9179 | if (gRPC_BUILD_TESTS) |
| 9180 | |
| 9181 | add_executable(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9182 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.cc |
| 9183 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.cc |
| 9184 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.pb.h |
| 9185 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/empty.grpc.pb.h |
| 9186 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.cc |
| 9187 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.cc |
| 9188 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.pb.h |
| 9189 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/messages.grpc.pb.h |
| 9190 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.cc |
| 9191 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.cc |
| 9192 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.pb.h |
| 9193 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/metrics.grpc.pb.h |
| 9194 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.cc |
| 9195 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.cc |
| 9196 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.pb.h |
| 9197 | ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/testing/test.grpc.pb.h |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9198 | test/cpp/interop/interop_client.cc |
| 9199 | test/cpp/interop/stress_interop_client.cc |
| 9200 | test/cpp/interop/stress_test.cc |
ncteisen | 8760084 | 2017-01-19 15:40:00 -0800 | [diff] [blame] | 9201 | test/cpp/util/create_test_channel.cc |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9202 | test/cpp/util/metrics_server.cc |
| 9203 | third_party/googletest/src/gtest-all.cc |
| 9204 | ) |
| 9205 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9206 | protobuf_generate_grpc_cpp( |
| 9207 | src/proto/grpc/testing/empty.proto |
| 9208 | ) |
| 9209 | protobuf_generate_grpc_cpp( |
| 9210 | src/proto/grpc/testing/messages.proto |
| 9211 | ) |
| 9212 | protobuf_generate_grpc_cpp( |
| 9213 | src/proto/grpc/testing/metrics.proto |
| 9214 | ) |
| 9215 | protobuf_generate_grpc_cpp( |
| 9216 | src/proto/grpc/testing/test.proto |
| 9217 | ) |
| 9218 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9219 | target_include_directories(stress_test |
| 9220 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9221 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9222 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9223 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9224 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9225 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9226 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9227 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9228 | PRIVATE third_party/googletest/include |
| 9229 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9230 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9231 | ) |
| 9232 | |
| 9233 | target_link_libraries(stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9234 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9235 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9236 | grpc++_test_util |
| 9237 | grpc_test_util |
| 9238 | grpc++ |
| 9239 | grpc |
| 9240 | gpr_test_util |
| 9241 | gpr |
| 9242 | grpc++_test_config |
| 9243 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9244 | ) |
| 9245 | |
| 9246 | endif (gRPC_BUILD_TESTS) |
| 9247 | if (gRPC_BUILD_TESTS) |
| 9248 | |
| 9249 | add_executable(thread_manager_test |
| 9250 | test/cpp/thread_manager/thread_manager_test.cc |
| 9251 | third_party/googletest/src/gtest-all.cc |
| 9252 | ) |
| 9253 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9254 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9255 | target_include_directories(thread_manager_test |
| 9256 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9257 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9258 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9259 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9260 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9261 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9262 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9263 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9264 | PRIVATE third_party/googletest/include |
| 9265 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9266 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9267 | ) |
| 9268 | |
| 9269 | target_link_libraries(thread_manager_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9270 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9271 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9272 | grpc++ |
| 9273 | grpc |
| 9274 | gpr |
| 9275 | grpc++_test_config |
| 9276 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9277 | ) |
| 9278 | |
| 9279 | endif (gRPC_BUILD_TESTS) |
| 9280 | if (gRPC_BUILD_TESTS) |
| 9281 | |
| 9282 | add_executable(thread_stress_test |
| 9283 | test/cpp/end2end/thread_stress_test.cc |
| 9284 | third_party/googletest/src/gtest-all.cc |
| 9285 | ) |
| 9286 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9287 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9288 | target_include_directories(thread_stress_test |
| 9289 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9290 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9291 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9292 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9293 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9294 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9295 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9296 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9297 | PRIVATE third_party/googletest/include |
| 9298 | PRIVATE third_party/googletest |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9299 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9300 | ) |
| 9301 | |
| 9302 | target_link_libraries(thread_stress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9303 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9304 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9305 | grpc++_test_util |
| 9306 | grpc_test_util |
| 9307 | grpc++ |
| 9308 | grpc |
| 9309 | gpr_test_util |
| 9310 | gpr |
| 9311 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9312 | ) |
| 9313 | |
| 9314 | endif (gRPC_BUILD_TESTS) |
| 9315 | if (gRPC_BUILD_TESTS) |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 9316 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9317 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 9318 | add_executable(writes_per_rpc_test |
| 9319 | test/cpp/performance/writes_per_rpc_test.cc |
| 9320 | third_party/googletest/src/gtest-all.cc |
| 9321 | ) |
| 9322 | |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 9323 | |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 9324 | target_include_directories(writes_per_rpc_test |
| 9325 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9326 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9327 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9328 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 9329 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 9330 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9331 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9332 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9333 | PRIVATE third_party/googletest/include |
| 9334 | PRIVATE third_party/googletest |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 9335 | PRIVATE ${_gRPC_PROTO_GENS_DIR} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 9336 | ) |
| 9337 | |
| 9338 | target_link_libraries(writes_per_rpc_test |
Craig Tiller | c40b347 | 2017-02-03 11:54:26 -0800 | [diff] [blame] | 9339 | ${_gRPC_PROTOBUF_LIBRARIES} |
| 9340 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 9341 | grpc++_test_util |
| 9342 | grpc_test_util |
| 9343 | grpc++ |
| 9344 | grpc |
| 9345 | gpr_test_util |
| 9346 | gpr |
| 9347 | ${_gRPC_GFLAGS_LIBRARIES} |
| 9348 | ) |
| 9349 | |
Craig Tiller | 1bb5371 | 2017-02-04 15:39:27 -0800 | [diff] [blame] | 9350 | endif() |
Craig Tiller | 9a3997c | 2017-01-30 13:22:33 -0800 | [diff] [blame] | 9351 | endif (gRPC_BUILD_TESTS) |
| 9352 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9353 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9354 | add_executable(public_headers_must_be_c89 |
| 9355 | test/core/surface/public_headers_must_be_c89.c |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9356 | ) |
| 9357 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9358 | |
| 9359 | target_include_directories(public_headers_must_be_c89 |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9360 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9361 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9362 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9363 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9364 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9365 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9366 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9367 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9368 | ) |
| 9369 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9370 | target_link_libraries(public_headers_must_be_c89 |
| 9371 | ${_gRPC_ALLTARGETS_LIBRARIES} |
| 9372 | grpc |
| 9373 | gpr |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9374 | ) |
| 9375 | |
| 9376 | endif (gRPC_BUILD_TESTS) |
| 9377 | if (gRPC_BUILD_TESTS) |
| 9378 | |
| 9379 | add_executable(badreq_bad_client_test |
| 9380 | test/core/bad_client/tests/badreq.c |
| 9381 | ) |
| 9382 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9383 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9384 | target_include_directories(badreq_bad_client_test |
| 9385 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9386 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9387 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9388 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9389 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9390 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9391 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9392 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9393 | ) |
| 9394 | |
| 9395 | target_link_libraries(badreq_bad_client_test |
| 9396 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9397 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9398 | bad_client_test |
| 9399 | grpc_test_util_unsecure |
| 9400 | grpc_unsecure |
| 9401 | gpr_test_util |
| 9402 | gpr |
| 9403 | ) |
| 9404 | |
| 9405 | endif (gRPC_BUILD_TESTS) |
| 9406 | if (gRPC_BUILD_TESTS) |
| 9407 | |
| 9408 | add_executable(connection_prefix_bad_client_test |
| 9409 | test/core/bad_client/tests/connection_prefix.c |
| 9410 | ) |
| 9411 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9412 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9413 | target_include_directories(connection_prefix_bad_client_test |
| 9414 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9415 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9416 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9417 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9418 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9419 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9420 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9421 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9422 | ) |
| 9423 | |
| 9424 | target_link_libraries(connection_prefix_bad_client_test |
| 9425 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9426 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9427 | bad_client_test |
| 9428 | grpc_test_util_unsecure |
| 9429 | grpc_unsecure |
| 9430 | gpr_test_util |
| 9431 | gpr |
| 9432 | ) |
| 9433 | |
| 9434 | endif (gRPC_BUILD_TESTS) |
| 9435 | if (gRPC_BUILD_TESTS) |
| 9436 | |
| 9437 | add_executable(head_of_line_blocking_bad_client_test |
| 9438 | test/core/bad_client/tests/head_of_line_blocking.c |
| 9439 | ) |
| 9440 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9441 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9442 | target_include_directories(head_of_line_blocking_bad_client_test |
| 9443 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9444 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9445 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9446 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9447 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9448 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9449 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9450 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9451 | ) |
| 9452 | |
| 9453 | target_link_libraries(head_of_line_blocking_bad_client_test |
| 9454 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9455 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9456 | bad_client_test |
| 9457 | grpc_test_util_unsecure |
| 9458 | grpc_unsecure |
| 9459 | gpr_test_util |
| 9460 | gpr |
| 9461 | ) |
| 9462 | |
| 9463 | endif (gRPC_BUILD_TESTS) |
| 9464 | if (gRPC_BUILD_TESTS) |
| 9465 | |
| 9466 | add_executable(headers_bad_client_test |
| 9467 | test/core/bad_client/tests/headers.c |
| 9468 | ) |
| 9469 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9470 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9471 | target_include_directories(headers_bad_client_test |
| 9472 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9473 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9474 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9475 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9476 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9477 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9478 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9479 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9480 | ) |
| 9481 | |
| 9482 | target_link_libraries(headers_bad_client_test |
| 9483 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9484 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9485 | bad_client_test |
| 9486 | grpc_test_util_unsecure |
| 9487 | grpc_unsecure |
| 9488 | gpr_test_util |
| 9489 | gpr |
| 9490 | ) |
| 9491 | |
| 9492 | endif (gRPC_BUILD_TESTS) |
| 9493 | if (gRPC_BUILD_TESTS) |
| 9494 | |
| 9495 | add_executable(initial_settings_frame_bad_client_test |
| 9496 | test/core/bad_client/tests/initial_settings_frame.c |
| 9497 | ) |
| 9498 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9499 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9500 | target_include_directories(initial_settings_frame_bad_client_test |
| 9501 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9502 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9503 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9504 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9505 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9506 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9507 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9508 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9509 | ) |
| 9510 | |
| 9511 | target_link_libraries(initial_settings_frame_bad_client_test |
| 9512 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9513 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9514 | bad_client_test |
| 9515 | grpc_test_util_unsecure |
| 9516 | grpc_unsecure |
| 9517 | gpr_test_util |
| 9518 | gpr |
| 9519 | ) |
| 9520 | |
| 9521 | endif (gRPC_BUILD_TESTS) |
| 9522 | if (gRPC_BUILD_TESTS) |
| 9523 | |
| 9524 | add_executable(large_metadata_bad_client_test |
| 9525 | test/core/bad_client/tests/large_metadata.c |
| 9526 | ) |
| 9527 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9528 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9529 | target_include_directories(large_metadata_bad_client_test |
| 9530 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9531 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9532 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9533 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9534 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9535 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9536 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9537 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9538 | ) |
| 9539 | |
| 9540 | target_link_libraries(large_metadata_bad_client_test |
| 9541 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9542 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9543 | bad_client_test |
| 9544 | grpc_test_util_unsecure |
| 9545 | grpc_unsecure |
| 9546 | gpr_test_util |
| 9547 | gpr |
| 9548 | ) |
| 9549 | |
| 9550 | endif (gRPC_BUILD_TESTS) |
| 9551 | if (gRPC_BUILD_TESTS) |
| 9552 | |
| 9553 | add_executable(server_registered_method_bad_client_test |
| 9554 | test/core/bad_client/tests/server_registered_method.c |
| 9555 | ) |
| 9556 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9557 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9558 | target_include_directories(server_registered_method_bad_client_test |
| 9559 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9560 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9561 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9562 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9563 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9564 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9565 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9566 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9567 | ) |
| 9568 | |
| 9569 | target_link_libraries(server_registered_method_bad_client_test |
| 9570 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9571 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9572 | bad_client_test |
| 9573 | grpc_test_util_unsecure |
| 9574 | grpc_unsecure |
| 9575 | gpr_test_util |
| 9576 | gpr |
| 9577 | ) |
| 9578 | |
| 9579 | endif (gRPC_BUILD_TESTS) |
| 9580 | if (gRPC_BUILD_TESTS) |
| 9581 | |
| 9582 | add_executable(simple_request_bad_client_test |
| 9583 | test/core/bad_client/tests/simple_request.c |
| 9584 | ) |
| 9585 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9586 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9587 | target_include_directories(simple_request_bad_client_test |
| 9588 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9589 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9590 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9591 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9592 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9593 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9594 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9595 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9596 | ) |
| 9597 | |
| 9598 | target_link_libraries(simple_request_bad_client_test |
| 9599 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9600 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9601 | bad_client_test |
| 9602 | grpc_test_util_unsecure |
| 9603 | grpc_unsecure |
| 9604 | gpr_test_util |
| 9605 | gpr |
| 9606 | ) |
| 9607 | |
| 9608 | endif (gRPC_BUILD_TESTS) |
| 9609 | if (gRPC_BUILD_TESTS) |
| 9610 | |
| 9611 | add_executable(unknown_frame_bad_client_test |
| 9612 | test/core/bad_client/tests/unknown_frame.c |
| 9613 | ) |
| 9614 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9615 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9616 | target_include_directories(unknown_frame_bad_client_test |
| 9617 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9618 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9619 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9620 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9621 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9622 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9623 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9624 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9625 | ) |
| 9626 | |
| 9627 | target_link_libraries(unknown_frame_bad_client_test |
| 9628 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9629 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9630 | bad_client_test |
| 9631 | grpc_test_util_unsecure |
| 9632 | grpc_unsecure |
| 9633 | gpr_test_util |
| 9634 | gpr |
| 9635 | ) |
| 9636 | |
| 9637 | endif (gRPC_BUILD_TESTS) |
| 9638 | if (gRPC_BUILD_TESTS) |
| 9639 | |
| 9640 | add_executable(window_overflow_bad_client_test |
| 9641 | test/core/bad_client/tests/window_overflow.c |
| 9642 | ) |
| 9643 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9644 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9645 | target_include_directories(window_overflow_bad_client_test |
| 9646 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9647 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9648 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9649 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9650 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9651 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9652 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9653 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9654 | ) |
| 9655 | |
| 9656 | target_link_libraries(window_overflow_bad_client_test |
| 9657 | ${_gRPC_SSL_LIBRARIES} |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9658 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9659 | bad_client_test |
| 9660 | grpc_test_util_unsecure |
| 9661 | grpc_unsecure |
| 9662 | gpr_test_util |
| 9663 | gpr |
| 9664 | ) |
| 9665 | |
| 9666 | endif (gRPC_BUILD_TESTS) |
| 9667 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9668 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9669 | |
| 9670 | add_executable(bad_ssl_cert_server |
| 9671 | test/core/bad_ssl/servers/cert.c |
| 9672 | ) |
| 9673 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9674 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9675 | target_include_directories(bad_ssl_cert_server |
| 9676 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9677 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9678 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9679 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9680 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9681 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9682 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9683 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9684 | ) |
| 9685 | |
| 9686 | target_link_libraries(bad_ssl_cert_server |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9687 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9688 | bad_ssl_test_server |
| 9689 | grpc_test_util |
| 9690 | grpc |
| 9691 | gpr_test_util |
| 9692 | gpr |
| 9693 | ) |
| 9694 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9695 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9696 | endif (gRPC_BUILD_TESTS) |
| 9697 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9698 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9699 | |
| 9700 | add_executable(bad_ssl_cert_test |
| 9701 | test/core/bad_ssl/bad_ssl_test.c |
| 9702 | ) |
| 9703 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9704 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9705 | target_include_directories(bad_ssl_cert_test |
| 9706 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9707 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9708 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9709 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9710 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9711 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9712 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9713 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9714 | ) |
| 9715 | |
| 9716 | target_link_libraries(bad_ssl_cert_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9717 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9718 | grpc_test_util |
| 9719 | grpc |
| 9720 | gpr_test_util |
| 9721 | gpr |
| 9722 | ) |
| 9723 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9724 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9725 | endif (gRPC_BUILD_TESTS) |
| 9726 | if (gRPC_BUILD_TESTS) |
| 9727 | |
| 9728 | add_executable(h2_census_test |
| 9729 | test/core/end2end/fixtures/h2_census.c |
| 9730 | ) |
| 9731 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9732 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9733 | target_include_directories(h2_census_test |
| 9734 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9735 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9736 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9737 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9738 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9739 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9740 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9741 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9742 | ) |
| 9743 | |
| 9744 | target_link_libraries(h2_census_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9745 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9746 | end2end_tests |
| 9747 | grpc_test_util |
| 9748 | grpc |
| 9749 | gpr_test_util |
| 9750 | gpr |
| 9751 | ) |
| 9752 | |
| 9753 | endif (gRPC_BUILD_TESTS) |
| 9754 | if (gRPC_BUILD_TESTS) |
| 9755 | |
| 9756 | add_executable(h2_compress_test |
| 9757 | test/core/end2end/fixtures/h2_compress.c |
| 9758 | ) |
| 9759 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9760 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9761 | target_include_directories(h2_compress_test |
| 9762 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9763 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9764 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9765 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9766 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9767 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9768 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9769 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9770 | ) |
| 9771 | |
| 9772 | target_link_libraries(h2_compress_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9773 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9774 | end2end_tests |
| 9775 | grpc_test_util |
| 9776 | grpc |
| 9777 | gpr_test_util |
| 9778 | gpr |
| 9779 | ) |
| 9780 | |
| 9781 | endif (gRPC_BUILD_TESTS) |
| 9782 | if (gRPC_BUILD_TESTS) |
| 9783 | |
| 9784 | add_executable(h2_fakesec_test |
| 9785 | test/core/end2end/fixtures/h2_fakesec.c |
| 9786 | ) |
| 9787 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9788 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9789 | target_include_directories(h2_fakesec_test |
| 9790 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9791 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9792 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9793 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9794 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9795 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9796 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9797 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9798 | ) |
| 9799 | |
| 9800 | target_link_libraries(h2_fakesec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9801 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9802 | end2end_tests |
| 9803 | grpc_test_util |
| 9804 | grpc |
| 9805 | gpr_test_util |
| 9806 | gpr |
| 9807 | ) |
| 9808 | |
| 9809 | endif (gRPC_BUILD_TESTS) |
| 9810 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9811 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9812 | |
| 9813 | add_executable(h2_fd_test |
| 9814 | test/core/end2end/fixtures/h2_fd.c |
| 9815 | ) |
| 9816 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9817 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9818 | target_include_directories(h2_fd_test |
| 9819 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9820 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9821 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9822 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9823 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9824 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9825 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9826 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9827 | ) |
| 9828 | |
| 9829 | target_link_libraries(h2_fd_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9830 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9831 | end2end_tests |
| 9832 | grpc_test_util |
| 9833 | grpc |
| 9834 | gpr_test_util |
| 9835 | gpr |
| 9836 | ) |
| 9837 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9838 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9839 | endif (gRPC_BUILD_TESTS) |
| 9840 | if (gRPC_BUILD_TESTS) |
| 9841 | |
| 9842 | add_executable(h2_full_test |
| 9843 | test/core/end2end/fixtures/h2_full.c |
| 9844 | ) |
| 9845 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9846 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9847 | target_include_directories(h2_full_test |
| 9848 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9849 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9850 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9851 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9852 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9853 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9854 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9855 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9856 | ) |
| 9857 | |
| 9858 | target_link_libraries(h2_full_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9859 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9860 | end2end_tests |
| 9861 | grpc_test_util |
| 9862 | grpc |
| 9863 | gpr_test_util |
| 9864 | gpr |
| 9865 | ) |
| 9866 | |
| 9867 | endif (gRPC_BUILD_TESTS) |
| 9868 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9869 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9870 | |
| 9871 | add_executable(h2_full+pipe_test |
| 9872 | test/core/end2end/fixtures/h2_full+pipe.c |
| 9873 | ) |
| 9874 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9875 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9876 | target_include_directories(h2_full+pipe_test |
| 9877 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9878 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9879 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9880 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9881 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9882 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9883 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9884 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9885 | ) |
| 9886 | |
| 9887 | target_link_libraries(h2_full+pipe_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9888 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9889 | end2end_tests |
| 9890 | grpc_test_util |
| 9891 | grpc |
| 9892 | gpr_test_util |
| 9893 | gpr |
| 9894 | ) |
| 9895 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9896 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9897 | endif (gRPC_BUILD_TESTS) |
| 9898 | if (gRPC_BUILD_TESTS) |
| 9899 | |
| 9900 | add_executable(h2_full+trace_test |
| 9901 | test/core/end2end/fixtures/h2_full+trace.c |
| 9902 | ) |
| 9903 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9904 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9905 | target_include_directories(h2_full+trace_test |
| 9906 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9907 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9908 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9909 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9910 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9911 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9912 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9913 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9914 | ) |
| 9915 | |
| 9916 | target_link_libraries(h2_full+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9917 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9918 | end2end_tests |
| 9919 | grpc_test_util |
| 9920 | grpc |
| 9921 | gpr_test_util |
| 9922 | gpr |
| 9923 | ) |
| 9924 | |
| 9925 | endif (gRPC_BUILD_TESTS) |
| 9926 | if (gRPC_BUILD_TESTS) |
| 9927 | |
| 9928 | add_executable(h2_http_proxy_test |
| 9929 | test/core/end2end/fixtures/h2_http_proxy.c |
| 9930 | ) |
| 9931 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9932 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9933 | target_include_directories(h2_http_proxy_test |
| 9934 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9935 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9936 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9937 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9938 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9939 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9940 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9941 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9942 | ) |
| 9943 | |
| 9944 | target_link_libraries(h2_http_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9945 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9946 | end2end_tests |
| 9947 | grpc_test_util |
| 9948 | grpc |
| 9949 | gpr_test_util |
| 9950 | gpr |
| 9951 | ) |
| 9952 | |
| 9953 | endif (gRPC_BUILD_TESTS) |
| 9954 | if (gRPC_BUILD_TESTS) |
| 9955 | |
| 9956 | add_executable(h2_load_reporting_test |
| 9957 | test/core/end2end/fixtures/h2_load_reporting.c |
| 9958 | ) |
| 9959 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9960 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9961 | target_include_directories(h2_load_reporting_test |
| 9962 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9963 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9964 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9965 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9966 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9967 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9968 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9969 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9970 | ) |
| 9971 | |
| 9972 | target_link_libraries(h2_load_reporting_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9973 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9974 | end2end_tests |
| 9975 | grpc_test_util |
| 9976 | grpc |
| 9977 | gpr_test_util |
| 9978 | gpr |
| 9979 | ) |
| 9980 | |
| 9981 | endif (gRPC_BUILD_TESTS) |
| 9982 | if (gRPC_BUILD_TESTS) |
| 9983 | |
| 9984 | add_executable(h2_oauth2_test |
| 9985 | test/core/end2end/fixtures/h2_oauth2.c |
| 9986 | ) |
| 9987 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9988 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9989 | target_include_directories(h2_oauth2_test |
| 9990 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 9991 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 9992 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 9993 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 9994 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 9995 | PRIVATE ${ZLIB_ROOT_DIR} |
| 9996 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 9997 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 9998 | ) |
| 9999 | |
| 10000 | target_link_libraries(h2_oauth2_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10001 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10002 | end2end_tests |
| 10003 | grpc_test_util |
| 10004 | grpc |
| 10005 | gpr_test_util |
| 10006 | gpr |
| 10007 | ) |
| 10008 | |
| 10009 | endif (gRPC_BUILD_TESTS) |
| 10010 | if (gRPC_BUILD_TESTS) |
| 10011 | |
| 10012 | add_executable(h2_proxy_test |
| 10013 | test/core/end2end/fixtures/h2_proxy.c |
| 10014 | ) |
| 10015 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10016 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10017 | target_include_directories(h2_proxy_test |
| 10018 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10019 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10020 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10021 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10022 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10023 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10024 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10025 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10026 | ) |
| 10027 | |
| 10028 | target_link_libraries(h2_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10029 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10030 | end2end_tests |
| 10031 | grpc_test_util |
| 10032 | grpc |
| 10033 | gpr_test_util |
| 10034 | gpr |
| 10035 | ) |
| 10036 | |
| 10037 | endif (gRPC_BUILD_TESTS) |
| 10038 | if (gRPC_BUILD_TESTS) |
| 10039 | |
| 10040 | add_executable(h2_sockpair_test |
| 10041 | test/core/end2end/fixtures/h2_sockpair.c |
| 10042 | ) |
| 10043 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10044 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10045 | target_include_directories(h2_sockpair_test |
| 10046 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10047 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10048 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10049 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10050 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10051 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10052 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10053 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10054 | ) |
| 10055 | |
| 10056 | target_link_libraries(h2_sockpair_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10057 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10058 | end2end_tests |
| 10059 | grpc_test_util |
| 10060 | grpc |
| 10061 | gpr_test_util |
| 10062 | gpr |
| 10063 | ) |
| 10064 | |
| 10065 | endif (gRPC_BUILD_TESTS) |
| 10066 | if (gRPC_BUILD_TESTS) |
| 10067 | |
| 10068 | add_executable(h2_sockpair+trace_test |
| 10069 | test/core/end2end/fixtures/h2_sockpair+trace.c |
| 10070 | ) |
| 10071 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10072 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10073 | target_include_directories(h2_sockpair+trace_test |
| 10074 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10075 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10076 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10077 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10078 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10079 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10080 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10081 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10082 | ) |
| 10083 | |
| 10084 | target_link_libraries(h2_sockpair+trace_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10085 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10086 | end2end_tests |
| 10087 | grpc_test_util |
| 10088 | grpc |
| 10089 | gpr_test_util |
| 10090 | gpr |
| 10091 | ) |
| 10092 | |
| 10093 | endif (gRPC_BUILD_TESTS) |
| 10094 | if (gRPC_BUILD_TESTS) |
| 10095 | |
| 10096 | add_executable(h2_sockpair_1byte_test |
| 10097 | test/core/end2end/fixtures/h2_sockpair_1byte.c |
| 10098 | ) |
| 10099 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10100 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10101 | target_include_directories(h2_sockpair_1byte_test |
| 10102 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10103 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10104 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10105 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10106 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10107 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10108 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10109 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10110 | ) |
| 10111 | |
| 10112 | target_link_libraries(h2_sockpair_1byte_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10113 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10114 | end2end_tests |
| 10115 | grpc_test_util |
| 10116 | grpc |
| 10117 | gpr_test_util |
| 10118 | gpr |
| 10119 | ) |
| 10120 | |
| 10121 | endif (gRPC_BUILD_TESTS) |
| 10122 | if (gRPC_BUILD_TESTS) |
| 10123 | |
| 10124 | add_executable(h2_ssl_test |
| 10125 | test/core/end2end/fixtures/h2_ssl.c |
| 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(h2_ssl_test |
| 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 |
| 10137 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10138 | ) |
| 10139 | |
| 10140 | target_link_libraries(h2_ssl_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10141 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10142 | end2end_tests |
| 10143 | grpc_test_util |
| 10144 | grpc |
| 10145 | gpr_test_util |
| 10146 | gpr |
| 10147 | ) |
| 10148 | |
| 10149 | endif (gRPC_BUILD_TESTS) |
| 10150 | if (gRPC_BUILD_TESTS) |
| 10151 | |
| 10152 | add_executable(h2_ssl_cert_test |
| 10153 | test/core/end2end/fixtures/h2_ssl_cert.c |
| 10154 | ) |
| 10155 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10156 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10157 | target_include_directories(h2_ssl_cert_test |
| 10158 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10159 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10160 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10161 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10162 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10163 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10164 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10165 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10166 | ) |
| 10167 | |
| 10168 | target_link_libraries(h2_ssl_cert_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10169 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10170 | end2end_tests |
| 10171 | grpc_test_util |
| 10172 | grpc |
| 10173 | gpr_test_util |
| 10174 | gpr |
| 10175 | ) |
| 10176 | |
| 10177 | endif (gRPC_BUILD_TESTS) |
| 10178 | if (gRPC_BUILD_TESTS) |
| 10179 | |
| 10180 | add_executable(h2_ssl_proxy_test |
| 10181 | test/core/end2end/fixtures/h2_ssl_proxy.c |
| 10182 | ) |
| 10183 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10184 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10185 | target_include_directories(h2_ssl_proxy_test |
| 10186 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10187 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10188 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10189 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10190 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10191 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10192 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10193 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10194 | ) |
| 10195 | |
| 10196 | target_link_libraries(h2_ssl_proxy_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10197 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10198 | end2end_tests |
| 10199 | grpc_test_util |
| 10200 | grpc |
| 10201 | gpr_test_util |
| 10202 | gpr |
| 10203 | ) |
| 10204 | |
| 10205 | endif (gRPC_BUILD_TESTS) |
| 10206 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10207 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10208 | |
| 10209 | add_executable(h2_uds_test |
| 10210 | test/core/end2end/fixtures/h2_uds.c |
| 10211 | ) |
| 10212 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10213 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10214 | target_include_directories(h2_uds_test |
| 10215 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10216 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10217 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10218 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10219 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10220 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10221 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10222 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10223 | ) |
| 10224 | |
| 10225 | target_link_libraries(h2_uds_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10226 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10227 | end2end_tests |
| 10228 | grpc_test_util |
| 10229 | grpc |
| 10230 | gpr_test_util |
| 10231 | gpr |
| 10232 | ) |
| 10233 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10234 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10235 | endif (gRPC_BUILD_TESTS) |
| 10236 | if (gRPC_BUILD_TESTS) |
| 10237 | |
| 10238 | add_executable(h2_census_nosec_test |
| 10239 | test/core/end2end/fixtures/h2_census.c |
| 10240 | ) |
| 10241 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10242 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10243 | target_include_directories(h2_census_nosec_test |
| 10244 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10245 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10246 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10247 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10248 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10249 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10250 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10251 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10252 | ) |
| 10253 | |
| 10254 | target_link_libraries(h2_census_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10255 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10256 | end2end_nosec_tests |
| 10257 | grpc_test_util_unsecure |
| 10258 | grpc_unsecure |
| 10259 | gpr_test_util |
| 10260 | gpr |
| 10261 | ) |
| 10262 | |
| 10263 | endif (gRPC_BUILD_TESTS) |
| 10264 | if (gRPC_BUILD_TESTS) |
| 10265 | |
| 10266 | add_executable(h2_compress_nosec_test |
| 10267 | test/core/end2end/fixtures/h2_compress.c |
| 10268 | ) |
| 10269 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10270 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10271 | target_include_directories(h2_compress_nosec_test |
| 10272 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10273 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10274 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10275 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10276 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10277 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10278 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10279 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10280 | ) |
| 10281 | |
| 10282 | target_link_libraries(h2_compress_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10283 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10284 | end2end_nosec_tests |
| 10285 | grpc_test_util_unsecure |
| 10286 | grpc_unsecure |
| 10287 | gpr_test_util |
| 10288 | gpr |
| 10289 | ) |
| 10290 | |
| 10291 | endif (gRPC_BUILD_TESTS) |
| 10292 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10293 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10294 | |
| 10295 | add_executable(h2_fd_nosec_test |
| 10296 | test/core/end2end/fixtures/h2_fd.c |
| 10297 | ) |
| 10298 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10299 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10300 | target_include_directories(h2_fd_nosec_test |
| 10301 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10302 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10303 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10304 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10305 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10306 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10307 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10308 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10309 | ) |
| 10310 | |
| 10311 | target_link_libraries(h2_fd_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10312 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10313 | end2end_nosec_tests |
| 10314 | grpc_test_util_unsecure |
| 10315 | grpc_unsecure |
| 10316 | gpr_test_util |
| 10317 | gpr |
| 10318 | ) |
| 10319 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10320 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10321 | endif (gRPC_BUILD_TESTS) |
| 10322 | if (gRPC_BUILD_TESTS) |
| 10323 | |
| 10324 | add_executable(h2_full_nosec_test |
| 10325 | test/core/end2end/fixtures/h2_full.c |
| 10326 | ) |
| 10327 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10328 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10329 | target_include_directories(h2_full_nosec_test |
| 10330 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10331 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10332 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10333 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10334 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10335 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10336 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10337 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10338 | ) |
| 10339 | |
| 10340 | target_link_libraries(h2_full_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10341 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10342 | end2end_nosec_tests |
| 10343 | grpc_test_util_unsecure |
| 10344 | grpc_unsecure |
| 10345 | gpr_test_util |
| 10346 | gpr |
| 10347 | ) |
| 10348 | |
| 10349 | endif (gRPC_BUILD_TESTS) |
| 10350 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10351 | if(_gRPC_PLATFORM_LINUX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10352 | |
| 10353 | add_executable(h2_full+pipe_nosec_test |
| 10354 | test/core/end2end/fixtures/h2_full+pipe.c |
| 10355 | ) |
| 10356 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10357 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10358 | target_include_directories(h2_full+pipe_nosec_test |
| 10359 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10360 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10361 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10362 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10363 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10364 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10365 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10366 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10367 | ) |
| 10368 | |
| 10369 | target_link_libraries(h2_full+pipe_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10370 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10371 | end2end_nosec_tests |
| 10372 | grpc_test_util_unsecure |
| 10373 | grpc_unsecure |
| 10374 | gpr_test_util |
| 10375 | gpr |
| 10376 | ) |
| 10377 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10378 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10379 | endif (gRPC_BUILD_TESTS) |
| 10380 | if (gRPC_BUILD_TESTS) |
| 10381 | |
| 10382 | add_executable(h2_full+trace_nosec_test |
| 10383 | test/core/end2end/fixtures/h2_full+trace.c |
| 10384 | ) |
| 10385 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10386 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10387 | target_include_directories(h2_full+trace_nosec_test |
| 10388 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10389 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10390 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10391 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10392 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10393 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10394 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10395 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10396 | ) |
| 10397 | |
| 10398 | target_link_libraries(h2_full+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10399 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10400 | end2end_nosec_tests |
| 10401 | grpc_test_util_unsecure |
| 10402 | grpc_unsecure |
| 10403 | gpr_test_util |
| 10404 | gpr |
| 10405 | ) |
| 10406 | |
| 10407 | endif (gRPC_BUILD_TESTS) |
| 10408 | if (gRPC_BUILD_TESTS) |
| 10409 | |
| 10410 | add_executable(h2_http_proxy_nosec_test |
| 10411 | test/core/end2end/fixtures/h2_http_proxy.c |
| 10412 | ) |
| 10413 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10414 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10415 | target_include_directories(h2_http_proxy_nosec_test |
| 10416 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10417 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10418 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10419 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10420 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10421 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10422 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10423 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10424 | ) |
| 10425 | |
| 10426 | target_link_libraries(h2_http_proxy_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10427 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10428 | end2end_nosec_tests |
| 10429 | grpc_test_util_unsecure |
| 10430 | grpc_unsecure |
| 10431 | gpr_test_util |
| 10432 | gpr |
| 10433 | ) |
| 10434 | |
| 10435 | endif (gRPC_BUILD_TESTS) |
| 10436 | if (gRPC_BUILD_TESTS) |
| 10437 | |
| 10438 | add_executable(h2_load_reporting_nosec_test |
| 10439 | test/core/end2end/fixtures/h2_load_reporting.c |
| 10440 | ) |
| 10441 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10442 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10443 | target_include_directories(h2_load_reporting_nosec_test |
| 10444 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10445 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10446 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10447 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10448 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10449 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10450 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10451 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10452 | ) |
| 10453 | |
| 10454 | target_link_libraries(h2_load_reporting_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10455 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10456 | end2end_nosec_tests |
| 10457 | grpc_test_util_unsecure |
| 10458 | grpc_unsecure |
| 10459 | gpr_test_util |
| 10460 | gpr |
| 10461 | ) |
| 10462 | |
| 10463 | endif (gRPC_BUILD_TESTS) |
| 10464 | if (gRPC_BUILD_TESTS) |
| 10465 | |
| 10466 | add_executable(h2_proxy_nosec_test |
| 10467 | test/core/end2end/fixtures/h2_proxy.c |
| 10468 | ) |
| 10469 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10470 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10471 | target_include_directories(h2_proxy_nosec_test |
| 10472 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10473 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10474 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10475 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10476 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10477 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10478 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10479 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10480 | ) |
| 10481 | |
| 10482 | target_link_libraries(h2_proxy_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10483 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10484 | end2end_nosec_tests |
| 10485 | grpc_test_util_unsecure |
| 10486 | grpc_unsecure |
| 10487 | gpr_test_util |
| 10488 | gpr |
| 10489 | ) |
| 10490 | |
| 10491 | endif (gRPC_BUILD_TESTS) |
| 10492 | if (gRPC_BUILD_TESTS) |
| 10493 | |
| 10494 | add_executable(h2_sockpair_nosec_test |
| 10495 | test/core/end2end/fixtures/h2_sockpair.c |
| 10496 | ) |
| 10497 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10498 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10499 | target_include_directories(h2_sockpair_nosec_test |
| 10500 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10501 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10502 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10503 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10504 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10505 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10506 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10507 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10508 | ) |
| 10509 | |
| 10510 | target_link_libraries(h2_sockpair_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10511 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10512 | end2end_nosec_tests |
| 10513 | grpc_test_util_unsecure |
| 10514 | grpc_unsecure |
| 10515 | gpr_test_util |
| 10516 | gpr |
| 10517 | ) |
| 10518 | |
| 10519 | endif (gRPC_BUILD_TESTS) |
| 10520 | if (gRPC_BUILD_TESTS) |
| 10521 | |
| 10522 | add_executable(h2_sockpair+trace_nosec_test |
| 10523 | test/core/end2end/fixtures/h2_sockpair+trace.c |
| 10524 | ) |
| 10525 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10526 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10527 | target_include_directories(h2_sockpair+trace_nosec_test |
| 10528 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10529 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10530 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10531 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10532 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10533 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10534 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10535 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10536 | ) |
| 10537 | |
| 10538 | target_link_libraries(h2_sockpair+trace_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10539 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10540 | end2end_nosec_tests |
| 10541 | grpc_test_util_unsecure |
| 10542 | grpc_unsecure |
| 10543 | gpr_test_util |
| 10544 | gpr |
| 10545 | ) |
| 10546 | |
| 10547 | endif (gRPC_BUILD_TESTS) |
| 10548 | if (gRPC_BUILD_TESTS) |
| 10549 | |
| 10550 | add_executable(h2_sockpair_1byte_nosec_test |
| 10551 | test/core/end2end/fixtures/h2_sockpair_1byte.c |
| 10552 | ) |
| 10553 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10554 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10555 | target_include_directories(h2_sockpair_1byte_nosec_test |
| 10556 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10557 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10558 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10559 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10560 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10561 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10562 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10563 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10564 | ) |
| 10565 | |
| 10566 | target_link_libraries(h2_sockpair_1byte_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10567 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10568 | end2end_nosec_tests |
| 10569 | grpc_test_util_unsecure |
| 10570 | grpc_unsecure |
| 10571 | gpr_test_util |
| 10572 | gpr |
| 10573 | ) |
| 10574 | |
| 10575 | endif (gRPC_BUILD_TESTS) |
| 10576 | if (gRPC_BUILD_TESTS) |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10577 | if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10578 | |
| 10579 | add_executable(h2_uds_nosec_test |
| 10580 | test/core/end2end/fixtures/h2_uds.c |
| 10581 | ) |
| 10582 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10583 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10584 | target_include_directories(h2_uds_nosec_test |
| 10585 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10586 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10587 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10588 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10589 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10590 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10591 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10592 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10593 | ) |
| 10594 | |
| 10595 | target_link_libraries(h2_uds_nosec_test |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10596 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10597 | end2end_nosec_tests |
| 10598 | grpc_test_util_unsecure |
| 10599 | grpc_unsecure |
| 10600 | gpr_test_util |
| 10601 | gpr |
| 10602 | ) |
| 10603 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10604 | endif() |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10605 | endif (gRPC_BUILD_TESTS) |
| 10606 | if (gRPC_BUILD_TESTS) |
| 10607 | |
| 10608 | add_executable(api_fuzzer_one_entry |
| 10609 | test/core/end2end/fuzzers/api_fuzzer.c |
| 10610 | test/core/util/one_corpus_entry_fuzzer.c |
| 10611 | ) |
| 10612 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10613 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10614 | target_include_directories(api_fuzzer_one_entry |
| 10615 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10616 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10617 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10618 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10619 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10620 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10621 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10622 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10623 | ) |
| 10624 | |
| 10625 | target_link_libraries(api_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10626 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10627 | grpc_test_util |
| 10628 | grpc |
| 10629 | gpr_test_util |
| 10630 | gpr |
| 10631 | ) |
| 10632 | |
| 10633 | endif (gRPC_BUILD_TESTS) |
| 10634 | if (gRPC_BUILD_TESTS) |
| 10635 | |
| 10636 | add_executable(client_fuzzer_one_entry |
| 10637 | test/core/end2end/fuzzers/client_fuzzer.c |
| 10638 | test/core/util/one_corpus_entry_fuzzer.c |
| 10639 | ) |
| 10640 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10641 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10642 | target_include_directories(client_fuzzer_one_entry |
| 10643 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10644 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10645 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10646 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10647 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10648 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10649 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10650 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10651 | ) |
| 10652 | |
| 10653 | target_link_libraries(client_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10654 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10655 | grpc_test_util |
| 10656 | grpc |
| 10657 | gpr_test_util |
| 10658 | gpr |
| 10659 | ) |
| 10660 | |
| 10661 | endif (gRPC_BUILD_TESTS) |
| 10662 | if (gRPC_BUILD_TESTS) |
| 10663 | |
| 10664 | add_executable(hpack_parser_fuzzer_test_one_entry |
| 10665 | test/core/transport/chttp2/hpack_parser_fuzzer_test.c |
| 10666 | test/core/util/one_corpus_entry_fuzzer.c |
| 10667 | ) |
| 10668 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10669 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10670 | target_include_directories(hpack_parser_fuzzer_test_one_entry |
| 10671 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10672 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10673 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10674 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10675 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10676 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10677 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10678 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10679 | ) |
| 10680 | |
| 10681 | target_link_libraries(hpack_parser_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10682 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10683 | grpc_test_util |
| 10684 | grpc |
| 10685 | gpr_test_util |
| 10686 | gpr |
| 10687 | ) |
| 10688 | |
| 10689 | endif (gRPC_BUILD_TESTS) |
| 10690 | if (gRPC_BUILD_TESTS) |
| 10691 | |
| 10692 | add_executable(http_request_fuzzer_test_one_entry |
| 10693 | test/core/http/request_fuzzer.c |
| 10694 | test/core/util/one_corpus_entry_fuzzer.c |
| 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(http_request_fuzzer_test_one_entry |
| 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 |
| 10706 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10707 | ) |
| 10708 | |
| 10709 | target_link_libraries(http_request_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10710 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10711 | grpc_test_util |
| 10712 | grpc |
| 10713 | gpr_test_util |
| 10714 | gpr |
| 10715 | ) |
| 10716 | |
| 10717 | endif (gRPC_BUILD_TESTS) |
| 10718 | if (gRPC_BUILD_TESTS) |
| 10719 | |
| 10720 | add_executable(http_response_fuzzer_test_one_entry |
| 10721 | test/core/http/response_fuzzer.c |
| 10722 | test/core/util/one_corpus_entry_fuzzer.c |
| 10723 | ) |
| 10724 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10725 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10726 | target_include_directories(http_response_fuzzer_test_one_entry |
| 10727 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10728 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10729 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10730 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10731 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10732 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10733 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10734 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10735 | ) |
| 10736 | |
| 10737 | target_link_libraries(http_response_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10738 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10739 | grpc_test_util |
| 10740 | grpc |
| 10741 | gpr_test_util |
| 10742 | gpr |
| 10743 | ) |
| 10744 | |
| 10745 | endif (gRPC_BUILD_TESTS) |
| 10746 | if (gRPC_BUILD_TESTS) |
| 10747 | |
| 10748 | add_executable(json_fuzzer_test_one_entry |
| 10749 | test/core/json/fuzzer.c |
| 10750 | test/core/util/one_corpus_entry_fuzzer.c |
| 10751 | ) |
| 10752 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10753 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10754 | target_include_directories(json_fuzzer_test_one_entry |
| 10755 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10756 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10757 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10758 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10759 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10760 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10761 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10762 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10763 | ) |
| 10764 | |
| 10765 | target_link_libraries(json_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10766 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10767 | grpc_test_util |
| 10768 | grpc |
| 10769 | gpr_test_util |
| 10770 | gpr |
| 10771 | ) |
| 10772 | |
| 10773 | endif (gRPC_BUILD_TESTS) |
| 10774 | if (gRPC_BUILD_TESTS) |
| 10775 | |
| 10776 | add_executable(nanopb_fuzzer_response_test_one_entry |
| 10777 | test/core/nanopb/fuzzer_response.c |
| 10778 | test/core/util/one_corpus_entry_fuzzer.c |
| 10779 | ) |
| 10780 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10781 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10782 | target_include_directories(nanopb_fuzzer_response_test_one_entry |
| 10783 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10784 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10785 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10786 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10787 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10788 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10789 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10790 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10791 | ) |
| 10792 | |
| 10793 | target_link_libraries(nanopb_fuzzer_response_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10794 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10795 | grpc_test_util |
| 10796 | grpc |
| 10797 | gpr_test_util |
| 10798 | gpr |
| 10799 | ) |
| 10800 | |
| 10801 | endif (gRPC_BUILD_TESTS) |
| 10802 | if (gRPC_BUILD_TESTS) |
| 10803 | |
| 10804 | add_executable(nanopb_fuzzer_serverlist_test_one_entry |
| 10805 | test/core/nanopb/fuzzer_serverlist.c |
| 10806 | test/core/util/one_corpus_entry_fuzzer.c |
| 10807 | ) |
| 10808 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10809 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10810 | target_include_directories(nanopb_fuzzer_serverlist_test_one_entry |
| 10811 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10812 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10813 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10814 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10815 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10816 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10817 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10818 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10819 | ) |
| 10820 | |
| 10821 | target_link_libraries(nanopb_fuzzer_serverlist_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10822 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10823 | grpc_test_util |
| 10824 | grpc |
| 10825 | gpr_test_util |
| 10826 | gpr |
| 10827 | ) |
| 10828 | |
| 10829 | endif (gRPC_BUILD_TESTS) |
| 10830 | if (gRPC_BUILD_TESTS) |
| 10831 | |
| 10832 | add_executable(percent_decode_fuzzer_one_entry |
| 10833 | test/core/slice/percent_decode_fuzzer.c |
| 10834 | test/core/util/one_corpus_entry_fuzzer.c |
| 10835 | ) |
| 10836 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10837 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10838 | target_include_directories(percent_decode_fuzzer_one_entry |
| 10839 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10840 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10841 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10842 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10843 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10844 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10845 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10846 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10847 | ) |
| 10848 | |
| 10849 | target_link_libraries(percent_decode_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10850 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10851 | grpc_test_util |
| 10852 | grpc |
| 10853 | gpr_test_util |
| 10854 | gpr |
| 10855 | ) |
| 10856 | |
| 10857 | endif (gRPC_BUILD_TESTS) |
| 10858 | if (gRPC_BUILD_TESTS) |
| 10859 | |
| 10860 | add_executable(percent_encode_fuzzer_one_entry |
| 10861 | test/core/slice/percent_encode_fuzzer.c |
| 10862 | test/core/util/one_corpus_entry_fuzzer.c |
| 10863 | ) |
| 10864 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10865 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10866 | target_include_directories(percent_encode_fuzzer_one_entry |
| 10867 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10868 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10869 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10870 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10871 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10872 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10873 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10874 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10875 | ) |
| 10876 | |
| 10877 | target_link_libraries(percent_encode_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10878 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10879 | grpc_test_util |
| 10880 | grpc |
| 10881 | gpr_test_util |
| 10882 | gpr |
| 10883 | ) |
| 10884 | |
| 10885 | endif (gRPC_BUILD_TESTS) |
| 10886 | if (gRPC_BUILD_TESTS) |
| 10887 | |
| 10888 | add_executable(server_fuzzer_one_entry |
| 10889 | test/core/end2end/fuzzers/server_fuzzer.c |
| 10890 | test/core/util/one_corpus_entry_fuzzer.c |
| 10891 | ) |
| 10892 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10893 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10894 | target_include_directories(server_fuzzer_one_entry |
| 10895 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10896 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10897 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10898 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10899 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10900 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10901 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10902 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10903 | ) |
| 10904 | |
| 10905 | target_link_libraries(server_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10906 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10907 | grpc_test_util |
| 10908 | grpc |
| 10909 | gpr_test_util |
| 10910 | gpr |
| 10911 | ) |
| 10912 | |
| 10913 | endif (gRPC_BUILD_TESTS) |
| 10914 | if (gRPC_BUILD_TESTS) |
| 10915 | |
| 10916 | add_executable(ssl_server_fuzzer_one_entry |
| 10917 | test/core/security/ssl_server_fuzzer.c |
| 10918 | test/core/util/one_corpus_entry_fuzzer.c |
| 10919 | ) |
| 10920 | |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10921 | |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10922 | target_include_directories(ssl_server_fuzzer_one_entry |
| 10923 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 10924 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 10925 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 10926 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10927 | PRIVATE ${BENCHMARK_ROOT_DIR}/include |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10928 | PRIVATE ${ZLIB_ROOT_DIR} |
| 10929 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 10930 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10931 | ) |
| 10932 | |
| 10933 | target_link_libraries(ssl_server_fuzzer_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10934 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10935 | grpc_test_util |
| 10936 | grpc |
| 10937 | gpr_test_util |
| 10938 | gpr |
| 10939 | ) |
| 10940 | |
| 10941 | endif (gRPC_BUILD_TESTS) |
| 10942 | if (gRPC_BUILD_TESTS) |
| 10943 | |
| 10944 | add_executable(uri_fuzzer_test_one_entry |
| 10945 | test/core/client_channel/uri_fuzzer_test.c |
| 10946 | test/core/util/one_corpus_entry_fuzzer.c |
| 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(uri_fuzzer_test_one_entry |
| 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 |
| 10958 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include |
| 10959 | ) |
| 10960 | |
| 10961 | target_link_libraries(uri_fuzzer_test_one_entry |
Jan Tattermusch | 438c0b5 | 2017-01-23 11:24:53 +0100 | [diff] [blame] | 10962 | ${_gRPC_ALLTARGETS_LIBRARIES} |
Jan Tattermusch | 36cda4c | 2017-01-17 20:00:12 +0100 | [diff] [blame] | 10963 | grpc_test_util |
| 10964 | grpc |
| 10965 | gpr_test_util |
| 10966 | gpr |
| 10967 | ) |
| 10968 | |
| 10969 | endif (gRPC_BUILD_TESTS) |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10970 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 10971 | |
| 10972 | |
| 10973 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 10974 | |
| 10975 | |
| 10976 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 10977 | foreach(_config gRPCConfig gRPCConfigVersion) |
| 10978 | configure_file(tools/cmake/${_config}.cmake.in |
| 10979 | ${_config}.cmake @ONLY) |
| 10980 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${_config}.cmake |
| 10981 | DESTINATION ${CMAKE_INSTALL_CMAKEDIR} |
| 10982 | ) |
| 10983 | endforeach() |