Enhance ImGui library integration and CMake configuration
- Added backend source files for ImGui, improving functionality with SDL2. - Updated CMakeLists.txt to conditionally create the yaze_c library as static or shared based on the YAZE_MINIMAL_BUILD flag. - Streamlined test linking by ensuring yaze_test links against yaze_core instead of yaze_c, enhancing modularity.
This commit is contained in:
@@ -44,9 +44,6 @@ add_executable(
|
||||
zelda3/object_parser_test.cc
|
||||
zelda3/object_parser_structs_test.cc
|
||||
zelda3/test_dungeon_objects.cc
|
||||
${ASAR_STATIC_SRC}
|
||||
${IMGUI_SRC}
|
||||
${YAZE_SRC_FILES}
|
||||
)
|
||||
|
||||
# Add vanilla value extraction utility (only for local development with ROM access)
|
||||
@@ -121,7 +118,7 @@ target_link_libraries(
|
||||
|
||||
# Link core library for essential functionality (BPS, ASAR, etc.)
|
||||
if(YAZE_BUILD_LIB)
|
||||
target_link_libraries(yaze_test yaze_c)
|
||||
target_link_libraries(yaze_test yaze_core)
|
||||
endif()
|
||||
|
||||
# Conditionally link ImGuiTestEngine only when UI tests are enabled
|
||||
|
||||
Reference in New Issue
Block a user