CMakeLists.txt 1008 B

12345678910111213141516171819202122232425262728293031
  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-lwtrace-protos)
  7. target_link_libraries(cpp-lwtrace-protos PUBLIC
  8. contrib-libs-cxxsupp
  9. yutil
  10. contrib-libs-protobuf
  11. )
  12. target_proto_messages(cpp-lwtrace-protos PRIVATE
  13. ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/protos/lwtrace.proto
  14. )
  15. target_proto_addincls(cpp-lwtrace-protos
  16. ./
  17. ${CMAKE_SOURCE_DIR}/
  18. ${CMAKE_BINARY_DIR}
  19. ${CMAKE_SOURCE_DIR}
  20. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
  21. ${CMAKE_BINARY_DIR}
  22. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
  23. )
  24. target_proto_outs(cpp-lwtrace-protos
  25. --cpp_out=${CMAKE_BINARY_DIR}/
  26. --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
  27. )