refactor(cmake): update test configuration for GUI targets
- Removed experimental test option and modular build option from CMakeLists.txt to simplify configuration. - Added a definition for YAZE_GUI_TEST_TARGET in the test CMakeLists.txt to mark GUI test targets. - Updated yaze_test.cc to conditionally register E2E tests only for GUI test targets, enhancing clarity in test registration. Benefits: - Streamlined CMake configuration for testing. - Improved organization of test registration logic for GUI targets.
This commit is contained in:
@@ -54,9 +54,7 @@ set(YAZE_INSTALL_LIB OFF)
|
||||
|
||||
# Testing and CI Configuration
|
||||
option(YAZE_ENABLE_ROM_TESTS "Enable tests that require ROM files" OFF)
|
||||
option(YAZE_ENABLE_EXPERIMENTAL_TESTS "Enable experimental/unstable tests" ON)
|
||||
option(YAZE_MINIMAL_BUILD "Minimal build for CI (disable optional features)" OFF)
|
||||
option(YAZE_USE_MODULAR_BUILD "Use modularized library build system for faster builds" ON)
|
||||
option(YAZE_UNITY_BUILD "Enable Unity (Jumbo) builds" OFF)
|
||||
|
||||
# Feature Flags - Simplified: Always enabled by default (use wrapper classes to hide complexity)
|
||||
|
||||
Reference in New Issue
Block a user