A game built with the SFML library
For Linux and Mac, the CMake config does not automatically install sfml and assumes the libraries already exist on the system. See below to install sfml:
# May need to run to fetch latest packages
sudo apt-get update
sudo apt-get install libsfml-dev
# May need to run to fetch latest packages
brew update
brew install sfml
Windows does not need to install sfml as a prerequisite like Linux and MacOS do. Instead, the CMake config will download sfml using the FetchContent module.
Lines 17 to 25 in 532d64e
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
cd build
./PhantomForce
This project is licensed under the MIT License - see the LICENSE.md