CMakeLists.windows-x86_64.txt 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. # This file was generated by the build system used internally in the Yandex monorepo.
  2. # Only simple modifications are allowed (adding source-files to targets, adding simple properties
  3. # like target_include_directories). These modifications will be ported to original
  4. # ya.make files by maintainers. Any complex modifications which can't be ported back to the
  5. # original buildsystem will not be accepted.
  6. add_library(contrib-libs-protobuf)
  7. target_compile_options(contrib-libs-protobuf PRIVATE
  8. -DHAVE_CONFIG_H
  9. -DHAVE_PTHREAD=1
  10. -DHAVE_ZLIB=1
  11. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  12. )
  13. target_include_directories(contrib-libs-protobuf PUBLIC
  14. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
  15. )
  16. target_link_libraries(contrib-libs-protobuf PUBLIC
  17. contrib-libs-cxxsupp
  18. yutil
  19. contrib-libs-zlib
  20. cpp-sanitizer-include
  21. )
  22. target_sources(contrib-libs-protobuf PRIVATE
  23. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/any.cc
  24. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/any.pb.cc
  25. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/any_lite.cc
  26. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/api.pb.cc
  27. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/arena.cc
  28. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/arenastring.cc
  29. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/descriptor.cc
  30. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/descriptor.pb.cc
  31. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/descriptor_database.cc
  32. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/duration.pb.cc
  33. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/dynamic_message.cc
  34. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/empty.pb.cc
  35. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/extension_set.cc
  36. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/extension_set_heavy.cc
  37. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/field_mask.pb.cc
  38. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/generated_enum_util.cc
  39. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/generated_message_bases.cc
  40. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/generated_message_reflection.cc
  41. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/generated_message_table_driven.cc
  42. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/generated_message_table_driven_lite.cc
  43. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/generated_message_tctable_full.cc
  44. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/generated_message_tctable_lite.cc
  45. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/implicit_weak_message.cc
  46. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/inlined_string_field.cc
  47. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/io/coded_stream.cc
  48. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/io/gzip_stream.cc
  49. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/io/io_win32.cc
  50. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/io/printer.cc
  51. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/io/strtod.cc
  52. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/io/tokenizer.cc
  53. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/io/zero_copy_stream.cc
  54. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc
  55. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc
  56. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/json_util.cc
  57. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/map.cc
  58. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/map_field.cc
  59. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/message.cc
  60. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/message_lite.cc
  61. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/messagext.cc
  62. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/parse_context.cc
  63. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/reflection_ops.cc
  64. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/repeated_field.cc
  65. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/repeated_ptr_field.cc
  66. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/service.cc
  67. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/source_context.pb.cc
  68. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/struct.pb.cc
  69. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/stubs/bytestream.cc
  70. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/stubs/common.cc
  71. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/stubs/int128.cc
  72. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/stubs/status.cc
  73. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/stubs/statusor.cc
  74. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/stubs/stringpiece.cc
  75. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/stubs/stringprintf.cc
  76. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/stubs/structurally_valid.cc
  77. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/stubs/strutil.cc
  78. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/stubs/substitute.cc
  79. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/stubs/time.cc
  80. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/text_format.cc
  81. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/timestamp.pb.cc
  82. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/type.pb.cc
  83. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/unknown_field_set.cc
  84. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/util/delimited_message_util.cc
  85. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/util/field_comparator.cc
  86. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/util/field_mask_util.cc
  87. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/util/internal/datapiece.cc
  88. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/util/internal/default_value_objectwriter.cc
  89. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/util/internal/error_listener.cc
  90. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc
  91. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/util/internal/json_escaping.cc
  92. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/util/internal/json_objectwriter.cc
  93. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc
  94. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/util/internal/object_writer.cc
  95. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/util/internal/proto_writer.cc
  96. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/util/internal/protostream_objectsource.cc
  97. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc
  98. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/util/internal/type_info.cc
  99. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/util/internal/utility.cc
  100. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/util/json_util.cc
  101. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/util/message_differencer.cc
  102. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/util/time_util.cc
  103. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/util/type_resolver_util.cc
  104. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/wire_format.cc
  105. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/wire_format_lite.cc
  106. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/wrappers.pb.cc
  107. )
  108. copy_file(
  109. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/any.proto
  110. ${CMAKE_BINARY_DIR}/contrib/libs/protobuf/src/google/protobuf/any.proto
  111. )
  112. copy_file(
  113. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/api.proto
  114. ${CMAKE_BINARY_DIR}/contrib/libs/protobuf/src/google/protobuf/api.proto
  115. )
  116. copy_file(
  117. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/descriptor.proto
  118. ${CMAKE_BINARY_DIR}/contrib/libs/protobuf/src/google/protobuf/descriptor.proto
  119. )
  120. copy_file(
  121. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/duration.proto
  122. ${CMAKE_BINARY_DIR}/contrib/libs/protobuf/src/google/protobuf/duration.proto
  123. )
  124. copy_file(
  125. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/empty.proto
  126. ${CMAKE_BINARY_DIR}/contrib/libs/protobuf/src/google/protobuf/empty.proto
  127. )
  128. copy_file(
  129. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/field_mask.proto
  130. ${CMAKE_BINARY_DIR}/contrib/libs/protobuf/src/google/protobuf/field_mask.proto
  131. )
  132. copy_file(
  133. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/source_context.proto
  134. ${CMAKE_BINARY_DIR}/contrib/libs/protobuf/src/google/protobuf/source_context.proto
  135. )
  136. copy_file(
  137. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/struct.proto
  138. ${CMAKE_BINARY_DIR}/contrib/libs/protobuf/src/google/protobuf/struct.proto
  139. )
  140. copy_file(
  141. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/timestamp.proto
  142. ${CMAKE_BINARY_DIR}/contrib/libs/protobuf/src/google/protobuf/timestamp.proto
  143. )
  144. copy_file(
  145. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/type.proto
  146. ${CMAKE_BINARY_DIR}/contrib/libs/protobuf/src/google/protobuf/type.proto
  147. )
  148. copy_file(
  149. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/wrappers.proto
  150. ${CMAKE_BINARY_DIR}/contrib/libs/protobuf/src/google/protobuf/wrappers.proto
  151. )
  152. add_global_library_for(contrib-libs-protobuf.global contrib-libs-protobuf)
  153. target_compile_options(contrib-libs-protobuf.global PRIVATE
  154. -DHAVE_CONFIG_H
  155. -DHAVE_PTHREAD=1
  156. -DHAVE_ZLIB=1
  157. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  158. )
  159. target_include_directories(contrib-libs-protobuf.global PUBLIC
  160. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
  161. )
  162. target_link_libraries(contrib-libs-protobuf.global PUBLIC
  163. contrib-libs-cxxsupp
  164. yutil
  165. contrib-libs-zlib
  166. cpp-sanitizer-include
  167. )
  168. target_sources(contrib-libs-protobuf.global PRIVATE
  169. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/generated_message_util.cc
  170. )