chore: Update CMake and CI workflow for improved build configurations

- Added an option to conditionally build development tools in CMake, enhancing flexibility for local development.
- Improved error handling in the CI workflow for packaging artifacts across Windows, macOS, and Linux, ensuring binaries and assets are correctly identified and managed.
- Refactored test manager methods to return appropriate errors when gRPC features are not enabled, improving clarity in feature availability.
- Included filesystem header in dungeon test harness for enhanced file operations.
This commit is contained in:
scawful
2025-10-09 13:13:48 -04:00
parent 83ad27e6a0
commit 44800ceccc
4 changed files with 57 additions and 17 deletions

View File

@@ -372,8 +372,12 @@ file(COPY ${AGENT_FILES} DESTINATION "${CMAKE_BINARY_DIR}/assets/agent/")
add_subdirectory(src)
# Tools
add_subdirectory(tools)
# Tools (development utilities - only for local development)
option(YAZE_BUILD_TOOLS "Build development utility tools" OFF)
if(YAZE_BUILD_TOOLS)
message(STATUS "Building development tools")
add_subdirectory(tools)
endif()
# Tests
if (YAZE_BUILD_TESTS)