1
0
mirror of https://github.com/nlohmann/json synced 2024-11-23 20:40:08 +00:00

Merge pull request #23 from Teemperor/gcc_remark_readme

Added a remark to the readme that coverage is GCC only for now
This commit is contained in:
Niels 2015-01-11 12:47:00 +01:00
commit cc7e942870

View File

@ -276,13 +276,15 @@ $ make
$ ctest
```
If you want to generate a coverage report with lcov, execute this instead:
If you want to generate a coverage report with the lcov/genhtml tools, execute this instead:
```sh
$ cmake .
$ make coverage
```
**Note: You need to use GCC for now as otherwise the target coverage doesn't exist!**
The report is now in the subfolder coverage/index.html
## Execute unit tests with automake