diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-09 18:35:34 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-09 18:35:34 +0100 |
| commit | 0844588c521be6254de7aed62c9d018170b3af5b (patch) | |
| tree | 8dc4d1acb56d853599c959ec8293ba2c683e407b /doc/HOWTO.md | |
| parent | 26915d8c47260f90d67df8c6af1f16ba7607a3d5 (diff) | |
docs: Update docs for Task #76 size measurement
- Add size measurement section to HOWTO.md
- Move Task #76 to COMPLETED.md
- Update TODO.md and PROJECT_CONTEXT.md
- Document measurement results (Demo=4.4MB, External=2.0MB)
Diffstat (limited to 'doc/HOWTO.md')
| -rw-r--r-- | doc/HOWTO.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/HOWTO.md b/doc/HOWTO.md index c6e4e79..fa3395a 100644 --- a/doc/HOWTO.md +++ b/doc/HOWTO.md @@ -58,6 +58,24 @@ cmake --build build -j4 **Note:** `DEMO_ALL_OPTIONS=ON` enables tests, tools, AND `STRIP_ALL`, which removes debug-only code. Use selective flags for debugging. +### Size Measurement Build +```bash +./scripts/measure_size.sh +``` +Measures demo code size by stubbing external libraries (wgpu/GLFW/miniaudio). Binary compiles but **does NOT run**. + +**Manual:** +```bash +cmake -S . -B build_size -DDEMO_STRIP_EXTERNAL_LIBS=ON +cmake --build build_size -j4 +strip build_size/demo64k +ls -lh build_size/demo64k +``` + +**Typical results:** Demo=4.4MB (69%), External=2.0MB (31%) + +See `doc/SIZE_MEASUREMENT.md` for details. + --- ## Build System |
