Skip to content

Commit

Permalink
Add new hocrrenderer.cpp to CMakeList.txt and Android.mk
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Dec 15, 2018
1 parent 457c530 commit fda0fa4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Expand Up @@ -214,8 +214,9 @@ set(tesseract_src ${tesseract_src}
src/api/baseapi.cpp
src/api/capi.cpp
src/api/renderer.cpp
src/api/pdfrenderer.cpp
src/api/altorenderer.cpp
src/api/hocrrenderer.cpp
src/api/pdfrenderer.cpp
)

if (WIN32)
Expand Down
3 changes: 2 additions & 1 deletion android/jni/Android.mk
Expand Up @@ -30,8 +30,9 @@ $(info local path=$(LOCAL_PATH))
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/../../api/*.cpp $(LOCAL_PATH)/../../ccmain/*.cpp $(LOCAL_PATH)/../../ccstruct/*.cpp $(LOCAL_PATH)/../../ccutil/*.cpp $(LOCAL_PATH)/../../classify/*.cpp $(LOCAL_PATH)/../../cutil/*.cpp $(LOCAL_PATH)/../../dict/*.cpp $(LOCAL_PATH)/../../image/*.cpp $(LOCAL_PATH)/../../textord/*.cpp $(LOCAL_PATH)/../../viewer/*.cpp $(LOCAL_PATH)/../../wordrec/*.cpp)

EXPLICIT_SRC_EXCLUDES := \
$(LOCAL_PATH)/../../api/pdfrenderer.cpp \
$(LOCAL_PATH)/../../api/altorenderer.cpp \
$(LOCAL_PATH)/../../api/hocrrenderer.cpp \
$(LOCAL_PATH)/../../api/pdfrenderer.cpp \
$(LOCAL_PATH)/../../api/tesseractmain.cpp \

LOCAL_SRC_FILES := $(filter-out $(EXPLICIT_SRC_EXCLUDES), $(LOCAL_SRC_FILES))
Expand Down

0 comments on commit fda0fa4

Please sign in to comment.