CMakeLists.linux-x86_64.txt 1.0 KB

1234567891011121314151617181920212223242526272829303132
  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. get_built_tool_path(
  7. TOOL_enum_parser_bin
  8. TOOL_enum_parser_dependency
  9. tools/enum_parser/enum_parser
  10. enum_parser
  11. )
  12. add_library(cpp-json-writer)
  13. target_link_libraries(cpp-json-writer PUBLIC
  14. contrib-libs-linux-headers
  15. contrib-libs-cxxsupp
  16. yutil
  17. cpp-json-common
  18. tools-enum_parser-enum_serialization_runtime
  19. )
  20. target_sources(cpp-json-writer PRIVATE
  21. ${CMAKE_SOURCE_DIR}/library/cpp/json/writer/json_value.cpp
  22. ${CMAKE_SOURCE_DIR}/library/cpp/json/writer/json.cpp
  23. )
  24. generate_enum_serilization(cpp-json-writer
  25. ${CMAKE_SOURCE_DIR}/library/cpp/json/writer/json_value.h
  26. INCLUDE_HEADERS
  27. library/cpp/json/writer/json_value.h
  28. )