SFML and CMake need to be installed.
Create a build
directory
mkdir build
cd build
Configure and build the project
cmake ..
cmake --build .
On Windows it will build in debug by default. To build in release you need to use this command
cmake --build . --config Release
You will also need to add the res
directory and the SFML dlls in the Release or Debug directory for the executable to run.