ya.make 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. # Generated by devtools/yamaker.
  2. LIBRARY()
  3. LICENSE(BSL-1.0)
  4. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  5. PEERDIR(
  6. contrib/libs/poco/Foundation
  7. contrib/libs/poco/Net
  8. )
  9. ADDINCL(
  10. GLOBAL contrib/libs/poco/MongoDB/include
  11. contrib/libs/poco/Foundation/include
  12. contrib/libs/poco/MongoDB/src
  13. contrib/libs/poco/Net/include
  14. )
  15. NO_COMPILER_WARNINGS()
  16. NO_UTIL()
  17. CFLAGS(
  18. -DPOCO_ENABLE_CPP11
  19. -DPOCO_ENABLE_CPP14
  20. -DPOCO_NO_AUTOMATIC_LIBS
  21. -DPOCO_UNBUNDLED
  22. )
  23. IF (OS_DARWIN)
  24. CFLAGS(
  25. -DPOCO_OS_FAMILY_UNIX
  26. -DPOCO_NO_STAT64
  27. )
  28. ELSEIF (OS_LINUX)
  29. CFLAGS(
  30. -DPOCO_OS_FAMILY_UNIX
  31. -DPOCO_HAVE_FD_EPOLL
  32. )
  33. ELSEIF (OS_WINDOWS)
  34. CFLAGS(
  35. -DPOCO_OS_FAMILY_WINDOWS
  36. )
  37. ENDIF()
  38. SRCS(
  39. src/Array.cpp
  40. src/Binary.cpp
  41. src/Connection.cpp
  42. src/Cursor.cpp
  43. src/Database.cpp
  44. src/DeleteRequest.cpp
  45. src/Document.cpp
  46. src/Element.cpp
  47. src/GetMoreRequest.cpp
  48. src/InsertRequest.cpp
  49. src/JavaScriptCode.cpp
  50. src/KillCursorsRequest.cpp
  51. src/Message.cpp
  52. src/MessageHeader.cpp
  53. src/ObjectId.cpp
  54. src/QueryRequest.cpp
  55. src/RegularExpression.cpp
  56. src/ReplicaSet.cpp
  57. src/RequestMessage.cpp
  58. src/ResponseMessage.cpp
  59. src/UpdateRequest.cpp
  60. )
  61. END()