Skip to content

Commit

Permalink
Add appveyor.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
egorpugin committed Sep 6, 2015
1 parent 2522511 commit 083639f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
os: Visual Studio 2015

platform:
- Win32
- Win64

configuration:
- Debug

before_build:
- if %platform%==Win32 set generator=Visual Studio 14
- if %platform%==Win64 set generator=Visual Studio 14 Win64
- if %platform%==Win32 set vcplatform=Win32
- if %platform%==Win64 set vcplatform=x64
- ps: Start-FileDownload 'https://github.com/egorpugin/leptonica/archive/master.zip' -FileName leptonica.zip
- 7z x leptonica.zip
- cmake -Hleptonica-master -Bleptonica-master/build
- make -C leptonica-master/build

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

0 comments on commit 083639f

Please sign in to comment.