summaryrefslogtreecommitdiffstats
path: root/src/storage
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage')
-rw-r--r--src/storage/CMakeLists.txt27
1 files changed, 26 insertions, 1 deletions
diff --git a/src/storage/CMakeLists.txt b/src/storage/CMakeLists.txt
index e33e213..26330e0 100644
--- a/src/storage/CMakeLists.txt
+++ b/src/storage/CMakeLists.txt
@@ -4,7 +4,6 @@ set(
set(
LIBSTORAGE_HEADERS
- chewing_key.h
pinyin_custom2.h
)
@@ -12,12 +11,38 @@ set(
LIBSTORAGE_SOURCES
phrase_index.cpp
phrase_large_table2.cpp
+ phrase_large_table3.cpp
ngram.cpp
tag_utility.cpp
+ chewing_key.cpp
pinyin_parser2.cpp
+ zhuyin_parser2.cpp
+ phonetic_key_matrix.cpp
chewing_large_table.cpp
+ chewing_large_table2.cpp
+ table_info.cpp
)
+if (HAVE_BERKELEY_DB)
+ set(
+ LIBSTORAGE_SOURCES
+ ${LIBSTORAGE_SOURCES}
+ chewing_large_table2_bdb.cpp
+ ngram_bdb.cpp
+ phrase_large_table3_bdb.cpp
+ )
+endif (HAVE_BERKELEY_DB)
+
+if (HAVE_KYOTO_CABINET)
+ set(
+ LIBSTORAGE_SOURCES
+ ${LIBSTORAGE_SOURCES}
+ chewing_large_table2_kyotodb.cpp
+ ngram_kyotodb.cpp
+ phrase_large_table3_kyotodb.cpp
+ )
+endif (HAVE_KYOTO_CABINET)
+
add_library(
storage
STATIC