
# This file was generated by the build system used internally in Yandex and called "ya"
# (https://github.com/yandex/yatool).
#
# Configuration files of ya build system are usually named ya.make. If ya.make file is present
# at the root of the repository, then this repository supports ya build. 
# 
# If the repository supports both CMake and ya build configurations, please modify both of them.
#
# If only CMake build configuration is supported then modify only CMake files and note that only
# simple modifications are allowed like adding source-files to targets or adding simple properties
# like target_include_directories. These modifications will be ported to original ya.make files
# by maintainers. Any complex modifications which can't be easily ported back to the ya build 
# system may be rejected.

add_library(cpp-yt-memory)


target_compile_options(cpp-yt-memory PRIVATE
  -Wdeprecated-this-capture
)

target_link_libraries(cpp-yt-memory PUBLIC
  contrib-libs-cxxsupp
  yutil
  cpp-sanitizer-include
  cpp-yt-assert
  cpp-yt-misc
  cpp-yt-malloc
)

target_sources(cpp-yt-memory PRIVATE
  ${PROJECT_SOURCE_DIR}/library/cpp/yt/memory/blob.cpp
  ${PROJECT_SOURCE_DIR}/library/cpp/yt/memory/chunked_input_stream.cpp
  ${PROJECT_SOURCE_DIR}/library/cpp/yt/memory/chunked_memory_allocator.cpp
  ${PROJECT_SOURCE_DIR}/library/cpp/yt/memory/chunked_memory_pool.cpp
  ${PROJECT_SOURCE_DIR}/library/cpp/yt/memory/chunked_memory_pool_output.cpp
  ${PROJECT_SOURCE_DIR}/library/cpp/yt/memory/chunked_output_stream.cpp
  ${PROJECT_SOURCE_DIR}/library/cpp/yt/memory/memory_tag.cpp
  ${PROJECT_SOURCE_DIR}/library/cpp/yt/memory/ref.cpp
  ${PROJECT_SOURCE_DIR}/library/cpp/yt/memory/ref_tracked.cpp
  ${PROJECT_SOURCE_DIR}/library/cpp/yt/memory/safe_memory_reader.cpp
  ${PROJECT_SOURCE_DIR}/library/cpp/yt/memory/shared_range.cpp
)






