aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/poco/JSON
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-10 11:08:43 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-10 11:08:43 +0300
commitd32759b7eb812b4a4033cc61e1e98245544b4992 (patch)
tree22bbb3e9b46c1b55818aaf475f699ae187ce328b /contrib/libs/poco/JSON
parent471e9b902d01b70b2d12146772e30528a216ee82 (diff)
downloadydb-d32759b7eb812b4a4033cc61e1e98245544b4992.tar.gz
intermediate changes
ref:7e819949a28b77d60c98019ed1950733e734a77e
Diffstat (limited to 'contrib/libs/poco/JSON')
-rw-r--r--contrib/libs/poco/JSON/CMakeLists.linux.txt37
-rw-r--r--contrib/libs/poco/JSON/CMakeLists.txt32
2 files changed, 40 insertions, 29 deletions
diff --git a/contrib/libs/poco/JSON/CMakeLists.linux.txt b/contrib/libs/poco/JSON/CMakeLists.linux.txt
new file mode 100644
index 0000000000..4e8e7b8ee5
--- /dev/null
+++ b/contrib/libs/poco/JSON/CMakeLists.linux.txt
@@ -0,0 +1,37 @@
+
+# This file was gererated 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_library(libs-poco-JSON)
+target_include_directories(libs-poco-JSON PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/include
+)
+target_include_directories(libs-poco-JSON PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src
+)
+target_link_libraries(libs-poco-JSON PUBLIC
+ contrib-libs-cxxsupp
+ libs-poco-Foundation
+)
+target_sources(libs-poco-JSON PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Array.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Handler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/JSONException.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Object.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/ParseHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Parser.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/ParserImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/PrintHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Query.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Stringifier.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Template.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/TemplateCache.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/pdjson.c
+)
diff --git a/contrib/libs/poco/JSON/CMakeLists.txt b/contrib/libs/poco/JSON/CMakeLists.txt
index 4e8e7b8ee5..c031ddb850 100644
--- a/contrib/libs/poco/JSON/CMakeLists.txt
+++ b/contrib/libs/poco/JSON/CMakeLists.txt
@@ -6,32 +6,6 @@
# original buildsystem will not be accepted.
-
-add_library(libs-poco-JSON)
-target_include_directories(libs-poco-JSON PUBLIC
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/include
-)
-target_include_directories(libs-poco-JSON PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/include
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src
-)
-target_link_libraries(libs-poco-JSON PUBLIC
- contrib-libs-cxxsupp
- libs-poco-Foundation
-)
-target_sources(libs-poco-JSON PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Array.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Handler.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/JSONException.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Object.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/ParseHandler.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Parser.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/ParserImpl.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/PrintHandler.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Query.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Stringifier.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Template.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/TemplateCache.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/pdjson.c
-)
+if (UNIX)
+ include(CMakeLists.linux.txt)
+endif()