[Project Guidelines and Rules]
In order to develop code for the game, you will need several elements on your computer :
Choose what you want.
Don't forget to set your user name and email if you want to commit.
$ git config user.name="username"
$ git config user.email="youremail"
Freesynd is developed using C++20.
Please consult [Guiding principles and decisions] for the list of supported compilers.
You can use one of them but using Ninja is really faster than Makefile
Look at the [CMake cheatsheet]
We use Conan to manage our dependencies. Currently not all dependencies are managed by Conan either because they do not exist in Conan Center or it was simpler to keep them out of Conan management.
You can install Conan 2 directly or through a virtual environment (https://docs.conan.io/2/installation.html)
Then run the following command to define a default profile for Conan:
$ conan profile detect --force
Check that this profile (~/.conan2/profiles/default) defines the right c++ version:
compiler.cppstd=gnu20
The following libraries are needed in their development version :
* SLD 2
* SDL2_Mixer
* SDL2_Image
You can install the different libraries using the following commands :
# Install SDL 2
sudo apt-get -y install libsdl2-dev
# Install SDL_Mixer
sudo apt-get -y install libsdl-mixer2-dev
# Install SDL_Image
sudo apt-get -y install libsdl-image2-dev
You don't need to download anything. All libraries needed for developing and running the game are availing in the source reposition in /extern/.
For SDL2, you can use Homebrew :
# Install SDL 2
brew install sdl2
# Install SDL_Mixer
brew install sdl2_mixer
# Install SDL_Image
brew install sdl2_image
code .
choco install vscode
code .
. This will open VS Code.code .
. This will open VS Code.
Wiki: CMake cheatsheet
Wiki: Guiding principles and decisions
Wiki: Project Guidelines and Rules