CMakeLists.txt 1.0 KB

1234567891011121314151617181920212223242526272829
  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(cpp-yson-node)
  7. target_link_libraries(cpp-yson-node PUBLIC
  8. contrib-libs-cxxsupp
  9. yutil
  10. tools-enum_parser-enum_serialization_runtime
  11. library-cpp-yson
  12. cpp-yson-json
  13. )
  14. target_sources(cpp-yson-node PRIVATE
  15. ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node.cpp
  16. ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node_io.cpp
  17. ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node_builder.cpp
  18. ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node_visitor.cpp
  19. ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/serialize.cpp
  20. )
  21. generate_enum_serilization(cpp-yson-node
  22. ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node.h
  23. INCLUDE_HEADERS
  24. library/cpp/yson/node/node.h
  25. )