Skip to content

Commit 0eefed6

Browse files
committed
cmake - add initial cmake instruction to INSTALL.GIT ; rename cmake output tesseractmain to tesseract; updage badges links
1 parent bb15031 commit 0eefed6

File tree

3 files changed

+33
-7
lines changed

3 files changed

+33
-7
lines changed

CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ set(tesseractmain_src
220220
)
221221
add_executable (tesseractmain ${tesseractmain_src})
222222
target_link_libraries (tesseractmain tesseract)
223+
set_target_properties (tesseractmain PROPERTIES OUTPUT_NAME tesseract)
223224

224225
########################################
225226

INSTALL.GIT

+30-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
autotools (LINUX/UNIX...)
2-
======================
1+
# autotools (LINUX/UNIX , msys...)
2+
33

44
If you have cloned Tesseract from Github, you must generate
55
the configure script.
@@ -39,7 +39,32 @@ and follow instruction on Viewer Debugging wiki[2].
3939
[1] http://search.maven.org/#search|ga|1|g%3A%22org.piccolo2d%22
4040
[2] https://github.com/tesseract-ocr/tesseract/wiki/ViewerDebugging
4141

42-
WINDOWS
43-
=======
4442

45-
Please read http://vorba.ch/2014/tesseract-3.03-vs2013.html
43+
# CMAKE
44+
45+
46+
## LINUX
47+
48+
mkdir build
49+
cd build && cmake .. && make
50+
sudo make install
51+
52+
53+
## WINDOWS
54+
55+
56+
cd leptonica
57+
mkdir build
58+
cd build
59+
cmake ..
60+
61+
cd tesseract
62+
mkdir build
63+
cd build
64+
cmake .. -DLeptonica_BUILD_DIR=/abs/path/to/leptonica/build
65+
66+
67+
# WINDOWS Visual Studio
68+
69+
70+
Please read http://vorba.ch/2014/tesseract-3.03-vs2013.html

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
[![Build Status](https://travis-ci.org/egorpugin/tesseract.svg?branch=master)](https://travis-ci.org/egorpugin/tesseract)
2-
[![Build status](https://ci.appveyor.com/api/projects/status/34s8gu4md3i9s93k?svg=true)](https://ci.appveyor.com/project/egorpugin/tesseract)
1+
[![Build Status](https://travis-ci.org/tesseract-ocr/tesseract.svg?branch=master)](https://travis-ci.org/tesseract-ocr/tesseract)
2+
[![Build status](https://ci.appveyor.com/api/projects/status/miah0ikfsf0j3819?svg=true)](https://ci.appveyor.com/project/zdenop/tesseract/)
33

44
Note that this is possibly out-of-date version of the wiki ReadMe,
55
which is located at:

0 commit comments

Comments
 (0)