cmake macros for XO
  • CMake 73.8%
  • Shell 26.2%
Find a file
2023-10-08 13:50:08 -04:00
cmake cmake: + xo_hreaderonly_dependency() to fix confusion 2023-10-08 13:50:08 -04:00
.gitignore initial commit 2023-09-26 17:11:57 -04:00
CMakeLists.txt xo-cmake: bugfix: must install code-coverage.cmake 2023-09-27 16:31:52 -04:00
README.md initial commit 2023-09-26 17:11:57 -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
$ cmake -DCMAKE_MODULE_PATH=/usr/local/share/cmake ..

then in foo/CMakeLists.txt:

include(xo_macros/xo_cxx)