Applications that demonstrate specific aspects of the promeki library.
The demos/ directory contains standalone demonstration applications that showcase the capabilities and usage patterns of the promeki library. Unlike the utility applications (which provide functional use beyond the library itself), demos exist purely to help users learn and understand specific library APIs.
Demos are built by default as part of the normal library build. The option PROMEKI_BUILD_DEMOS (default ON) controls this:
When built, the demo executables are placed in the bin/ directory of the build tree. They are also installed as part of make install.
The demos/ directory has its own top-level CMakeLists.txt and can be built independently against an installed copy of libpromeki, just like any external project:
This is exactly the workflow that any third-party consumer of the library would follow, making the demos a living reference for integration.
Each demo lives in its own subdirectory under demos/:
To add a new demo:
demos/ (e.g. demos/my-new-demo/).CMakeLists.txt that creates the executable and links against the appropriate promeki target (promeki::promeki, or promeki::tui / promeki::sdl for UI libraries).install(TARGETS ...) rule so it gets installed.add_subdirectory() call in demos/CMakeLists.txt.| Demo | Library | Description |
|---|---|---|
| tui-demo | promeki::tui | Interactive showcase of TUI widgets and layout |
| tui-event-test | promeki::tui | Event loop and input event visualization |