
# 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.


get_built_tool_path(
  TOOL_enum_parser_bin
  TOOL_enum_parser_dependency
  tools/enum_parser/enum_parser
  enum_parser
)

add_library(catboost-cuda-data)
target_link_libraries(catboost-cuda-data PUBLIC
  contrib-libs-cxxsupp
  yutil
  catboost-cuda-cuda_lib
  private-libs-ctr_description
  catboost-libs-data
  private-libs-data_types
  catboost-libs-model
  catboost-libs-helpers
  private-libs-options
  private-libs-feature_estimator
  tools-enum_parser-enum_serialization_runtime
)
target_sources(catboost-cuda-data PRIVATE
  ${CMAKE_SOURCE_DIR}/catboost/cuda/data/feature.cpp
  ${CMAKE_SOURCE_DIR}/catboost/cuda/data/binarizations_manager.cpp
  ${CMAKE_SOURCE_DIR}/catboost/cuda/data/permutation.cpp
  ${CMAKE_SOURCE_DIR}/catboost/cuda/data/data_utils.cpp
  ${CMAKE_SOURCE_DIR}/catboost/cuda/data/leaf_path.cpp
)
generate_enum_serilization(catboost-cuda-data
  ${CMAKE_SOURCE_DIR}/catboost/cuda/data/feature.h
  INCLUDE_HEADERS
  catboost/cuda/data/feature.h
)
