This repository houses the code to my dream game, Unelmia!
-
Install Git and CMake. Use your system's package manager if available.
-
Clone the GitHub repo and open the repo in your text editor of choice.
-
If you use Linux, install SFML's dependencies using your system package manager. On Ubuntu and other Debian-based distributions you can use the following commands:
sudo apt update sudo apt install \ libxrandr-dev \ libxcursor-dev \ libudev-dev \ libfreetype-dev \ libopenal-dev \ libflac-dev \ libvorbis-dev \ libgl1-mesa-dev \ libegl1-mesa-dev
-
Most popular IDEs support CMake projects with very little effort on your part.
Using CMake from the command line is straightforward as well.
For a single-configuration generator (typically the case on Linux and macOS):
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release cmake --build build
For a multi-configuration generator (typically the case on Windows):
cmake -S . -B build cmake --build build --config Release
-
Enjoy!