feat: Implement modular build system for Yaze

- Added option to enable modular build with `YAZE_USE_MODULAR_BUILD`.
- Updated CMake configuration to support modular libraries for core, editor, graphics, GUI, and emulator functionalities.
- Refactored existing libraries to separate concerns and improve build times.
- Introduced new utility library `yaze_util` for low-level utilities.
- Adjusted CI and release workflows to accommodate the new build system.
- Updated various source files to reflect new include paths and modular structure.
- Enhanced YAML configuration handling in the agent component.
This commit is contained in:
scawful
2025-10-03 18:32:51 -04:00
parent 60e9ea69ac
commit c3eaace72c
22 changed files with 752 additions and 112 deletions

View File

@@ -118,15 +118,31 @@ target_include_directories(
${PROJECT_BINARY_DIR}
)
target_link_libraries(
z3ed PRIVATE
yaze_core
ftxui::component
ftxui::screen
ftxui::dom
absl::flags
absl::flags_parse
)
if(YAZE_USE_MODULAR_BUILD)
target_link_libraries(
z3ed PRIVATE
yaze_util
yaze_gfx
yaze_zelda3
yaze_core_lib
yaze_agent
ftxui::component
ftxui::screen
ftxui::dom
absl::flags
absl::flags_parse
)
else()
target_link_libraries(
z3ed PRIVATE
yaze_core
ftxui::component
ftxui::screen
ftxui::dom
absl::flags
absl::flags_parse
)
endif()
# ============================================================================
# Optional gRPC Support for CLI Agent Test Command