aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/protobuf/json/CMakeLists.txt
blob: 2afd1553391d9b7f194447cff036d2c6a0149838 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
add_library(cpp-protobuf-json)
target_link_libraries(cpp-protobuf-json PUBLIC
  contrib-libs-cxxsupp
  yutil
  contrib-libs-protobuf
  library-cpp-json
  cpp-protobuf-util
  cpp-string_utils-relaxed_escaper
)
target_sources(cpp-protobuf-json PRIVATE
  ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/json2proto.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/json_output_create.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/json_value_output.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/json_writer_output.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/name_generator.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/proto2json.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/proto2json_printer.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/string_transform.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/util.cpp
)