initial implementation

This commit is contained in:
Roland Conybeare 2023-10-09 13:49:08 -04:00
commit effbbf22d9
9 changed files with 798 additions and 0 deletions

26
README.md Normal file
View file

@ -0,0 +1,26 @@
# printjson library
### build + install
```
$ cd xo-printjson
$ mkdir build
$ cd build
$ PREFIX=/usr/local # or wherever you prefer
$ cmake -DCMAKE_MODULE_PATH=${PREFIX}/share/cmake -DCMAKE_PREFIX_PATH=${PREFIX} -DCMAKE_INSTALL_PREFIX=${PREFIX} ..
$ make
$ make install
```
### build for unit test coverage
```
$ cd xo-printjson
$ mkdir ccov
$ cd ccov
$ cmake -DCMAKE_MODULE_PATH=${PREFIX}/share/cmake -DCMAKE_PREFIX_PATH=${PREFIX} -DCODE_COVERAGE=ON -DCMAKE_BUILD_TYPE=Debug ..
```
### LSP support
```
$ cd xo-printjson
$ ln -s build/compile_commands.json # lsp will look for compile_commands.json in the root of the source tree
```