arena allocator + incremental garbage collector
  • C++ 98.4%
  • CMake 1.6%
Find a file
2024-03-15 19:20:18 -04:00
cmake/xo_macros stremaline xo-cmake info messages 2024-03-15 19:20:18 -04:00
.gitignore stremaline xo-cmake info messages 2024-03-15 19:20:18 -04:00
CMakeLists.txt bugfix: + install for xo-project-macros.cmake 2023-10-23 13:36:51 -04:00
README.md xo-cmake: additions to README 2023-10-16 23:12:14 -04:00

XO cmake modules

Collects cmake macros to be shared across XO projects (e.g. indentlog, reflect, kalman, ..)

Features

  • support for both manyrepo and monorepo projects
  • support for generating cmake xxxConfig.cmake files, so cmake find_package() works reliably

Example

In some XO project foo:

$ cd build
$ PREFIX=/usr/local # or wherever you prefer
$ cmake -DCMAKE_MODULE_PATH=${PREFIX}/share/cmake -DCMAKE_INSTALL_PREFIX=${PREFIX} ..
$ make install

then in foo/CMakeLists.txt:

include(xo_macros/xo_cxx)

when configuring foo:

$ cmake -DCMAKE_MODULE_PATH=${PREFIX}/share/cmake path/to/foo