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

OWNER(g:util)
SUBSCRIBER(g:util-subscribers)

NO_UTIL()

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_CPP_SSE41(wide_sse41.cpp)
ELSE()
    SRC(
        wide_sse41.cpp
        -DSSE41_STUB
    )
ENDIF()

END()

RECURSE_FOR_TESTS(
    ut
)