c++ reflection library
  • C++ 96.6%
  • CMake 3.3%
Find a file
2023-10-06 17:05:08 -04:00
.github/workflows build tweaks 2023-10-03 22:18:16 -04:00
cmake bugfix: cmake config template 2023-10-06 16:40:03 -04:00
include/xo/reflect reflect: insert xo/ subdir into include path 2023-10-06 16:53:47 -04:00
src/reflect reflect: use xo_add_shared_library() + misc. 2023-09-27 19:42:52 -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 cosmetic: drop cmake message 2023-10-06 16:40:18 -04:00
FILESYSTEM reflect: initial implementation 2023-09-25 17:49:42 -04:00
README.md document compile_commands.json symlink + .gitignore 2023-10-06 17:05:08 -04:00

reflection library

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