Building Pointcaster
Source code for Pointcaster is available on Github. Start by cloning the repository.
Linux
Builds on Linux use a containerised environment created using the Dockerfile in the root of the repository. This handles download, installation and configuration of all dependencies.
The Pointcaster AppImage can be built using Docker or Podman from the repository root like so:
docker build -t pointcaster . docker run --rm -it -v ./:/pointcaster:Z -w/pointcaster pointcaster ./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:
docker run --rm -it -v ./:/pointcaster:Z -w/pointcaster pointcaster bash # then inside the dev shell: > cmake --preset linux-release > cmake --build build/linux-release > cmake --build build/linux-release --target install > cmake --build build/linux-release --target package
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.
