Required dependencies:
-
clang-10.0 or later
-
SDL2.
$ sudo apt install clang pkg-config libsdl2-dev libsdl2-image-dev
...
$ make PREFIX=/usr/local
...
$ sudo make PREFIX=/usr/local install
...
The default PREFIX
is /opt/caio
.
Required dependencies:
To install xcode and brew follow the instructions here and here.
$ xcode-select --install
...
$ brew install pkg-config sdl2 sdl2_image
...
$ make PREFIX=/usr/local
...
$ sudo make PREFIX=/usr/local install
...
The default PREFIX
is /opt/caio
.
$ make src-package RELEASE=<tag>
The previous command creates a .tgz
tarball source package containing the
specified release. The tarball file is placed inside the build/
directory.
tag
specifies the caio's git tag to build.
$ make deb-package RELEASE=<tag>
The previous command creates a .deb
binary package under the build/
directory. tag
specifies the caio's git tag to build.
$ make bin-package RELEASE=<tag>
The previous command creates a .tgz
tarball binary package under the
build/
directory. tag
specifies the caio's git branch or tag to build.
Note that this package does not contain any runtime dependencies (libSDL2, libstdc++, etc). Those must be installed separately.