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-malad     SHARED  algorithm1_mala_d.cpp)
add_enzyme_library(algorithm1-malai     SHARED  algorithm1_mala_i.cpp)
# add_enzyme_library(algorithm1-vol       SHARED  volume/forward.cpp 
#                                                 volume/d_get_point.cpp 
#                                                 volume/d_eval_vertex.cpp 
#                                                 volume/d_eval_path.cpp
#                                                 algorithm1_vol.cpp)
# add_subdirectory(volume)
add_library(algorithm1 INTERFACE)
target_link_libraries(algorithm1 INTERFACE
    algorithm1-surf
    # algorithm1-ptracer
    # algorithm1-bdpt
    # algorithm1-voll
    algorithm1-malad
    algorithm1-malai
)