Add missing merge_unicharsets training tool to cmake and sw build.

This commit is contained in:
Egor Pugin 2020-12-26 15:57:22 +03:00
parent 317ef988a0
commit aecbf79791
2 changed files with 11 additions and 0 deletions

View File

@ -264,6 +264,16 @@ project_group (lstmtraining "Training Tools")
install (TARGETS lstmtraining RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
########################################
# EXECUTABLE merge_unicharsets
########################################
add_executable (merge_unicharsets merge_unicharsets.cpp)
target_link_libraries (merge_unicharsets libtesseract tessopt)
project_group (merge_unicharsets "Training Tools")
install (TARGETS merge_unicharsets RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
########################################
# EXECUTABLE set_unicharset_properties
########################################

1
sw.cpp
View File

@ -177,6 +177,7 @@ void build(Solution &s)
ADD_EXE(lstmeval, unicharset_training);
ADD_EXE(lstmtraining, unicharset_training);
ADD_EXE(set_unicharset_properties, unicharset_training);
ADD_EXE(merge_unicharsets, tessopt);
ADD_EXE(text2image, unicharset_training);
text2image += cppstd;