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

get_built_tool_path(
  TOOL_enum_parser_bin
  TOOL_enum_parser_dependency
  tools/enum_parser/enum_parser
  enum_parser
)

add_library(private-libs-app_helpers)


target_link_libraries(private-libs-app_helpers PUBLIC
  contrib-libs-cxxsupp
  yutil
  private-libs-algo
  catboost-libs-column_description
  catboost-libs-data
  catboost-libs-dataset_statistics
  catboost-libs-eval_result
  catboost-libs-fstr
  catboost-libs-helpers
  private-libs-index_range
  private-libs-labels
  catboost-libs-logging
  catboost-libs-model
  catboost-libs-train_lib
  private-libs-options
  library-cpp-expression
  cpp-getopt-small
  library-cpp-grid_creator
  library-cpp-json
  library-cpp-logger
  library-cpp-object_factory
  cpp-text_processing-dictionary
  cpp-threading-local_executor
  tools-enum_parser-enum_serialization_runtime
)

target_sources(private-libs-app_helpers PRIVATE
  ${PROJECT_SOURCE_DIR}/catboost/private/libs/app_helpers/bind_options.cpp
  ${PROJECT_SOURCE_DIR}/catboost/private/libs/app_helpers/mode_calc_helpers.cpp
  ${PROJECT_SOURCE_DIR}/catboost/private/libs/app_helpers/mode_dataset_statistics_helpers.cpp
  ${PROJECT_SOURCE_DIR}/catboost/private/libs/app_helpers/mode_fit_helpers.cpp
  ${PROJECT_SOURCE_DIR}/catboost/private/libs/app_helpers/mode_fstr_helpers.cpp
  ${PROJECT_SOURCE_DIR}/catboost/private/libs/app_helpers/mode_normalize_model_helpers.cpp
)


generate_enum_serilization(private-libs-app_helpers
  ${PROJECT_SOURCE_DIR}/catboost/private/libs/app_helpers/implementation_type_enum.h
  INCLUDE_HEADERS
  catboost/private/libs/app_helpers/implementation_type_enum.h
)
