Update CMake configuration and CI workflows for improved compatibility and testing
- Updated minimum CMake version requirement from 3.5 to 3.16 to leverage new features and policies. - Enhanced CI workflows to include additional build configurations for Ubuntu and macOS, improving cross-platform support. - Added conditional linking for ImGui Test Engine in the CMakeLists, allowing for UI testing when enabled. - Refactored CMake commands in CI to ensure consistent policy version handling and streamlined build processes. - Introduced new constructors for MenuItem in the GUI to enhance menu item management and flexibility.
This commit is contained in:
@@ -65,11 +65,15 @@ TestManager& TestManager::Get() {
|
||||
|
||||
TestManager::TestManager() {
|
||||
// Initialize UI test engine
|
||||
#ifdef YAZE_ENABLE_IMGUI_TEST_ENGINE
|
||||
InitializeUITesting();
|
||||
#endif
|
||||
}
|
||||
|
||||
TestManager::~TestManager() {
|
||||
#ifdef YAZE_ENABLE_IMGUI_TEST_ENGINE
|
||||
ShutdownUITesting();
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef YAZE_ENABLE_IMGUI_TEST_ENGINE
|
||||
|
||||
Reference in New Issue
Block a user