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") |
Nicolas "Pixel" Noble | 49bfb92 | 2016-07-12 09:31:41 +0200 | [diff] [blame] | 45 | set(PACKAGE_VERSION "1.1.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 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 51 | if (NOT MSVC) |
| 52 | set(gRPC_INSTALL ON CACHE BOOL "Generate installation target") |
| 53 | else() |
| 54 | set(gRPC_INSTALL OFF CACHE BOOL "Generate installation target") |
| 55 | endif() |
| 56 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 57 | set(gRPC_ZLIB_PROVIDER "module" CACHE STRING "Provider of zlib library") |
| 58 | set_property(CACHE gRPC_ZLIB_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 59 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 60 | set(gRPC_SSL_PROVIDER "module" CACHE STRING "Provider of ssl library") |
| 61 | set_property(CACHE gRPC_SSL_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | a72712e | 2016-07-06 10:30:25 +0100 | [diff] [blame] | 62 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 63 | set(gRPC_PROTOBUF_PROVIDER "module" CACHE STRING "Provider of protobuf library") |
| 64 | set_property(CACHE gRPC_PROTOBUF_PROVIDER PROPERTY STRINGS "module" "package") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 65 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 66 | 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] | 67 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 68 | if (MSVC) |
| 69 | add_definitions( -D_WIN32_WINNT=0x600 ) |
| 70 | endif() |
| 71 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 72 | if (gRPC_USE_PROTO_LITE) |
| 73 | set(_gRPC_PROTOBUF_LIBRARY_NAME "libprotobuf-lite") |
Tamas Berghammer | 2391156 | 2016-07-27 15:24:05 +0100 | [diff] [blame] | 74 | add_definitions("-DGRPC_USE_PROTO_LITE") |
| 75 | else() |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 76 | set(_gRPC_PROTOBUF_LIBRARY_NAME "libprotobuf") |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 77 | endif() |
| 78 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 79 | if("${gRPC_ZLIB_PROVIDER}" STREQUAL "module") |
| 80 | if(NOT ZLIB_ROOT_DIR) |
| 81 | set(ZLIB_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zlib) |
| 82 | endif() |
| 83 | set(ZLIB_INCLUDE_DIR "${ZLIB_ROOT_DIR}") |
| 84 | if(EXISTS "${ZLIB_ROOT_DIR}/CMakeLists.txt") |
| 85 | add_subdirectory(${ZLIB_ROOT_DIR} third_party/zlib) |
| 86 | if(TARGET zlibstatic) |
| 87 | set(_gRPC_ZLIB_LIBRARIES zlibstatic) |
| 88 | endif() |
| 89 | else() |
| 90 | message(WARNING "gRPC_ZLIB_PROVIDER is \"module\" but ZLIB_ROOT_DIR is wrong") |
| 91 | endif() |
| 92 | elseif("${gRPC_ZLIB_PROVIDER}" STREQUAL "package") |
| 93 | find_package(ZLIB) |
| 94 | if(TARGET ZLIB::ZLIB) |
| 95 | set(_gRPC_ZLIB_LIBRARIES ZLIB::ZLIB) |
| 96 | endif() |
Konstantin Podsvirov | dd33148 | 2016-07-28 00:00:25 +0300 | [diff] [blame] | 97 | 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] | 98 | endif() |
| 99 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 100 | if("${gRPC_PROTOBUF_PROVIDER}" STREQUAL "module") |
| 101 | # Building the protobuf tests require gmock what is not part of a standard protobuf checkout. |
| 102 | # Disable them unless they are explicitly requested from the cmake command line (when we assume |
| 103 | # gmock is downloaded to the right location inside protobuf). |
| 104 | if(NOT protobuf_BUILD_TESTS) |
| 105 | set(protobuf_BUILD_TESTS OFF CACHE BOOL "Build protobuf tests") |
| 106 | endif() |
| 107 | if(NOT PROTOBUF_ROOT_DIR) |
| 108 | set(PROTOBUF_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/protobuf) |
| 109 | endif() |
| 110 | if(EXISTS "${PROTOBUF_ROOT_DIR}/cmake/CMakeLists.txt") |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 111 | set(protobuf_MSVC_STATIC_RUNTIME OFF CACHE BOOL "Link static runtime libraries") |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 112 | add_subdirectory(${PROTOBUF_ROOT_DIR}/cmake third_party/protobuf) |
| 113 | if(TARGET ${_gRPC_PROTOBUF_LIBRARY_NAME}) |
| 114 | set(_gRPC_PROTOBUF_LIBRARIES ${_gRPC_PROTOBUF_LIBRARY_NAME}) |
| 115 | endif() |
| 116 | if(TARGET libprotoc) |
| 117 | set(_gRPC_PROTOBUF_PROTOC_LIBRARIES libprotoc) |
| 118 | endif() |
| 119 | else() |
| 120 | message(WARNING "gRPC_PROTOBUF_PROVIDER is \"module\" but PROTOBUF_ROOT_DIR is wrong") |
| 121 | endif() |
| 122 | elseif("${gRPC_PROTOBUF_PROVIDER}" STREQUAL "package") |
| 123 | find_package(protobuf CONFIG) |
| 124 | if(protobuf_FOUND) |
| 125 | if(TARGET protobuf::${_gRPC_PROTOBUF_LIBRARY_NAME}) |
| 126 | set(_gRPC_PROTOBUF_LIBRARIES protobuf::${_gRPC_PROTOBUF_LIBRARY_NAME}) |
| 127 | endif() |
| 128 | if(TARGET protobuf::libprotoc) |
| 129 | set(_gRPC_PROTOBUF_PROTOC_LIBRARIES protobuf::libprotoc) |
| 130 | endif() |
Konstantin Podsvirov | dd33148 | 2016-07-28 00:00:25 +0300 | [diff] [blame] | 131 | 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] | 132 | else() |
| 133 | find_package(Protobuf MODULE) |
Konstantin Podsvirov | dd33148 | 2016-07-28 00:00:25 +0300 | [diff] [blame] | 134 | 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] | 135 | endif() |
| 136 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 137 | |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 138 | if("${gRPC_SSL_PROVIDER}" STREQUAL "module") |
| 139 | if(NOT BORINGSSL_ROOT_DIR) |
| 140 | set(BORINGSSL_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/boringssl) |
| 141 | endif() |
| 142 | if(EXISTS "${BORINGSSL_ROOT_DIR}/CMakeLists.txt") |
| 143 | add_subdirectory(${BORINGSSL_ROOT_DIR} third_party/boringssl) |
| 144 | if(TARGET ssl) |
| 145 | set(_gRPC_SSL_LIBRARIES ssl) |
| 146 | endif() |
| 147 | else() |
| 148 | message(WARNING "gRPC_SSL_PROVIDER is \"module\" but BORINGSSL_ROOT_DIR is wrong") |
| 149 | endif() |
| 150 | elseif("${gRPC_SSL_PROVIDER}" STREQUAL "package") |
| 151 | find_package(OpenSSL) |
| 152 | if(TARGET OpenSSL::SSL) |
| 153 | set(_gRPC_SSL_LIBRARIES OpenSSL::SSL) |
| 154 | endif() |
Konstantin Podsvirov | dd33148 | 2016-07-28 00:00:25 +0300 | [diff] [blame] | 155 | 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] | 156 | endif() |
| 157 | |
| 158 | if(NOT MSVC) |
| 159 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c11") |
| 160 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") |
| 161 | endif() |
| 162 | |
| 163 | if(WIN32 AND MSVC) |
| 164 | set(_gRPC_BASELIB_LIBRARIES wsock32 ws2_32) |
Tamas Berghammer | 2391156 | 2016-07-27 15:24:05 +0100 | [diff] [blame] | 165 | endif() |
| 166 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 167 | include(GNUInstallDirs) |
| 168 | if(NOT DEFINED CMAKE_INSTALL_CMAKEDIR) |
| 169 | set(CMAKE_INSTALL_CMAKEDIR "${CMAKE_INSTALL_LIBDIR}/cmake/gRPC") |
| 170 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 171 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 172 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 173 | add_library(gpr |
| 174 | src/core/lib/profiling/basic_timers.c |
| 175 | src/core/lib/profiling/stap_timers.c |
| 176 | src/core/lib/support/alloc.c |
| 177 | src/core/lib/support/avl.c |
| 178 | src/core/lib/support/backoff.c |
| 179 | src/core/lib/support/cmdline.c |
| 180 | src/core/lib/support/cpu_iphone.c |
| 181 | src/core/lib/support/cpu_linux.c |
| 182 | src/core/lib/support/cpu_posix.c |
| 183 | src/core/lib/support/cpu_windows.c |
| 184 | src/core/lib/support/env_linux.c |
| 185 | src/core/lib/support/env_posix.c |
| 186 | src/core/lib/support/env_windows.c |
| 187 | src/core/lib/support/histogram.c |
| 188 | src/core/lib/support/host_port.c |
| 189 | src/core/lib/support/log.c |
| 190 | src/core/lib/support/log_android.c |
| 191 | src/core/lib/support/log_linux.c |
| 192 | src/core/lib/support/log_posix.c |
| 193 | src/core/lib/support/log_windows.c |
Craig Tiller | 57726ca | 2016-09-12 11:59:45 -0700 | [diff] [blame] | 194 | src/core/lib/support/mpscq.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 195 | src/core/lib/support/murmur_hash.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 196 | src/core/lib/support/stack_lockfree.c |
| 197 | src/core/lib/support/string.c |
| 198 | src/core/lib/support/string_posix.c |
| 199 | src/core/lib/support/string_util_windows.c |
| 200 | src/core/lib/support/string_windows.c |
| 201 | src/core/lib/support/subprocess_posix.c |
| 202 | src/core/lib/support/subprocess_windows.c |
| 203 | src/core/lib/support/sync.c |
| 204 | src/core/lib/support/sync_posix.c |
| 205 | src/core/lib/support/sync_windows.c |
| 206 | src/core/lib/support/thd.c |
| 207 | src/core/lib/support/thd_posix.c |
| 208 | src/core/lib/support/thd_windows.c |
| 209 | src/core/lib/support/time.c |
| 210 | src/core/lib/support/time_posix.c |
| 211 | src/core/lib/support/time_precise.c |
| 212 | src/core/lib/support/time_windows.c |
| 213 | src/core/lib/support/tls_pthread.c |
| 214 | src/core/lib/support/tmpfile_msys.c |
| 215 | src/core/lib/support/tmpfile_posix.c |
| 216 | src/core/lib/support/tmpfile_windows.c |
| 217 | src/core/lib/support/wrap_memcpy.c |
| 218 | ) |
| 219 | |
| 220 | target_include_directories(gpr |
| 221 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 222 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 223 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 224 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 225 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 226 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 227 | ) |
| 228 | |
| 229 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 230 | foreach(_hdr |
| 231 | include/grpc/support/alloc.h |
| 232 | include/grpc/support/atm.h |
| 233 | include/grpc/support/atm_gcc_atomic.h |
| 234 | include/grpc/support/atm_gcc_sync.h |
| 235 | include/grpc/support/atm_windows.h |
| 236 | include/grpc/support/avl.h |
| 237 | include/grpc/support/cmdline.h |
| 238 | include/grpc/support/cpu.h |
| 239 | include/grpc/support/histogram.h |
| 240 | include/grpc/support/host_port.h |
| 241 | include/grpc/support/log.h |
| 242 | include/grpc/support/log_windows.h |
| 243 | include/grpc/support/port_platform.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 244 | include/grpc/support/string_util.h |
| 245 | include/grpc/support/subprocess.h |
| 246 | include/grpc/support/sync.h |
| 247 | include/grpc/support/sync_generic.h |
| 248 | include/grpc/support/sync_posix.h |
| 249 | include/grpc/support/sync_windows.h |
| 250 | include/grpc/support/thd.h |
| 251 | include/grpc/support/time.h |
| 252 | include/grpc/support/tls.h |
| 253 | include/grpc/support/tls_gcc.h |
| 254 | include/grpc/support/tls_msvc.h |
| 255 | include/grpc/support/tls_pthread.h |
| 256 | include/grpc/support/useful.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 257 | include/grpc/impl/codegen/atm.h |
| 258 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 259 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 260 | include/grpc/impl/codegen/atm_windows.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 261 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 262 | include/grpc/impl/codegen/port_platform.h |
| 263 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 264 | include/grpc/impl/codegen/sync.h |
| 265 | include/grpc/impl/codegen/sync_generic.h |
| 266 | include/grpc/impl/codegen/sync_posix.h |
| 267 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 268 | ) |
| 269 | string(REPLACE "include/" "" _path ${_hdr}) |
| 270 | get_filename_component(_path ${_path} PATH) |
| 271 | install(FILES ${_hdr} |
| 272 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 273 | ) |
| 274 | endforeach() |
| 275 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 276 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 277 | if (gRPC_INSTALL) |
| 278 | install(TARGETS gpr EXPORT gRPCTargets |
| 279 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 280 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 281 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 282 | ) |
| 283 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 284 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 285 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 286 | add_library(grpc |
| 287 | src/core/lib/surface/init.c |
| 288 | src/core/lib/channel/channel_args.c |
| 289 | src/core/lib/channel/channel_stack.c |
| 290 | src/core/lib/channel/channel_stack_builder.c |
| 291 | src/core/lib/channel/compress_filter.c |
| 292 | src/core/lib/channel/connected_channel.c |
Mark D. Roth | 14c072c | 2016-08-26 08:31:34 -0700 | [diff] [blame] | 293 | src/core/lib/channel/deadline_filter.c |
Mark D. Roth | dfbdefe | 2016-07-14 09:18:22 -0700 | [diff] [blame] | 294 | src/core/lib/channel/handshaker.c |
Mark D. Roth | 1f0f23c | 2017-01-06 13:07:19 -0800 | [diff] [blame] | 295 | src/core/lib/channel/handshaker_factory.c |
| 296 | src/core/lib/channel/handshaker_registry.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 297 | src/core/lib/channel/http_client_filter.c |
| 298 | src/core/lib/channel/http_server_filter.c |
Mark D. Roth | af00d8b | 2016-08-23 12:48:16 -0700 | [diff] [blame] | 299 | src/core/lib/channel/message_size_filter.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 300 | src/core/lib/compression/compression.c |
| 301 | src/core/lib/compression/message_compress.c |
| 302 | src/core/lib/debug/trace.c |
| 303 | src/core/lib/http/format_request.c |
| 304 | src/core/lib/http/httpcli.c |
| 305 | src/core/lib/http/parser.c |
| 306 | src/core/lib/iomgr/closure.c |
Craig Tiller | 57726ca | 2016-09-12 11:59:45 -0700 | [diff] [blame] | 307 | src/core/lib/iomgr/combiner.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 308 | src/core/lib/iomgr/endpoint.c |
| 309 | src/core/lib/iomgr/endpoint_pair_posix.c |
murgatroid99 | c36f6ea | 2016-10-03 09:24:09 -0700 | [diff] [blame] | 310 | src/core/lib/iomgr/endpoint_pair_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 311 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 312 | src/core/lib/iomgr/error.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 313 | src/core/lib/iomgr/ev_epoll_linux.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 314 | src/core/lib/iomgr/ev_poll_posix.c |
| 315 | src/core/lib/iomgr/ev_posix.c |
| 316 | src/core/lib/iomgr/exec_ctx.c |
| 317 | src/core/lib/iomgr/executor.c |
| 318 | src/core/lib/iomgr/iocp_windows.c |
| 319 | src/core/lib/iomgr/iomgr.c |
| 320 | src/core/lib/iomgr/iomgr_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 321 | src/core/lib/iomgr/iomgr_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 322 | src/core/lib/iomgr/iomgr_windows.c |
| 323 | src/core/lib/iomgr/load_file.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 324 | src/core/lib/iomgr/network_status_tracker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 325 | src/core/lib/iomgr/polling_entity.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 326 | src/core/lib/iomgr/pollset_set_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 327 | src/core/lib/iomgr/pollset_set_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 328 | src/core/lib/iomgr/pollset_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 329 | src/core/lib/iomgr/pollset_windows.c |
| 330 | src/core/lib/iomgr/resolve_address_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 331 | src/core/lib/iomgr/resolve_address_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 332 | src/core/lib/iomgr/resolve_address_windows.c |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 333 | src/core/lib/iomgr/resource_quota.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 334 | src/core/lib/iomgr/sockaddr_utils.c |
Yuchen Zeng | de3daf5 | 2016-10-13 17:26:26 -0700 | [diff] [blame] | 335 | src/core/lib/iomgr/socket_mutator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 336 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 337 | src/core/lib/iomgr/socket_utils_linux.c |
| 338 | src/core/lib/iomgr/socket_utils_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 339 | src/core/lib/iomgr/socket_utils_uv.c |
murgatroid99 | 79b3227 | 2016-08-08 13:38:30 -0700 | [diff] [blame] | 340 | src/core/lib/iomgr/socket_utils_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 341 | src/core/lib/iomgr/socket_windows.c |
| 342 | src/core/lib/iomgr/tcp_client_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 343 | src/core/lib/iomgr/tcp_client_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 344 | src/core/lib/iomgr/tcp_client_windows.c |
| 345 | src/core/lib/iomgr/tcp_posix.c |
| 346 | src/core/lib/iomgr/tcp_server_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 347 | src/core/lib/iomgr/tcp_server_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 348 | src/core/lib/iomgr/tcp_server_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 349 | src/core/lib/iomgr/tcp_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 350 | src/core/lib/iomgr/tcp_windows.c |
| 351 | src/core/lib/iomgr/time_averaged_stats.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 352 | src/core/lib/iomgr/timer_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 353 | src/core/lib/iomgr/timer_heap.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 354 | src/core/lib/iomgr/timer_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 355 | src/core/lib/iomgr/udp_server.c |
| 356 | src/core/lib/iomgr/unix_sockets_posix.c |
| 357 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 358 | src/core/lib/iomgr/wakeup_fd_cv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 359 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 360 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 361 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 362 | src/core/lib/iomgr/wakeup_fd_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 363 | src/core/lib/iomgr/workqueue_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 364 | src/core/lib/iomgr/workqueue_windows.c |
| 365 | src/core/lib/json/json.c |
| 366 | src/core/lib/json/json_reader.c |
| 367 | src/core/lib/json/json_string.c |
| 368 | src/core/lib/json/json_writer.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 369 | src/core/lib/slice/percent_encoding.c |
| 370 | src/core/lib/slice/slice.c |
| 371 | src/core/lib/slice/slice_buffer.c |
| 372 | src/core/lib/slice/slice_string_helpers.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 373 | src/core/lib/surface/alarm.c |
| 374 | src/core/lib/surface/api_trace.c |
| 375 | src/core/lib/surface/byte_buffer.c |
| 376 | src/core/lib/surface/byte_buffer_reader.c |
| 377 | src/core/lib/surface/call.c |
| 378 | src/core/lib/surface/call_details.c |
| 379 | src/core/lib/surface/call_log_batch.c |
| 380 | src/core/lib/surface/channel.c |
| 381 | src/core/lib/surface/channel_init.c |
| 382 | src/core/lib/surface/channel_ping.c |
| 383 | src/core/lib/surface/channel_stack_type.c |
| 384 | src/core/lib/surface/completion_queue.c |
| 385 | src/core/lib/surface/event_string.c |
| 386 | src/core/lib/surface/lame_client.c |
| 387 | src/core/lib/surface/metadata_array.c |
| 388 | src/core/lib/surface/server.c |
| 389 | src/core/lib/surface/validate_metadata.c |
| 390 | src/core/lib/surface/version.c |
| 391 | src/core/lib/transport/byte_stream.c |
| 392 | src/core/lib/transport/connectivity_state.c |
Mark D. Roth | 6a721b5 | 2016-10-14 12:43:34 -0700 | [diff] [blame] | 393 | src/core/lib/transport/mdstr_hash_table.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 394 | src/core/lib/transport/metadata.c |
| 395 | src/core/lib/transport/metadata_batch.c |
Craig Tiller | dd2fa64 | 2016-10-20 15:46:32 -0700 | [diff] [blame] | 396 | src/core/lib/transport/pid_controller.c |
Mark D. Roth | ea846a0 | 2016-11-03 11:32:54 -0700 | [diff] [blame] | 397 | src/core/lib/transport/service_config.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 398 | src/core/lib/transport/static_metadata.c |
Robbie Shade | 710d242 | 2016-07-13 15:15:38 -0400 | [diff] [blame] | 399 | src/core/lib/transport/timeout_encoding.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 400 | src/core/lib/transport/transport.c |
| 401 | src/core/lib/transport/transport_op_string.c |
| 402 | src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c |
| 403 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 404 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 405 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 406 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
| 407 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 408 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 409 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 410 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 411 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 412 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 413 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 414 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 415 | src/core/ext/transport/chttp2/transport/hpack_table.c |
| 416 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 417 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 418 | src/core/ext/transport/chttp2/transport/parsing.c |
| 419 | src/core/ext/transport/chttp2/transport/status_conversion.c |
| 420 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 421 | src/core/ext/transport/chttp2/transport/stream_map.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 422 | src/core/ext/transport/chttp2/transport/varint.c |
| 423 | src/core/ext/transport/chttp2/transport/writing.c |
| 424 | src/core/ext/transport/chttp2/alpn/alpn.c |
| 425 | src/core/lib/http/httpcli_security_connector.c |
| 426 | src/core/lib/security/context/security_context.c |
| 427 | src/core/lib/security/credentials/composite/composite_credentials.c |
| 428 | src/core/lib/security/credentials/credentials.c |
| 429 | src/core/lib/security/credentials/credentials_metadata.c |
| 430 | src/core/lib/security/credentials/fake/fake_credentials.c |
murgatroid99 | 7c20590 | 2016-08-09 10:07:42 -0700 | [diff] [blame] | 431 | src/core/lib/security/credentials/google_default/credentials_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 432 | src/core/lib/security/credentials/google_default/google_default_credentials.c |
| 433 | src/core/lib/security/credentials/iam/iam_credentials.c |
| 434 | src/core/lib/security/credentials/jwt/json_token.c |
| 435 | src/core/lib/security/credentials/jwt/jwt_credentials.c |
| 436 | src/core/lib/security/credentials/jwt/jwt_verifier.c |
| 437 | src/core/lib/security/credentials/oauth2/oauth2_credentials.c |
| 438 | src/core/lib/security/credentials/plugin/plugin_credentials.c |
| 439 | src/core/lib/security/credentials/ssl/ssl_credentials.c |
| 440 | src/core/lib/security/transport/client_auth_filter.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 441 | src/core/lib/security/transport/secure_endpoint.c |
| 442 | src/core/lib/security/transport/security_connector.c |
Mark D. Roth | 071cacf | 2016-11-17 13:17:56 -0800 | [diff] [blame] | 443 | src/core/lib/security/transport/security_handshaker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 444 | src/core/lib/security/transport/server_auth_filter.c |
| 445 | src/core/lib/security/transport/tsi_error.c |
| 446 | src/core/lib/security/util/b64.c |
| 447 | src/core/lib/security/util/json_util.c |
| 448 | src/core/lib/surface/init_secure.c |
| 449 | src/core/lib/tsi/fake_transport_security.c |
| 450 | src/core/lib/tsi/ssl_transport_security.c |
| 451 | src/core/lib/tsi/transport_security.c |
Mark D. Roth | 7140382 | 2016-12-02 10:51:39 -0800 | [diff] [blame] | 452 | src/core/ext/transport/chttp2/server/chttp2_server.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 453 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.c |
Mark D. Roth | 2137cd8 | 2016-09-14 09:04:00 -0700 | [diff] [blame] | 454 | src/core/ext/client_channel/channel_connectivity.c |
| 455 | src/core/ext/client_channel/client_channel.c |
| 456 | src/core/ext/client_channel/client_channel_factory.c |
| 457 | src/core/ext/client_channel/client_channel_plugin.c |
| 458 | src/core/ext/client_channel/connector.c |
| 459 | src/core/ext/client_channel/default_initial_connect_string.c |
Mark D. Roth | 1519574 | 2016-10-07 09:02:28 -0700 | [diff] [blame] | 460 | src/core/ext/client_channel/http_connect_handshaker.c |
Mark D. Roth | 2137cd8 | 2016-09-14 09:04:00 -0700 | [diff] [blame] | 461 | src/core/ext/client_channel/initial_connect_string.c |
| 462 | src/core/ext/client_channel/lb_policy.c |
| 463 | src/core/ext/client_channel/lb_policy_factory.c |
| 464 | src/core/ext/client_channel/lb_policy_registry.c |
| 465 | src/core/ext/client_channel/parse_address.c |
| 466 | src/core/ext/client_channel/resolver.c |
| 467 | src/core/ext/client_channel/resolver_factory.c |
| 468 | src/core/ext/client_channel/resolver_registry.c |
Mark D. Roth | 2137cd8 | 2016-09-14 09:04:00 -0700 | [diff] [blame] | 469 | src/core/ext/client_channel/subchannel.c |
| 470 | src/core/ext/client_channel/subchannel_index.c |
| 471 | src/core/ext/client_channel/uri_parser.c |
Mark D. Roth | 8686cab | 2016-11-17 13:12:17 -0800 | [diff] [blame] | 472 | src/core/ext/transport/chttp2/client/chttp2_connector.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 473 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.c |
| 474 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c |
| 475 | src/core/ext/transport/chttp2/client/insecure/channel_create.c |
| 476 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c |
David Garcia Quintas | 7c3ba12 | 2016-07-14 11:38:38 -0700 | [diff] [blame] | 477 | src/core/ext/lb_policy/grpclb/grpclb.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 478 | src/core/ext/lb_policy/grpclb/load_balancer_api.c |
| 479 | src/core/ext/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c |
| 480 | third_party/nanopb/pb_common.c |
| 481 | third_party/nanopb/pb_decode.c |
| 482 | third_party/nanopb/pb_encode.c |
| 483 | src/core/ext/lb_policy/pick_first/pick_first.c |
| 484 | src/core/ext/lb_policy/round_robin/round_robin.c |
| 485 | src/core/ext/resolver/dns/native/dns_resolver.c |
| 486 | src/core/ext/resolver/sockaddr/sockaddr_resolver.c |
| 487 | src/core/ext/load_reporting/load_reporting.c |
| 488 | src/core/ext/load_reporting/load_reporting_filter.c |
Alistair Veitch | 3abd27e | 2016-07-21 17:29:04 -0700 | [diff] [blame] | 489 | src/core/ext/census/base_resources.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 490 | src/core/ext/census/context.c |
| 491 | src/core/ext/census/gen/census.pb.c |
Alistair Veitch | a0c69f9 | 2016-08-31 12:01:27 -0700 | [diff] [blame] | 492 | src/core/ext/census/gen/trace_context.pb.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 493 | src/core/ext/census/grpc_context.c |
| 494 | src/core/ext/census/grpc_filter.c |
| 495 | src/core/ext/census/grpc_plugin.c |
| 496 | src/core/ext/census/initialize.c |
| 497 | src/core/ext/census/mlog.c |
| 498 | src/core/ext/census/operation.c |
| 499 | src/core/ext/census/placeholders.c |
Alistair Veitch | 3abd27e | 2016-07-21 17:29:04 -0700 | [diff] [blame] | 500 | src/core/ext/census/resource.c |
Vizerai | 12d1fc6 | 2016-09-09 14:22:19 -0700 | [diff] [blame] | 501 | src/core/ext/census/trace_context.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 502 | src/core/ext/census/tracing.c |
| 503 | src/core/plugin_registry/grpc_plugin_registry.c |
| 504 | ) |
| 505 | |
| 506 | target_include_directories(grpc |
| 507 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 508 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 509 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 510 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 511 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 512 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 513 | ) |
| 514 | |
| 515 | target_link_libraries(grpc |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 516 | ${_gRPC_BASELIB_LIBRARIES} |
| 517 | ${_gRPC_SSL_LIBRARIES} |
| 518 | ${_gRPC_ZLIB_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 519 | gpr |
| 520 | ) |
| 521 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 522 | foreach(_hdr |
| 523 | include/grpc/byte_buffer.h |
| 524 | include/grpc/byte_buffer_reader.h |
| 525 | include/grpc/compression.h |
| 526 | include/grpc/grpc.h |
| 527 | include/grpc/grpc_posix.h |
Nicolas "Pixel" Noble | e3e17d3 | 2016-08-20 01:45:32 +0200 | [diff] [blame] | 528 | include/grpc/grpc_security_constants.h |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 529 | include/grpc/slice.h |
| 530 | include/grpc/slice_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 531 | include/grpc/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 532 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 533 | include/grpc/impl/codegen/compression_types.h |
| 534 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 535 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 536 | include/grpc/impl/codegen/grpc_types.h |
| 537 | include/grpc/impl/codegen/propagation_bits.h |
| 538 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 539 | include/grpc/impl/codegen/atm.h |
| 540 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 541 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 542 | include/grpc/impl/codegen/atm_windows.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 543 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 544 | include/grpc/impl/codegen/port_platform.h |
| 545 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 546 | include/grpc/impl/codegen/sync.h |
| 547 | include/grpc/impl/codegen/sync_generic.h |
| 548 | include/grpc/impl/codegen/sync_posix.h |
| 549 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 550 | include/grpc/grpc_security.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 551 | include/grpc/census.h |
| 552 | ) |
| 553 | string(REPLACE "include/" "" _path ${_hdr}) |
| 554 | get_filename_component(_path ${_path} PATH) |
| 555 | install(FILES ${_hdr} |
| 556 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 557 | ) |
| 558 | endforeach() |
| 559 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 560 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 561 | if (gRPC_INSTALL) |
| 562 | install(TARGETS grpc EXPORT gRPCTargets |
| 563 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 564 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 565 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 566 | ) |
| 567 | endif() |
| 568 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 569 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 570 | add_library(grpc_cronet |
| 571 | src/core/lib/surface/init.c |
| 572 | src/core/lib/channel/channel_args.c |
| 573 | src/core/lib/channel/channel_stack.c |
| 574 | src/core/lib/channel/channel_stack_builder.c |
| 575 | src/core/lib/channel/compress_filter.c |
| 576 | src/core/lib/channel/connected_channel.c |
Mark D. Roth | 14c072c | 2016-08-26 08:31:34 -0700 | [diff] [blame] | 577 | src/core/lib/channel/deadline_filter.c |
Mark D. Roth | dfbdefe | 2016-07-14 09:18:22 -0700 | [diff] [blame] | 578 | src/core/lib/channel/handshaker.c |
Mark D. Roth | 1f0f23c | 2017-01-06 13:07:19 -0800 | [diff] [blame] | 579 | src/core/lib/channel/handshaker_factory.c |
| 580 | src/core/lib/channel/handshaker_registry.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 581 | src/core/lib/channel/http_client_filter.c |
| 582 | src/core/lib/channel/http_server_filter.c |
Mark D. Roth | af00d8b | 2016-08-23 12:48:16 -0700 | [diff] [blame] | 583 | src/core/lib/channel/message_size_filter.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 584 | src/core/lib/compression/compression.c |
| 585 | src/core/lib/compression/message_compress.c |
| 586 | src/core/lib/debug/trace.c |
| 587 | src/core/lib/http/format_request.c |
| 588 | src/core/lib/http/httpcli.c |
| 589 | src/core/lib/http/parser.c |
| 590 | src/core/lib/iomgr/closure.c |
Craig Tiller | 57726ca | 2016-09-12 11:59:45 -0700 | [diff] [blame] | 591 | src/core/lib/iomgr/combiner.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 592 | src/core/lib/iomgr/endpoint.c |
| 593 | src/core/lib/iomgr/endpoint_pair_posix.c |
murgatroid99 | c36f6ea | 2016-10-03 09:24:09 -0700 | [diff] [blame] | 594 | src/core/lib/iomgr/endpoint_pair_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 595 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 596 | src/core/lib/iomgr/error.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 597 | src/core/lib/iomgr/ev_epoll_linux.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 598 | src/core/lib/iomgr/ev_poll_posix.c |
| 599 | src/core/lib/iomgr/ev_posix.c |
| 600 | src/core/lib/iomgr/exec_ctx.c |
| 601 | src/core/lib/iomgr/executor.c |
| 602 | src/core/lib/iomgr/iocp_windows.c |
| 603 | src/core/lib/iomgr/iomgr.c |
| 604 | src/core/lib/iomgr/iomgr_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 605 | src/core/lib/iomgr/iomgr_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 606 | src/core/lib/iomgr/iomgr_windows.c |
| 607 | src/core/lib/iomgr/load_file.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 608 | src/core/lib/iomgr/network_status_tracker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 609 | src/core/lib/iomgr/polling_entity.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 610 | src/core/lib/iomgr/pollset_set_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 611 | src/core/lib/iomgr/pollset_set_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 612 | src/core/lib/iomgr/pollset_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 613 | src/core/lib/iomgr/pollset_windows.c |
| 614 | src/core/lib/iomgr/resolve_address_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 615 | src/core/lib/iomgr/resolve_address_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 616 | src/core/lib/iomgr/resolve_address_windows.c |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 617 | src/core/lib/iomgr/resource_quota.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 618 | src/core/lib/iomgr/sockaddr_utils.c |
Yuchen Zeng | de3daf5 | 2016-10-13 17:26:26 -0700 | [diff] [blame] | 619 | src/core/lib/iomgr/socket_mutator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 620 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 621 | src/core/lib/iomgr/socket_utils_linux.c |
| 622 | src/core/lib/iomgr/socket_utils_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 623 | src/core/lib/iomgr/socket_utils_uv.c |
murgatroid99 | 79b3227 | 2016-08-08 13:38:30 -0700 | [diff] [blame] | 624 | src/core/lib/iomgr/socket_utils_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 625 | src/core/lib/iomgr/socket_windows.c |
| 626 | src/core/lib/iomgr/tcp_client_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 627 | src/core/lib/iomgr/tcp_client_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 628 | src/core/lib/iomgr/tcp_client_windows.c |
| 629 | src/core/lib/iomgr/tcp_posix.c |
| 630 | src/core/lib/iomgr/tcp_server_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 631 | src/core/lib/iomgr/tcp_server_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 632 | src/core/lib/iomgr/tcp_server_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 633 | src/core/lib/iomgr/tcp_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 634 | src/core/lib/iomgr/tcp_windows.c |
| 635 | src/core/lib/iomgr/time_averaged_stats.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 636 | src/core/lib/iomgr/timer_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 637 | src/core/lib/iomgr/timer_heap.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 638 | src/core/lib/iomgr/timer_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 639 | src/core/lib/iomgr/udp_server.c |
| 640 | src/core/lib/iomgr/unix_sockets_posix.c |
| 641 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 642 | src/core/lib/iomgr/wakeup_fd_cv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 643 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 644 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 645 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 646 | src/core/lib/iomgr/wakeup_fd_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 647 | src/core/lib/iomgr/workqueue_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 648 | src/core/lib/iomgr/workqueue_windows.c |
| 649 | src/core/lib/json/json.c |
| 650 | src/core/lib/json/json_reader.c |
| 651 | src/core/lib/json/json_string.c |
| 652 | src/core/lib/json/json_writer.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 653 | src/core/lib/slice/percent_encoding.c |
| 654 | src/core/lib/slice/slice.c |
| 655 | src/core/lib/slice/slice_buffer.c |
| 656 | src/core/lib/slice/slice_string_helpers.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 657 | src/core/lib/surface/alarm.c |
| 658 | src/core/lib/surface/api_trace.c |
| 659 | src/core/lib/surface/byte_buffer.c |
| 660 | src/core/lib/surface/byte_buffer_reader.c |
| 661 | src/core/lib/surface/call.c |
| 662 | src/core/lib/surface/call_details.c |
| 663 | src/core/lib/surface/call_log_batch.c |
| 664 | src/core/lib/surface/channel.c |
| 665 | src/core/lib/surface/channel_init.c |
| 666 | src/core/lib/surface/channel_ping.c |
| 667 | src/core/lib/surface/channel_stack_type.c |
| 668 | src/core/lib/surface/completion_queue.c |
| 669 | src/core/lib/surface/event_string.c |
| 670 | src/core/lib/surface/lame_client.c |
| 671 | src/core/lib/surface/metadata_array.c |
| 672 | src/core/lib/surface/server.c |
| 673 | src/core/lib/surface/validate_metadata.c |
| 674 | src/core/lib/surface/version.c |
| 675 | src/core/lib/transport/byte_stream.c |
| 676 | src/core/lib/transport/connectivity_state.c |
Mark D. Roth | 6a721b5 | 2016-10-14 12:43:34 -0700 | [diff] [blame] | 677 | src/core/lib/transport/mdstr_hash_table.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 678 | src/core/lib/transport/metadata.c |
| 679 | src/core/lib/transport/metadata_batch.c |
Craig Tiller | dd2fa64 | 2016-10-20 15:46:32 -0700 | [diff] [blame] | 680 | src/core/lib/transport/pid_controller.c |
Mark D. Roth | ea846a0 | 2016-11-03 11:32:54 -0700 | [diff] [blame] | 681 | src/core/lib/transport/service_config.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 682 | src/core/lib/transport/static_metadata.c |
Robbie Shade | 710d242 | 2016-07-13 15:15:38 -0400 | [diff] [blame] | 683 | src/core/lib/transport/timeout_encoding.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 684 | src/core/lib/transport/transport.c |
| 685 | src/core/lib/transport/transport_op_string.c |
| 686 | src/core/ext/transport/cronet/client/secure/cronet_channel_create.c |
| 687 | src/core/ext/transport/cronet/transport/cronet_api_dummy.c |
| 688 | src/core/ext/transport/cronet/transport/cronet_transport.c |
| 689 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.c |
| 690 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 691 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 692 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 693 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
| 694 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 695 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 696 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 697 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 698 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 699 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 700 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 701 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 702 | src/core/ext/transport/chttp2/transport/hpack_table.c |
| 703 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 704 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 705 | src/core/ext/transport/chttp2/transport/parsing.c |
| 706 | src/core/ext/transport/chttp2/transport/status_conversion.c |
| 707 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 708 | src/core/ext/transport/chttp2/transport/stream_map.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 709 | src/core/ext/transport/chttp2/transport/varint.c |
| 710 | src/core/ext/transport/chttp2/transport/writing.c |
| 711 | src/core/ext/transport/chttp2/alpn/alpn.c |
Mark D. Roth | 2137cd8 | 2016-09-14 09:04:00 -0700 | [diff] [blame] | 712 | src/core/ext/client_channel/channel_connectivity.c |
| 713 | src/core/ext/client_channel/client_channel.c |
| 714 | src/core/ext/client_channel/client_channel_factory.c |
| 715 | src/core/ext/client_channel/client_channel_plugin.c |
| 716 | src/core/ext/client_channel/connector.c |
| 717 | src/core/ext/client_channel/default_initial_connect_string.c |
Mark D. Roth | 1519574 | 2016-10-07 09:02:28 -0700 | [diff] [blame] | 718 | src/core/ext/client_channel/http_connect_handshaker.c |
Mark D. Roth | 2137cd8 | 2016-09-14 09:04:00 -0700 | [diff] [blame] | 719 | src/core/ext/client_channel/initial_connect_string.c |
| 720 | src/core/ext/client_channel/lb_policy.c |
| 721 | src/core/ext/client_channel/lb_policy_factory.c |
| 722 | src/core/ext/client_channel/lb_policy_registry.c |
| 723 | src/core/ext/client_channel/parse_address.c |
| 724 | src/core/ext/client_channel/resolver.c |
| 725 | src/core/ext/client_channel/resolver_factory.c |
| 726 | src/core/ext/client_channel/resolver_registry.c |
Mark D. Roth | 2137cd8 | 2016-09-14 09:04:00 -0700 | [diff] [blame] | 727 | src/core/ext/client_channel/subchannel.c |
| 728 | src/core/ext/client_channel/subchannel_index.c |
| 729 | src/core/ext/client_channel/uri_parser.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 730 | src/core/lib/http/httpcli_security_connector.c |
| 731 | src/core/lib/security/context/security_context.c |
| 732 | src/core/lib/security/credentials/composite/composite_credentials.c |
| 733 | src/core/lib/security/credentials/credentials.c |
| 734 | src/core/lib/security/credentials/credentials_metadata.c |
| 735 | src/core/lib/security/credentials/fake/fake_credentials.c |
murgatroid99 | 7c20590 | 2016-08-09 10:07:42 -0700 | [diff] [blame] | 736 | src/core/lib/security/credentials/google_default/credentials_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 737 | src/core/lib/security/credentials/google_default/google_default_credentials.c |
| 738 | src/core/lib/security/credentials/iam/iam_credentials.c |
| 739 | src/core/lib/security/credentials/jwt/json_token.c |
| 740 | src/core/lib/security/credentials/jwt/jwt_credentials.c |
| 741 | src/core/lib/security/credentials/jwt/jwt_verifier.c |
| 742 | src/core/lib/security/credentials/oauth2/oauth2_credentials.c |
| 743 | src/core/lib/security/credentials/plugin/plugin_credentials.c |
| 744 | src/core/lib/security/credentials/ssl/ssl_credentials.c |
| 745 | src/core/lib/security/transport/client_auth_filter.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 746 | src/core/lib/security/transport/secure_endpoint.c |
| 747 | src/core/lib/security/transport/security_connector.c |
Mark D. Roth | 071cacf | 2016-11-17 13:17:56 -0800 | [diff] [blame] | 748 | src/core/lib/security/transport/security_handshaker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 749 | src/core/lib/security/transport/server_auth_filter.c |
| 750 | src/core/lib/security/transport/tsi_error.c |
| 751 | src/core/lib/security/util/b64.c |
| 752 | src/core/lib/security/util/json_util.c |
| 753 | src/core/lib/surface/init_secure.c |
| 754 | src/core/lib/tsi/fake_transport_security.c |
| 755 | src/core/lib/tsi/ssl_transport_security.c |
| 756 | src/core/lib/tsi/transport_security.c |
Mark D. Roth | 8686cab | 2016-11-17 13:12:17 -0800 | [diff] [blame] | 757 | src/core/ext/transport/chttp2/client/chttp2_connector.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 758 | src/core/plugin_registry/grpc_cronet_plugin_registry.c |
| 759 | ) |
| 760 | |
| 761 | target_include_directories(grpc_cronet |
| 762 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 763 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 764 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 765 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 766 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 767 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 768 | ) |
| 769 | |
| 770 | target_link_libraries(grpc_cronet |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 771 | ${_gRPC_BASELIB_LIBRARIES} |
| 772 | ${_gRPC_SSL_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 773 | gpr |
| 774 | ) |
| 775 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 776 | foreach(_hdr |
| 777 | include/grpc/byte_buffer.h |
| 778 | include/grpc/byte_buffer_reader.h |
| 779 | include/grpc/compression.h |
| 780 | include/grpc/grpc.h |
| 781 | include/grpc/grpc_posix.h |
Nicolas "Pixel" Noble | e3e17d3 | 2016-08-20 01:45:32 +0200 | [diff] [blame] | 782 | include/grpc/grpc_security_constants.h |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 783 | include/grpc/slice.h |
| 784 | include/grpc/slice_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 785 | include/grpc/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 786 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 787 | include/grpc/impl/codegen/compression_types.h |
| 788 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 789 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 790 | include/grpc/impl/codegen/grpc_types.h |
| 791 | include/grpc/impl/codegen/propagation_bits.h |
| 792 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 793 | include/grpc/impl/codegen/atm.h |
| 794 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 795 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 796 | include/grpc/impl/codegen/atm_windows.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 797 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 798 | include/grpc/impl/codegen/port_platform.h |
| 799 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 800 | include/grpc/impl/codegen/sync.h |
| 801 | include/grpc/impl/codegen/sync_generic.h |
| 802 | include/grpc/impl/codegen/sync_posix.h |
| 803 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 804 | include/grpc/grpc_cronet.h |
| 805 | include/grpc/grpc_security.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 806 | ) |
| 807 | string(REPLACE "include/" "" _path ${_hdr}) |
| 808 | get_filename_component(_path ${_path} PATH) |
| 809 | install(FILES ${_hdr} |
| 810 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 811 | ) |
| 812 | endforeach() |
| 813 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 814 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 815 | if (gRPC_INSTALL) |
| 816 | install(TARGETS grpc_cronet EXPORT gRPCTargets |
| 817 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 818 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 819 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 820 | ) |
| 821 | endif() |
| 822 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 823 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 824 | add_library(grpc_unsecure |
| 825 | src/core/lib/surface/init.c |
| 826 | src/core/lib/surface/init_unsecure.c |
| 827 | src/core/lib/channel/channel_args.c |
| 828 | src/core/lib/channel/channel_stack.c |
| 829 | src/core/lib/channel/channel_stack_builder.c |
| 830 | src/core/lib/channel/compress_filter.c |
| 831 | src/core/lib/channel/connected_channel.c |
Mark D. Roth | 14c072c | 2016-08-26 08:31:34 -0700 | [diff] [blame] | 832 | src/core/lib/channel/deadline_filter.c |
Mark D. Roth | dfbdefe | 2016-07-14 09:18:22 -0700 | [diff] [blame] | 833 | src/core/lib/channel/handshaker.c |
Mark D. Roth | 1f0f23c | 2017-01-06 13:07:19 -0800 | [diff] [blame] | 834 | src/core/lib/channel/handshaker_factory.c |
| 835 | src/core/lib/channel/handshaker_registry.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 836 | src/core/lib/channel/http_client_filter.c |
| 837 | src/core/lib/channel/http_server_filter.c |
Mark D. Roth | af00d8b | 2016-08-23 12:48:16 -0700 | [diff] [blame] | 838 | src/core/lib/channel/message_size_filter.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 839 | src/core/lib/compression/compression.c |
| 840 | src/core/lib/compression/message_compress.c |
| 841 | src/core/lib/debug/trace.c |
| 842 | src/core/lib/http/format_request.c |
| 843 | src/core/lib/http/httpcli.c |
| 844 | src/core/lib/http/parser.c |
| 845 | src/core/lib/iomgr/closure.c |
Craig Tiller | 57726ca | 2016-09-12 11:59:45 -0700 | [diff] [blame] | 846 | src/core/lib/iomgr/combiner.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 847 | src/core/lib/iomgr/endpoint.c |
| 848 | src/core/lib/iomgr/endpoint_pair_posix.c |
murgatroid99 | c36f6ea | 2016-10-03 09:24:09 -0700 | [diff] [blame] | 849 | src/core/lib/iomgr/endpoint_pair_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 850 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 851 | src/core/lib/iomgr/error.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 852 | src/core/lib/iomgr/ev_epoll_linux.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 853 | src/core/lib/iomgr/ev_poll_posix.c |
| 854 | src/core/lib/iomgr/ev_posix.c |
| 855 | src/core/lib/iomgr/exec_ctx.c |
| 856 | src/core/lib/iomgr/executor.c |
| 857 | src/core/lib/iomgr/iocp_windows.c |
| 858 | src/core/lib/iomgr/iomgr.c |
| 859 | src/core/lib/iomgr/iomgr_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 860 | src/core/lib/iomgr/iomgr_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 861 | src/core/lib/iomgr/iomgr_windows.c |
| 862 | src/core/lib/iomgr/load_file.c |
Nicolas "Pixel" Noble | b360c8a | 2016-07-02 00:54:28 +0200 | [diff] [blame] | 863 | src/core/lib/iomgr/network_status_tracker.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 864 | src/core/lib/iomgr/polling_entity.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 865 | src/core/lib/iomgr/pollset_set_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 866 | src/core/lib/iomgr/pollset_set_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 867 | src/core/lib/iomgr/pollset_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 868 | src/core/lib/iomgr/pollset_windows.c |
| 869 | src/core/lib/iomgr/resolve_address_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 870 | src/core/lib/iomgr/resolve_address_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 871 | src/core/lib/iomgr/resolve_address_windows.c |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 872 | src/core/lib/iomgr/resource_quota.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 873 | src/core/lib/iomgr/sockaddr_utils.c |
Yuchen Zeng | de3daf5 | 2016-10-13 17:26:26 -0700 | [diff] [blame] | 874 | src/core/lib/iomgr/socket_mutator.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 875 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 876 | src/core/lib/iomgr/socket_utils_linux.c |
| 877 | src/core/lib/iomgr/socket_utils_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 878 | src/core/lib/iomgr/socket_utils_uv.c |
murgatroid99 | 79b3227 | 2016-08-08 13:38:30 -0700 | [diff] [blame] | 879 | src/core/lib/iomgr/socket_utils_windows.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 880 | src/core/lib/iomgr/socket_windows.c |
| 881 | src/core/lib/iomgr/tcp_client_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 882 | src/core/lib/iomgr/tcp_client_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 883 | src/core/lib/iomgr/tcp_client_windows.c |
| 884 | src/core/lib/iomgr/tcp_posix.c |
| 885 | src/core/lib/iomgr/tcp_server_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 886 | src/core/lib/iomgr/tcp_server_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 887 | src/core/lib/iomgr/tcp_server_windows.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 888 | src/core/lib/iomgr/tcp_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 889 | src/core/lib/iomgr/tcp_windows.c |
| 890 | src/core/lib/iomgr/time_averaged_stats.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 891 | src/core/lib/iomgr/timer_generic.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 892 | src/core/lib/iomgr/timer_heap.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 893 | src/core/lib/iomgr/timer_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 894 | src/core/lib/iomgr/udp_server.c |
| 895 | src/core/lib/iomgr/unix_sockets_posix.c |
| 896 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 897 | src/core/lib/iomgr/wakeup_fd_cv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 898 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 899 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 900 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 901 | src/core/lib/iomgr/wakeup_fd_posix.c |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 902 | src/core/lib/iomgr/workqueue_uv.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 903 | src/core/lib/iomgr/workqueue_windows.c |
| 904 | src/core/lib/json/json.c |
| 905 | src/core/lib/json/json_reader.c |
| 906 | src/core/lib/json/json_string.c |
| 907 | src/core/lib/json/json_writer.c |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 908 | src/core/lib/slice/percent_encoding.c |
| 909 | src/core/lib/slice/slice.c |
| 910 | src/core/lib/slice/slice_buffer.c |
| 911 | src/core/lib/slice/slice_string_helpers.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 912 | src/core/lib/surface/alarm.c |
| 913 | src/core/lib/surface/api_trace.c |
| 914 | src/core/lib/surface/byte_buffer.c |
| 915 | src/core/lib/surface/byte_buffer_reader.c |
| 916 | src/core/lib/surface/call.c |
| 917 | src/core/lib/surface/call_details.c |
| 918 | src/core/lib/surface/call_log_batch.c |
| 919 | src/core/lib/surface/channel.c |
| 920 | src/core/lib/surface/channel_init.c |
| 921 | src/core/lib/surface/channel_ping.c |
| 922 | src/core/lib/surface/channel_stack_type.c |
| 923 | src/core/lib/surface/completion_queue.c |
| 924 | src/core/lib/surface/event_string.c |
| 925 | src/core/lib/surface/lame_client.c |
| 926 | src/core/lib/surface/metadata_array.c |
| 927 | src/core/lib/surface/server.c |
| 928 | src/core/lib/surface/validate_metadata.c |
| 929 | src/core/lib/surface/version.c |
| 930 | src/core/lib/transport/byte_stream.c |
| 931 | src/core/lib/transport/connectivity_state.c |
Mark D. Roth | 6a721b5 | 2016-10-14 12:43:34 -0700 | [diff] [blame] | 932 | src/core/lib/transport/mdstr_hash_table.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 933 | src/core/lib/transport/metadata.c |
| 934 | src/core/lib/transport/metadata_batch.c |
Craig Tiller | dd2fa64 | 2016-10-20 15:46:32 -0700 | [diff] [blame] | 935 | src/core/lib/transport/pid_controller.c |
Mark D. Roth | ea846a0 | 2016-11-03 11:32:54 -0700 | [diff] [blame] | 936 | src/core/lib/transport/service_config.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 937 | src/core/lib/transport/static_metadata.c |
Robbie Shade | 710d242 | 2016-07-13 15:15:38 -0400 | [diff] [blame] | 938 | src/core/lib/transport/timeout_encoding.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 939 | src/core/lib/transport/transport.c |
| 940 | src/core/lib/transport/transport_op_string.c |
| 941 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.c |
| 942 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c |
| 943 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 944 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 945 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 946 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
| 947 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 948 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 949 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 950 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 951 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 952 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 953 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 954 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 955 | src/core/ext/transport/chttp2/transport/hpack_table.c |
| 956 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 957 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 958 | src/core/ext/transport/chttp2/transport/parsing.c |
| 959 | src/core/ext/transport/chttp2/transport/status_conversion.c |
| 960 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 961 | src/core/ext/transport/chttp2/transport/stream_map.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 962 | src/core/ext/transport/chttp2/transport/varint.c |
| 963 | src/core/ext/transport/chttp2/transport/writing.c |
| 964 | src/core/ext/transport/chttp2/alpn/alpn.c |
Mark D. Roth | 7140382 | 2016-12-02 10:51:39 -0800 | [diff] [blame] | 965 | src/core/ext/transport/chttp2/server/chttp2_server.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 966 | src/core/ext/transport/chttp2/client/insecure/channel_create.c |
| 967 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c |
Mark D. Roth | 2502afb | 2016-11-29 15:17:31 -0800 | [diff] [blame] | 968 | src/core/ext/transport/chttp2/client/chttp2_connector.c |
Mark D. Roth | 2137cd8 | 2016-09-14 09:04:00 -0700 | [diff] [blame] | 969 | src/core/ext/client_channel/channel_connectivity.c |
| 970 | src/core/ext/client_channel/client_channel.c |
| 971 | src/core/ext/client_channel/client_channel_factory.c |
| 972 | src/core/ext/client_channel/client_channel_plugin.c |
| 973 | src/core/ext/client_channel/connector.c |
| 974 | src/core/ext/client_channel/default_initial_connect_string.c |
Mark D. Roth | 1519574 | 2016-10-07 09:02:28 -0700 | [diff] [blame] | 975 | src/core/ext/client_channel/http_connect_handshaker.c |
Mark D. Roth | 2137cd8 | 2016-09-14 09:04:00 -0700 | [diff] [blame] | 976 | src/core/ext/client_channel/initial_connect_string.c |
| 977 | src/core/ext/client_channel/lb_policy.c |
| 978 | src/core/ext/client_channel/lb_policy_factory.c |
| 979 | src/core/ext/client_channel/lb_policy_registry.c |
| 980 | src/core/ext/client_channel/parse_address.c |
| 981 | src/core/ext/client_channel/resolver.c |
| 982 | src/core/ext/client_channel/resolver_factory.c |
| 983 | src/core/ext/client_channel/resolver_registry.c |
Mark D. Roth | 2137cd8 | 2016-09-14 09:04:00 -0700 | [diff] [blame] | 984 | src/core/ext/client_channel/subchannel.c |
| 985 | src/core/ext/client_channel/subchannel_index.c |
| 986 | src/core/ext/client_channel/uri_parser.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 987 | src/core/ext/resolver/dns/native/dns_resolver.c |
| 988 | src/core/ext/resolver/sockaddr/sockaddr_resolver.c |
| 989 | src/core/ext/load_reporting/load_reporting.c |
| 990 | src/core/ext/load_reporting/load_reporting_filter.c |
David Garcia Quintas | 7c3ba12 | 2016-07-14 11:38:38 -0700 | [diff] [blame] | 991 | src/core/ext/lb_policy/grpclb/grpclb.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 992 | src/core/ext/lb_policy/grpclb/load_balancer_api.c |
| 993 | src/core/ext/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c |
| 994 | third_party/nanopb/pb_common.c |
| 995 | third_party/nanopb/pb_decode.c |
| 996 | third_party/nanopb/pb_encode.c |
| 997 | src/core/ext/lb_policy/pick_first/pick_first.c |
| 998 | src/core/ext/lb_policy/round_robin/round_robin.c |
Alistair Veitch | 3abd27e | 2016-07-21 17:29:04 -0700 | [diff] [blame] | 999 | src/core/ext/census/base_resources.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1000 | src/core/ext/census/context.c |
| 1001 | src/core/ext/census/gen/census.pb.c |
Alistair Veitch | a0c69f9 | 2016-08-31 12:01:27 -0700 | [diff] [blame] | 1002 | src/core/ext/census/gen/trace_context.pb.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1003 | src/core/ext/census/grpc_context.c |
| 1004 | src/core/ext/census/grpc_filter.c |
| 1005 | src/core/ext/census/grpc_plugin.c |
| 1006 | src/core/ext/census/initialize.c |
| 1007 | src/core/ext/census/mlog.c |
| 1008 | src/core/ext/census/operation.c |
| 1009 | src/core/ext/census/placeholders.c |
Alistair Veitch | 3abd27e | 2016-07-21 17:29:04 -0700 | [diff] [blame] | 1010 | src/core/ext/census/resource.c |
Vizerai | 12d1fc6 | 2016-09-09 14:22:19 -0700 | [diff] [blame] | 1011 | src/core/ext/census/trace_context.c |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1012 | src/core/ext/census/tracing.c |
| 1013 | src/core/plugin_registry/grpc_unsecure_plugin_registry.c |
| 1014 | ) |
| 1015 | |
| 1016 | target_include_directories(grpc_unsecure |
| 1017 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1018 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1019 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1020 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1021 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1022 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 1023 | ) |
| 1024 | |
| 1025 | target_link_libraries(grpc_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1026 | ${_gRPC_BASELIB_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1027 | gpr |
| 1028 | ) |
| 1029 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1030 | foreach(_hdr |
| 1031 | include/grpc/byte_buffer.h |
| 1032 | include/grpc/byte_buffer_reader.h |
| 1033 | include/grpc/compression.h |
| 1034 | include/grpc/grpc.h |
| 1035 | include/grpc/grpc_posix.h |
Nicolas "Pixel" Noble | e3e17d3 | 2016-08-20 01:45:32 +0200 | [diff] [blame] | 1036 | include/grpc/grpc_security_constants.h |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 1037 | include/grpc/slice.h |
| 1038 | include/grpc/slice_buffer.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1039 | include/grpc/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1040 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1041 | include/grpc/impl/codegen/compression_types.h |
| 1042 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 1043 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1044 | include/grpc/impl/codegen/grpc_types.h |
| 1045 | include/grpc/impl/codegen/propagation_bits.h |
| 1046 | include/grpc/impl/codegen/status.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1047 | include/grpc/impl/codegen/atm.h |
| 1048 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1049 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1050 | include/grpc/impl/codegen/atm_windows.h |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 1051 | include/grpc/impl/codegen/gpr_types.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1052 | include/grpc/impl/codegen/port_platform.h |
| 1053 | include/grpc/impl/codegen/slice.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1054 | include/grpc/impl/codegen/sync.h |
| 1055 | include/grpc/impl/codegen/sync_generic.h |
| 1056 | include/grpc/impl/codegen/sync_posix.h |
| 1057 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1058 | include/grpc/census.h |
| 1059 | ) |
| 1060 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1061 | get_filename_component(_path ${_path} PATH) |
| 1062 | install(FILES ${_hdr} |
| 1063 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 1064 | ) |
| 1065 | endforeach() |
| 1066 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 1067 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1068 | if (gRPC_INSTALL) |
| 1069 | install(TARGETS grpc_unsecure EXPORT gRPCTargets |
| 1070 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 1071 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1072 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1073 | ) |
| 1074 | endif() |
| 1075 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 1076 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1077 | add_library(grpc++ |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 1078 | src/cpp/client/insecure_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1079 | src/cpp/client/secure_credentials.cc |
| 1080 | src/cpp/common/auth_property_iterator.cc |
| 1081 | src/cpp/common/secure_auth_context.cc |
| 1082 | src/cpp/common/secure_channel_arguments.cc |
| 1083 | src/cpp/common/secure_create_auth_context.cc |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 1084 | src/cpp/server/insecure_server_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1085 | src/cpp/server/secure_server_credentials.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 1086 | src/cpp/client/channel_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1087 | src/cpp/client/client_context.cc |
| 1088 | src/cpp/client/create_channel.cc |
| 1089 | src/cpp/client/create_channel_internal.cc |
| 1090 | src/cpp/client/create_channel_posix.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 1091 | src/cpp/client/credentials_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1092 | src/cpp/client/generic_stub.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1093 | src/cpp/common/channel_arguments.cc |
Mark D. Roth | 4004ac2 | 2016-08-02 10:08:27 -0700 | [diff] [blame] | 1094 | src/cpp/common/channel_filter.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 1095 | src/cpp/common/completion_queue_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1096 | src/cpp/common/core_codegen.cc |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 1097 | src/cpp/common/resource_quota_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1098 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 1099 | src/cpp/common/version_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1100 | src/cpp/server/async_generic_service.cc |
| 1101 | src/cpp/server/create_default_thread_pool.cc |
| 1102 | src/cpp/server/dynamic_thread_pool.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1103 | src/cpp/server/server_builder.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 1104 | src/cpp/server/server_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1105 | src/cpp/server/server_context.cc |
| 1106 | src/cpp/server/server_credentials.cc |
| 1107 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 8f7739b | 2016-10-13 15:12:55 -0700 | [diff] [blame] | 1108 | src/cpp/thread_manager/thread_manager.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 1109 | src/cpp/util/byte_buffer_cc.cc |
| 1110 | src/cpp/util/slice_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1111 | src/cpp/util/status.cc |
| 1112 | src/cpp/util/string_ref.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 1113 | src/cpp/util/time_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1114 | src/cpp/codegen/codegen_init.cc |
| 1115 | ) |
| 1116 | |
| 1117 | target_include_directories(grpc++ |
| 1118 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1119 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1120 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1121 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1122 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1123 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 1124 | ) |
| 1125 | |
| 1126 | target_link_libraries(grpc++ |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1127 | ${_gRPC_BASELIB_LIBRARIES} |
| 1128 | ${_gRPC_SSL_LIBRARIES} |
| 1129 | ${_gRPC_PROTOBUF_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1130 | grpc |
| 1131 | ) |
| 1132 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1133 | foreach(_hdr |
| 1134 | include/grpc++/alarm.h |
| 1135 | include/grpc++/channel.h |
| 1136 | include/grpc++/client_context.h |
| 1137 | include/grpc++/completion_queue.h |
| 1138 | include/grpc++/create_channel.h |
| 1139 | include/grpc++/create_channel_posix.h |
| 1140 | include/grpc++/generic/async_generic_service.h |
| 1141 | include/grpc++/generic/generic_stub.h |
| 1142 | include/grpc++/grpc++.h |
| 1143 | include/grpc++/impl/call.h |
| 1144 | include/grpc++/impl/client_unary_call.h |
| 1145 | include/grpc++/impl/codegen/core_codegen.h |
| 1146 | include/grpc++/impl/grpc_library.h |
| 1147 | include/grpc++/impl/method_handler_impl.h |
| 1148 | include/grpc++/impl/rpc_method.h |
| 1149 | include/grpc++/impl/rpc_service_method.h |
| 1150 | include/grpc++/impl/serialization_traits.h |
| 1151 | include/grpc++/impl/server_builder_option.h |
| 1152 | include/grpc++/impl/server_builder_plugin.h |
| 1153 | include/grpc++/impl/server_initializer.h |
| 1154 | include/grpc++/impl/service_type.h |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 1155 | include/grpc++/resource_quota.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1156 | include/grpc++/security/auth_context.h |
| 1157 | include/grpc++/security/auth_metadata_processor.h |
| 1158 | include/grpc++/security/credentials.h |
| 1159 | include/grpc++/security/server_credentials.h |
| 1160 | include/grpc++/server.h |
| 1161 | include/grpc++/server_builder.h |
| 1162 | include/grpc++/server_context.h |
| 1163 | include/grpc++/server_posix.h |
| 1164 | include/grpc++/support/async_stream.h |
| 1165 | include/grpc++/support/async_unary_call.h |
| 1166 | include/grpc++/support/byte_buffer.h |
| 1167 | include/grpc++/support/channel_arguments.h |
| 1168 | include/grpc++/support/config.h |
| 1169 | include/grpc++/support/slice.h |
| 1170 | include/grpc++/support/status.h |
| 1171 | include/grpc++/support/status_code_enum.h |
| 1172 | include/grpc++/support/string_ref.h |
| 1173 | include/grpc++/support/stub_options.h |
| 1174 | include/grpc++/support/sync_stream.h |
| 1175 | include/grpc++/support/time.h |
| 1176 | include/grpc++/impl/codegen/async_stream.h |
| 1177 | include/grpc++/impl/codegen/async_unary_call.h |
| 1178 | include/grpc++/impl/codegen/call.h |
| 1179 | include/grpc++/impl/codegen/call_hook.h |
| 1180 | include/grpc++/impl/codegen/channel_interface.h |
| 1181 | include/grpc++/impl/codegen/client_context.h |
| 1182 | include/grpc++/impl/codegen/client_unary_call.h |
| 1183 | include/grpc++/impl/codegen/completion_queue.h |
| 1184 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 1185 | include/grpc++/impl/codegen/config.h |
| 1186 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 1187 | include/grpc++/impl/codegen/create_auth_context.h |
| 1188 | include/grpc++/impl/codegen/grpc_library.h |
| 1189 | include/grpc++/impl/codegen/method_handler_impl.h |
| 1190 | include/grpc++/impl/codegen/rpc_method.h |
| 1191 | include/grpc++/impl/codegen/rpc_service_method.h |
| 1192 | include/grpc++/impl/codegen/security/auth_context.h |
| 1193 | include/grpc++/impl/codegen/serialization_traits.h |
| 1194 | include/grpc++/impl/codegen/server_context.h |
| 1195 | include/grpc++/impl/codegen/server_interface.h |
| 1196 | include/grpc++/impl/codegen/service_type.h |
| 1197 | include/grpc++/impl/codegen/status.h |
| 1198 | include/grpc++/impl/codegen/status_code_enum.h |
yang-g | d558149 | 2016-09-06 14:05:53 -0700 | [diff] [blame] | 1199 | include/grpc++/impl/codegen/status_helper.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1200 | include/grpc++/impl/codegen/string_ref.h |
| 1201 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1202 | include/grpc++/impl/codegen/sync_stream.h |
| 1203 | include/grpc++/impl/codegen/time.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 1204 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1205 | include/grpc/impl/codegen/compression_types.h |
| 1206 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 1207 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 1208 | include/grpc/impl/codegen/grpc_types.h |
| 1209 | include/grpc/impl/codegen/propagation_bits.h |
| 1210 | include/grpc/impl/codegen/status.h |
| 1211 | include/grpc/impl/codegen/atm.h |
| 1212 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1213 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1214 | include/grpc/impl/codegen/atm_windows.h |
| 1215 | include/grpc/impl/codegen/gpr_types.h |
| 1216 | include/grpc/impl/codegen/port_platform.h |
| 1217 | include/grpc/impl/codegen/slice.h |
| 1218 | include/grpc/impl/codegen/sync.h |
| 1219 | include/grpc/impl/codegen/sync_generic.h |
| 1220 | include/grpc/impl/codegen/sync_posix.h |
| 1221 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1222 | ) |
| 1223 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1224 | get_filename_component(_path ${_path} PATH) |
| 1225 | install(FILES ${_hdr} |
| 1226 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 1227 | ) |
| 1228 | endforeach() |
| 1229 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 1230 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1231 | if (gRPC_INSTALL) |
| 1232 | install(TARGETS grpc++ EXPORT gRPCTargets |
| 1233 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 1234 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1235 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1236 | ) |
| 1237 | endif() |
| 1238 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 1239 | |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 1240 | add_library(grpc++_cronet |
| 1241 | src/cpp/client/cronet_credentials.cc |
| 1242 | src/cpp/client/insecure_credentials.cc |
| 1243 | src/cpp/common/insecure_create_auth_context.cc |
| 1244 | src/cpp/server/insecure_server_credentials.cc |
| 1245 | src/cpp/client/channel_cc.cc |
| 1246 | src/cpp/client/client_context.cc |
| 1247 | src/cpp/client/create_channel.cc |
| 1248 | src/cpp/client/create_channel_internal.cc |
| 1249 | src/cpp/client/create_channel_posix.cc |
| 1250 | src/cpp/client/credentials_cc.cc |
| 1251 | src/cpp/client/generic_stub.cc |
| 1252 | src/cpp/common/channel_arguments.cc |
| 1253 | src/cpp/common/channel_filter.cc |
| 1254 | src/cpp/common/completion_queue_cc.cc |
| 1255 | src/cpp/common/core_codegen.cc |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 1256 | src/cpp/common/resource_quota_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 1257 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 1258 | src/cpp/common/version_cc.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 1259 | src/cpp/server/async_generic_service.cc |
| 1260 | src/cpp/server/create_default_thread_pool.cc |
| 1261 | src/cpp/server/dynamic_thread_pool.cc |
| 1262 | src/cpp/server/server_builder.cc |
| 1263 | src/cpp/server/server_cc.cc |
| 1264 | src/cpp/server/server_context.cc |
| 1265 | src/cpp/server/server_credentials.cc |
| 1266 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 33d5494 | 2016-10-25 10:03:52 -0700 | [diff] [blame] | 1267 | src/cpp/thread_manager/thread_manager.cc |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 1268 | src/cpp/util/byte_buffer_cc.cc |
| 1269 | src/cpp/util/slice_cc.cc |
| 1270 | src/cpp/util/status.cc |
| 1271 | src/cpp/util/string_ref.cc |
| 1272 | src/cpp/util/time_cc.cc |
| 1273 | src/cpp/codegen/codegen_init.cc |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 1274 | src/core/ext/transport/chttp2/client/insecure/channel_create.c |
| 1275 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c |
Mark D. Roth | 2502afb | 2016-11-29 15:17:31 -0800 | [diff] [blame] | 1276 | src/core/ext/transport/chttp2/client/chttp2_connector.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 1277 | src/core/ext/transport/chttp2/transport/bin_decoder.c |
| 1278 | src/core/ext/transport/chttp2/transport/bin_encoder.c |
| 1279 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c |
| 1280 | src/core/ext/transport/chttp2/transport/chttp2_transport.c |
| 1281 | src/core/ext/transport/chttp2/transport/frame_data.c |
| 1282 | src/core/ext/transport/chttp2/transport/frame_goaway.c |
| 1283 | src/core/ext/transport/chttp2/transport/frame_ping.c |
| 1284 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c |
| 1285 | src/core/ext/transport/chttp2/transport/frame_settings.c |
| 1286 | src/core/ext/transport/chttp2/transport/frame_window_update.c |
| 1287 | src/core/ext/transport/chttp2/transport/hpack_encoder.c |
| 1288 | src/core/ext/transport/chttp2/transport/hpack_parser.c |
| 1289 | src/core/ext/transport/chttp2/transport/hpack_table.c |
| 1290 | src/core/ext/transport/chttp2/transport/huffsyms.c |
| 1291 | src/core/ext/transport/chttp2/transport/incoming_metadata.c |
| 1292 | src/core/ext/transport/chttp2/transport/parsing.c |
| 1293 | src/core/ext/transport/chttp2/transport/status_conversion.c |
| 1294 | src/core/ext/transport/chttp2/transport/stream_lists.c |
| 1295 | src/core/ext/transport/chttp2/transport/stream_map.c |
| 1296 | src/core/ext/transport/chttp2/transport/varint.c |
| 1297 | src/core/ext/transport/chttp2/transport/writing.c |
| 1298 | src/core/lib/channel/channel_args.c |
| 1299 | src/core/lib/channel/channel_stack.c |
| 1300 | src/core/lib/channel/channel_stack_builder.c |
| 1301 | src/core/lib/channel/compress_filter.c |
| 1302 | src/core/lib/channel/connected_channel.c |
| 1303 | src/core/lib/channel/deadline_filter.c |
| 1304 | src/core/lib/channel/handshaker.c |
Mark D. Roth | 1f0f23c | 2017-01-06 13:07:19 -0800 | [diff] [blame] | 1305 | src/core/lib/channel/handshaker_factory.c |
| 1306 | src/core/lib/channel/handshaker_registry.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 1307 | src/core/lib/channel/http_client_filter.c |
| 1308 | src/core/lib/channel/http_server_filter.c |
| 1309 | src/core/lib/channel/message_size_filter.c |
| 1310 | src/core/lib/compression/compression.c |
| 1311 | src/core/lib/compression/message_compress.c |
| 1312 | src/core/lib/debug/trace.c |
| 1313 | src/core/lib/http/format_request.c |
| 1314 | src/core/lib/http/httpcli.c |
| 1315 | src/core/lib/http/parser.c |
| 1316 | src/core/lib/iomgr/closure.c |
| 1317 | src/core/lib/iomgr/combiner.c |
| 1318 | src/core/lib/iomgr/endpoint.c |
| 1319 | src/core/lib/iomgr/endpoint_pair_posix.c |
| 1320 | src/core/lib/iomgr/endpoint_pair_uv.c |
| 1321 | src/core/lib/iomgr/endpoint_pair_windows.c |
| 1322 | src/core/lib/iomgr/error.c |
| 1323 | src/core/lib/iomgr/ev_epoll_linux.c |
| 1324 | src/core/lib/iomgr/ev_poll_posix.c |
| 1325 | src/core/lib/iomgr/ev_posix.c |
| 1326 | src/core/lib/iomgr/exec_ctx.c |
| 1327 | src/core/lib/iomgr/executor.c |
| 1328 | src/core/lib/iomgr/iocp_windows.c |
| 1329 | src/core/lib/iomgr/iomgr.c |
| 1330 | src/core/lib/iomgr/iomgr_posix.c |
| 1331 | src/core/lib/iomgr/iomgr_uv.c |
| 1332 | src/core/lib/iomgr/iomgr_windows.c |
| 1333 | src/core/lib/iomgr/load_file.c |
| 1334 | src/core/lib/iomgr/network_status_tracker.c |
| 1335 | src/core/lib/iomgr/polling_entity.c |
| 1336 | src/core/lib/iomgr/pollset_set_uv.c |
| 1337 | src/core/lib/iomgr/pollset_set_windows.c |
| 1338 | src/core/lib/iomgr/pollset_uv.c |
| 1339 | src/core/lib/iomgr/pollset_windows.c |
| 1340 | src/core/lib/iomgr/resolve_address_posix.c |
| 1341 | src/core/lib/iomgr/resolve_address_uv.c |
| 1342 | src/core/lib/iomgr/resolve_address_windows.c |
| 1343 | src/core/lib/iomgr/resource_quota.c |
| 1344 | src/core/lib/iomgr/sockaddr_utils.c |
| 1345 | src/core/lib/iomgr/socket_mutator.c |
| 1346 | src/core/lib/iomgr/socket_utils_common_posix.c |
| 1347 | src/core/lib/iomgr/socket_utils_linux.c |
| 1348 | src/core/lib/iomgr/socket_utils_posix.c |
| 1349 | src/core/lib/iomgr/socket_utils_uv.c |
| 1350 | src/core/lib/iomgr/socket_utils_windows.c |
| 1351 | src/core/lib/iomgr/socket_windows.c |
| 1352 | src/core/lib/iomgr/tcp_client_posix.c |
| 1353 | src/core/lib/iomgr/tcp_client_uv.c |
| 1354 | src/core/lib/iomgr/tcp_client_windows.c |
| 1355 | src/core/lib/iomgr/tcp_posix.c |
| 1356 | src/core/lib/iomgr/tcp_server_posix.c |
| 1357 | src/core/lib/iomgr/tcp_server_uv.c |
| 1358 | src/core/lib/iomgr/tcp_server_windows.c |
| 1359 | src/core/lib/iomgr/tcp_uv.c |
| 1360 | src/core/lib/iomgr/tcp_windows.c |
| 1361 | src/core/lib/iomgr/time_averaged_stats.c |
| 1362 | src/core/lib/iomgr/timer_generic.c |
| 1363 | src/core/lib/iomgr/timer_heap.c |
| 1364 | src/core/lib/iomgr/timer_uv.c |
| 1365 | src/core/lib/iomgr/udp_server.c |
| 1366 | src/core/lib/iomgr/unix_sockets_posix.c |
| 1367 | src/core/lib/iomgr/unix_sockets_posix_noop.c |
| 1368 | src/core/lib/iomgr/wakeup_fd_cv.c |
| 1369 | src/core/lib/iomgr/wakeup_fd_eventfd.c |
| 1370 | src/core/lib/iomgr/wakeup_fd_nospecial.c |
| 1371 | src/core/lib/iomgr/wakeup_fd_pipe.c |
| 1372 | src/core/lib/iomgr/wakeup_fd_posix.c |
| 1373 | src/core/lib/iomgr/workqueue_uv.c |
| 1374 | src/core/lib/iomgr/workqueue_windows.c |
| 1375 | src/core/lib/json/json.c |
| 1376 | src/core/lib/json/json_reader.c |
| 1377 | src/core/lib/json/json_string.c |
| 1378 | src/core/lib/json/json_writer.c |
| 1379 | src/core/lib/slice/percent_encoding.c |
| 1380 | src/core/lib/slice/slice.c |
| 1381 | src/core/lib/slice/slice_buffer.c |
| 1382 | src/core/lib/slice/slice_string_helpers.c |
| 1383 | src/core/lib/surface/alarm.c |
| 1384 | src/core/lib/surface/api_trace.c |
| 1385 | src/core/lib/surface/byte_buffer.c |
| 1386 | src/core/lib/surface/byte_buffer_reader.c |
| 1387 | src/core/lib/surface/call.c |
| 1388 | src/core/lib/surface/call_details.c |
| 1389 | src/core/lib/surface/call_log_batch.c |
| 1390 | src/core/lib/surface/channel.c |
| 1391 | src/core/lib/surface/channel_init.c |
| 1392 | src/core/lib/surface/channel_ping.c |
| 1393 | src/core/lib/surface/channel_stack_type.c |
| 1394 | src/core/lib/surface/completion_queue.c |
| 1395 | src/core/lib/surface/event_string.c |
| 1396 | src/core/lib/surface/lame_client.c |
| 1397 | src/core/lib/surface/metadata_array.c |
| 1398 | src/core/lib/surface/server.c |
| 1399 | src/core/lib/surface/validate_metadata.c |
| 1400 | src/core/lib/surface/version.c |
| 1401 | src/core/lib/transport/byte_stream.c |
| 1402 | src/core/lib/transport/connectivity_state.c |
| 1403 | src/core/lib/transport/mdstr_hash_table.c |
| 1404 | src/core/lib/transport/metadata.c |
| 1405 | src/core/lib/transport/metadata_batch.c |
| 1406 | src/core/lib/transport/pid_controller.c |
| 1407 | src/core/lib/transport/service_config.c |
| 1408 | src/core/lib/transport/static_metadata.c |
| 1409 | src/core/lib/transport/timeout_encoding.c |
| 1410 | src/core/lib/transport/transport.c |
| 1411 | src/core/lib/transport/transport_op_string.c |
| 1412 | src/core/ext/transport/chttp2/alpn/alpn.c |
| 1413 | src/core/ext/client_channel/channel_connectivity.c |
| 1414 | src/core/ext/client_channel/client_channel.c |
| 1415 | src/core/ext/client_channel/client_channel_factory.c |
| 1416 | src/core/ext/client_channel/client_channel_plugin.c |
| 1417 | src/core/ext/client_channel/connector.c |
| 1418 | src/core/ext/client_channel/default_initial_connect_string.c |
| 1419 | src/core/ext/client_channel/http_connect_handshaker.c |
| 1420 | src/core/ext/client_channel/initial_connect_string.c |
| 1421 | src/core/ext/client_channel/lb_policy.c |
| 1422 | src/core/ext/client_channel/lb_policy_factory.c |
| 1423 | src/core/ext/client_channel/lb_policy_registry.c |
| 1424 | src/core/ext/client_channel/parse_address.c |
| 1425 | src/core/ext/client_channel/resolver.c |
| 1426 | src/core/ext/client_channel/resolver_factory.c |
| 1427 | src/core/ext/client_channel/resolver_registry.c |
| 1428 | src/core/ext/client_channel/subchannel.c |
| 1429 | src/core/ext/client_channel/subchannel_index.c |
| 1430 | src/core/ext/client_channel/uri_parser.c |
| 1431 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.c |
| 1432 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c |
Mark D. Roth | 7140382 | 2016-12-02 10:51:39 -0800 | [diff] [blame] | 1433 | src/core/ext/transport/chttp2/server/chttp2_server.c |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 1434 | src/core/ext/census/base_resources.c |
| 1435 | src/core/ext/census/context.c |
| 1436 | src/core/ext/census/gen/census.pb.c |
| 1437 | src/core/ext/census/gen/trace_context.pb.c |
| 1438 | src/core/ext/census/grpc_context.c |
| 1439 | src/core/ext/census/grpc_filter.c |
| 1440 | src/core/ext/census/grpc_plugin.c |
| 1441 | src/core/ext/census/initialize.c |
| 1442 | src/core/ext/census/mlog.c |
| 1443 | src/core/ext/census/operation.c |
| 1444 | src/core/ext/census/placeholders.c |
| 1445 | src/core/ext/census/resource.c |
| 1446 | src/core/ext/census/trace_context.c |
| 1447 | src/core/ext/census/tracing.c |
| 1448 | third_party/nanopb/pb_common.c |
| 1449 | third_party/nanopb/pb_decode.c |
| 1450 | third_party/nanopb/pb_encode.c |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 1451 | ) |
| 1452 | |
| 1453 | target_include_directories(grpc++_cronet |
| 1454 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1455 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1456 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1457 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 1458 | PRIVATE ${ZLIB_INCLUDE_DIR} |
| 1459 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 1460 | ) |
| 1461 | |
| 1462 | target_link_libraries(grpc++_cronet |
| 1463 | ${_gRPC_BASELIB_LIBRARIES} |
| 1464 | ${_gRPC_SSL_LIBRARIES} |
| 1465 | gpr |
| 1466 | grpc_cronet |
| 1467 | ) |
| 1468 | |
| 1469 | foreach(_hdr |
| 1470 | include/grpc++/alarm.h |
| 1471 | include/grpc++/channel.h |
| 1472 | include/grpc++/client_context.h |
| 1473 | include/grpc++/completion_queue.h |
| 1474 | include/grpc++/create_channel.h |
| 1475 | include/grpc++/create_channel_posix.h |
| 1476 | include/grpc++/generic/async_generic_service.h |
| 1477 | include/grpc++/generic/generic_stub.h |
| 1478 | include/grpc++/grpc++.h |
| 1479 | include/grpc++/impl/call.h |
| 1480 | include/grpc++/impl/client_unary_call.h |
| 1481 | include/grpc++/impl/codegen/core_codegen.h |
| 1482 | include/grpc++/impl/grpc_library.h |
| 1483 | include/grpc++/impl/method_handler_impl.h |
| 1484 | include/grpc++/impl/rpc_method.h |
| 1485 | include/grpc++/impl/rpc_service_method.h |
| 1486 | include/grpc++/impl/serialization_traits.h |
| 1487 | include/grpc++/impl/server_builder_option.h |
| 1488 | include/grpc++/impl/server_builder_plugin.h |
| 1489 | include/grpc++/impl/server_initializer.h |
| 1490 | include/grpc++/impl/service_type.h |
Craig Tiller | 3d357d9 | 2016-10-26 20:52:03 -0700 | [diff] [blame] | 1491 | include/grpc++/resource_quota.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 1492 | include/grpc++/security/auth_context.h |
| 1493 | include/grpc++/security/auth_metadata_processor.h |
| 1494 | include/grpc++/security/credentials.h |
| 1495 | include/grpc++/security/server_credentials.h |
| 1496 | include/grpc++/server.h |
| 1497 | include/grpc++/server_builder.h |
| 1498 | include/grpc++/server_context.h |
| 1499 | include/grpc++/server_posix.h |
| 1500 | include/grpc++/support/async_stream.h |
| 1501 | include/grpc++/support/async_unary_call.h |
| 1502 | include/grpc++/support/byte_buffer.h |
| 1503 | include/grpc++/support/channel_arguments.h |
| 1504 | include/grpc++/support/config.h |
| 1505 | include/grpc++/support/slice.h |
| 1506 | include/grpc++/support/status.h |
| 1507 | include/grpc++/support/status_code_enum.h |
| 1508 | include/grpc++/support/string_ref.h |
| 1509 | include/grpc++/support/stub_options.h |
| 1510 | include/grpc++/support/sync_stream.h |
| 1511 | include/grpc++/support/time.h |
| 1512 | include/grpc++/impl/codegen/async_stream.h |
| 1513 | include/grpc++/impl/codegen/async_unary_call.h |
| 1514 | include/grpc++/impl/codegen/call.h |
| 1515 | include/grpc++/impl/codegen/call_hook.h |
| 1516 | include/grpc++/impl/codegen/channel_interface.h |
| 1517 | include/grpc++/impl/codegen/client_context.h |
| 1518 | include/grpc++/impl/codegen/client_unary_call.h |
| 1519 | include/grpc++/impl/codegen/completion_queue.h |
| 1520 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 1521 | include/grpc++/impl/codegen/config.h |
| 1522 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 1523 | include/grpc++/impl/codegen/create_auth_context.h |
| 1524 | include/grpc++/impl/codegen/grpc_library.h |
| 1525 | include/grpc++/impl/codegen/method_handler_impl.h |
| 1526 | include/grpc++/impl/codegen/rpc_method.h |
| 1527 | include/grpc++/impl/codegen/rpc_service_method.h |
| 1528 | include/grpc++/impl/codegen/security/auth_context.h |
| 1529 | include/grpc++/impl/codegen/serialization_traits.h |
| 1530 | include/grpc++/impl/codegen/server_context.h |
| 1531 | include/grpc++/impl/codegen/server_interface.h |
| 1532 | include/grpc++/impl/codegen/service_type.h |
| 1533 | include/grpc++/impl/codegen/status.h |
| 1534 | include/grpc++/impl/codegen/status_code_enum.h |
| 1535 | include/grpc++/impl/codegen/status_helper.h |
| 1536 | include/grpc++/impl/codegen/string_ref.h |
| 1537 | include/grpc++/impl/codegen/stub_options.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 1538 | include/grpc++/impl/codegen/sync_stream.h |
| 1539 | include/grpc++/impl/codegen/time.h |
| 1540 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1541 | include/grpc/impl/codegen/compression_types.h |
| 1542 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 1543 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 1544 | include/grpc/impl/codegen/grpc_types.h |
| 1545 | include/grpc/impl/codegen/propagation_bits.h |
| 1546 | include/grpc/impl/codegen/status.h |
| 1547 | include/grpc/impl/codegen/atm.h |
| 1548 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1549 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1550 | include/grpc/impl/codegen/atm_windows.h |
| 1551 | include/grpc/impl/codegen/gpr_types.h |
| 1552 | include/grpc/impl/codegen/port_platform.h |
| 1553 | include/grpc/impl/codegen/slice.h |
| 1554 | include/grpc/impl/codegen/sync.h |
| 1555 | include/grpc/impl/codegen/sync_generic.h |
| 1556 | include/grpc/impl/codegen/sync_posix.h |
| 1557 | include/grpc/impl/codegen/sync_windows.h |
ncteisen | 3770ac9 | 2016-11-28 11:02:41 -0800 | [diff] [blame] | 1558 | include/grpc/byte_buffer.h |
| 1559 | include/grpc/byte_buffer_reader.h |
| 1560 | include/grpc/compression.h |
| 1561 | include/grpc/grpc.h |
| 1562 | include/grpc/grpc_posix.h |
| 1563 | include/grpc/grpc_security_constants.h |
| 1564 | include/grpc/slice.h |
| 1565 | include/grpc/slice_buffer.h |
| 1566 | include/grpc/status.h |
| 1567 | include/grpc/census.h |
Garrett Casto | 931a26b | 2016-10-04 09:18:29 -0700 | [diff] [blame] | 1568 | ) |
| 1569 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1570 | get_filename_component(_path ${_path} PATH) |
| 1571 | install(FILES ${_hdr} |
| 1572 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 1573 | ) |
| 1574 | endforeach() |
| 1575 | |
| 1576 | |
| 1577 | if (gRPC_INSTALL) |
| 1578 | install(TARGETS grpc++_cronet EXPORT gRPCTargets |
| 1579 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 1580 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1581 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1582 | ) |
| 1583 | endif() |
| 1584 | |
| 1585 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1586 | add_library(grpc++_reflection |
| 1587 | src/cpp/ext/proto_server_reflection.cc |
| 1588 | src/cpp/ext/proto_server_reflection_plugin.cc |
Yuchen Zeng | 169c985 | 2016-10-14 15:58:09 -0700 | [diff] [blame] | 1589 | src/proto/grpc/reflection/v1alpha/reflection.proto |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1590 | ) |
| 1591 | |
| 1592 | target_include_directories(grpc++_reflection |
| 1593 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1594 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1595 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1596 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1597 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1598 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 1599 | ) |
| 1600 | |
| 1601 | target_link_libraries(grpc++_reflection |
| 1602 | grpc++ |
| 1603 | ) |
| 1604 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1605 | foreach(_hdr |
| 1606 | include/grpc++/ext/proto_server_reflection_plugin.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1607 | ) |
| 1608 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1609 | get_filename_component(_path ${_path} PATH) |
| 1610 | install(FILES ${_hdr} |
| 1611 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 1612 | ) |
| 1613 | endforeach() |
| 1614 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 1615 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1616 | if (gRPC_INSTALL) |
| 1617 | install(TARGETS grpc++_reflection EXPORT gRPCTargets |
| 1618 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 1619 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1620 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1621 | ) |
| 1622 | endif() |
| 1623 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 1624 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1625 | add_library(grpc++_unsecure |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 1626 | src/cpp/client/insecure_credentials.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1627 | src/cpp/common/insecure_create_auth_context.cc |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 1628 | src/cpp/server/insecure_server_credentials.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 1629 | src/cpp/client/channel_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1630 | src/cpp/client/client_context.cc |
| 1631 | src/cpp/client/create_channel.cc |
| 1632 | src/cpp/client/create_channel_internal.cc |
| 1633 | src/cpp/client/create_channel_posix.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 1634 | src/cpp/client/credentials_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1635 | src/cpp/client/generic_stub.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1636 | src/cpp/common/channel_arguments.cc |
Mark D. Roth | 4004ac2 | 2016-08-02 10:08:27 -0700 | [diff] [blame] | 1637 | src/cpp/common/channel_filter.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 1638 | src/cpp/common/completion_queue_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1639 | src/cpp/common/core_codegen.cc |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 1640 | src/cpp/common/resource_quota_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1641 | src/cpp/common/rpc_method.cc |
Craig Tiller | ed91324 | 2016-11-04 16:31:30 -0700 | [diff] [blame] | 1642 | src/cpp/common/version_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1643 | src/cpp/server/async_generic_service.cc |
| 1644 | src/cpp/server/create_default_thread_pool.cc |
| 1645 | src/cpp/server/dynamic_thread_pool.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1646 | src/cpp/server/server_builder.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 1647 | src/cpp/server/server_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1648 | src/cpp/server/server_context.cc |
| 1649 | src/cpp/server/server_credentials.cc |
| 1650 | src/cpp/server/server_posix.cc |
Sree Kuchibhotla | 8f7739b | 2016-10-13 15:12:55 -0700 | [diff] [blame] | 1651 | src/cpp/thread_manager/thread_manager.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 1652 | src/cpp/util/byte_buffer_cc.cc |
| 1653 | src/cpp/util/slice_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1654 | src/cpp/util/status.cc |
| 1655 | src/cpp/util/string_ref.cc |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 1656 | src/cpp/util/time_cc.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1657 | src/cpp/codegen/codegen_init.cc |
| 1658 | ) |
| 1659 | |
| 1660 | target_include_directories(grpc++_unsecure |
| 1661 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1662 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1663 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1664 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1665 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1666 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 1667 | ) |
| 1668 | |
| 1669 | target_link_libraries(grpc++_unsecure |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1670 | ${_gRPC_BASELIB_LIBRARIES} |
| 1671 | ${_gRPC_PROTOBUF_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1672 | gpr |
| 1673 | grpc_unsecure |
| 1674 | ) |
| 1675 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1676 | foreach(_hdr |
| 1677 | include/grpc++/alarm.h |
| 1678 | include/grpc++/channel.h |
| 1679 | include/grpc++/client_context.h |
| 1680 | include/grpc++/completion_queue.h |
| 1681 | include/grpc++/create_channel.h |
| 1682 | include/grpc++/create_channel_posix.h |
| 1683 | include/grpc++/generic/async_generic_service.h |
| 1684 | include/grpc++/generic/generic_stub.h |
| 1685 | include/grpc++/grpc++.h |
| 1686 | include/grpc++/impl/call.h |
| 1687 | include/grpc++/impl/client_unary_call.h |
| 1688 | include/grpc++/impl/codegen/core_codegen.h |
| 1689 | include/grpc++/impl/grpc_library.h |
| 1690 | include/grpc++/impl/method_handler_impl.h |
| 1691 | include/grpc++/impl/rpc_method.h |
| 1692 | include/grpc++/impl/rpc_service_method.h |
| 1693 | include/grpc++/impl/serialization_traits.h |
| 1694 | include/grpc++/impl/server_builder_option.h |
| 1695 | include/grpc++/impl/server_builder_plugin.h |
| 1696 | include/grpc++/impl/server_initializer.h |
| 1697 | include/grpc++/impl/service_type.h |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 1698 | include/grpc++/resource_quota.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1699 | include/grpc++/security/auth_context.h |
| 1700 | include/grpc++/security/auth_metadata_processor.h |
| 1701 | include/grpc++/security/credentials.h |
| 1702 | include/grpc++/security/server_credentials.h |
| 1703 | include/grpc++/server.h |
| 1704 | include/grpc++/server_builder.h |
| 1705 | include/grpc++/server_context.h |
| 1706 | include/grpc++/server_posix.h |
| 1707 | include/grpc++/support/async_stream.h |
| 1708 | include/grpc++/support/async_unary_call.h |
| 1709 | include/grpc++/support/byte_buffer.h |
| 1710 | include/grpc++/support/channel_arguments.h |
| 1711 | include/grpc++/support/config.h |
| 1712 | include/grpc++/support/slice.h |
| 1713 | include/grpc++/support/status.h |
| 1714 | include/grpc++/support/status_code_enum.h |
| 1715 | include/grpc++/support/string_ref.h |
| 1716 | include/grpc++/support/stub_options.h |
| 1717 | include/grpc++/support/sync_stream.h |
| 1718 | include/grpc++/support/time.h |
| 1719 | include/grpc++/impl/codegen/async_stream.h |
| 1720 | include/grpc++/impl/codegen/async_unary_call.h |
| 1721 | include/grpc++/impl/codegen/call.h |
| 1722 | include/grpc++/impl/codegen/call_hook.h |
| 1723 | include/grpc++/impl/codegen/channel_interface.h |
| 1724 | include/grpc++/impl/codegen/client_context.h |
| 1725 | include/grpc++/impl/codegen/client_unary_call.h |
| 1726 | include/grpc++/impl/codegen/completion_queue.h |
| 1727 | include/grpc++/impl/codegen/completion_queue_tag.h |
| 1728 | include/grpc++/impl/codegen/config.h |
| 1729 | include/grpc++/impl/codegen/core_codegen_interface.h |
| 1730 | include/grpc++/impl/codegen/create_auth_context.h |
| 1731 | include/grpc++/impl/codegen/grpc_library.h |
| 1732 | include/grpc++/impl/codegen/method_handler_impl.h |
| 1733 | include/grpc++/impl/codegen/rpc_method.h |
| 1734 | include/grpc++/impl/codegen/rpc_service_method.h |
| 1735 | include/grpc++/impl/codegen/security/auth_context.h |
| 1736 | include/grpc++/impl/codegen/serialization_traits.h |
| 1737 | include/grpc++/impl/codegen/server_context.h |
| 1738 | include/grpc++/impl/codegen/server_interface.h |
| 1739 | include/grpc++/impl/codegen/service_type.h |
| 1740 | include/grpc++/impl/codegen/status.h |
| 1741 | include/grpc++/impl/codegen/status_code_enum.h |
yang-g | d558149 | 2016-09-06 14:05:53 -0700 | [diff] [blame] | 1742 | include/grpc++/impl/codegen/status_helper.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1743 | include/grpc++/impl/codegen/string_ref.h |
| 1744 | include/grpc++/impl/codegen/stub_options.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1745 | include/grpc++/impl/codegen/sync_stream.h |
| 1746 | include/grpc++/impl/codegen/time.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 1747 | include/grpc/impl/codegen/byte_buffer_reader.h |
| 1748 | include/grpc/impl/codegen/compression_types.h |
| 1749 | include/grpc/impl/codegen/connectivity_state.h |
Craig Tiller | b995e8b | 2016-12-12 06:36:43 -0800 | [diff] [blame] | 1750 | include/grpc/impl/codegen/exec_ctx_fwd.h |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 1751 | include/grpc/impl/codegen/grpc_types.h |
| 1752 | include/grpc/impl/codegen/propagation_bits.h |
| 1753 | include/grpc/impl/codegen/status.h |
| 1754 | include/grpc/impl/codegen/atm.h |
| 1755 | include/grpc/impl/codegen/atm_gcc_atomic.h |
| 1756 | include/grpc/impl/codegen/atm_gcc_sync.h |
| 1757 | include/grpc/impl/codegen/atm_windows.h |
| 1758 | include/grpc/impl/codegen/gpr_types.h |
| 1759 | include/grpc/impl/codegen/port_platform.h |
| 1760 | include/grpc/impl/codegen/slice.h |
| 1761 | include/grpc/impl/codegen/sync.h |
| 1762 | include/grpc/impl/codegen/sync_generic.h |
| 1763 | include/grpc/impl/codegen/sync_posix.h |
| 1764 | include/grpc/impl/codegen/sync_windows.h |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1765 | ) |
| 1766 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1767 | get_filename_component(_path ${_path} PATH) |
| 1768 | install(FILES ${_hdr} |
| 1769 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 1770 | ) |
| 1771 | endforeach() |
| 1772 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 1773 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1774 | if (gRPC_INSTALL) |
| 1775 | install(TARGETS grpc++_unsecure EXPORT gRPCTargets |
| 1776 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 1777 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1778 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1779 | ) |
| 1780 | endif() |
| 1781 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 1782 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1783 | add_library(grpc_plugin_support |
| 1784 | src/compiler/cpp_generator.cc |
| 1785 | src/compiler/csharp_generator.cc |
| 1786 | src/compiler/node_generator.cc |
| 1787 | src/compiler/objective_c_generator.cc |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 1788 | src/compiler/php_generator.cc |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1789 | src/compiler/python_generator.cc |
| 1790 | src/compiler/ruby_generator.cc |
| 1791 | ) |
| 1792 | |
| 1793 | target_include_directories(grpc_plugin_support |
| 1794 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1795 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1796 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1797 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1798 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1799 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 1800 | ) |
| 1801 | |
| 1802 | target_link_libraries(grpc_plugin_support |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1803 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1804 | ) |
| 1805 | |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1806 | foreach(_hdr |
| 1807 | include/grpc++/impl/codegen/config_protobuf.h |
| 1808 | ) |
| 1809 | string(REPLACE "include/" "" _path ${_hdr}) |
| 1810 | get_filename_component(_path ${_path} PATH) |
| 1811 | install(FILES ${_hdr} |
| 1812 | DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${_path}" |
| 1813 | ) |
| 1814 | endforeach() |
| 1815 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 1816 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1817 | if (gRPC_INSTALL) |
| 1818 | install(TARGETS grpc_plugin_support EXPORT gRPCTargets |
| 1819 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 1820 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1821 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1822 | ) |
| 1823 | endif() |
| 1824 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 1825 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1826 | add_library(grpc_csharp_ext |
| 1827 | src/csharp/ext/grpc_csharp_ext.c |
| 1828 | ) |
| 1829 | |
| 1830 | target_include_directories(grpc_csharp_ext |
| 1831 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1832 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1833 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1834 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1835 | PRIVATE ${ZLIB_INCLUDE_DIR} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1836 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 1837 | ) |
| 1838 | |
| 1839 | target_link_libraries(grpc_csharp_ext |
| 1840 | grpc |
| 1841 | gpr |
| 1842 | ) |
| 1843 | |
| 1844 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 1845 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1846 | if (gRPC_INSTALL) |
| 1847 | install(TARGETS grpc_csharp_ext EXPORT gRPCTargets |
| 1848 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 1849 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1850 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1851 | ) |
| 1852 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1853 | |
| 1854 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 1855 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 1856 | add_executable(gen_hpack_tables |
| 1857 | tools/codegen/core/gen_hpack_tables.c |
| 1858 | ) |
| 1859 | |
| 1860 | target_include_directories(gen_hpack_tables |
| 1861 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1862 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1863 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1864 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 1865 | PRIVATE ${ZLIB_ROOT_DIR} |
| 1866 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 1867 | ) |
| 1868 | |
| 1869 | target_link_libraries(gen_hpack_tables |
| 1870 | gpr |
| 1871 | grpc |
| 1872 | ) |
| 1873 | |
| 1874 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1875 | if (gRPC_INSTALL) |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 1876 | install(TARGETS gen_hpack_tables EXPORT gRPCTargets |
| 1877 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 1878 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1879 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1880 | ) |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1881 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1882 | |
| 1883 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 1884 | add_executable(gen_legal_metadata_characters |
| 1885 | tools/codegen/core/gen_legal_metadata_characters.c |
| 1886 | ) |
| 1887 | |
| 1888 | target_include_directories(gen_legal_metadata_characters |
| 1889 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1890 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1891 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1892 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 1893 | PRIVATE ${ZLIB_ROOT_DIR} |
| 1894 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 1895 | ) |
| 1896 | |
| 1897 | |
| 1898 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1899 | if (gRPC_INSTALL) |
| 1900 | install(TARGETS gen_legal_metadata_characters EXPORT gRPCTargets |
| 1901 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 1902 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1903 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1904 | ) |
| 1905 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1906 | |
| 1907 | |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 1908 | add_executable(gen_percent_encoding_tables |
| 1909 | tools/codegen/core/gen_percent_encoding_tables.c |
| 1910 | ) |
| 1911 | |
| 1912 | target_include_directories(gen_percent_encoding_tables |
| 1913 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1914 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1915 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1916 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 1917 | PRIVATE ${ZLIB_ROOT_DIR} |
| 1918 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 1919 | ) |
| 1920 | |
| 1921 | |
| 1922 | |
Craig Tiller | 426dcde | 2016-09-07 15:43:10 -0700 | [diff] [blame] | 1923 | if (gRPC_INSTALL) |
| 1924 | install(TARGETS gen_percent_encoding_tables EXPORT gRPCTargets |
| 1925 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 1926 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1927 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1928 | ) |
| 1929 | endif() |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 1930 | |
| 1931 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 1932 | add_executable(grpc_create_jwt |
| 1933 | test/core/security/create_jwt.c |
| 1934 | ) |
| 1935 | |
| 1936 | target_include_directories(grpc_create_jwt |
| 1937 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1938 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1939 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1940 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 1941 | PRIVATE ${ZLIB_ROOT_DIR} |
| 1942 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 1943 | ) |
| 1944 | |
| 1945 | target_link_libraries(grpc_create_jwt |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 1946 | ${_gRPC_SSL_LIBRARIES} |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 1947 | grpc |
| 1948 | gpr |
| 1949 | ) |
| 1950 | |
| 1951 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1952 | if (gRPC_INSTALL) |
| 1953 | install(TARGETS grpc_create_jwt EXPORT gRPCTargets |
| 1954 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 1955 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1956 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1957 | ) |
| 1958 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1959 | |
| 1960 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 1961 | add_executable(grpc_print_google_default_creds_token |
| 1962 | test/core/security/print_google_default_creds_token.c |
| 1963 | ) |
| 1964 | |
| 1965 | target_include_directories(grpc_print_google_default_creds_token |
| 1966 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1967 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1968 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1969 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 1970 | PRIVATE ${ZLIB_ROOT_DIR} |
| 1971 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 1972 | ) |
| 1973 | |
| 1974 | target_link_libraries(grpc_print_google_default_creds_token |
| 1975 | grpc |
| 1976 | gpr |
| 1977 | ) |
| 1978 | |
| 1979 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 1980 | if (gRPC_INSTALL) |
| 1981 | install(TARGETS grpc_print_google_default_creds_token EXPORT gRPCTargets |
| 1982 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 1983 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1984 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 1985 | ) |
| 1986 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 1987 | |
| 1988 | |
Tamas Berghammer | df6a44c | 2016-06-22 13:38:55 +0100 | [diff] [blame] | 1989 | add_executable(grpc_verify_jwt |
| 1990 | test/core/security/verify_jwt.c |
| 1991 | ) |
| 1992 | |
| 1993 | target_include_directories(grpc_verify_jwt |
| 1994 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 1995 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 1996 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 1997 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 1998 | PRIVATE ${ZLIB_ROOT_DIR} |
| 1999 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 2000 | ) |
| 2001 | |
| 2002 | target_link_libraries(grpc_verify_jwt |
| 2003 | grpc |
| 2004 | gpr |
| 2005 | ) |
| 2006 | |
| 2007 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2008 | if (gRPC_INSTALL) |
| 2009 | install(TARGETS grpc_verify_jwt EXPORT gRPCTargets |
| 2010 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 2011 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2012 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2013 | ) |
| 2014 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2015 | |
| 2016 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2017 | add_executable(grpc_cpp_plugin |
| 2018 | src/compiler/cpp_plugin.cc |
| 2019 | ) |
| 2020 | |
| 2021 | target_include_directories(grpc_cpp_plugin |
| 2022 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2023 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 2024 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2025 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2026 | PRIVATE ${ZLIB_ROOT_DIR} |
| 2027 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 2028 | ) |
| 2029 | |
| 2030 | target_link_libraries(grpc_cpp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2031 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2032 | grpc_plugin_support |
| 2033 | ) |
| 2034 | |
| 2035 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2036 | if (gRPC_INSTALL) |
| 2037 | install(TARGETS grpc_cpp_plugin EXPORT gRPCTargets |
| 2038 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 2039 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2040 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2041 | ) |
| 2042 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2043 | |
| 2044 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2045 | add_executable(grpc_csharp_plugin |
| 2046 | src/compiler/csharp_plugin.cc |
| 2047 | ) |
| 2048 | |
| 2049 | target_include_directories(grpc_csharp_plugin |
| 2050 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2051 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 2052 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2053 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2054 | PRIVATE ${ZLIB_ROOT_DIR} |
| 2055 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 2056 | ) |
| 2057 | |
| 2058 | target_link_libraries(grpc_csharp_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2059 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2060 | grpc_plugin_support |
| 2061 | ) |
| 2062 | |
| 2063 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2064 | if (gRPC_INSTALL) |
| 2065 | install(TARGETS grpc_csharp_plugin EXPORT gRPCTargets |
| 2066 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 2067 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2068 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2069 | ) |
| 2070 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2071 | |
| 2072 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2073 | add_executable(grpc_node_plugin |
| 2074 | src/compiler/node_plugin.cc |
| 2075 | ) |
| 2076 | |
| 2077 | target_include_directories(grpc_node_plugin |
| 2078 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2079 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 2080 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2081 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2082 | PRIVATE ${ZLIB_ROOT_DIR} |
| 2083 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 2084 | ) |
| 2085 | |
| 2086 | target_link_libraries(grpc_node_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2087 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2088 | grpc_plugin_support |
| 2089 | ) |
| 2090 | |
| 2091 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2092 | if (gRPC_INSTALL) |
| 2093 | install(TARGETS grpc_node_plugin EXPORT gRPCTargets |
| 2094 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 2095 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2096 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2097 | ) |
| 2098 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2099 | |
| 2100 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2101 | add_executable(grpc_objective_c_plugin |
| 2102 | src/compiler/objective_c_plugin.cc |
| 2103 | ) |
| 2104 | |
| 2105 | target_include_directories(grpc_objective_c_plugin |
| 2106 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2107 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 2108 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2109 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2110 | PRIVATE ${ZLIB_ROOT_DIR} |
| 2111 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 2112 | ) |
| 2113 | |
| 2114 | target_link_libraries(grpc_objective_c_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2115 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2116 | grpc_plugin_support |
| 2117 | ) |
| 2118 | |
| 2119 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2120 | if (gRPC_INSTALL) |
| 2121 | install(TARGETS grpc_objective_c_plugin EXPORT gRPCTargets |
| 2122 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 2123 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2124 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2125 | ) |
| 2126 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2127 | |
| 2128 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 2129 | add_executable(grpc_php_plugin |
| 2130 | src/compiler/php_plugin.cc |
| 2131 | ) |
| 2132 | |
| 2133 | target_include_directories(grpc_php_plugin |
| 2134 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2135 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 2136 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2137 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2138 | PRIVATE ${ZLIB_ROOT_DIR} |
| 2139 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 2140 | ) |
| 2141 | |
| 2142 | target_link_libraries(grpc_php_plugin |
| 2143 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
| 2144 | grpc_plugin_support |
| 2145 | ) |
| 2146 | |
| 2147 | |
| 2148 | if (gRPC_INSTALL) |
| 2149 | install(TARGETS grpc_php_plugin EXPORT gRPCTargets |
| 2150 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 2151 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2152 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2153 | ) |
| 2154 | endif() |
| 2155 | |
| 2156 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2157 | add_executable(grpc_python_plugin |
| 2158 | src/compiler/python_plugin.cc |
| 2159 | ) |
| 2160 | |
| 2161 | target_include_directories(grpc_python_plugin |
| 2162 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2163 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 2164 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2165 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2166 | PRIVATE ${ZLIB_ROOT_DIR} |
| 2167 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 2168 | ) |
| 2169 | |
| 2170 | target_link_libraries(grpc_python_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2171 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2172 | grpc_plugin_support |
| 2173 | ) |
| 2174 | |
| 2175 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2176 | if (gRPC_INSTALL) |
| 2177 | install(TARGETS grpc_python_plugin EXPORT gRPCTargets |
| 2178 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 2179 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2180 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2181 | ) |
| 2182 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2183 | |
| 2184 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2185 | add_executable(grpc_ruby_plugin |
| 2186 | src/compiler/ruby_plugin.cc |
| 2187 | ) |
| 2188 | |
| 2189 | target_include_directories(grpc_ruby_plugin |
| 2190 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} |
| 2191 | PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include |
| 2192 | PRIVATE ${BORINGSSL_ROOT_DIR}/include |
| 2193 | PRIVATE ${PROTOBUF_ROOT_DIR}/src |
| 2194 | PRIVATE ${ZLIB_ROOT_DIR} |
| 2195 | PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib |
| 2196 | ) |
| 2197 | |
| 2198 | target_link_libraries(grpc_ruby_plugin |
Konstantin Podsvirov | 5baf725 | 2016-07-27 16:25:37 +0300 | [diff] [blame] | 2199 | ${_gRPC_PROTOBUF_PROTOC_LIBRARIES} |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2200 | grpc_plugin_support |
| 2201 | ) |
| 2202 | |
| 2203 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2204 | if (gRPC_INSTALL) |
| 2205 | install(TARGETS grpc_ruby_plugin EXPORT gRPCTargets |
| 2206 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 2207 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2208 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 2209 | ) |
| 2210 | endif() |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2211 | |
| 2212 | |
Tamas Berghammer | d798a7d | 2016-06-21 13:58:18 +0100 | [diff] [blame] | 2213 | |
| 2214 | |
| 2215 | |
Nicolas "Pixel" Noble | 2069fbc | 2016-08-18 23:29:56 +0200 | [diff] [blame] | 2216 | |
| 2217 | |
| 2218 | |
Arkadiy Shapkin | 40beb37 | 2016-08-17 14:42:36 +0300 | [diff] [blame] | 2219 | if (gRPC_INSTALL) |
| 2220 | install(EXPORT gRPCTargets |
| 2221 | DESTINATION ${CMAKE_INSTALL_CMAKEDIR} |
| 2222 | NAMESPACE gRPC:: |
| 2223 | ) |
| 2224 | endif() |
Konstantin Podsvirov | d2b8830 | 2016-07-27 23:43:47 +0300 | [diff] [blame] | 2225 | |
| 2226 | foreach(_config gRPCConfig gRPCConfigVersion) |
| 2227 | configure_file(tools/cmake/${_config}.cmake.in |
| 2228 | ${_config}.cmake @ONLY) |
| 2229 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${_config}.cmake |
| 2230 | DESTINATION ${CMAKE_INSTALL_CMAKEDIR} |
| 2231 | ) |
| 2232 | endforeach() |