cmake_minimum_required(VERSION 3.12) project(Holesome) set(CMAKE_CXX_STANDARD 20) # Find and include SFML find_package(SFML 2.5 COMPONENTS graphics audio REQUIRED) include_directories(${SFML_INCLUDE_DIR}) # Set up your project's source files set(SOURCES src/main.cpp src/game/renderer.h src/game/renderer.cpp src/game/game_object.cpp src/game/game_object.h src/game/game.cpp src/game/game.h src/util/logger.cpp src/util/logger.h) # Add an executable target add_executable(Holesome ${SOURCES}) # Link SFML to your executable target target_link_libraries(Holesome sfml-graphics sfml-audio)