refactor(cmake): update include paths and defer test support linkage

- Updated include paths in several source files to reflect the new directory structure, ensuring consistency across the project.
- Deferred the linkage of the yaze_test_support library to the test.cmake file for better dependency management and ordering.

Benefits:
- Improved organization of include paths for better maintainability.
- Enhanced modularity by managing test dependencies separately.
This commit is contained in:
scawful
2025-10-11 12:19:51 -04:00
parent 1f56ff2fb8
commit 18986e3656
7 changed files with 16 additions and 10 deletions

View File

@@ -108,10 +108,7 @@ target_link_libraries(yaze_editor PUBLIC
ImGui
)
# Link test support library if testing is enabled (for TestManager)
if(YAZE_BUILD_TESTS AND TARGET yaze_test_support)
target_link_libraries(yaze_editor PUBLIC yaze_test_support)
endif()
# Note: yaze_test_support linking is deferred to test.cmake to ensure proper ordering
if(YAZE_WITH_JSON)
target_include_directories(yaze_editor PUBLIC