mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-19 23:19:07 +08:00
[sw] Add svpaint.
This commit is contained in:
parent
5781e0d5cf
commit
4de02dd7f9
@ -89,7 +89,7 @@ struct SVEvent {
|
||||
// The SVEventHandler class is used for Event handling: If you register your
|
||||
// class as SVEventHandler to a ScrollView Window, the SVEventHandler will be
|
||||
// called whenever an appropriate event occurs.
|
||||
class SVEventHandler {
|
||||
class TESS_API SVEventHandler {
|
||||
public:
|
||||
virtual ~SVEventHandler();
|
||||
|
||||
|
@ -35,7 +35,7 @@ namespace tesseract {
|
||||
|
||||
class ScrollView;
|
||||
|
||||
class SVMenuNode {
|
||||
class TESS_API SVMenuNode {
|
||||
public:
|
||||
// Creating the (empty) root menu node.
|
||||
SVMenuNode();
|
||||
|
13
sw.cpp
13
sw.cpp
@ -15,14 +15,10 @@ void build(Solution &s)
|
||||
|
||||
libtesseract += "TESS_API"_api;
|
||||
libtesseract += "include/.*"_rr;
|
||||
libtesseract += "src/.*"_rr;
|
||||
libtesseract += "src/.+/.*"_rr;
|
||||
libtesseract -= "src/lstm/.*\\.cc"_rr;
|
||||
libtesseract -= "src/training/.*"_rr;
|
||||
|
||||
libtesseract -=
|
||||
"src/tesseract.cpp",
|
||||
"src/svpaint.cpp";
|
||||
|
||||
libtesseract.Public += "include"_idir;
|
||||
libtesseract.Protected +=
|
||||
"src/opencl"_id,
|
||||
@ -121,6 +117,13 @@ void build(Solution &s)
|
||||
tesseract += libtesseract;
|
||||
}
|
||||
|
||||
auto &svpaint = tess.addExecutable("svpaint");
|
||||
{
|
||||
svpaint += cppstd;
|
||||
svpaint += "src/svpaint.cpp";
|
||||
svpaint += libtesseract;
|
||||
}
|
||||
|
||||
auto &training = tess.addDirectory("training");
|
||||
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user