Stefan Weil
8c573e4cef
autotools: Add rule for svpaint executable ( #3873 )
...
Move also its source code svpaint.cpp from src/viewer/ to src/,
so it is no longer included in libtesseract by the cmake build.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2022-07-19 00:50:01 +03:00
Egor Pugin
11796584a2
[sw] Fix macos aarch64 build.
2022-06-03 18:16:36 +03:00
Stefan Weil
898ced5c0a
Fix sw build for AVX512
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2022-04-15 13:55:06 +02:00
Stefan Weil
7058bbf282
Move googletest to unittest/third_party/googletest
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-11-01 11:50:50 +01:00
Stefan Weil
104ef8f30e
Move src/api/tesseractmain.cpp to src/tesseract.cpp
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-10-31 21:43:30 +01:00
Egor Pugin
536112ce6f
[sw] Fix build.
2021-08-12 22:46:45 +03:00
Egor Pugin
3a68a80eed
Merge pull request #3516 from stweil/abseil
...
Remove submodule abseil
2021-08-07 15:05:29 +03:00
Egor Pugin
33fcb99d3a
[sw] Do not build arm neon file.
2021-08-07 13:40:47 +03:00
Stefan Weil
49f410ced3
unittest: Remove dependency on absl::StripAsciiWhitespace()
...
This removes the last dependency on Abseil, so that submodule
is now removed completely.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-08-06 20:59:10 +02:00
Egor Pugin
b302e13126
[sw] Add pthread to tests.
2021-01-05 20:37:33 +03:00
Egor Pugin
2a74e72c39
[sw] Add pthread dependency.
2021-01-05 18:45:09 +03:00
Egor Pugin
4415209fd6
Remove tessopt. This fixes mastertrainer test in shared build.
2021-01-05 17:00:27 +03:00
Egor Pugin
682f602421
[sw] Add list test.
2021-01-04 00:25:44 +03:00
Egor Pugin
244708fde6
[sw] Better skip tests.
2021-01-02 22:22:44 +03:00
Egor Pugin
f209a6fddf
[sw] Allow to skip tests.
2021-01-02 16:46:53 +03:00
Egor Pugin
fd8907471c
Improve C API. Add tests.
...
1. Add simple C API test in C++ program.
2. Add simple C API test in C program.
3. Fix including capi.h in C++ files.
2021-01-02 03:57:25 +03:00
Egor Pugin
6464e3298a
[sw] Remove deleted file.
2020-12-31 18:37:13 +03:00
Egor Pugin
07a1533a01
Move training lib sources into their own dirs.
2020-12-31 18:27:03 +03:00
Egor Pugin
c86325e2f7
Use TESS_API for every public symbol. Public symbol is exported from the library. This also applies to unit test and training symbols. Users will be limited to public api, but set of exported symbols will be wider still.
...
Remove TESS_LOCAL.
Fix several symbol issues that made visible with these changes.
All build systems must set -fvisibility-hidden for *nix systems.
2020-12-31 16:32:29 +03:00
Egor Pugin
59863f30ba
[sw] Add new unit tests.
2020-12-30 23:35:17 +03:00
Egor Pugin
38ffaf60f3
[sw] Test updates. 18->17 failed tests left.
2020-12-30 02:39:51 +03:00
Egor Pugin
06f8942402
[sw] Build targets with utf-8 flag on msvc.
2020-12-30 02:10:25 +03:00
Egor Pugin
02ce392cf3
[sw] Do not build unit tests by default.
2020-12-28 20:37:35 +03:00
Egor Pugin
985c599bbd
Move training tools into their own dir.
2020-12-28 04:34:52 +03:00
Egor Pugin
6cc8f58080
[sw] Add unit tests.
2020-12-28 02:32:36 +03:00
Egor Pugin
bc49237690
[sw] Misc.
2020-12-27 23:00:28 +03:00
Egor Pugin
aecbf79791
Add missing merge_unicharsets training tool to cmake and sw build.
2020-12-26 15:57:22 +03:00
Egor Pugin
b09fa9b166
[sw] Bump minimal C++ standard to C++17.
2020-12-26 03:48:57 +03:00
Stefan Weil
0a63484644
Remove checks for unused types off_t, mbstate_t, _Bool
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-06-21 12:04:16 +02:00
Stefan Weil
958b90d785
Don't check for unused sys/wait.h
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-06-20 11:01:20 +02:00
Stefan Weil
a1aea84a27
Don't check for unused sys/shm.h and sys/ipc.h
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-06-20 10:59:54 +02:00
Stefan Weil
c1494fb710
Don't check for stdbool.h (only used in capi.h)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-06-20 10:42:28 +02:00
Stefan Weil
d4cf77c92b
Don't check for limits.h (now unused)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-06-20 10:39:13 +02:00
Stefan Weil
a1d161326e
Don't check for unused malloc.h
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-06-19 07:30:00 +02:00
Egor Pugin
916875d74a
[sw] Fix mingw build.
2020-03-17 17:57:10 +03:00
Egor Pugin
d6265166c6
Fix sw build after upload.
2020-02-20 13:44:07 +03:00
Egor Pugin
cfb2a2c3a4
Add sw options for openmp.
2020-02-19 16:08:51 +03:00
Egor Pugin
e9db7aae88
Update sw.cpp
2020-01-26 03:48:39 +03:00
Egor Pugin
8c20573ebf
[sw] Set cpp standard.
2020-01-26 00:36:50 +03:00
Egor Pugin
946ed4e972
[sw] Fix linux build.
2020-01-25 23:03:16 +03:00
Egor Pugin
c7c250c8b4
Add include dir explicitly.
2019-10-29 14:57:32 +03:00
Stefan Weil
061eccd6ae
Rename tesseract/tess_version.h -> tesseract/version.h
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-10-29 11:47:31 +01:00
Egor Pugin
8d10857973
Update sw build.
2019-10-29 13:27:12 +03:00
Egor Pugin
fb52f43822
Fix isolated build.
2019-10-11 00:46:23 +03:00
Stefan Weil
1012252004
sw.cpp: Sync list of public headers with Autotools build
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-10-06 22:30:36 +02:00
Egor Pugin
52cf4615dc
Update sw build.
2019-09-26 00:34:36 +03:00
Egor Pugin
9217aa5c95
Update sw build.
2019-09-26 00:22:07 +03:00
Stefan Weil
f43ca88f29
[sw] Update build for commit e84cb24def
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-08-12 19:36:41 +02:00
Egor Pugin
f71e58c557
[sw] Try to fix build.
2019-08-12 19:50:22 +03:00
Stefan Weil
23e605911f
Remove unused function truncate_path and related files
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-08-12 14:48:56 +02:00