From 0eefed6a144f5cfcab3ca48f8efd35c59d3c9d33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zdenko=20Podobn=C3=BD?= Date: Sat, 10 Oct 2015 17:26:32 +0200 Subject: [PATCH] cmake - add initial cmake instruction to INSTALL.GIT ; rename cmake output tesseractmain to tesseract; updage badges links --- CMakeLists.txt | 1 + INSTALL.GIT | 35 ++++++++++++++++++++++++++++++----- README.md | 4 ++-- 3 files changed, 33 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 44b4ac5dd..b43907511 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) ######################################## diff --git a/INSTALL.GIT b/INSTALL.GIT index ca2ac3124..e16788bf5 100644 --- a/INSTALL.GIT +++ b/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 \ No newline at end of file diff --git a/README.md b/README.md index c55550628..7311d7f49 100644 --- a/README.md +++ b/README.md @@ -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: