mirror of
https://github.com/yanyiwu/cppjieba.git
synced 2025-07-18 00:00:12 +08:00
mv ...
This commit is contained in:
parent
ae09f92b19
commit
6f15f1398c
@ -4,5 +4,15 @@ ADD_EXECUTABLE(keywordext.demo keywordext.cpp)
|
||||
INCLUDE_DIRECTORIES(../limonp ../cppjieba ../husky)
|
||||
LINK_DIRECTORIES(../cppjieba ../husky)
|
||||
TARGET_LINK_LIBRARIES(segment.demo cppjieba)
|
||||
TARGET_LINK_LIBRARIES(server.demo cppjieba husky -lpthread)
|
||||
TARGET_LINK_LIBRARIES(keywordext.demo cppjieba)
|
||||
TARGET_LINK_LIBRARIES(server.demo cppjieba husky pthread)
|
||||
|
||||
SET(LIBCPPJIEBA_SRC HMMSegment.cpp MixSegment.cpp MPSegment.cpp Trie.cpp)
|
||||
|
||||
INCLUDE_DIRECTORIES(../limonp)
|
||||
|
||||
ADD_LIBRARY(cppjieba SHARED ${LIBCPPJIEBA_SRC})
|
||||
|
||||
SET_TARGET_PROPERTIES(cppjieba PROPERTIES VERSION 1.2 SOVERSION 1)
|
||||
|
||||
INSTALL(TARGETS cppjieba LIBRARY DESTINATION lib/CppJieba)
|
||||
INSTALL(FILES ChineseFilter.hpp HMMSegment.h MPSegment.h structs.h Trie.h globals.h ISegment.hpp MixSegment.h SegmentBase.hpp TransCode.hpp DESTINATION include/CppJieba)
|
||||
|
@ -1,10 +0,0 @@
|
||||
SET(LIBCPPJIEBA_SRC HMMSegment.cpp MixSegment.cpp MPSegment.cpp Trie.cpp)
|
||||
|
||||
INCLUDE_DIRECTORIES(../limonp)
|
||||
|
||||
ADD_LIBRARY(cppjieba SHARED ${LIBCPPJIEBA_SRC})
|
||||
|
||||
SET_TARGET_PROPERTIES(cppjieba PROPERTIES VERSION 1.2 SOVERSION 1)
|
||||
|
||||
INSTALL(TARGETS cppjieba LIBRARY DESTINATION lib/CppJieba)
|
||||
INSTALL(FILES ChineseFilter.hpp HMMSegment.h MPSegment.h structs.h Trie.h globals.h ISegment.hpp MixSegment.h SegmentBase.hpp TransCode.hpp DESTINATION include/CppJieba)
|
Loading…
x
Reference in New Issue
Block a user