Skip to content

Latest commit

 

History

History
84 lines (60 loc) · 1.66 KB

File metadata and controls

84 lines (60 loc) · 1.66 KB

caio - 8-bit home computers emulator

Compile & Install

Linux

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.

macOS

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.

Binary Packages

Linux

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.

macOS

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.