foreach(file JArray JAutoMap JCollection JCombinatorics JHashCollection JMultiKey JMultiMap JPermutation JPolynome3G JQuadrature JRange JRouter JSphere3D JSphereND JTuple ) jpp_add_executable(${file} SOURCES ${file}.cc LINK_LIBRARIES km3net::JTools ) endforeach() foreach(file JHistogram1D JHistogram2D JHistogram3D JResultPDF ) jpp_add_executable(${file} SOURCES ${file}.cc LINK_LIBRARIES km3net::JTools ROOT::Hist) endforeach() foreach(file JMergeSort JMultiFunction1D JMultiFunction2D JMultiPDF JPolfit1D JPolynome1D JPolynome1P JPolynome3D JPolynome3D+2D JPolynome3H JPolynome5D JQuantile JQuantiles JResultHesse3D JTable2D JTransformableFunction ) jpp_add_executable(${file} SOURCES ${file}.cc LINK_LIBRARIES km3net::JTools ROOT::MathCore ) endforeach()