foreach(file JGandalfFitAlaMinuitToGauss JGandalfFitToGauss JGradientFitToGauss JLegendre JLine1Z JMEstimator JPoint3D JPoint4D JRootFitToGauss JSimplexFitArray JSimplexFitToGauss ) jpp_add_executable(${file} SOURCES ${file}.cc LINK_LIBRARIES km3net::JFit km3net::JROOT) endforeach()