jpp_add_library(JAAnet SOURCES JHead.cc JEvtWeightToolkit.cc PUBLIC_LINK_LIBRARIES km3net::JROOT ROOT::EG ZLIB::ZLIB km3net::dataformat km3net::flux ROOT_DICTIONARY JHead.hh) foreach(exe JAAnetPreprocessor ) jpp_add_executable(${exe} SOURCES ${exe}.cc LINK_LIBRARIES km3net::JAAnet km3net::JDetector ROOT::EG km3net::Jeep) endforeach() foreach(exe JDK JFixedCan JPrintPDB JSeparateCuts ) jpp_add_executable(${exe} SOURCES ${exe}.cc LINK_LIBRARIES km3net::JAAnet ZLIB::ZLIB ROOT::EG km3net::Jeep) endforeach() foreach(exe JEvtReweightGSeaGen ) jpp_add_executable(${exe} SOURCES ${exe}.cc LINK_LIBRARIES km3net::JAAnet km3net::flux ROOT::EG ZLIB::ZLIB km3net::JTrigger km3net::JReconstruction km3net::Jeep) endforeach() foreach(exe JEvtReweightMupage ) jpp_add_executable(${exe} SOURCES ${exe}.cc LINK_LIBRARIES km3net::JAAnet ROOT::EG ZLIB::ZLIB km3net::Jeep) endforeach() jpp_add_executable(JMergeEvt SOURCES JMergeEvt.cc LINK_LIBRARIES km3net::JAAnet km3net::JReconstruction km3net::JTrigger km3net::Jeep)