Entropie git · main
git clone https://git.christianimmanuel.de/games/Entropie.gitwget https://git.christianimmanuel.de/games/Entropie/archive/Entropie.tar.gzCMakeLists.txt raw
# Minimum CMake version
cmake_minimum_required(VERSION 3.10)
# Project name and language
project(FestivalGame C)
# Define source files
set(SOURCES
camera.c
character.c
collectable.c
main.c
map.c
object.c
render.c
)
# Include directories
include_directories(${CMAKE_SOURCE_DIR} /usr/include/SDL3 /usr/include/SDL3_ttf)
# Define the executable
add_executable(festival_game ${SOURCES})
# Link SDL3 and SDL3_ttf directly
target_link_libraries(festival_game -lSDL3 -lSDL3_ttf)