mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-18 06:30:14 +08:00
cmake - add initial cmake instruction to INSTALL.GIT ; rename cmake output tesseractmain to tesseract; updage badges links
This commit is contained in:
parent
bb15031266
commit
0eefed6a14
@ -220,6 +220,7 @@ set(tesseractmain_src
|
||||
)
|
||||
add_executable (tesseractmain ${tesseractmain_src})
|
||||
target_link_libraries (tesseractmain tesseract)
|
||||
set_target_properties (tesseractmain PROPERTIES OUTPUT_NAME tesseract)
|
||||
|
||||
########################################
|
||||
|
||||
|
35
INSTALL.GIT
35
INSTALL.GIT
@ -1,5 +1,5 @@
|
||||
autotools (LINUX/UNIX...)
|
||||
======================
|
||||
# autotools (LINUX/UNIX , msys...)
|
||||
|
||||
|
||||
If you have cloned Tesseract from Github, you must generate
|
||||
the configure script.
|
||||
@ -39,7 +39,32 @@ and follow instruction on Viewer Debugging wiki[2].
|
||||
[1] http://search.maven.org/#search|ga|1|g%3A%22org.piccolo2d%22
|
||||
[2] https://github.com/tesseract-ocr/tesseract/wiki/ViewerDebugging
|
||||
|
||||
WINDOWS
|
||||
=======
|
||||
|
||||
Please read http://vorba.ch/2014/tesseract-3.03-vs2013.html
|
||||
# CMAKE
|
||||
|
||||
|
||||
## LINUX
|
||||
|
||||
mkdir build
|
||||
cd build && cmake .. && make
|
||||
sudo make install
|
||||
|
||||
|
||||
## WINDOWS
|
||||
|
||||
|
||||
cd leptonica
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
|
||||
cd tesseract
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. -DLeptonica_BUILD_DIR=/abs/path/to/leptonica/build
|
||||
|
||||
|
||||
# WINDOWS Visual Studio
|
||||
|
||||
|
||||
Please read http://vorba.ch/2014/tesseract-3.03-vs2013.html
|
@ -1,5 +1,5 @@
|
||||
[![Build Status](https://travis-ci.org/egorpugin/tesseract.svg?branch=master)](https://travis-ci.org/egorpugin/tesseract)
|
||||
[![Build status](https://ci.appveyor.com/api/projects/status/34s8gu4md3i9s93k?svg=true)](https://ci.appveyor.com/project/egorpugin/tesseract)
|
||||
[![Build Status](https://travis-ci.org/tesseract-ocr/tesseract.svg?branch=master)](https://travis-ci.org/tesseract-ocr/tesseract)
|
||||
[![Build status](https://ci.appveyor.com/api/projects/status/miah0ikfsf0j3819?svg=true)](https://ci.appveyor.com/project/zdenop/tesseract/)
|
||||
|
||||
Note that this is possibly out-of-date version of the wiki ReadMe,
|
||||
which is located at:
|
||||
|
Loading…
Reference in New Issue
Block a user