jansson/cmake
Joakim Söderberg 19f33c0e71 Add support for coverage/coveralls.io in cmake project.
This adds support for http://coveralls.io/ to the cmake project. This can then be run via a new Travis job, which uploads json containing the coverage data to the website.

To use this, please login usin github at http://coveralls.io/ and enable the Jansson project. You can then get a nice percentage badge for code coverage after each Travis buid. Coveralls will also comment on pull request with coverage info.

To test and run it locally do:

```bash
$ mkdir build && cd build
$ cmake -DJANSSON_COVERALLS=ON -DCMAKE_BUILD_TYPE=Debug ..
$ cmake --build .                      # $ make
$ cmake --build . --target coveralls   # $ make coveralls
```

There is also another script that generates a local HTML page using lcov CodeCoverage.cmake which can be run using

```bash
$ make coverage
```

The required depdencies to run this are:
gcov
curl
lcov (is needed for the normal CodeCoverage script)
2014-12-12 23:57:01 +01:00
..
CheckFunctionKeywords.cmake Rename the CMakeModules directory to simply cmake. 2013-03-07 16:12:08 +01:00
CodeCoverage.cmake Add support for coverage/coveralls.io in cmake project. 2014-12-12 23:57:01 +01:00
Coveralls.cmake Add support for coverage/coveralls.io in cmake project. 2014-12-12 23:57:01 +01:00
CoverallsClear.cmake Add support for coverage/coveralls.io in cmake project. 2014-12-12 23:57:01 +01:00
CoverallsGenerateGcov.cmake Add support for coverage/coveralls.io in cmake project. 2014-12-12 23:57:01 +01:00
FindSphinx.cmake Fix the cmake Sphinx find script. 2013-05-06 12:31:29 +00:00
jansson_config.h.cmake Update copyrights for 2014 2014-01-28 09:16:05 +02:00
jansson_private_config.h.cmake Merge branch '2.6' 2014-04-30 12:06:03 +03:00
JanssonConfig.cmake.in Renamed config.h -> jansson_private_config.h 2014-01-27 12:48:52 +01:00
JanssonConfigVersion.cmake.in Added CMake config files. 2014-01-24 14:13:02 +01:00