File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ struct SVEvent {
8989// The SVEventHandler class is used for Event handling: If you register your
9090// class as SVEventHandler to a ScrollView Window, the SVEventHandler will be
9191// called whenever an appropriate event occurs.
92- class SVEventHandler {
92+ class TESS_API SVEventHandler {
9393public:
9494 virtual ~SVEventHandler ();
9595
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ namespace tesseract {
3535
3636class ScrollView ;
3737
38- class SVMenuNode {
38+ class TESS_API SVMenuNode {
3939public:
4040 // Creating the (empty) root menu node.
4141 SVMenuNode ();
Original file line number Diff line number Diff line change @@ -15,14 +15,10 @@ void build(Solution &s)
1515
1616 libtesseract += " TESS_API" _api;
1717 libtesseract += " include/.*" _rr;
18- libtesseract += " src/.*" _rr;
18+ libtesseract += " src/.+/. *" _rr;
1919 libtesseract -= " src/lstm/.*\\ .cc" _rr;
2020 libtesseract -= " src/training/.*" _rr;
2121
22- libtesseract -=
23- " src/tesseract.cpp" ,
24- " src/svpaint.cpp" ;
25-
2622 libtesseract.Public += " include" _idir;
2723 libtesseract.Protected +=
2824 " src/opencl" _id,
@@ -121,6 +117,13 @@ void build(Solution &s)
121117 tesseract += libtesseract;
122118 }
123119
120+ auto &svpaint = tess.addExecutable (" svpaint" );
121+ {
122+ svpaint += cppstd;
123+ svpaint += " src/svpaint.cpp" ;
124+ svpaint += libtesseract;
125+ }
126+
124127 auto &training = tess.addDirectory (" training" );
125128
126129 //
You can’t perform that action at this time.
0 commit comments