Skip to content

Commit 432684d

Browse files
committed
Makefile changes to remove cube
1 parent 9f5ba91 commit 432684d

File tree

2 files changed

+0
-25
lines changed

2 files changed

+0
-25
lines changed

ccmain/Makefile.am

-12
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ libtesseract_main_la_LIBADD = \
4141
../classify/libtesseract_classify.la \
4242
../cutil/libtesseract_cutil.la \
4343
../opencl/libtesseract_opencl.la
44-
if !NO_CUBE_BUILD
45-
libtesseract_main_la_LIBADD += ../cube/libtesseract_cube.la
46-
endif
4744
endif
4845

4946
libtesseract_main_la_SOURCES = \
@@ -57,12 +54,3 @@ libtesseract_main_la_SOURCES = \
5754
tfacepp.cpp thresholder.cpp \
5855
werdit.cpp
5956

60-
if !NO_CUBE_BUILD
61-
AM_CPPFLAGS += \
62-
-I$(top_srcdir)/neural_networks/runtime -I$(top_srcdir)/cube
63-
noinst_HEADERS += \
64-
cube_reco_context.h cubeclassifier.h tesseract_cube_combiner.h
65-
libtesseract_main_la_SOURCES += \
66-
cube_control.cpp cube_reco_context.cpp cubeclassifier.cpp \
67-
tesseract_cube_combiner.cpp
68-
endif

configure.ac

-13
Original file line numberDiff line numberDiff line change
@@ -147,17 +147,6 @@ if test "$enable_graphics" = "no"; then
147147
AM_CONDITIONAL([GRAPHICS_DISABLED], true)
148148
fi
149149

150-
# Check if cube should be disabled
151-
AC_MSG_CHECKING([whether to disable cube])
152-
AC_ARG_ENABLE([cube],
153-
[AC_HELP_STRING([--disable-cube], [don't build cube support (experimental)])],
154-
[disable_cube="yes"], [disable_cube="no"])
155-
AC_MSG_RESULT([$disable_cube])
156-
AM_CONDITIONAL([NO_CUBE_BUILD], [test "$disable_cube" = "yes"])
157-
if test "$disable_cube" = "yes"; then
158-
AM_CPPFLAGS="-DNO_CUBE_BUILD $AM_CPPFLAGS"
159-
fi
160-
161150
# check whether to build embedded version
162151
AC_MSG_CHECKING([--enable-embedded argument])
163152
AC_ARG_ENABLE([embedded],
@@ -531,11 +520,9 @@ AC_CONFIG_FILES([opencl/Makefile])
531520
AC_CONFIG_FILES([ccstruct/Makefile])
532521
AC_CONFIG_FILES([ccutil/Makefile])
533522
AC_CONFIG_FILES([classify/Makefile])
534-
AC_CONFIG_FILES([cube/Makefile])
535523
AC_CONFIG_FILES([cutil/Makefile])
536524
AC_CONFIG_FILES([dict/Makefile])
537525
AC_CONFIG_FILES([lstm/Makefile])
538-
AC_CONFIG_FILES([neural_networks/runtime/Makefile])
539526
AC_CONFIG_FILES([textord/Makefile])
540527
AC_CONFIG_FILES([viewer/Makefile])
541528
AC_CONFIG_FILES([wordrec/Makefile])

0 commit comments

Comments
 (0)