Installation
Install KapRaylib on your project
Step 1 - main install
Submodules
We advise you to use submodules if your project use github. Submodules allow you to update KapRaylib if you want in latest release.
To install KapRaylib with submodules, you juste have to excute this command on your terminal :
Zip file
If you do not use github or you do not want to use submodules, you can download the version you want of KapRaylib with this link.
Step 2 - Init CMakes
Because KapEngine uses cmakes, you have to do some stuff to init KapRaylib to your project.
First of all you have to add lines below in your CMakeList.txt
You also have to create a CMake folder. Inside you will create Findraylib.cmake file.
In this file you have to write these lines :
Directory : {Project Root}/CMake/Findraylib.cmake
This file gonna take Raylib if you do not have it.
In Packages folder you have a file named packages.cmake.
Inside you have to write this line :
Step 3 - Play
Now you installed KapRaylib ! You can build and play your game with Raylib.
Step 4 - Advanced tools
KapRaylib is made of several defines. Each of them can be rewrite by adding flag in your cmake command.
these flags can be execute in same line to add several options.
Last updated