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

get_built_tool_path(
  TOOL_enum_parser_bin
  TOOL_enum_parser_dependency
  tools/enum_parser/enum_parser
  enum_parser
)

get_built_tool_path(
  TOOL_enum_parser_bin
  TOOL_enum_parser_dependency
  tools/enum_parser/enum_parser
  enum_parser
)

add_library(cpp-text_processing-tokenizer)


target_link_libraries(cpp-text_processing-tokenizer PUBLIC
  contrib-libs-linux-headers
  contrib-libs-cxxsupp
  yutil
  library-cpp-cache
  library-cpp-json
  library-cpp-langs
  library-cpp-object_factory
  library-cpp-tokenizer
  tools-enum_parser-enum_serialization_runtime
)

target_sources(cpp-text_processing-tokenizer PRIVATE
  ${PROJECT_SOURCE_DIR}/library/cpp/text_processing/tokenizer/options.cpp
  ${PROJECT_SOURCE_DIR}/library/cpp/text_processing/tokenizer/tokenizer.cpp
)



generate_enum_serilization(cpp-text_processing-tokenizer
  ${PROJECT_SOURCE_DIR}/library/cpp/text_processing/tokenizer/options.h
  INCLUDE_HEADERS
  library/cpp/text_processing/tokenizer/options.h
)

generate_enum_serilization(cpp-text_processing-tokenizer
  ${PROJECT_SOURCE_DIR}/library/cpp/text_processing/tokenizer/lemmer_impl.h
  INCLUDE_HEADERS
  library/cpp/text_processing/tokenizer/lemmer_impl.h
)


add_global_library_for(cpp-text_processing-tokenizer.global
  cpp-text_processing-tokenizer)


target_link_libraries(cpp-text_processing-tokenizer.global PUBLIC
  contrib-libs-linux-headers
  contrib-libs-cxxsupp
  yutil
  library-cpp-cache
  library-cpp-json
  library-cpp-langs
  library-cpp-object_factory
  library-cpp-tokenizer
  tools-enum_parser-enum_serialization_runtime
)

target_sources(cpp-text_processing-tokenizer.global PRIVATE
  ${PROJECT_SOURCE_DIR}/library/cpp/text_processing/tokenizer/lemmer_impl.cpp
)






