creat project.h
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
# CMakeLists.txt
|
||||
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
project(asteroids VERSION 0.1.0)
|
||||
project(orni VERSION 0.1.0)
|
||||
|
||||
# Info del proyecto
|
||||
set(PROJECT_LONG_NAME "Asteroides")
|
||||
set(PROJECT_LONG_NAME "Orni Attack")
|
||||
set(PROJECT_COPYRIGHT "© 1999 Visente i Sergi, 2025 Port")
|
||||
|
||||
# Establecer estándar de C++
|
||||
@@ -28,16 +28,15 @@ else()
|
||||
set(GIT_HASH "unknown")
|
||||
endif()
|
||||
|
||||
# Configurar archivo de versión (si existe project.h.in en el futuro)
|
||||
if(EXISTS "${CMAKE_SOURCE_DIR}/source/project.h.in")
|
||||
configure_file(${CMAKE_SOURCE_DIR}/source/project.h.in ${CMAKE_BINARY_DIR}/project.h @ONLY)
|
||||
endif()
|
||||
# Configurar archivo de versión
|
||||
configure_file(${CMAKE_SOURCE_DIR}/source/project.h.in ${CMAKE_BINARY_DIR}/project.h @ONLY)
|
||||
|
||||
# --- LISTA DE FUENTES ---
|
||||
set(APP_SOURCES
|
||||
source/main.cpp
|
||||
source/sdl_manager.cpp
|
||||
source/joc_asteroides.cpp
|
||||
source/core/rendering/sdl_manager.cpp
|
||||
source/game/joc_asteroides.cpp
|
||||
source/core/rendering/primitives.cpp
|
||||
)
|
||||
|
||||
# Configuración de SDL3
|
||||
|
||||
Reference in New Issue
Block a user