master repository for XO: cooperating set of C++ libraries for deterministic simulation
  • C++ 87.5%
  • C 6.2%
  • CMake 3.4%
  • Nix 1%
  • Objective-C++ 0.6%
  • Other 1.2%
Find a file
2023-10-06 23:53:56 -04:00
cmake xo-cmake: pybind11 install tweaks 2023-10-06 23:53:56 -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)