# 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_flatc_bin
  TOOL_flatc_dependency
  contrib/libs/flatbuffers/flatc
  flatc
)

add_library(text_processing-dictionary-idl)


target_link_libraries(text_processing-dictionary-idl PUBLIC
  contrib-libs-linux-headers
  contrib-libs-cxxsupp
  yutil
  contrib-libs-flatbuffers
)

target_sources(text_processing-dictionary-idl PRIVATE
  ${PROJECT_BINARY_DIR}/library/cpp/text_processing/dictionary/idl/dictionary_meta_info.fbs.cpp
  ${PROJECT_BINARY_DIR}/library/cpp/text_processing/dictionary/idl/dictionary_meta_info.fbs.h
  ${PROJECT_BINARY_DIR}/library/cpp/text_processing/dictionary/idl/dictionary_meta_info.bfbs
)


target_fbs_source(text_processing-dictionary-idl
  PRIVATE
  ${PROJECT_SOURCE_DIR}/library/cpp/text_processing/dictionary/idl/dictionary_meta_info.fbs
  -I
  ${PROJECT_BINARY_DIR}
  -I
  ${PROJECT_SOURCE_DIR}
)
