Import Geant4 10.7.0 source tree

This commit is contained in:
Gabriele Cosmo
2020-12-04 12:30:43 +01:00
parent 67ba86d073
commit dab42d2018
3770 changed files with 226369 additions and 286486 deletions
+10 -8
View File
@@ -1,6 +1,8 @@
#---Adding all advanced examples subdirectories explicitly
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
#---Adding all advanced examples subdirectories explicitly
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
#----------------------------------------------------------------------------
# some examples require Geant4 build with optional packages
@@ -15,15 +17,15 @@ add_subdirectory(brachytherapy)
if(Geant4_gdml_FOUND)
add_subdirectory(ChargeExchangeMC)
else()
message(STATUS "G4 Examples: GDML not installed --> ChargeExchangeMC example disabled")
else()
message(STATUS "G4 Examples: GDML not installed --> ChargeExchangeMC example disabled")
endif()
if(NOT Geant4_builtin_clhep_FOUND)
add_subdirectory(nanobeam)
else()
message(STATUS "G4 Examples: CLHEP external package not found --> nanobeam disabled")
endif()
endif()
add_subdirectory(composite_calorimeter)
@@ -31,7 +33,7 @@ if(ROOT_FOUND)
add_subdirectory(doiPET)
else()
message(STATUS "G4 Examples: ROOT package not found --> doiPET disabled")
endif()
endif()
add_subdirectory(eRosita)
add_subdirectory(gammaknife)
@@ -47,4 +49,4 @@ add_subdirectory(purging_magnet)
add_subdirectory(underground_physics)
add_subdirectory(xray_fluorescence)
add_subdirectory(STCyclotron)
add_subdirectory(HGCal_testbeam)