1- Annotator Library
1+ # Annotator Library
2+
23=================
34
45[ ![ Stories in Ready] [ waffle-image ]] [ waffle ]
56[ ![ Build Status] [ travis-image ]] [ travis ]
7+ [ ![ Build Status Windows] [ appveyor-image ]] [ appveyor ]
68[ ![ Coverage_Status] [ coveralls-image ]] [ coveralls ]
9+ [ ![ Coverage Status Codecov] [ codecov-image ]] [ codecov ]
710[ ![ Coverity Scan Build Status] [ coverity-image ]] [ coverity ]
8- [ ![ Documentation] [ codedocs-image ]] [ codedocs ] [ ![ Gitter] [ gitter-image ]] [ gitter ]
11+ [ ![ Documentation] [ codedocs-image ]] [ codedocs ]
12+ [ ![ Gitter] [ gitter-image ]] [ gitter ]
913
1014[ travis-image ] : https://travis-ci.org/annotatorproject/annotatorlib.png?branch=master
1115[ travis ] : http://travis-ci.org/annotatorproject/annotatorlib
1216
17+ [ appveyor-image ] : https://img.shields.io/appveyor/ci/chriamue/annotatorlib.svg
18+ [ appveyor ] : https://ci.appveyor.com/project/chriamue/annotatorlib
19+
1320[ coveralls-image ] : https://img.shields.io/coveralls/annotatorproject/annotatorlib.svg?label=Coverage
1421[ coveralls ] : https://coveralls.io/github/annotatorproject/annotatorlib
1522
16- [ coverity -image] : https://img.shields.io/coverity/scan/12802 .svg
17- [ coverity ] : https://scan.coverity.com/projects /annotatorproject- annotatorlib
23+ [ codecov -image] : https://img.shields.io/codecov/c/github/annotatorproject/annotatorlib .svg
24+ [ codecov ] : https://codecov.io/gh /annotatorproject/ annotatorlib
1825
1926[ codedocs-image ] : https://codedocs.xyz/annotatorproject/annotatorlib.svg
2027[ codedocs ] : https://codedocs.xyz/annotatorproject/annotatorlib/
2128
29+ [ coverity-image ] : https://img.shields.io/coverity/scan/12802.svg
30+ [ coverity ] : https://scan.coverity.com/projects/annotatorproject-annotatorlib
31+
2232[ gitter-image ] : https://badges.gitter.im/Join%20Chat.svg
2333[ gitter ] : https://gitter.im/annotatorproject/annotatorlib
2434
2535[ waffle-image ] : https://badge.waffle.io/annotatorproject/annotatorlib.svg?label=ready&title=Ready
2636[ waffle ] : http://waffle.io/annotatorproject/annotatorlib
2737
28- ### Quick start
38+ ## Quick start
2939
3040First install CMake, Qt5 and a c++11 compiler (gcc 5).
3141
32- ```
42+ ``` bash
3343sudo apt-get install libboost-system-dev libboost-filesystem-dev libpoco-dev libmysqlclient-dev libmongo-client-dev
3444```
3545
3646Build LibPoco
37- ``` sh
47+
48+ ``` bash
3849git clone https://github.com/pocoproject/poco.git
3950cd poco
4051sed -i ' s#mysqlclient_r#mysqlclient mysqlclient_r#g' cmake/FindMySQL.cmake
@@ -45,7 +56,7 @@ make -j2
4556
4657Then build.
4758
48- ``` sh
59+ ``` bash
4960git clone https://github.com/annotatorproject/annotatorlib
5061git submodule update --init --recursive
5162cd annotatorlib
5768
5869Add PascalVoc storage support.
5970
60- ``` sh
71+ ``` bash
6172cd annotatorlib/source/storages
6273git clone https://github.com/annotatorproject/annotatorstorage_pascalvocxml
6374cd ../../build
6475cmake ..
6576make
6677```
6778
79+ ## Conan Build on Windows
80+
81+ First install Visual Studio, CMake, Git and Conan.
82+
83+ Open Git Bash:
84+
85+ ``` bash
86+ git clone https://github.com/annotatorproject/annotatorlib
87+ git submodule update --init --recursive
88+ cd annotatorlib
89+ mkdir build
90+ cd build
91+ cmake .. -G " Visual Studio 14 2015 Win64" -DCMAKE_BUILD_TYPE=Release -DOPTION_CONAN_PACKAGES=1
92+ cmake --build . --config Release
93+ ```
94+
6895## Build coverage
69- ``` sh
96+
97+ ``` bash
7098git clone https://github.com/annotatorproject/annotatorlib
7199git submodule update --init --recursive
72100cd annotatorlib
73101mkdir build
74102cd build
75103cmake -DCMAKE_BUILD_TYPE=Coverage ..
76104make annotatorlib_coverage
77- ```
78-
105+ ```
0 commit comments