xo-umbrella2/xo-simulator
Roland Conybeare 631f7d018f
All checks were successful
cmake-docker / cmake-build (clang, clang++) (push) Successful in 28m21s
cmake-docker / cmake-build (gcc, g++) (push) Successful in 27m35s
CI / smoke-test (push) Successful in 8m57s
xo-reactor: drop ostream from AbstractEventProcessor api [REFACTOR]
2026-08-23 18:14:36 -04:00
..
.github/workflows git subrepo clone (merge) git@github.com:Rconybea/xo-simulator.git xo-simulator 2026-06-06 22:26:12 -04:00
cmake build: use auto dep export in xo-rpocess xo-simulator [BUILD] 2026-08-08 09:10:16 -04:00
include/xo/simulator xo-reactor: drop ostream from AbstractEventProcessor api [REFACTOR] 2026-08-23 18:14:36 -04:00
src/simulator xo-reactor: drop ostream from AbstractEventProcessor api [REFACTOR] 2026-08-23 18:14:36 -04:00
.gitignore git subrepo clone (merge) git@github.com:Rconybea/xo-simulator.git xo-simulator 2026-06-06 22:26:12 -04:00
.gitrepo git subrepo push xo-simulator 2026-06-07 00:08:09 -04:00
CMakeLists.txt git subrepo clone (merge) git@github.com:Rconybea/xo-simulator.git xo-simulator 2026-06-06 22:26:12 -04:00
README.md git subrepo clone (merge) git@github.com:Rconybea/xo-simulator.git xo-simulator 2026-06-06 22:26:12 -04:00

simulator library

in-memory deterministic simulator

Getting Started

build + install dependencies

build+install these first

build + install xo-simulator

$ cd xo-simulator
$ 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

(also see .github/workflows/main.yml)

build for unit test coverage

$ cd xo-simulator
$ mkdir ccov
$ cd ccov
$ cmake -DCMAKE_MODULE_PATH=${INSTALL_PREFIX}/share/cmake  -DCMAKE_PREFIX_PATH=${INSTALL_PREFIX} -DCODE_COVERAGE=ON -DCMAKE_BUILD_TYPE=Debug ..

Development

LSP support

LSP looks for compile commands in the root of the source tree; cmake creates them in the root of its build directory.

$ cd xo-simulator
$ ln -s build/compile_commands.json

display cmake variables

  • -L list variables
  • -A include 'advanced' variables
  • -H include help text
$ cd xo-simulator/build
$ cmake -LAH