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 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(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
  ${CMAKE_SOURCE_DIR}/catboost/libs/model_interface/c_api.cpp
)
use_export_script(catboostmodel
  ${CMAKE_SOURCE_DIR}/catboost/libs/model_interface/calcer.exports
)
vcs_info(catboostmodel)

endif()

