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