backend-infra-engineer: Post v0.3.9-hotfix7 snapshot (build cleanup)
This commit is contained in:
@@ -13,6 +13,8 @@ option(YAZE_BUILD_TESTS "Build test suite" ON)
|
||||
option(YAZE_ENABLE_GRPC "Enable gRPC agent support" ON)
|
||||
option(YAZE_ENABLE_JSON "Enable JSON support" ON)
|
||||
option(YAZE_ENABLE_AI "Enable AI agent features" OFF)
|
||||
option(YAZE_ENABLE_CLANG_TIDY "Enable clang-tidy linting during build" ON)
|
||||
option(YAZE_ENABLE_OPENCV "Enable OpenCV for advanced visual analysis" OFF)
|
||||
|
||||
# Advanced feature toggles
|
||||
option(YAZE_ENABLE_REMOTE_AUTOMATION
|
||||
@@ -49,6 +51,7 @@ option(YAZE_UNITY_BUILD "Enable Unity (Jumbo) builds" OFF)
|
||||
option(YAZE_USE_VCPKG "Use vcpkg for Windows dependencies" OFF)
|
||||
option(YAZE_USE_SYSTEM_DEPS "Use system package manager for dependencies" OFF)
|
||||
option(YAZE_USE_SDL3 "Use SDL3 instead of SDL2 (experimental)" OFF)
|
||||
option(YAZE_WASM_TERMINAL "Build z3ed for WASM terminal mode (no TUI)" OFF)
|
||||
|
||||
# Development options
|
||||
option(YAZE_ENABLE_ROM_TESTS "Enable tests that require ROM files" OFF)
|
||||
@@ -97,6 +100,29 @@ if(YAZE_ENABLE_HTTP_API)
|
||||
add_compile_definitions(YAZE_HTTP_API_ENABLED)
|
||||
endif()
|
||||
|
||||
if(YAZE_WASM_TERMINAL)
|
||||
add_compile_definitions(YAZE_WASM_TERMINAL_MODE)
|
||||
endif()
|
||||
|
||||
if(YAZE_USE_SDL3)
|
||||
add_compile_definitions(YAZE_USE_SDL3)
|
||||
endif()
|
||||
|
||||
if(YAZE_BUILD_AGENT_UI)
|
||||
add_compile_definitions(YAZE_BUILD_AGENT_UI)
|
||||
endif()
|
||||
|
||||
if(YAZE_ENABLE_OPENCV)
|
||||
find_package(OpenCV QUIET)
|
||||
if(OpenCV_FOUND)
|
||||
add_compile_definitions(YAZE_WITH_OPENCV)
|
||||
message(STATUS "✓ OpenCV found: ${OpenCV_VERSION}")
|
||||
else()
|
||||
message(WARNING "OpenCV requested but not found - visual analysis will use fallback")
|
||||
set(YAZE_ENABLE_OPENCV OFF CACHE BOOL "Enable OpenCV for advanced visual analysis" FORCE)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Print configuration summary
|
||||
message(STATUS "=== YAZE Build Configuration ===")
|
||||
message(STATUS "GUI Application: ${YAZE_BUILD_GUI}")
|
||||
@@ -121,5 +147,6 @@ message(STATUS "HTTP API Server: ${YAZE_ENABLE_HTTP_API}")
|
||||
message(STATUS "LTO: ${YAZE_ENABLE_LTO}")
|
||||
message(STATUS "Sanitizers: ${YAZE_ENABLE_SANITIZERS}")
|
||||
message(STATUS "Coverage: ${YAZE_ENABLE_COVERAGE}")
|
||||
message(STATUS "OpenCV Visual Analysis: ${YAZE_ENABLE_OPENCV}")
|
||||
message(STATUS "=================================")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user