Commit Graph

18 Commits

Author SHA1 Message Date
0500dce7aa includes amb ruta absoluta 2025-12-03 11:19:23 +01:00
69fb5f3cc1 Migrate to CMake-based build with packaging
Major build system refactoring:

**CMake (build authority)**:
- Auto-discovers .cpp files (GLOB_RECURSE in source/core/ and source/game/)
- No manual file list maintenance needed
- Excludes source/legacy/ automatically
- Generates build/project.h from template

**Makefile (simplified wrapper)**:
- Delegates compilation to CMake (make → cmake --build build)
- Contains 5 release packaging targets:
  * macos_release: .app bundle + .dmg (Apple Silicon)
  * linux_release: .tar.gz
  * windows_release: .zip with .exe + DLLs
  * windows_cross: cross-compile from Linux/macOS
  * rpi_release: ARM64 cross-compile
- Complex packaging logic preserved (code signing, symlinks, DMG creation)

**Benefits**:
- Add new .cpp file → automatically compiled (no manual updates)
- Single source of truth in CMakeLists.txt (no duplication)
- IDE-friendly (VSCode, CLion, etc.)
- Complete packaging support (5 platforms)

**Files changed**:
- CMakeLists.txt: GLOB_RECURSE replaces 23-file hardcoded list
- Makefile: Simplified compilation + added 5 release targets (~220 lines)
- CLAUDE.md: Updated build system documentation
- escena_titol.cpp: Fixed include path (build/project.h → project.h)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 07:36:53 +01:00
98c90e6075 treballant en el starfield 2025-12-02 21:19:43 +01:00
f795c86a38 afegida escena TITOL 2025-12-02 21:03:21 +01:00
e51749dbc6 afegit sistema de audio 2025-12-02 13:51:54 +01:00
73f222fcb7 afegit debris_manager 2025-12-02 08:30:32 +01:00
67681e0f37 el marcador fake ja es pinta correctament 2025-12-01 23:47:42 +01:00
5210448ac9 versió preliminar de text en pantalla 2025-12-01 22:29:34 +01:00
983f42814f afegides shapes per a fonts 2025-11-29 10:06:33 +01:00
624039e00d treballant en el LOGO 2025-11-28 21:07:36 +01:00
430fcbe026 afegides escenes 2025-11-28 20:22:15 +01:00
8e25d388fa afegida clase text 2025-11-28 17:08:42 +01:00
4d0a5ca5bd migrat a sistema de shapes 2025-11-28 12:29:56 +01:00
06e9a10c98 afegit pulso de color 2025-11-28 09:00:41 +01:00
836debdc0b separació per entitats 2025-11-28 08:17:12 +01:00
1e8829ba22 ja guarda la configuracio 2025-11-27 22:19:00 +01:00
2b1311042f creat project.h 2025-11-27 21:47:08 +01:00
93fed0b984 migrant a SDL3 2025-11-27 12:25:39 +01:00