refactor: Update CMake presets and improve MusicEditor initialization

- Added binary directory paths to CMake presets for better build organization.
- Enhanced the macOS AI preset description to include networking capabilities.
- Refactored MusicEditor constructor to remove ROM dependency, simplifying initialization.
- Cleaned up unused ROM pointer methods in MusicEditor for improved clarity.
This commit is contained in:
scawful
2025-10-05 00:35:47 -04:00
parent 5a35718070
commit 92a3ddded2
4 changed files with 10 additions and 11 deletions

View File

@@ -26,6 +26,7 @@
"hidden": true,
"description": "Unix/macOS/Linux base with Makefiles",
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/build",
"condition": {
"type": "notEquals",
"lhs": "${hostSystemName}",
@@ -144,14 +145,17 @@
{
"name": "mac-ai",
"displayName": "macOS AI",
"description": "macOS with AI agent (z3ed + JSON + gRPC)",
"description": "macOS with AI agent (z3ed + JSON + gRPC + networking)",
"inherits": "mac-dev",
"binaryDir": "${sourceDir}/build_ai",
"cacheVariables": {
"Z3ED_AI": "ON",
"YAZE_WITH_JSON": "ON",
"YAZE_WITH_GRPC": "ON",
"YAZE_BUILD_Z3ED": "ON",
"YAZE_BUILD_EMU": "ON"
"YAZE_BUILD_EMU": "ON",
"YAZE_BUILD_TESTS": "ON",
"CMAKE_BUILD_TYPE": "Debug"
}
},
{