#  Header files
file(GLOB MATH
gauss-integral.h spline.h harmonic-numbers.h polylog.h pow.h lambert.h zeta.h
chebyshev.h expint.h poly-solve.h linear-algebra.h
)


#   Install the header files
install(FILES ${MATH} DESTINATION include/deductor/cxx/math)


#  This is the includedir that is used to compile the sources
include_directories("${PROJECT_SOURCE_DIR}")


# source files
file(GLOB SOURCES
lambert.cc zeta.cc polylog.cc expint.cc poly-solve.cc
)


add_library(math OBJECT ${SOURCES})
set_property(TARGET math PROPERTY POSITION_INDEPENDENT_CODE true)

