Skip to content

Commit

Permalink
Tesseract is now tested with CPPAN on appveyor.
Browse files Browse the repository at this point in the history
  • Loading branch information
egorpugin committed Sep 26, 2016
1 parent c943fc1 commit 8d6dbb1
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions appveyor.yml
Expand Up @@ -12,16 +12,14 @@ before_build:
- if %platform%==Win64 set generator=Visual Studio 14 Win64
- if %platform%==Win32 set vcplatform=Win32
- if %platform%==Win64 set vcplatform=x64

- set LEPT_VER=1.73

- ps: Start-FileDownload "https://github.com/DanBloomberg/leptonica/archive/v$env:LEPT_VER.zip" -FileName leptonica.zip
- 7z x leptonica.zip
- cmake -Hleptonica-%LEPT_VER% -Bleptonica-%LEPT_VER%/build -G "%generator%"
- msbuild leptonica-%LEPT_VER%/build/leptonica.sln /p:Platform=%vcplatform% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"


- curl -fsS -o cppan.zip https://cppan.org/client/cppan-master-win32-client.zip
- 7z x cppan.zip
- set PATH=%PATH%;%cd%

build_script:
- cppan
- mkdir build
- cd build
- cmake .. -G "%generator%" -DLeptonica_DIR=leptonica-%LEPT_VER%/build -DSTATIC=1
- cmake .. -G "%generator%" -DSTATIC=1
- msbuild tesseract.sln /p:Platform=%vcplatform% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"

0 comments on commit 8d6dbb1

Please sign in to comment.