CMakeLists.darwin-x86_64.txt 1.1 KB

12345678910111213141516171819202122232425262728
  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_library(libs-libevent-event_extra)
  7. target_compile_options(libs-libevent-event_extra PRIVATE
  8. -DHAVE_CONFIG_H
  9. -DEVENT__HAVE_STRLCPY=1
  10. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  11. )
  12. target_include_directories(libs-libevent-event_extra PRIVATE
  13. ${CMAKE_SOURCE_DIR}/contrib/libs/libevent
  14. ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/include
  15. )
  16. target_link_libraries(libs-libevent-event_extra PUBLIC
  17. contrib-libs-libc_compat
  18. )
  19. target_sources(libs-libevent-event_extra PRIVATE
  20. ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/evdns.c
  21. ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/event_tagging.c
  22. ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/evrpc.c
  23. ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/http.c
  24. )