feat: Improve CMake configuration and build environment verification
- Enabled JSON support by default in CMake to resolve Windows build issues. - Added checks for the existence of the JSON library and its target, providing clear error messages if missing. - Updated README with instructions for building with AI features. - Enhanced the build environment verification script for better feedback on setup issues and added checks for agent folder structure. - Introduced new CMake presets for AI-enabled builds and collaboration support.
This commit is contained in:
@@ -220,7 +220,7 @@
|
||||
{
|
||||
"name": "windows-debug",
|
||||
"displayName": "Windows Debug",
|
||||
"description": "Windows-specific debug configuration with vcpkg",
|
||||
"description": "Windows debug build (JSON enabled by default, AI features disabled)",
|
||||
"inherits": "debug",
|
||||
"condition": {
|
||||
"type": "equals",
|
||||
@@ -287,6 +287,42 @@
|
||||
"YAZE_TEST_ROM_PATH": "${sourceDir}/zelda3.sfc"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "windows-ai-debug",
|
||||
"displayName": "Windows AI Debug",
|
||||
"description": "Windows debug build with AI agent features (JSON enabled)",
|
||||
"inherits": "windows-debug",
|
||||
"cacheVariables": {
|
||||
"Z3ED_AI": "ON",
|
||||
"YAZE_WITH_JSON": "ON",
|
||||
"YAZE_BUILD_Z3ED": "ON",
|
||||
"YAZE_BUILD_TESTS": "ON"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "windows-ai-release",
|
||||
"displayName": "Windows AI Release",
|
||||
"description": "Windows release build with AI agent features (JSON enabled)",
|
||||
"inherits": "windows-release",
|
||||
"cacheVariables": {
|
||||
"Z3ED_AI": "ON",
|
||||
"YAZE_WITH_JSON": "ON",
|
||||
"YAZE_BUILD_Z3ED": "ON"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "windows-collab-debug",
|
||||
"displayName": "Windows Collaboration Debug",
|
||||
"description": "Windows debug build with full collaboration support (JSON + gRPC)",
|
||||
"inherits": "windows-debug",
|
||||
"cacheVariables": {
|
||||
"Z3ED_AI": "ON",
|
||||
"YAZE_WITH_JSON": "ON",
|
||||
"YAZE_WITH_GRPC": "ON",
|
||||
"YAZE_BUILD_Z3ED": "ON",
|
||||
"YAZE_BUILD_TESTS": "ON"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "windows-arm64-debug",
|
||||
"displayName": "Windows ARM64 Debug",
|
||||
@@ -500,6 +536,27 @@
|
||||
"displayName": "Windows z3ed Agent Test Build",
|
||||
"configuration": "Debug",
|
||||
"jobs": 12
|
||||
},
|
||||
{
|
||||
"name": "windows-ai-debug",
|
||||
"configurePreset": "windows-ai-debug",
|
||||
"displayName": "Windows AI Debug Build",
|
||||
"configuration": "Debug",
|
||||
"jobs": 12
|
||||
},
|
||||
{
|
||||
"name": "windows-ai-release",
|
||||
"configurePreset": "windows-ai-release",
|
||||
"displayName": "Windows AI Release Build",
|
||||
"configuration": "Release",
|
||||
"jobs": 12
|
||||
},
|
||||
{
|
||||
"name": "windows-collab-debug",
|
||||
"configurePreset": "windows-collab-debug",
|
||||
"displayName": "Windows Collaboration Debug Build",
|
||||
"configuration": "Debug",
|
||||
"jobs": 12
|
||||
}
|
||||
],
|
||||
"testPresets": [
|
||||
|
||||
Reference in New Issue
Block a user