xo-flatstring: build: use streamlined coverage generation

This commit is contained in:
Roland Conybeare 2024-04-25 13:06:55 -04:00
commit 39cedaa618
5 changed files with 25 additions and 170 deletions

View file

@ -50,6 +50,8 @@ $ cmake --install .build
$ cd xo-flatstring
$ cmake --build .build -- docs
```
Must invoke `docs` target explicitly to prepare documentation
When complete, point local browser to `xo-flatstring/.build/docs/sphinx/index.html`
### build with test coverage
@ -70,7 +72,12 @@ generate html+text coverage report
$ cmake --build .build-ccov -- ccov
```
browse to `.build-ccov/ccov/html/index.html`
For html test coverage browse to `.build-ccov/ccov/html/index.html`
install documentation only, along with test-coverage report
```
$ cmake --install .build-ccov --component Documentation
```
### LSP support
```