xo-numeric/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

25 lines
566 B
Markdown

# pybind11 utilities for XO projects
## Getting Started
### build + install dependencies
- see [github/Rconybea/xo-cmake](https://github.com/Rconybea/xo-cmake)
### 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
```