3f78d0978d3464f4a6115588811e89f0f3adfcb1
Adds support for `--duration <seconds>` (and `--help`) to automatically terminate after a set time. Useful for testing, CI, and agent runs where the default infinite loop is problematic. Uses `asio::steady_timer` + `async_wait` for the timeout (unified with the existing signal handling under one io_context). The `process_signals` lambda was restored as it looks nicer. Combines what were 4 incremental commits into one (the separate window refactor from earlier remains). Updated cuber.cpp and includes.
cuber
cuber is a simple cube timer.
Requirements
- CMake 3.21+
- Ninja
- C++23 compiler
Development
Configure:
cmake -S . -B build -GNinja
Build:
ninja -C build
Run:
./build/cuber.exe
Description
Languages
C++
95.1%
CMake
4.9%