diagrams-fable-qt/tests/CMakeLists.txt
Ilya Ashikhmin 18d614ec67 feat(core): add orthogonal grid router with intersection jump-over arcs
Manhattan routing snapped to the rectangular grid with port-side-aware exit
stubs, right-angle crossing detection between routed polylines, and painter
paths bridging crossings with semicircular arcs (configurable radius).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 23:14:11 +02:00

12 lines
447 B
CMake

# Test targets are added per module; all run offscreen via ctest.
function(diag_add_test NAME)
add_executable(${NAME} ${NAME}.cpp)
target_link_libraries(${NAME} PRIVATE ${ARGN} Qt6::Test)
add_test(NAME ${NAME} COMMAND ${NAME})
set_tests_properties(${NAME} PROPERTIES ENVIRONMENT "QT_QPA_PLATFORM=offscreen")
endfunction()
diag_add_test(tst_model diagcore)
diag_add_test(tst_properties diagcore)
diag_add_test(tst_router diagcore)