aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/monlib/encode/CMakeLists.txt
blob: 884750fd753ee3a3f43172d35c8d291dcf0bfc5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
add_library(cpp-monlib-encode)
target_link_libraries(cpp-monlib-encode PUBLIC
  contrib-libs-cxxsupp
  yutil
  cpp-monlib-metrics
  tools-enum_parser-enum_serialization_runtime
)
target_sources(cpp-monlib-encode PRIVATE
  ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/encoder.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/encoder_state.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/format.cpp
)
generate_enum_serilization(cpp-monlib-encode
  ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/encoder_state_enum.h
  GEN_HEADER
  ${CMAKE_BINARY_DIR}/library/cpp/monlib/encode/encoder_state_enum.h_serialized.h
  INCLUDE_HEADERS
  library/cpp/monlib/encode/encoder_state_enum.h
)