mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 12:49:35 +08:00
[sw] Fix build.
This commit is contained in:
parent
59271470b4
commit
536112ce6f
6
sw.cpp
6
sw.cpp
@ -205,6 +205,7 @@ void build(Solution &s)
|
||||
auto &t = test.addTarget<ExecutableTarget>(name);
|
||||
t += cppstd;
|
||||
t += FileRegex("unittest", name + "_test.*", false);
|
||||
t += "unittest"_idir;
|
||||
|
||||
t += "SW_TESTING"_def;
|
||||
|
||||
@ -302,7 +303,6 @@ void build(Solution &s)
|
||||
"tablefind",
|
||||
"tablerecog",
|
||||
"tabvector",
|
||||
"tatweel",
|
||||
"textlineprojection",
|
||||
"tfile",
|
||||
"unichar",
|
||||
@ -319,6 +319,10 @@ void build(Solution &s)
|
||||
auto &dt = add_test("dawg");
|
||||
dt += Definition("wordlist2dawg_prog=\"" + to_printable_string(normalize_path(wordlist2dawg.getOutputFile())) + "\"");
|
||||
dt += Definition("dawg2wordlist_prog=\"" + to_printable_string(normalize_path(dawg2wordlist.getOutputFile())) + "\"");
|
||||
|
||||
auto &tw = add_test("tatweel");
|
||||
tw += "unittest/util/.*"_rr;
|
||||
tw += "unittest/third_party/.*"_rr;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user