include(GoogleTest)

add_executable(
    fesa_unit_tests
    unit/build_info_test.cpp
    unit/core/diagnostic_test.cpp
    unit/core/source_identity_test.cpp
    unit/core/status_test.cpp
)

target_link_libraries(
    fesa_unit_tests
    PRIVATE
        fesa_solver
        GTest::gtest_main
)

gtest_discover_tests(
    fesa_unit_tests
    PROPERTIES
        LABELS "linear-static-3d-euler-beam;unit"
)

add_custom_target(fesa_tests DEPENDS fesa_unit_tests)
