External dependencies:
sudo apt update && sudo apt install cmake pkg-config libfreetype-dev libsdl2-dev
Compile and install:
make PREFIX=/usr/local
sudo make PREFIX=/usr/local install
The default PREFIX is /opt/caio.
External dependencies:
To install xcode, xcode command line tools, and brew follow the instructions here and here, then:
xcode-select --install
brew update && brew upgrade && brew install cmake pkg-config freetype sdl2
Compile and install:
make PREFIX=/usr/local
sudo make PREFIX=/usr/local install
The default PREFIX is /opt/caio.
Install the external dependencies specified in the previous section and run the following command to generate a debian package:
make package
The previous command could ask for the root password during the generation of the actual package.
Install the external dependencies specified in the previous section and run the following command to generate dmg and pkg packages:
make package
Note that the generated packages are not signed.