project(bob_sp_py${PYVER})

# This defines the dependencies of this package
set(bob_deps "bob_sp;bob_python")
set(shared "${bob_deps}")
set(incdir ${py_incdir};${FFTW3_INCLUDE_DIR})

# Python bindings
set(src
   "version.cc"
   "extrapolate.cc"
   "dct.cc"
   "fft.cc"
   "conv.cc"
   "Quantization.cc"
   "main.cc"
   )

# Define the library, compilation and linkage options
bob_sort_headers(incdir)
foreach(inc ${incdir})
  include_directories(SYSTEM ${inc})
endforeach()
bob_add_library(${PROJECT_NAME} "${src}")
target_link_libraries(${PROJECT_NAME} ${shared})

# Pkg-Config generator
bob_pkgconfig(${PROJECT_NAME} "${bob_deps}")
