include(FetchContent)

FetchContent_Declare(
    googletest
    GIT_REPOSITORY https://github.com/google/googletest.git
    GIT_TAG        v1.14.0
)

set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
FetchContent_MakeAvailable(googletest)

add_executable(symint_cpp_tests test_symint.cpp)
target_link_libraries(symint_cpp_tests PRIVATE symint_core GTest::gtest_main)
target_compile_features(symint_cpp_tests PRIVATE cxx_std_17)

include(GoogleTest)
gtest_discover_tests(symint_cpp_tests)
