apegat de mala manera els shaders del CCAE i fets uns apanyets per a vore si compila

This commit is contained in:
2025-10-15 12:59:17 +02:00
parent e4a08d2ec7
commit e811cf0a1d
23 changed files with 1158 additions and 829 deletions

View File

@@ -73,9 +73,16 @@ set(APP_SOURCES
source/sprite/surface_animated_sprite.cpp
source/sprite/surface_moving_sprite.cpp
source/sprite/surface_sprite.cpp
)
# Fuentes de librerías de terceros
set(EXTERNAL_SOURCES
source/external/jail_audio.cpp
source/external/jail_shader.cpp
)
# Fuentes del sistema de renderizado
set(RENDERING_SOURCES
source/rendering/opengl/opengl_shader.cpp
)
# Configuración de SDL3
@@ -83,7 +90,7 @@ find_package(SDL3 REQUIRED CONFIG REQUIRED COMPONENTS SDL3)
message(STATUS "SDL3 encontrado: ${SDL3_INCLUDE_DIRS}")
# --- 2. AÑADIR EJECUTABLE ---
add_executable(${PROJECT_NAME} ${APP_SOURCES})
add_executable(${PROJECT_NAME} ${APP_SOURCES} ${EXTERNAL_SOURCES} ${RENDERING_SOURCES})
# --- 3. DIRECTORIOS DE INCLUSIÓN ---
target_include_directories(${PROJECT_NAME} PUBLIC