add_enzyme_library(algorithm1-surf      SHARED  algorithm1.cpp)
add_enzyme_library(algorithm1-ptracer   SHARED  algorithm1_ptracer.cpp)
add_enzyme_library(algorithm1-bdpt      SHARED  algorithm1_bdpt.cpp)
add_enzyme_library(algorithm1-vol       SHARED  algorithm1_vol.cpp)
add_enzyme_library(algorithm1-pathwas   SHARED  algorithm1_pathwas.cpp)
add_enzyme_library(algorithm1-bdptwas   SHARED  algorithm1_bdptwas.cpp)

add_library(algorithm1 INTERFACE)
target_link_libraries(algorithm1 INTERFACE
    algorithm1-surf
    algorithm1-ptracer
    algorithm1-bdpt
    algorithm1-vol
    algorithm1-pathwas
    algorithm1-bdptwas)