syntax trees for Schematika parser
  • C++ 95.6%
  • CMake 4.4%
Find a file
2023-10-09 14:54:17 -04:00
.github/workflows github: + workflow (build on base ubuntu) 2023-10-09 13:55:12 -04:00
cmake initial implementation 2023-10-09 13:49:08 -04:00
include/xo/printjson printjson: indentation in .hpp 2023-10-09 14:54:17 -04:00
src/printjson init_printjson: always create singleton 2023-10-09 14:53:51 -04:00
.gitignore + .gitignore 2023-10-09 13:51:34 -04:00
CMakeLists.txt initial implementation 2023-10-09 13:49:08 -04:00
README.md initial implementation 2023-10-09 13:49:08 -04:00

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