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

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

SRCDIR(tools/enum_parser/parse_enum)

RESOURCE(
    digit_separator.h /digit_separator
    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()