# Distributed under the MIT License.
# See LICENSE.txt for details.

add_subdirectory("Python")

set(LIBRARY "Test_Spectral")

set(LIBRARY_SOURCES
  Test_ChebyshevGauss.cpp
  Test_ChebyshevGaussLobatto.cpp
  Test_ComplexDataView.cpp
  Test_Filtering.cpp
  Test_FiniteDifference.cpp
  Test_IndefiniteIntegral.cpp
  Test_LegendreGauss.cpp
  Test_LegendreGaussLobatto.cpp
  Test_Mesh.cpp
  Test_Projection.cpp
  Test_Spectral.cpp
  Test_SwshCoefficients.cpp
  Test_SwshCollocation.cpp
  Test_SwshDerivatives.cpp
  Test_SwshFiltering.cpp
  Test_SwshInterpolation.cpp
  Test_SwshTags.cpp
  Test_SwshTestHelpers.cpp
  Test_SwshTransform.cpp
  )

add_test_library(
  ${LIBRARY}
  "NumericalAlgorithms/Spectral/"
  "${LIBRARY_SOURCES}"
  "Boost::boost;Domain;Spectral;SpectralHelpers"
  )
