aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yson
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-18 15:49:59 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-18 15:49:59 +0300
commitb4cb34dfb2619f594d82e512fd9ff7fc97400133 (patch)
tree6a64ab25a145265287789bceed3f59e953561206 /library/cpp/yson
parent5e837a820d5be0671fa4096a1cc1e378453e5132 (diff)
downloadydb-b4cb34dfb2619f594d82e512fd9ff7fc97400133.tar.gz
intermediate changes
ref:1a0585d83f27cb6fb5b9c4f68a08177e10faf3b3
Diffstat (limited to 'library/cpp/yson')
-rw-r--r--library/cpp/yson/CMakeLists.txt16
-rw-r--r--library/cpp/yson/json/CMakeLists.txt10
-rw-r--r--library/cpp/yson/node/CMakeLists.txt20
3 files changed, 46 insertions, 0 deletions
diff --git a/library/cpp/yson/CMakeLists.txt b/library/cpp/yson/CMakeLists.txt
new file mode 100644
index 0000000000..e12d985bbf
--- /dev/null
+++ b/library/cpp/yson/CMakeLists.txt
@@ -0,0 +1,16 @@
+add_library(library-cpp-yson)
+target_link_libraries(library-cpp-yson PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-misc
+ cpp-yt-yson
+)
+target_sources(library-cpp-yson PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/consumer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/lexer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/parser.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/token.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/tokenizer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/varint.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/writer.cpp
+)
diff --git a/library/cpp/yson/json/CMakeLists.txt b/library/cpp/yson/json/CMakeLists.txt
new file mode 100644
index 0000000000..ef39ea0eed
--- /dev/null
+++ b/library/cpp/yson/json/CMakeLists.txt
@@ -0,0 +1,10 @@
+add_library(cpp-yson-json)
+target_link_libraries(cpp-yson-json PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-json
+)
+target_sources(cpp-yson-json PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/json/json_writer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/json/yson2json_adapter.cpp
+)
diff --git a/library/cpp/yson/node/CMakeLists.txt b/library/cpp/yson/node/CMakeLists.txt
new file mode 100644
index 0000000000..79e2458e21
--- /dev/null
+++ b/library/cpp/yson/node/CMakeLists.txt
@@ -0,0 +1,20 @@
+add_library(cpp-yson-node)
+target_link_libraries(cpp-yson-node PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ library-cpp-yson
+ cpp-yson-json
+)
+target_sources(cpp-yson-node PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node_io.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node_builder.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node_visitor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/serialize.cpp
+)
+generate_enum_serilization(cpp-yson-node
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node.h
+ INCLUDE_HEADERS
+ library/cpp/yson/node/node.h
+)