From 1f56ff2fb86ec4502ef2a33f608514138d6230ab Mon Sep 17 00:00:00 2001 From: scawful Date: Sat, 11 Oct 2025 12:06:28 -0400 Subject: [PATCH] chore(cmake): update test CMake configuration to include additional directories and libraries - Added new include directories for ImGui and SDL to the test CMake configuration, enhancing the testing environment. - Updated the linkage to include ImGui and SDL targets, ensuring proper integration for GUI tests. Benefits: - Improved support for GUI testing by integrating necessary libraries. - Streamlined the CMake configuration for better modularity in test setups. --- test/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index adeecb1a..0d5eaf88 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -13,6 +13,11 @@ if(YAZE_BUILD_TESTS) ${CMAKE_SOURCE_DIR}/src ${CMAKE_SOURCE_DIR}/incl ${CMAKE_SOURCE_DIR}/test + ${CMAKE_SOURCE_DIR}/src/lib + ${CMAKE_SOURCE_DIR}/src/lib/imgui + ${CMAKE_SOURCE_DIR}/src/lib/imgui/backends + ${CMAKE_SOURCE_DIR}/src/lib/SDL/include + ${CMAKE_BINARY_DIR}/src/lib/SDL/include ${PROJECT_BINARY_DIR} ) @@ -23,6 +28,8 @@ if(YAZE_BUILD_TESTS) absl::failure_signal_handler absl::flags absl::flags_parse + ImGui + ${SDL_TARGETS} ) # Link ImGui Test Engine for GUI tests