CMakeLists.linux-x86_64.txt 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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-libpq)
  7. target_compile_options(contrib-libs-libpq PRIVATE
  8. -DFRONTEND
  9. -DUNSAFE_STAT_OK
  10. -D_POSIX_PTHREAD_SEMANTICS
  11. -D_REENTRANT
  12. -D_THREAD_SAFE
  13. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  14. )
  15. target_include_directories(contrib-libs-libpq PUBLIC
  16. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/include
  17. )
  18. target_include_directories(contrib-libs-libpq PRIVATE
  19. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/backend
  20. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common
  21. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq
  22. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port
  23. )
  24. target_link_libraries(contrib-libs-libpq PUBLIC
  25. contrib-libs-linux-headers
  26. contrib-libs-libc_compat
  27. contrib-libs-openssl
  28. contrib-libs-zlib
  29. )
  30. target_sources(contrib-libs-libpq PRIVATE
  31. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/archive.c
  32. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/base64.c
  33. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/checksum_helper.c
  34. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/compression.c
  35. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/config_info.c
  36. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/controldata_utils.c
  37. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/cryptohash_openssl.c
  38. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/d2s.c
  39. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/encnames.c
  40. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/exec.c
  41. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/f2s.c
  42. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/fe_memutils.c
  43. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/file_perm.c
  44. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/file_utils.c
  45. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/hashfn.c
  46. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/hmac_openssl.c
  47. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/ip.c
  48. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/jsonapi.c
  49. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/keywords.c
  50. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/kwlookup.c
  51. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/link-canary.c
  52. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/logging.c
  53. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/md5_common.c
  54. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/percentrepl.c
  55. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/pg_get_line.c
  56. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/pg_lzcompress.c
  57. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/pg_prng.c
  58. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/pgfnames.c
  59. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/protocol_openssl.c
  60. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/psprintf.c
  61. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/relpath.c
  62. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/restricted_token.c
  63. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/rmtree.c
  64. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/saslprep.c
  65. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/scram-common.c
  66. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/sprompt.c
  67. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/string.c
  68. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/stringinfo.c
  69. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/unicode_norm.c
  70. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/username.c
  71. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/wait_error.c
  72. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/wchar.c
  73. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq/fe-auth-scram.c
  74. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq/fe-auth.c
  75. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq/fe-connect.c
  76. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq/fe-exec.c
  77. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq/fe-lobj.c
  78. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq/fe-misc.c
  79. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq/fe-print.c
  80. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq/fe-protocol3.c
  81. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq/fe-secure-common.c
  82. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq/fe-secure-openssl.c
  83. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq/fe-secure.c
  84. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq/fe-trace.c
  85. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq/libpq-events.c
  86. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq/pqexpbuffer.c
  87. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/bsearch_arg.c
  88. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/chklocale.c
  89. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/getpeereid.c
  90. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/inet_net_ntop.c
  91. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/noblock.c
  92. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/path.c
  93. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/pg_bitutils.c
  94. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/pg_crc32c_sb8.c
  95. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/pg_strong_random.c
  96. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/pgcheckdir.c
  97. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/pgmkdirp.c
  98. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/pgsleep.c
  99. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/pgstrcasecmp.c
  100. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/pgstrsignal.c
  101. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/pqsignal.c
  102. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/qsort.c
  103. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/qsort_arg.c
  104. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/quotes.c
  105. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/snprintf.c
  106. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/strerror.c
  107. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/tar.c
  108. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/thread.c
  109. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/pg_crc32c_sse42.c
  110. ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/pg_crc32c_sse42_choose.c
  111. )