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

add_library(idl-pool-flat)


target_link_libraries(idl-pool-flat PUBLIC
  contrib-libs-cxxsupp
  yutil
  contrib-libs-flatbuffers
)

target_sources(idl-pool-flat PRIVATE
  ${PROJECT_BINARY_DIR}/catboost/idl/pool/flat/quantized_chunk_t.fbs.h
  ${PROJECT_BINARY_DIR}/catboost/idl/pool/flat/quantized_chunk_t.iter.fbs.h
  ${PROJECT_BINARY_DIR}/catboost/idl/pool/flat/quantized_chunk_t.bfbs
  ${PROJECT_BINARY_DIR}/catboost/idl/pool/flat/quantized_chunk_t.fbs.cpp
)



target_fbs_source(idl-pool-flat
  PRIVATE
  ${PROJECT_SOURCE_DIR}/catboost/idl/pool/flat/quantized_chunk_t.fbs
  -I
  ${PROJECT_BINARY_DIR}
  -I
  ${PROJECT_SOURCE_DIR}
)




