Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

cmake

  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