Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

sfml

  1. lorli

    C++ How to compile sfml project using cmake on linux

    How can I compile my sfml project using cmake? Using simple g++ command I would do this g++ -o test file1.cpp file2.cpp -lsfml-graphics -lsfml-window -lsfml-system so far I have this in my cmake file: cmake_minimum_required(VERSION 3.25.2) project(life) set (SOURCES file1.cpp file2.cpp)...
Back
Top Bottom