aboutsummaryrefslogtreecommitdiffstats
path: root/tools/enum_parser/parse_enum/ut/ya.make
blob: eee686134a5a7305f0e03fb10f81327a399f0c32 (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
UNITTEST()

PEERDIR(
    ADDINCL tools/enum_parser/parse_enum
    library/cpp/resource
)

SRCDIR(tools/enum_parser/parse_enum)

RESOURCE(
    enums.h /enums
    badcode.h /badcode
    unbalanced.h /unbalanced
    alias_before_name.h /alias_before_name
)

# self-test
GENERATE_ENUM_SERIALIZATION(enums.h)

# test GENERATE_ENUM_SERIALIZATION_WITH_HEADER macro
GENERATE_ENUM_SERIALIZATION_WITH_HEADER(enums_with_header.h)

SRCS(
    parse_enum_ut.cpp
    enums.cpp
)

END()