CMakeLists.windows-x86_64.txt 1.0 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(contrib-libs-snappy)
  7. target_compile_options(contrib-libs-snappy PRIVATE
  8. -DHAVE_CONFIG_H
  9. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  10. )
  11. target_include_directories(contrib-libs-snappy PUBLIC
  12. ${CMAKE_SOURCE_DIR}/contrib/libs/snappy/include
  13. )
  14. target_link_libraries(contrib-libs-snappy PUBLIC
  15. contrib-libs-cxxsupp
  16. yutil
  17. cpp-sanitizer-include
  18. )
  19. target_sources(contrib-libs-snappy PRIVATE
  20. ${CMAKE_SOURCE_DIR}/contrib/libs/snappy/snappy-c.cc
  21. ${CMAKE_SOURCE_DIR}/contrib/libs/snappy/snappy-sinksource.cc
  22. ${CMAKE_SOURCE_DIR}/contrib/libs/snappy/snappy-stubs-internal.cc
  23. ${CMAKE_SOURCE_DIR}/contrib/libs/snappy/snappy.cc
  24. )