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