syntax trees for Schematika parser
  • C++ 95.6%
  • CMake 4.4%
Find a file
2023-10-17 14:52:44 -04:00
.github/workflows build tweaks 2023-10-03 22:18:16 -04:00
cmake build: bugfix: support transitive deps in find_package helper 2023-10-09 14:00:54 -04:00
include/xo/reflect cosmetic: indenting 2023-10-17 14:52:27 -04:00
src/reflect cosmetic: indentation 2023-10-17 14:52:44 -04:00
utest reflect: insert xo/ subdir into include path 2023-10-06 16:53:47 -04:00
.gitignore document compile_commands.json symlink + .gitignore 2023-10-06 17:05:08 -04:00
CMakeLists.txt build: print CMAKE_MODULE_PATH / CMAKE_PREFIX_PATH 2023-10-12 10:51:25 -04:00
FILESYSTEM reflect: initial implementation 2023-09-25 17:49:42 -04:00
README.md doc updates 2023-10-17 14:52:09 -04:00

reflection library

Getting Started

build + install dependencies

build + install

$ cd reflect
$ 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-reflect
$ 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-reflect
$ ln -s build/compile_commands.json  # lsp will look for compile_commands.json in the root of the source tree