aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/jinja2cpp/ya.make
blob: fff61526726c7b3863b7e5ca398376dc15f41740 (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
65
66
67
68
# Generated by devtools/yamaker from nixpkgs 22.11.

LIBRARY()

LICENSE(
    MIT AND
    MPL-1.1 AND
    MPL-2.0
)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

VERSION(1.3.1)

ORIGINAL_SOURCE(https://github.com/jinja2cpp/Jinja2Cpp/archive/1.3.1.tar.gz)

PEERDIR(
    contrib/libs/fmt
    contrib/libs/rapidjson
    contrib/restricted/boost/algorithm
    contrib/restricted/boost/container
    contrib/restricted/boost/filesystem
    contrib/restricted/boost/numeric_conversion
    contrib/restricted/boost/unordered
    contrib/restricted/boost/variant
    contrib/restricted/expected-lite
)

ADDINCL(
    GLOBAL contrib/libs/jinja2cpp/include
    GLOBAL contrib/libs/rapidjson/include
)

NO_COMPILER_WARNINGS()

NO_UTIL()

CFLAGS(
    -DBOOST_ERROR_CODE_HEADER_ONLY
    -DBOOST_SYSTEM_NO_DEPRECATED
    -DFMT_HEADER_ONLY=1
    -DFMT_USE_INTERNAL=TRUE
    -DJINJA2CPP_BUILD_AS_SHARED
    -DJINJA2CPP_LINK_AS_SHARED
    -DJINJA2CPP_USE_REGEX_BOOST
)

SRCS(
    src/binding/rapid_json_serializer.cpp
    src/error_info.cpp
    src/expression_evaluator.cpp
    src/expression_parser.cpp
    src/filesystem_handler.cpp
    src/filters.cpp
    src/generic_list.cpp
    src/internal_value.cpp
    src/lexer.cpp
    src/serialize_filters.cpp
    src/statements.cpp
    src/string_converter_filter.cpp
    src/template.cpp
    src/template_env.cpp
    src/template_parser.cpp
    src/testers.cpp
    src/value.cpp
)

END()