Advertisement
Guest User

Untitled

a guest
Mar 2nd, 2021
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.80 KB | None | 0 0
  1. # Generated by CMake
  2.  
  3. if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.5)
  4. message(FATAL_ERROR "CMake >= 2.6.0 required")
  5. endif()
  6. cmake_policy(PUSH)
  7. cmake_policy(VERSION 2.6)
  8. #----------------------------------------------------------------
  9. # Generated CMake target import file.
  10. #----------------------------------------------------------------
  11.  
  12. # Commands may need to know the format version.
  13. set(CMAKE_IMPORT_FILE_VERSION 1)
  14.  
  15. # Protect against multiple inclusion, which would fail when already imported targets are added once more.
  16. set(_targetsDefined)
  17. set(_targetsNotDefined)
  18. set(_expectedTargets)
  19. foreach(_expectedTarget gRPC::address_sorting gRPC::gpr gRPC::grpc gRPC::grpc_unsecure gRPC::grpc++ gRPC::grpc++_alts gRPC::grpc++_error_details gRPC::grpc++_reflection gRPC::grpc++_unsecure gRPC::grpc_plugin_support gRPC::grpcpp_channelz gRPC::upb gRPC::grpc_cpp_plugin gRPC::grpc_csharp_plugin gRPC::grpc_node_plugin gRPC::grpc_objective_c_plugin gRPC::grpc_php_plugin gRPC::grpc_python_plugin gRPC::grpc_ruby_plugin)
  20. list(APPEND _expectedTargets ${_expectedTarget})
  21. if(NOT TARGET ${_expectedTarget})
  22. list(APPEND _targetsNotDefined ${_expectedTarget})
  23. endif()
  24. if(TARGET ${_expectedTarget})
  25. list(APPEND _targetsDefined ${_expectedTarget})
  26. endif()
  27. endforeach()
  28. if("${_targetsDefined}" STREQUAL "${_expectedTargets}")
  29. unset(_targetsDefined)
  30. unset(_targetsNotDefined)
  31. unset(_expectedTargets)
  32. set(CMAKE_IMPORT_FILE_VERSION)
  33. cmake_policy(POP)
  34. return()
  35. endif()
  36. if(NOT "${_targetsDefined}" STREQUAL "")
  37. message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n")
  38. endif()
  39. unset(_targetsDefined)
  40. unset(_targetsNotDefined)
  41. unset(_expectedTargets)
  42.  
  43.  
  44. # Compute the installation prefix relative to this file.
  45. get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
  46. # Use original install prefix when loaded through a
  47. # cross-prefix symbolic link such as /lib -> /usr/lib.
  48. get_filename_component(_realCurr "${_IMPORT_PREFIX}" REALPATH)
  49. get_filename_component(_realOrig "/usr/lib/cmake/grpc" REALPATH)
  50. if(_realCurr STREQUAL _realOrig)
  51. set(_IMPORT_PREFIX "/usr/lib/cmake/grpc")
  52. endif()
  53. unset(_realOrig)
  54. unset(_realCurr)
  55. get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
  56. get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
  57. get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
  58. if(_IMPORT_PREFIX STREQUAL "/")
  59. set(_IMPORT_PREFIX "")
  60. endif()
  61.  
  62. # Create imported target gRPC::address_sorting
  63. add_library(gRPC::address_sorting SHARED IMPORTED)
  64.  
  65. set_target_properties(gRPC::address_sorting PROPERTIES
  66. INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
  67. INTERFACE_LINK_LIBRARIES "dl;rt;m;pthread"
  68. )
  69.  
  70. # Create imported target gRPC::gpr
  71. add_library(gRPC::gpr SHARED IMPORTED)
  72.  
  73. set_target_properties(gRPC::gpr PROPERTIES
  74. INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
  75. INTERFACE_LINK_LIBRARIES "dl;rt;m;pthread;absl::optional;absl::time;absl::synchronization;absl::strings;absl::str_format;absl::status;absl::memory;absl::base"
  76. )
  77.  
  78. # Create imported target gRPC::grpc
  79. add_library(gRPC::grpc SHARED IMPORTED)
  80.  
  81. set_target_properties(gRPC::grpc PROPERTIES
  82. INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
  83. INTERFACE_LINK_LIBRARIES "OpenSSL::SSL;OpenSSL::Crypto;ZLIB::ZLIB;c-ares::cares;gRPC::address_sorting;re2::re2;gRPC::upb;dl;rt;m;pthread;gRPC::gpr;gRPC::address_sorting;gRPC::upb;absl::optional;absl::strings;absl::statusor;absl::status;absl::bind_front;absl::inlined_vector;absl::flat_hash_set;absl::flat_hash_map"
  84. )
  85.  
  86. # Create imported target gRPC::grpc_unsecure
  87. add_library(gRPC::grpc_unsecure SHARED IMPORTED)
  88.  
  89. set_target_properties(gRPC::grpc_unsecure PROPERTIES
  90. INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
  91. INTERFACE_LINK_LIBRARIES "ZLIB::ZLIB;c-ares::cares;gRPC::address_sorting;re2::re2;gRPC::upb;dl;rt;m;pthread;gRPC::gpr;gRPC::address_sorting;gRPC::upb;absl::optional;absl::strings;absl::statusor;absl::status;absl::inlined_vector;absl::flat_hash_map"
  92. )
  93.  
  94. # Create imported target gRPC::grpc++
  95. add_library(gRPC::grpc++ SHARED IMPORTED)
  96.  
  97. set_target_properties(gRPC::grpc++ PROPERTIES
  98. INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
  99. INTERFACE_LINK_LIBRARIES "protobuf::libprotobuf;dl;rt;m;pthread;gRPC::grpc;gRPC::gpr;gRPC::address_sorting;gRPC::upb"
  100. )
  101.  
  102. # Create imported target gRPC::grpc++_alts
  103. add_library(gRPC::grpc++_alts SHARED IMPORTED)
  104.  
  105. set_target_properties(gRPC::grpc++_alts PROPERTIES
  106. INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
  107. INTERFACE_LINK_LIBRARIES "protobuf::libprotobuf;dl;rt;m;pthread;gRPC::grpc++;gRPC::grpc;gRPC::gpr;gRPC::address_sorting;gRPC::upb"
  108. )
  109.  
  110. # Create imported target gRPC::grpc++_error_details
  111. add_library(gRPC::grpc++_error_details SHARED IMPORTED)
  112.  
  113. set_target_properties(gRPC::grpc++_error_details PROPERTIES
  114. INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
  115. INTERFACE_LINK_LIBRARIES "protobuf::libprotobuf;dl;rt;m;pthread;gRPC::grpc++;gRPC::grpc;gRPC::gpr;gRPC::address_sorting;gRPC::upb"
  116. )
  117.  
  118. # Create imported target gRPC::grpc++_reflection
  119. add_library(gRPC::grpc++_reflection SHARED IMPORTED)
  120.  
  121. set_target_properties(gRPC::grpc++_reflection PROPERTIES
  122. INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
  123. INTERFACE_LINK_LIBRARIES "protobuf::libprotobuf;dl;rt;m;pthread;gRPC::grpc++;gRPC::grpc;gRPC::gpr;gRPC::address_sorting;gRPC::upb"
  124. )
  125.  
  126. # Create imported target gRPC::grpc++_unsecure
  127. add_library(gRPC::grpc++_unsecure SHARED IMPORTED)
  128.  
  129. set_target_properties(gRPC::grpc++_unsecure PROPERTIES
  130. INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
  131. INTERFACE_LINK_LIBRARIES "protobuf::libprotobuf;dl;rt;m;pthread;gRPC::grpc_unsecure;gRPC::gpr;gRPC::address_sorting;gRPC::upb"
  132. )
  133.  
  134. # Create imported target gRPC::grpc_plugin_support
  135. add_library(gRPC::grpc_plugin_support SHARED IMPORTED)
  136.  
  137. set_target_properties(gRPC::grpc_plugin_support PROPERTIES
  138. INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
  139. INTERFACE_LINK_LIBRARIES "protobuf::libprotoc;protobuf::libprotobuf;dl;rt;m;pthread"
  140. )
  141.  
  142. # Create imported target gRPC::grpcpp_channelz
  143. add_library(gRPC::grpcpp_channelz SHARED IMPORTED)
  144.  
  145. set_target_properties(gRPC::grpcpp_channelz PROPERTIES
  146. INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
  147. INTERFACE_LINK_LIBRARIES "protobuf::libprotobuf;dl;rt;m;pthread;gRPC::grpc++;gRPC::grpc;gRPC::gpr;gRPC::address_sorting;gRPC::upb"
  148. )
  149.  
  150. # Create imported target gRPC::upb
  151. add_library(gRPC::upb SHARED IMPORTED)
  152.  
  153. set_target_properties(gRPC::upb PROPERTIES
  154. INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
  155. INTERFACE_LINK_LIBRARIES "dl;rt;m;pthread"
  156. )
  157.  
  158. # Create imported target gRPC::grpc_cpp_plugin
  159. add_executable(gRPC::grpc_cpp_plugin IMPORTED)
  160.  
  161. # Create imported target gRPC::grpc_csharp_plugin
  162. add_executable(gRPC::grpc_csharp_plugin IMPORTED)
  163.  
  164. # Create imported target gRPC::grpc_node_plugin
  165. add_executable(gRPC::grpc_node_plugin IMPORTED)
  166.  
  167. # Create imported target gRPC::grpc_objective_c_plugin
  168. add_executable(gRPC::grpc_objective_c_plugin IMPORTED)
  169.  
  170. # Create imported target gRPC::grpc_php_plugin
  171. add_executable(gRPC::grpc_php_plugin IMPORTED)
  172.  
  173. # Create imported target gRPC::grpc_python_plugin
  174. add_executable(gRPC::grpc_python_plugin IMPORTED)
  175.  
  176. # Create imported target gRPC::grpc_ruby_plugin
  177. add_executable(gRPC::grpc_ruby_plugin IMPORTED)
  178.  
  179. if(CMAKE_VERSION VERSION_LESS 2.8.12)
  180. message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.")
  181. endif()
  182.  
  183. # Load information for each installed configuration.
  184. get_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
  185. file(GLOB CONFIG_FILES "${_DIR}/gRPCTargets-*.cmake")
  186. foreach(f ${CONFIG_FILES})
  187. include(${f})
  188. endforeach()
  189.  
  190. # Cleanup temporary variables.
  191. set(_IMPORT_PREFIX)
  192.  
  193. # Loop over all imported files and verify that they actually exist
  194. foreach(target ${_IMPORT_CHECK_TARGETS} )
  195. foreach(file ${_IMPORT_CHECK_FILES_FOR_${target}} )
  196. if(NOT EXISTS "${file}" )
  197. message(FATAL_ERROR "The imported target \"${target}\" references the file
  198. \"${file}\"
  199. but this file does not exist. Possible reasons include:
  200. * The file was deleted, renamed, or moved to another location.
  201. * An install or uninstall procedure did not complete successfully.
  202. * The installation package was faulty and contained
  203. \"${CMAKE_CURRENT_LIST_FILE}\"
  204. but not all the files it references.
  205. ")
  206. endif()
  207. endforeach()
  208. unset(_IMPORT_CHECK_FILES_FOR_${target})
  209. endforeach()
  210. unset(_IMPORT_CHECK_TARGETS)
  211.  
  212. # This file does not depend on other imported targets which have
  213. # been exported from the same project but in a separate export set.
  214.  
  215. # Commands beyond this point should not need to know the version.
  216. set(CMAKE_IMPORT_FILE_VERSION)
  217. cmake_policy(POP)
  218.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement