CMakeLists.windows-x86_64.txt 1.8 KB

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