CMakeLists.darwin-arm64.txt 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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(libs-poco-JSON)
  7. target_compile_options(libs-poco-JSON PRIVATE
  8. -DPOCO_ENABLE_CPP11
  9. -DPOCO_ENABLE_CPP14
  10. -DPOCO_NO_AUTOMATIC_LIBS
  11. -DPOCO_UNBUNDLED
  12. -DPOCO_OS_FAMILY_UNIX
  13. -DPOCO_NO_STAT64
  14. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  15. )
  16. target_include_directories(libs-poco-JSON PUBLIC
  17. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/include
  18. )
  19. target_include_directories(libs-poco-JSON PRIVATE
  20. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
  21. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src
  22. )
  23. target_link_libraries(libs-poco-JSON PUBLIC
  24. contrib-libs-cxxsupp
  25. libs-poco-Foundation
  26. )
  27. target_sources(libs-poco-JSON PRIVATE
  28. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Array.cpp
  29. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Handler.cpp
  30. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/JSONException.cpp
  31. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Object.cpp
  32. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/ParseHandler.cpp
  33. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Parser.cpp
  34. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/ParserImpl.cpp
  35. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/PrintHandler.cpp
  36. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Query.cpp
  37. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Stringifier.cpp
  38. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Template.cpp
  39. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/TemplateCache.cpp
  40. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/pdjson.c
  41. )