CMakeLists.linux-x86_64.txt 1.5 KB

123456789101112131415161718192021222324252627282930313233
  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(contrib-libs-libc_compat)
  7. target_compile_options(contrib-libs-libc_compat PRIVATE
  8. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  9. )
  10. target_include_directories(contrib-libs-libc_compat PUBLIC
  11. ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/include/readpassphrase
  12. ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/reallocarray
  13. ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/random
  14. )
  15. target_link_libraries(contrib-libs-libc_compat PUBLIC
  16. contrib-libs-linux-headers
  17. cpp-sanitizer-include
  18. )
  19. target_sources(contrib-libs-libc_compat PRIVATE
  20. ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/string.c
  21. ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/readpassphrase.c
  22. ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/explicit_bzero.c
  23. ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/memfd_create.c
  24. ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/strlcat.c
  25. ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/strlcpy.c
  26. ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/reallocarray/reallocarray.c
  27. ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/random/getrandom.c
  28. ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/random/getentropy.c
  29. )