if((NOT DEFINED CATBOOST_COMPONENTS) OR (LIBS IN_LIST CATBOOST_COMPONENTS) OR (libs IN_LIST CATBOOST_COMPONENTS) OR (API-LIBS IN_LIST CATBOOST_COMPONENTS) OR (api-libs IN_LIST CATBOOST_COMPONENTS))

# 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_subdirectory(static)
add_shared_library(catboostmodel)


target_link_libraries(catboostmodel PUBLIC
  contrib-libs-linux-headers
  contrib-libs-cxxsupp
  yutil
  catboost-libs-cat_feature
  catboost-libs-data
  catboost-libs-model
  libs-model-cuda
)

target_link_options(catboostmodel PRIVATE
  -ldl
  -lrt
  -Wl,--no-as-needed
  -fPIC
  -Wl,-z,notext
  -fPIC
  -lpthread
  -lrt
  -ldl
  -lcudadevrt
  -lculibos
  -lcudart_static
)

target_sources(catboostmodel PRIVATE
  ${PROJECT_SOURCE_DIR}/catboost/libs/model_interface/c_api.cpp
)



use_export_script(catboostmodel
  ${PROJECT_SOURCE_DIR}/catboost/libs/model_interface/calcer.exports
)

vcs_info(catboostmodel)




endif()

