xo-numeric/xo-ordinaltree
2025-08-06 09:31:28 -05:00
..
.github/workflows Add 'xo-ordinaltree/' from commit 'e40dc2daab' 2025-05-10 18:59:48 -05:00
cmake xo-object: generative GC utest + reinstate coverage build 2025-08-06 09:30:37 -05:00
include/xo/ordinaltree Add 'xo-ordinaltree/' from commit 'e40dc2daab' 2025-05-10 18:59:48 -05:00
utest xo-ordinaltree: drop legacy lcov build 2025-08-06 09:31:28 -05:00
.gitignore Add 'xo-ordinaltree/' from commit 'e40dc2daab' 2025-05-10 18:59:48 -05:00
CMakeLists.txt Add 'xo-ordinaltree/' from commit 'e40dc2daab' 2025-05-10 18:59:48 -05:00
README.md Add 'xo-ordinaltree/' from commit 'e40dc2daab' 2025-05-10 18:59:48 -05:00

ordinal tree library

Getting Started

build + install dependencies

build + install

$ cd xo-ordinaltree
$ mkdir build
$ cd build
$ INSTALL_PREFIX=/usr/local  # or wherever you prefer
$ cmake -DCMAKE_MODULE_PATH=${INSTALL_PREFIX}/share/cmake -DCMAKE_PREFIX_PATH=${INSTALL_PREFIX} -DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} ..
$ make
$ make install

build for unit test coverage

$ cd xo-ordinaltree
$ mkdir build-ccov
$ cd build-ccov
$ cmake -DCMAKE_MODULE_PATH=${INSTALL_PREFIX}/share/cmake  -DCMAKE_PREFIX_PATH=${INSTALL_PREFIX} -DCODE_COVERAGE=ON -DCMAKE_BUILD_TYPE=Debug ..

LSP support

$ cd xo-ordinaltree
$ ln -s build/compile_commands.json  # lsp will look for compile_commands.json in the root of the source tree