Refactor CMake and enhance API documentation for YAZE

- Updated CMakeLists.txt to set a minimum required version of 3.5 and removed older policy settings for improved compatibility.
- Enhanced yaze.h and zelda.h with detailed documentation, including versioning information and API descriptions, to improve clarity for developers.
- Added new functions for version compatibility checks and improved error handling in the YAZE API.
- Refactored existing structures and enums for better readability and maintainability, ensuring a more consistent coding style.
This commit is contained in:
scawful
2025-09-25 12:00:03 -04:00
parent 4c6342cb73
commit 77ceb0256b
6 changed files with 1139 additions and 238 deletions

View File

@@ -1,14 +1,8 @@
# Yet Another Zelda3 Editor
# by scawful
cmake_minimum_required(VERSION 3.16)
cmake_minimum_required(VERSION 3.5)
# Set policy for older submodules
if(POLICY CMP0077)
cmake_policy(SET CMP0077 NEW)
endif()
if(POLICY CMP0135)
cmake_policy(SET CMP0135 NEW)
endif()
project(yaze VERSION 0.3.0
DESCRIPTION "Yet Another Zelda3 Editor"
LANGUAGES CXX C)