Skip to content

Commit

Permalink
cmake - add initial cmake instruction to INSTALL.GIT ; rename cmake o…
Browse files Browse the repository at this point in the history
…utput tesseractmain to tesseract; updage badges links
  • Loading branch information
zdenop committed Oct 10, 2015
1 parent bb15031 commit 0eefed6
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 7 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

########################################

Expand Down
35 changes: 30 additions & 5 deletions INSTALL.GIT
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
autotools (LINUX/UNIX...)
======================
# autotools (LINUX/UNIX , msys...)


If you have cloned Tesseract from Github, you must generate
the configure script.
Expand Down Expand Up @@ -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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 0eefed6

Please sign in to comment.