Remove unused defines.

This commit is contained in:
Egor Pugin 2016-07-03 23:34:14 +03:00
parent f1c2e6eaa9
commit 553c069608
2 changed files with 26 additions and 36 deletions

View File

@ -159,33 +159,33 @@ string(SUBSTRING ${VERSION_MINOR} 0 1 VERSION_MINOR_0)
string(SUBSTRING ${VERSION_MINOR} 1 1 VERSION_MINOR_1)
file(GLOB tesseract_src
"ccmain/*.cpp"
"ccstruct/*.cpp"
"ccutil/*.cpp"
"classify/*.cpp"
"cube/*.cpp"
"cutil/*.cpp"
"dict/*.cpp"
"neural_networks/runtime/*.cpp"
"opencl/*.cpp"
"textord/*.cpp"
"viewer/*.cpp"
"wordrec/*.cpp"
ccmain/*.cpp
ccstruct/*.cpp
ccutil/*.cpp
classify/*.cpp
cube/*.cpp
cutil/*.cpp
dict/*.cpp
neural_networks/runtime/*.cpp
opencl/*.cpp
textord/*.cpp
viewer/*.cpp
wordrec/*.cpp
)
file(GLOB tesseract_hdr
"api/*.h"
"ccmain/*.h"
"ccstruct/*.h"
"ccutil/*.h"
"classify/*.h"
"cube/*.h"
"cutil/*.h"
"dict/*.h"
"neural_networks/runtime/*.h"
"opencl/*.h"
"textord/*.h"
"viewer/*.h"
"wordrec/*.h"
api/*.h
ccmain/*.h
ccstruct/*.h
ccutil/*.h
classify/*.h
cube/*.h
cutil/*.h
dict/*.h
neural_networks/runtime/*.h
opencl/*.h
textord/*.h
viewer/*.h
wordrec/*.h
)
if (WIN32)
file(GLOB tesseract_win32_src "vs2010/port/*.cpp")

View File

@ -88,7 +88,7 @@ set(include_files_list
sys/wait.h
tiffio.h
unistd.h
cairo/cairo-version.h
CL/cl.h
OpenCL/cl.h
@ -112,22 +112,12 @@ set(types_list
)
check_types(types_list)
check_c_source_compiles("#include <sys/time.h>\n#include <time.h>\nmain(){}" TIME_WITH_SYS_TIME)
test_big_endian(WORDS_BIGENDIAN)
set(STDC_HEADERS 1)
file(APPEND ${AUTOCONFIG_SRC} "
/* Define to 1 if you have the ANSI C header files. */
#cmakedefine STDC_HEADERS 1
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#cmakedefine WORDS_BIGENDIAN 1
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#cmakedefine TIME_WITH_SYS_TIME 1
")
########################################