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