If you have experience in compiling from source, these are the basic instructions.
To build Ozymandias, you'll need:
git
- a compiler (
gcc
,clang
, Visual Studio and MinGW(-w64) are all known to be supported) cmake
SDL2
SDL2_mixer
libpng
(optional, a bundled copy will be used if not found)
After cloning the repo (URL: https://github.com/bvschaik/ozymandias.git
), run the following commands:
$ mkdir build && cd build
$ cmake ..
$ make
This results in a ozymandias
executable.
To use the bundled copies of optional libraries even if a system version is available, add -DSYSTEM_LIBS=OFF
to cmake
invocation.
To build the Vita or Switch versions, use cmake .. -DVITA_BUILD=ON
or cmake .. -DSWITCH_BUILD=ON
instead of cmake ..
.
You'll obviously need the Vita or Switch SDK's. Docker images for the SDK's are available:
- Vita:
gnuton/vitasdk-docker:20190626
- Switch:
rsn8887/switchdev
See Running Ozymandias for instructions on how to configure Ozymandias for your platform.
For detailed building instructions, please check out the respective page: