aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yson_pull/CMakeLists.txt
blob: 4ca6e19459347139bb35eeac90faedf580c8a3bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
add_library(yson_pull)
target_link_libraries(yson_pull PUBLIC
  contrib-libs-cxxsupp
  yutil
  tools-enum_parser-enum_serialization_runtime
)
target_sources(yson_pull PRIVATE
  ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/consumer.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/event.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/exceptions.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/input.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/output.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/read_ops.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/reader.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/scalar.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/writer.cpp
)
generate_enum_serilization(yson_pull
  ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/event.h
  INCLUDE_HEADERS
  library/cpp/yson_pull/event.h
)
generate_enum_serilization(yson_pull
  ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/scalar.h
  INCLUDE_HEADERS
  library/cpp/yson_pull/scalar.h
)