aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/poco/JSON/ya.make
blob: 0f965b45e2986477c07ea16a524b6da548ec6c24 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Generated by devtools/yamaker.

LIBRARY()

VERSION(1.9.4)

LICENSE(BSL-1.0)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

PEERDIR(
    contrib/libs/poco/Foundation
)

ADDINCL(
    GLOBAL contrib/libs/poco/JSON/include
    contrib/libs/poco/Foundation/include
    contrib/libs/poco/JSON/src
)

NO_COMPILER_WARNINGS()

NO_UTIL()

CFLAGS(
    -DPOCO_ENABLE_CPP11
    -DPOCO_ENABLE_CPP14
    -DPOCO_NO_AUTOMATIC_LIBS
    -DPOCO_UNBUNDLED
)

IF (OS_DARWIN)
    CFLAGS(
        -DPOCO_OS_FAMILY_UNIX
        -DPOCO_NO_STAT64
    )
ELSEIF (OS_LINUX)
    CFLAGS(
        -DPOCO_OS_FAMILY_UNIX
        -DPOCO_HAVE_FD_EPOLL
    )
ELSEIF (OS_WINDOWS)
    CFLAGS(
        -DPOCO_OS_FAMILY_WINDOWS
    )
ENDIF()

SRCS(
    src/Array.cpp
    src/Handler.cpp
    src/JSONException.cpp
    src/Object.cpp
    src/ParseHandler.cpp
    src/Parser.cpp
    src/ParserImpl.cpp
    src/PrintHandler.cpp
    src/Query.cpp
    src/Stringifier.cpp
    src/Template.cpp
    src/TemplateCache.cpp
    src/pdjson.c
)

END()