cmake_minimum_required(VERSION 4.1) project(graphe C) set(CMAKE_C_STANDARD 23) find_package(SDL2 REQUIRED) add_executable(graphe main.c structs.c structs.h render.h render.c algorithms.h communities.c louvain.c) target_link_libraries(graphe SDL2::SDL2 m)