add_executable(mtkahypar_tests run_tests.cpp)
copy_dependencies(mtkahypar_tests)
target_link_libraries(mtkahypar_tests MtKaHyPar-BuildSources MtKaHyPar-Test)

# suppress warnings generated by TYPED_TEST_SUITE macro from gtest
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
  target_compile_options(mtkahypar_tests PRIVATE -Wno-gnu-zero-variadic-macro-arguments)
endif()

add_subdirectory(datastructures)
add_subdirectory(interface)
add_subdirectory(io)
add_subdirectory(parallel)
add_subdirectory(partition)
