refactor: Update Doxyfile and resource paths for improved organization

- Changed the paths for project logo and icon in Doxyfile to point to the new assets directory.
- Updated CMake configurations to reflect the new locations of resource files, enhancing clarity and maintainability.
- Replaced instances of core utility functions with util functions across various files for consistency in file handling.
- Added new resource files for Windows platform support and removed obsolete resource files, streamlining the build process.
This commit is contained in:
scawful
2025-10-05 00:31:46 -04:00
parent 28bc2d4cc7
commit 5a35718070
10 changed files with 24 additions and 26 deletions

View File

@@ -456,8 +456,8 @@ else()
# Only use resource file for x64 Windows builds
if(WIN32 AND CMAKE_SIZEOF_VOID_P EQUAL 8)
# Generate yaze.res from yaze.rc and yaze.ico for Windows x64 builds
set(YAZE_RC_FILE "${CMAKE_CURRENT_SOURCE_DIR}/win32/yaze.rc")
set(YAZE_ICO_FILE "${CMAKE_CURRENT_SOURCE_DIR}/win32/yaze.ico")
set(YAZE_RC_FILE "${CMAKE_CURRENT_SOURCE_DIR}/app/platform/win32/yaze.rc")
set(YAZE_ICO_FILE "${CMAKE_SOURCE_DIR}/assets/yaze.ico")
set(YAZE_RES_FILE "${CMAKE_CURRENT_BINARY_DIR}/yaze.res")
# Add a custom command to generate the .res file from the .rc and .ico
@@ -1076,9 +1076,7 @@ source_group("API\\Python" FILES
# Platform-specific Resources
source_group("Platform\\Windows" FILES
win32/yaze.ico
win32/yaze.rc
win32/yaze.res
app/platform/win32/yaze.rc
)
source_group("Platform\\iOS" FILES