aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/pinyin/3rdparty/pinyin/CMakeLists.txt
blob: 1bd98c0ede348cb1463a5267ae8e1ba0a996dbe9 (plain)
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
# Generated from pinyin.pro.

#####################################################################
## BundledPinyin Generic Library:
#####################################################################

find_package(Threads REQUIRED) # special case

qt_add_3rdparty_library(BundledPinyin
    STATIC
    SOURCES
        include/atomdictbase.h
        include/dictbuilder.h
        include/dictdef.h
        include/dictlist.h
        include/dicttrie.h
        include/lpicache.h
        include/matrixsearch.h
        include/mystdlib.h
        include/ngram.h
        include/pinyinime.h
        include/searchutility.h
        include/spellingtable.h
        include/spellingtrie.h
        include/splparser.h
        include/sync.h
        include/userdict.h
        include/utf16char.h
        include/utf16reader.h
        share/dictbuilder.cpp
        share/dictlist.cpp
        share/dicttrie.cpp
        share/lpicache.cpp
        share/matrixsearch.cpp
        share/mystdlib.cpp
        share/ngram.cpp
        share/pinyinime.cpp
        share/searchutility.cpp
        share/spellingtable.cpp
        share/spellingtrie.cpp
        share/splparser.cpp
        share/sync.cpp
        share/userdict.cpp
        share/utf16char.cpp
        share/utf16reader.cpp
    DEFINES
        QT_ASCII_CAST_WARNINGS
        QT_NO_CAST_FROM_ASCII
        QT_NO_CAST_FROM_BYTEARRAY
        QT_NO_CAST_TO_ASCII
    PUBLIC_DEFINES
        HAVE_PINYIN
    PUBLIC_INCLUDE_DIRECTORIES
        $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
    PUBLIC_LIBRARIES
        Qt::Core
        Threads::Threads # special case
)
qt_disable_warnings(BundledPinyin)

#### Keys ignored in scope 1:.:.:pinyin.pro:<TRUE>:
# OTHER_FILES = "data/rawdict_utf16_65105_freq.txt" "data/valid_utf16.txt"
# VERSION = "1.0.0"

## Scopes:
#####################################################################