master repository for XO: cooperating set of C++ libraries for deterministic simulation
- C++ 87.4%
- C 6.2%
- CMake 3.5%
- Nix 1%
- Objective-C++ 0.6%
- Other 1.2%
| .github/workflows | ||
| bin | ||
| cmake/xo_macros | ||
| share/xo-macros | ||
| .gitignore | ||
| CMakeLists.txt | ||
| README.md | ||
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.cmakefiles, so cmakefind_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