include_directories("${CATCH_INCLUDE_PATH}")
include_directories("${PASTIS_BINARY_DIR}/src/utils")
set(EXECUTABLE_OUTPUT_PATH ${PASTIS_BINARY_DIR})

add_executable (unit_tests
  test_main.cpp
  test_Array.cpp
  test_ArrayUtils.cpp
  test_ItemType.cpp
  test_PastisAssert.cpp
  test_RevisionInfo.cpp
  test_TinyMatrix.cpp
  test_TinyVector.cpp
  )

target_include_directories(Catch INTERFACE ${CATCH_INCLUDE_DIR})

target_link_libraries (unit_tests
  PastisUtils
  kokkos
  Catch
  )

enable_testing()

#parse catch tests
ParseAndAddCatchTests(unit_tests)