Data-driven node types (SVG + port config) loaded from JSON, relation-based connection validation, and a property system supporting string, int, float, enum, catalogue item(s), color and value-list types grouped by category. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
11 lines
412 B
CMake
11 lines
412 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)
|