add_enzyme_library(algorithm1-vol-1 SHARED forward.cpp d_get_point.cpp)
add_enzyme_library(algorithm1-vol-2 SHARED forward.cpp d_eval_path.cpp)
add_enzyme_library(algorithm1-vol-3 SHARED forward.cpp d_eval_vertex.cpp)
add_enzyme_library(algorithm1-vol-4 SHARED forward.cpp d_eval.cpp)

add_library(algorithm1-vol INTERFACE)
target_link_libraries(algorithm1-vol INTERFACE
    algorithm1-vol-1
    algorithm1-vol-2
    algorithm1-vol-3
    algorithm1-vol-4)