1#------------------------------------------------- 2# 3# Project created by QtCreator 2018-07-17T10:34:13 4# 5#------------------------------------------------- 6include($$PWD/../../buildout.pri) 7 8QT -= gui 9 10TARGET = pinyin 11TEMPLATE = lib 12#CONFIG += staticlib 13 14INCLUDEPATH += include 15 16SOURCES += share/dictbuilder.cpp \ 17 share/dictlist.cpp \ 18 share/dicttrie.cpp \ 19 share/lpicache.cpp \ 20 share/matrixsearch.cpp \ 21 share/mystdlib.cpp \ 22 share/ngram.cpp \ 23 share/pinyinime.cpp \ 24 share/searchutility.cpp \ 25 share/spellingtable.cpp \ 26 share/spellingtrie.cpp \ 27 share/splparser.cpp \ 28 share/sync.cpp \ 29 share/userdict.cpp \ 30 share/utf16char.cpp \ 31 share/utf16reader.cpp 32 33HEADERS += include/atomdictbase.h \ 34 include/dictbuilder.h \ 35 include/dictdef.h \ 36 include/dictlist.h \ 37 include/dicttrie.h \ 38 include/lpicache.h \ 39 include/matrixsearch.h \ 40 include/mystdlib.h \ 41 include/ngram.h \ 42 include/pinyinime.h \ 43 include/searchutility.h \ 44 include/spellingtable.h \ 45 include/spellingtrie.h \ 46 include/splparser.h \ 47 include/sync.h \ 48 include/userdict.h \ 49 include/utf16char.h \ 50 include/utf16reader.h 51 52OTHER_FILES +=\ 53 data/rawdict_utf16_65105_freq.txt \ 54 data/valid_utf16.txt 55 56win32 { 57 CONFIG += qt 58 QT = core 59} 60 61unix { 62 target.path = /usr/lib 63 INSTALLS += target 64} 65