Commit 9fa572

2026-07-18 03:53:02 Matt Hughes: -/-
development/building pointcaster.md ..
@@ 13,20 13,23 @@
The Pointcaster AppImage can be built from the repository root like so:
```sh
docker build -t pointcaster-linux .
- docker run --rm -it -v ./:/pointcaster:Z -w /pointcaster pointcaster-linux ./scripts/build-linux-release.sh
+ docker run --rm -it \
+ -v ./:/pointcaster:Z -w /pointcaster pointcaster-linux \
+ ./scripts/build-linux-release.sh
```
The `docker run` command arguments ensure that the repository is mounted inside the container and set as the working directory.
For a development shell, invoke `bash` or `fish`, where you can configure and build using `cmake`:
```sh
- docker run --rm -it -v ./:/pointcaster:Z -w/pointcaster pointcaster-linux bash
+ docker run --rm -it \
+ -v ./:/pointcaster:Z -w/pointcaster pointcaster-linux bash
```
Then from inside:
```sh
cmake --preset linux-release
- cmake --build build/linux-release
- cmake --build build/linux-release --target install
- cmake --build build/linux-release --target package
+ cmake --build --preset linux-release
+ cmake --install build/linux-release
+ cpack --preset linux-release
```
The install target places a portable build at `build/linux-release/install/bin/pointcaster`, and the package target creates an AppImage at `build/linux-release/Pointcaster-Linux-<version>.AppImage`, both of which can be run from outside the container.
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9