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)...