doc: README — trim quick start, GUI flag inline
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
21
README.md
21
README.md
@@ -10,28 +10,13 @@ Status: early work-in-progress.
|
|||||||
## Quick start
|
## Quick start
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cmake -S . -B build
|
cmake -S . -B build # TUI (default); add -DESSIM_FRONTEND=wx for the GUI
|
||||||
cmake --build build -j
|
cmake --build build -j
|
||||||
./build/essim
|
./build/essim
|
||||||
```
|
```
|
||||||
|
|
||||||
The build is **layered**: `essim_core` is the frontend-agnostic business
|
Frontends: `tui` (terminal, default), `wx` (wxWidgets GUI), `none` (core +
|
||||||
library (domain + importers + operations); the `essim` binary comes from a
|
tests, no GUI toolkit). Architecture in [`DESIGN.md`](DESIGN.md).
|
||||||
**frontend** under `src/frontends/<name>/` that links it. Select one with
|
|
||||||
`-DESSIM_FRONTEND=<name>` (default `tui`); `-DESSIM_FRONTEND=none` builds the
|
|
||||||
core + tests only, with no GUI toolkit fetched. Architecture in
|
|
||||||
[`DESIGN.md`](DESIGN.md).
|
|
||||||
|
|
||||||
The quick start above builds the **tui** (terminal) frontend. For the
|
|
||||||
**wxWidgets GUI** instead (needs wxWidgets ≥ 3.2, see *Dependencies*):
|
|
||||||
|
|
||||||
```sh
|
|
||||||
cmake -S . -B build -DESSIM_FRONTEND=wx
|
|
||||||
cmake --build build -j
|
|
||||||
./build/essim
|
|
||||||
```
|
|
||||||
|
|
||||||
Switching `-DESSIM_FRONTEND` on an existing `build/` reconfigures it in place.
|
|
||||||
|
|
||||||
Inside the shell, type `help` for the live command list — or read the
|
Inside the shell, type `help` for the live command list — or read the
|
||||||
auto-generated reference at [`doc/user/commands.md`](doc/user/commands.md).
|
auto-generated reference at [`doc/user/commands.md`](doc/user/commands.md).
|
||||||
|
|||||||
Reference in New Issue
Block a user