ya.make 984 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. )
  8. ADDINCL(
  9. GLOBAL contrib/libs/poco/JSON/include
  10. contrib/libs/poco/Foundation/include
  11. contrib/libs/poco/JSON/src
  12. )
  13. NO_COMPILER_WARNINGS()
  14. NO_UTIL()
  15. CFLAGS(
  16. -DPOCO_ENABLE_CPP11
  17. -DPOCO_ENABLE_CPP14
  18. -DPOCO_NO_AUTOMATIC_LIBS
  19. -DPOCO_UNBUNDLED
  20. )
  21. IF (OS_DARWIN)
  22. CFLAGS(
  23. -DPOCO_OS_FAMILY_UNIX
  24. -DPOCO_NO_STAT64
  25. )
  26. ELSEIF (OS_LINUX)
  27. CFLAGS(
  28. -DPOCO_OS_FAMILY_UNIX
  29. -DPOCO_HAVE_FD_EPOLL
  30. )
  31. ELSEIF (OS_WINDOWS)
  32. CFLAGS(
  33. -DPOCO_OS_FAMILY_WINDOWS
  34. )
  35. ENDIF()
  36. SRCS(
  37. src/Array.cpp
  38. src/Handler.cpp
  39. src/JSONException.cpp
  40. src/Object.cpp
  41. src/ParseHandler.cpp
  42. src/Parser.cpp
  43. src/ParserImpl.cpp
  44. src/PrintHandler.cpp
  45. src/Query.cpp
  46. src/Stringifier.cpp
  47. src/Template.cpp
  48. src/TemplateCache.cpp
  49. src/pdjson.c
  50. )
  51. END()