CMakeLists.windows-x86_64.txt 732 B

123456789101112131415161718192021
  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(cpp-lfalloc-yt)
  7. target_compile_options(cpp-lfalloc-yt PRIVATE
  8. -DLFALLOC_YT
  9. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  10. )
  11. target_link_libraries(cpp-lfalloc-yt PUBLIC
  12. contrib-libs-cxxsupp
  13. cpp-malloc-api
  14. )
  15. target_sources(cpp-lfalloc-yt PRIVATE
  16. ${CMAKE_SOURCE_DIR}/library/cpp/lfalloc/lf_allocX64.cpp
  17. )