CMakeLists.linux-x86_64.txt 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  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_subdirectory(actors)
  7. get_built_tool_path(
  8. TOOL_enum_parser_bin
  9. TOOL_enum_parser_dependency
  10. tools/enum_parser/enum_parser
  11. enum_parser
  12. )
  13. add_library(cpp-grpc-server)
  14. target_link_libraries(cpp-grpc-server PUBLIC
  15. contrib-libs-linux-headers
  16. contrib-libs-cxxsupp
  17. yutil
  18. tools-enum_parser-enum_serialization_runtime
  19. contrib-libs-grpc
  20. monlib-dynamic_counters-percentile
  21. )
  22. target_sources(cpp-grpc-server PRIVATE
  23. ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/event_callback.cpp
  24. ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/grpc_request.cpp
  25. ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/grpc_server.cpp
  26. ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/grpc_counters.cpp
  27. )
  28. generate_enum_serilization(cpp-grpc-server
  29. ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/grpc_request_base.h
  30. INCLUDE_HEADERS
  31. library/cpp/grpc/server/grpc_request_base.h
  32. )