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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user