
# This file was generated by the build system used internally in the Yandex monorepo.
# Only simple modifications are allowed (adding source-files to targets, 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 ported back to the
# original buildsystem will not be accepted.


add_subdirectory(ut)
get_built_tool_path(
  TOOL_enum_parser_bin
  TOOL_enum_parser_dependency
  tools/enum_parser/enum_parser
  enum_parser
)

add_library(catboost-libs-dataset_statistics)
target_link_libraries(catboost-libs-dataset_statistics PUBLIC
  contrib-libs-linux-headers
  contrib-libs-cxxsupp
  yutil
  tools-enum_parser-enum_serialization_runtime
  catboost-libs-cat_feature
  catboost-libs-data
  private-libs-options
  private-libs-target
  library-cpp-json
)
target_sources(catboost-libs-dataset_statistics PRIVATE
  ${CMAKE_SOURCE_DIR}/catboost/libs/dataset_statistics/visitors.cpp
  ${CMAKE_SOURCE_DIR}/catboost/libs/dataset_statistics/histograms.cpp
  ${CMAKE_SOURCE_DIR}/catboost/libs/dataset_statistics/statistics_data_structures.cpp
)
generate_enum_serilization(catboost-libs-dataset_statistics
  ${CMAKE_SOURCE_DIR}/catboost/libs/dataset_statistics/histograms.h
  INCLUDE_HEADERS
  catboost/libs/dataset_statistics/histograms.h
)
