test: add diagnostic test program

This commit is contained in:
2025-05-08 10:49:32 +01:00
parent c459f50e67
commit 0cf7dd9780
2 changed files with 164 additions and 1 deletions

View File

@@ -4,7 +4,7 @@ foreach (test_file ${test_sources})
get_filename_component(test_name ${test_file} NAME_WE)
add_executable(${test_name} ${test_file})
target_link_libraries(${test_name} ivy-common ivy-lang ivy-asm ivy-rt mie)
target_link_libraries(${test_name} ivy-common ivy-diag ivy-lang ivy-asm ivy-rt mie)
set_target_properties(${test_name} PROPERTIES
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"