CMakeLists.txt 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # This file was gererated 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(yson_pull)
  7. target_link_libraries(yson_pull PUBLIC
  8. contrib-libs-cxxsupp
  9. yutil
  10. tools-enum_parser-enum_serialization_runtime
  11. )
  12. target_sources(yson_pull PRIVATE
  13. ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/consumer.cpp
  14. ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/event.cpp
  15. ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/exceptions.cpp
  16. ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/input.cpp
  17. ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/output.cpp
  18. ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/read_ops.cpp
  19. ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/reader.cpp
  20. ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/scalar.cpp
  21. ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/writer.cpp
  22. )
  23. generate_enum_serilization(yson_pull
  24. ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/event.h
  25. INCLUDE_HEADERS
  26. library/cpp/yson_pull/event.h
  27. )
  28. generate_enum_serilization(yson_pull
  29. ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/scalar.h
  30. INCLUDE_HEADERS
  31. library/cpp/yson_pull/scalar.h
  32. )