IAP GITLAB

Skip to content
Snippets Groups Projects
CMakeLists.txt 3.17 KiB
Newer Older
ralfulrich's avatar
ralfulrich committed
CORSIKA_ADD_TEST (helix_example)
target_link_libraries (helix_example CORSIKAgeometry CORSIKAunits)
install (TARGETS helix_example DESTINATION share/examples)
ralfulrich's avatar
ralfulrich committed

ralfulrich's avatar
ralfulrich committed
target_link_libraries (geometry_example CORSIKAgeometry CORSIKAunits)
install (TARGETS geometry_example DESTINATION share/examples)
ralfulrich's avatar
ralfulrich committed

ralfulrich's avatar
ralfulrich committed
target_link_libraries (logger_example CORSIKAunits CORSIKAlogging)
install (TARGETS logger_example DESTINATION share/examples)
ralfulrich's avatar
ralfulrich committed

target_link_libraries (stack_example SuperStupidStack CORSIKAunits
  CORSIKAlogging)
ralfulrich's avatar
ralfulrich committed

Hans Dembinski's avatar
Hans Dembinski committed
# address sanitizer is making this example too slow, so we only do "undefined"
CORSIKA_ADD_TEST (cascade_example SANITIZE "undefined")
target_link_libraries (cascade_example
  SuperStupidStack
  CORSIKAunits
ralfulrich's avatar
ralfulrich committed
  CORSIKAlogging
  CORSIKArandom
  ProcessSibyll
  ProcessProposal
ralfulrich's avatar
ralfulrich committed
  CORSIKAcascade
  ProcessEnergyLoss
  ProcessStackInspector
felix@home's avatar
felix@home committed
  ProcessParticleCut
ralfulrich's avatar
ralfulrich committed
  ProcessTrackWriter
  ProcessTrackingLine
  CORSIKAprocesses
  CORSIKAcascade
  CORSIKAparticles
  CORSIKAgeometry
  CORSIKAenvironment
  CORSIKAprocesssequence
  )
install (TARGETS cascade_example DESTINATION share/examples)
Hans Dembinski's avatar
Hans Dembinski committed
target_link_libraries (boundary_example
  SuperStupidStack
  CORSIKAunits
  CORSIKAlogging
  CORSIKAcascade
  ProcessTrackWriter
felix@home's avatar
felix@home committed
  ProcessParticleCut
  ProcessTrackingLine
  CORSIKAprocesses
  CORSIKAparticles
  CORSIKAgeometry
  CORSIKAenvironment
  CORSIKAprocesssequence
  )
install (TARGETS boundary_example DESTINATION share/examples)

Hans Dembinski's avatar
Hans Dembinski committed
if (Pythia8_FOUND)
Hans Dembinski's avatar
Hans Dembinski committed
  target_link_libraries (cascade_proton_example
    SuperStupidStack
    CORSIKAunits
Hans Dembinski's avatar
Hans Dembinski committed
    CORSIKAlogging
    CORSIKArandom
    ProcessSibyll
    ProcessPythia
    CORSIKAcascade
    ProcessEnergyLoss
    ProcessTrackWriter
    ProcessStackInspector
Hans Dembinski's avatar
Hans Dembinski committed
    ProcessTrackingLine
felix@home's avatar
felix@home committed
    ProcessParticleCut
Hans Dembinski's avatar
Hans Dembinski committed
    ProcessHadronicElasticModel
ralfulrich's avatar
ralfulrich committed
    ProcessStackInspector
Hans Dembinski's avatar
Hans Dembinski committed
    CORSIKAprocesses
    CORSIKAcascade
    CORSIKAparticles
    CORSIKAgeometry
    CORSIKAenvironment
    CORSIKAprocesssequence
    )
  install (TARGETS cascade_proton_example DESTINATION share/examples)
endif()
Hans Dembinski's avatar
Hans Dembinski committed
CORSIKA_ADD_TEST(vertical_EAS)
target_link_libraries (vertical_EAS
  SuperStupidStack
  CORSIKAunits
  CORSIKAlogging
  CORSIKArandom
  ProcessSibyll
Ralf Ulrich's avatar
Ralf Ulrich committed
  ProcessPythia
  ProcessUrQMD
  ProcessSwitch
Hans Dembinski's avatar
Hans Dembinski committed
  CORSIKAcascade
  ProcessEnergyLoss
Ralf Ulrich's avatar
Ralf Ulrich committed
  ProcessObservationPlane
Hans Dembinski's avatar
Hans Dembinski committed
  ProcessTrackWriter
  ProcessTrackingLine
  ProcessParticleCut
  ProcessStackInspector
  CORSIKAprocesses
  CORSIKAcascade
  CORSIKAparticles
  CORSIKAgeometry
  CORSIKAenvironment
  CORSIKAprocesssequence
  )
install (TARGETS vertical_EAS DESTINATION share/examples)
CORSIKA_ADD_TEST(stopping_power)
target_link_libraries (stopping_power
  SuperStupidStack
  CORSIKAunits
  ProcessEnergyLoss
  CORSIKAparticles
  CORSIKAgeometry
  CORSIKAenvironment
  )

install (TARGETS vertical_EAS DESTINATION share/examples)
target_link_libraries (staticsequence_example
  CORSIKAprocesssequence
  CORSIKAunits
  CORSIKAgeometry
  CORSIKAlogging)
install (TARGETS staticsequence_example DESTINATION share/examples)