# Test executable add_executable(factory_core_tests test_main.cpp test_example.cpp ) target_link_libraries(factory_core_tests PRIVATE factory_core doctest::doctest ) # Register with CTest include(${doctest_SOURCE_DIR}/scripts/cmake/doctest.cmake) doctest_discover_tests(factory_core_tests)