Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.
/ PongSFML Public archive

Pong game writed on C++ with SFML

License

Notifications You must be signed in to change notification settings

razenxc/PongSFML

Repository files navigation

PongSFML

How to Use

  1. 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
    
  2. Configure and build your project. 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
    

Third-party

Libraries

Fonts