The papers please demo made with Raylib
- Learned how to use
makefully, variables and all. - CMake is less cryptic now.
- How to enable/work with Raylib both on:
- On Windows:
- You clone the git repo and then you can wither build the raylib from source using CMake and Make, OR you can installa nd then go to the examples directory.
- You see where you want to work. VSC is something I am not used to. So I used Sublime obviously, I just ran CMAKE with the $(CMAKE_EXPORT_COMPILE_COMMANDS) key turned on. That generates the json database (compile_commands.json) along with the
makefileswhich helps with the completions of the Clangd Server. - Once that was working we can build any project using a striped down version of the Makefile for exmples keeping only the Windows stuff.
- On Linux:
- You clone the git repo and then build from source coz who are you kidding, and but but but, you need the
base-develpackage on Arch/Arch- based orbuild-essentialsfor Ubuntu. Then run CMAKE to build and generate the Makefiles and runmakeand voila!,raylibis built. Install withmake install. - Now sublime works like a charm coz you can export the database with
bearand start working.
- You clone the git repo and then build from source coz who are you kidding, and but but but, you need the
- On Windows:
Well for one this is a followed tutorial by Andrew Hamel Codes on YT.