aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/json/CMakeLists.linux.txt
blob: d55c7d2c3b20560ef3ec77baa5ef1a36b5d63b20 (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
28
29
30
31
# This file was generated by the build system used internally in the Yandex monorepo.
# Only simple modifications are allowed (adding source-files to targets, 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 ported back to the
# original buildsystem will not be accepted.


add_subdirectory(common)
add_subdirectory(easy_parse)
add_subdirectory(fast_sax)
add_subdirectory(writer)
add_subdirectory(yson)

add_library(library-cpp-json)
target_link_libraries(library-cpp-json PUBLIC
  contrib-libs-linux-headers
  contrib-libs-cxxsupp
  yutil
  contrib-libs-rapidjson
  cpp-json-common
  cpp-json-fast_sax
  cpp-json-writer
  cpp-string_utils-relaxed_escaper
)
target_sources(library-cpp-json PRIVATE
  ${CMAKE_SOURCE_DIR}/library/cpp/json/json_writer.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/json/json_reader.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/json/json_prettifier.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/json/rapidjson_helpers.cpp
)