blob: 03b67f2fd7d85c06b15931a4fdd670c789797afe (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# 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_library(libs-poco-JSON)
target_compile_options(libs-poco-JSON PRIVATE
-DPOCO_ENABLE_CPP11
-DPOCO_ENABLE_CPP14
-DPOCO_NO_AUTOMATIC_LIBS
-DPOCO_UNBUNDLED
-DPOCO_OS_FAMILY_UNIX
-DPOCO_HAVE_FD_EPOLL
$<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
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/Foundation/include
${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src
)
target_link_libraries(libs-poco-JSON PUBLIC
contrib-libs-linux-headers
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
)
|