xo-expression2/xo-pyutil/README.md
Roland Conybeare 707562f1f2 Add 'xo-pyutil/' from commit 'a2cb8ae60f'
git-subtree-dir: xo-pyutil
git-subtree-mainline: 219038c445
git-subtree-split: a2cb8ae60f
2025-05-10 19:38:21 -05:00

566 B

pybind11 utilities for XO projects

Getting Started

build + install dependencies

to build + install locally

$ cd xo-pyutil
$ mkdir build
$ cd build
$ PREFIX=/usr/local # for example
$ cmake -DCMAKE_MODULE_PATH=${PREFIX}/share/cmake -DCMAKE_PREFIX_PATH=$(PREFIX) -DCMAKE_INSTALL_PREFIX=${PREFIX} ..
$ make
$ make install

LSP support

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