C++ application showing possible usage of StateSmurf framework
- cmake [>= 3.20]
- C++20
- cmlib
- StateSmurf
mkdir -p _build && cd _build
cmake ../ -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=<state_smurf_install_path>
make -j 8
./smurfExampleApp --speed <int>
- --speed: target speed. Each increment take 1 second => is duration of run.
Before testing, path to SmurfEvaluator must be set. This path is relative to this script. It is set to StateSmurf/_build/SmurfEvaluator/smurf_evaluator by default
bash test/SmurfTests.sh
This script is example of what can be put into CI tool
State diagram on which SmurfExampleApp is working