projects
/
platform
/
upstream
/
libpinyin.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
begin to write import iterator
[platform/upstream/libpinyin.git]
/
src
/
storage
/
CMakeLists.txt
1
set(
2
CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC"
3
)
4
5
set(
6
LIBSTORAGE_HEADERS
7
chewing_key.h
8
pinyin_custom2.h
9
)
10
11
set(
12
LIBSTORAGE_SOURCES
13
phrase_index.cpp
14
phrase_large_table.cpp
15
ngram.cpp
16
tag_utility.cpp
17
pinyin_parser2.cpp
18
chewing_large_table.cpp
19
)
20
21
add_library(
22
storage
23
STATIC
24
${LIBSTORAGE_SOURCES}
25
)
26
27
target_link_libraries(
28
storage
29
${GLIB2_LIBRARIES}
30
${BERKELEY_DB_LIBRARIES}
31
)
32
33
install(
34
FILES
35
${LIBSTORAGE_HEADERS}
36
DESTINATION
37
${DIR_INCLUDE_LIBPINYIN}
38
)