# This file was generated by the YaTool build system (https://github.com/yandex/yatool),
# from a source YaTool build configuration provided in ya.make files.
#
# 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.
#
# Please refer to the build instructions in the repository for more information about manual
# changes in this file.

add_executable(catboost-private-libs-quantization-ut)


target_include_directories(catboost-private-libs-quantization-ut PRIVATE
  ${PROJECT_SOURCE_DIR}/catboost/private/libs/quantization
)

target_link_libraries(catboost-private-libs-quantization-ut PUBLIC
  contrib-libs-linux-headers
  contrib-libs-cxxsupp
  yutil
  build-cow-on
  cpp-testing-unittest_main
  private-libs-quantization
)

target_allocator(catboost-private-libs-quantization-ut
  system_allocator
)

target_link_options(catboost-private-libs-quantization-ut PRIVATE
  -ldl
  -lrt
  -Wl,--no-as-needed
  -fPIC
  -fPIC
  -lpthread
  -lrt
  -ldl
)

target_sources(catboost-private-libs-quantization-ut PRIVATE
  ${PROJECT_SOURCE_DIR}/catboost/private/libs/quantization/ut/utils_ut.cpp
)


set_property(
  TARGET
  catboost-private-libs-quantization-ut
  PROPERTY
  SPLIT_FACTOR
  1
)

add_yunittest(
  NAME
  catboost-private-libs-quantization-ut
  TEST_TARGET
  catboost-private-libs-quantization-ut
  TEST_ARG
  --print-before-suite
  --print-before-test
  --fork-tests
  --print-times
  --show-fails
)

set_yunittest_property(
  TEST
  catboost-private-libs-quantization-ut
  PROPERTY
  LABELS
  SMALL
)

set_yunittest_property(
  TEST
  catboost-private-libs-quantization-ut
  PROPERTY
  ENVIRONMENT
)

vcs_info(catboost-private-libs-quantization-ut)

set_yunittest_property(
  TEST
  catboost-private-libs-quantization-ut
  PROPERTY
  PROCESSORS
  1
)
