add_executable(hoptimal_integration_tests
    test_study_e2e.cpp
    test_sampler_convergence.cpp
)

target_link_libraries(hoptimal_integration_tests
    PRIVATE hoptimal_core
            GTest::gtest
            GTest::gtest_main
)

target_compile_options(hoptimal_integration_tests PRIVATE
    $<$<CXX_COMPILER_ID:MSVC>:/W4 /wd4100>
    $<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wall -Wextra>
)

include(GoogleTest)
gtest_discover_tests(hoptimal_integration_tests)
