CMakeLists.linux-x86_64.txt 975 B

12345678910111213141516171819202122232425
  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-tcmalloc-malloc_extension)
  7. target_compile_options(libs-tcmalloc-malloc_extension PRIVATE
  8. -DTCMALLOC_256K_PAGES
  9. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  10. )
  11. target_include_directories(libs-tcmalloc-malloc_extension PUBLIC
  12. ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc
  13. )
  14. target_link_libraries(libs-tcmalloc-malloc_extension PUBLIC
  15. contrib-libs-linux-headers
  16. contrib-libs-cxxsupp
  17. contrib-restricted-abseil-cpp
  18. )
  19. target_sources(libs-tcmalloc-malloc_extension PRIVATE
  20. ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/malloc_extension.cc
  21. )