CMakeLists.linux-x86_64.txt 1.5 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. 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(library-cpp-scheme)
  13. target_link_libraries(library-cpp-scheme PUBLIC
  14. contrib-libs-linux-headers
  15. contrib-libs-cxxsupp
  16. yutil
  17. contrib-libs-protobuf
  18. library-cpp-json
  19. cpp-string_utils-relaxed_escaper
  20. tools-enum_parser-enum_serialization_runtime
  21. )
  22. target_sources(library-cpp-scheme PRIVATE
  23. ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scheme_cast.h
  24. ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scimpl.h
  25. ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scimpl_defs.h
  26. ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scheme.cpp
  27. ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scimpl_private.cpp
  28. ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scimpl_protobuf.cpp
  29. ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scimpl_json_read.cpp
  30. ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scimpl_json_write.cpp
  31. )
  32. generate_enum_serilization(library-cpp-scheme
  33. ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scheme.h
  34. INCLUDE_HEADERS
  35. library/cpp/scheme/scheme.h
  36. )
  37. target_ragel_lexers(library-cpp-scheme
  38. PRIVATE
  39. ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scimpl_select.rl6
  40. -CG2
  41. )