add doc target on cmake

This commit is contained in:
dota17
2020-02-26 15:39:27 +08:00
parent 5a2b9139f9
commit e3b6521baa
2 changed files with 26 additions and 0 deletions

View File

@@ -230,6 +230,14 @@ JSONC_TEST_TRACE=1 make test
```
and check the log files again.
To get doxygen documentation
The libray documentation can be generated directly from the source codes using Doxygen tool:
```sh
make doc
google-chrome ../doc/html/index.html
```
Linking to `libjson-c` <a name="linking">