Separate internal Sample diagnostics
Compared with 83be436:
- move private backend, DMA, delivery, startup, and frame timing diagnostics into a dedicated InternalDiagnostics module
- keep the capture controller independent from gvfg_debug.h and private backend baseline structures
- compile the diagnostics module and diagnostic signal path only for Debug builds
- keep Release builds free of diagnostic collection and aligned with the customer-facing capture flow
Validation: git diff --check passed. MSVC Release and Debug clean builds completed successfully, and the updated Sample behavior was tested on hardware.
This commit is contained in:
@@ -93,6 +93,11 @@ set(GVFG_QT_PREVIEW_SOURCES
|
||||
previewwindow.ui
|
||||
)
|
||||
|
||||
list(APPEND GVFG_QT_PREVIEW_SOURCES
|
||||
$<$<CONFIG:Debug>:${CMAKE_CURRENT_SOURCE_DIR}/internal_diagnostics.cpp>
|
||||
$<$<CONFIG:Debug>:${CMAKE_CURRENT_SOURCE_DIR}/internal_diagnostics.h>
|
||||
)
|
||||
|
||||
if (QT_VERSION_MAJOR GREATER_EQUAL 6)
|
||||
qt_add_executable(gvfg_qt_preview ${GVFG_QT_PREVIEW_SOURCES})
|
||||
else()
|
||||
|
||||
Reference in New Issue
Block a user