|
message(STATUS "post_processor dir:${CMAKE_CURRENT_SOURCE_DIR}")
|
|
add_library(wetext_utils STATIC utils/wetext_string.cc)
|
|
target_link_libraries(wetext_utils PUBLIC glog)
|
|
|
|
add_library(wetext_processor STATIC
|
|
processor/wetext_processor.cc
|
|
processor/wetext_token_parser.cc
|
|
)
|
|
target_link_libraries(wetext_processor PUBLIC dl fst wetext_utils)
|
|
|
|
add_executable(processor_main processor/processor_main.cc)
|
|
|
|
target_link_libraries(processor_main PUBLIC wetext_processor)
|
|
|
|
add_library(post_processor STATIC
|
|
post_processor.cc
|
|
)
|
|
target_link_libraries(post_processor PUBLIC utils wetext_processor wetext_utils)
|