aboutsummaryrefslogtreecommitdiffstats
path: root/util/charset/ya.make
blob: e1a29cec2565097b8df71b00e8521a6ec9aea073 (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
LIBRARY()

SUBSCRIBER(g:util-subscribers)

NO_UTIL()

NO_SANITIZE_HEADERS()

IF (TSTRING_IS_STD_STRING)
    CFLAGS(GLOBAL -DTSTRING_IS_STD_STRING)
ENDIF()

JOIN_SRCS(
    all_charset.cpp
    generated/unidata.cpp
    recode_result.cpp
    unicode_table.cpp
    unidata.cpp
    utf8.cpp
    wide.cpp
)

IF (ARCH_X86_64 AND NOT DISABLE_INSTRUCTION_SETS)
    SRC_C_SSE41(wide_sse41.cpp)
ELSE()
    SRC(
        wide_sse41.cpp
        -DSSE41_STUB
    )
ENDIF()

END()

RECURSE_FOR_TESTS(
    ut
)