Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 706 Bytes

File metadata and controls

27 lines (16 loc) · 706 Bytes

This branch is forked from Raylib tag v4.5 in order to work on a port for Amiga OS4.1

How to compile

Install GLFW from Clib4 repository:

sudo apt install libglfw3-clib4

Then create a build dir:

mkdir build

Enter int build dir and execute cmake:

cd build
cmake -DCMAKE_TOOLCHAIN_FILE=<YourClib4Toolchain> -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DUSE_EXTERNAL_GLFW=ON -DGRAPHICS=GRAPHICS_API_OPENGL_21 ..
make

If you don't want to compile the examples add to cmake command:

-DBUILD_EXAMPLES=OFF

An example of a cmake toolchain for AmigaOS4 can be found here:

https://github.com/afxgroup/clib4-cmake-toolchain