Geant4 Cross Reference |
1 #---Adding all extended examples subdirectorie << 1 #---Add all subdirectories that contains a CMakeLists.txt file ------------------------------------- 2 << 2 file(GLOB_RECURSE files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} CMakeLists.txt) 3 cmake_minimum_required(VERSION 3.16...3.27) << 3 foreach( file ${files} ) 4 << 4 get_filename_component(path ${file} PATH) 5 add_subdirectory(analysis) << 5 if(path) 6 add_subdirectory(biasing) << 6 add_subdirectory(${path}) 7 add_subdirectory(common) << 7 endif() 8 add_subdirectory(electromagnetic) << 8 endforeach() 9 add_subdirectory(errorpropagation) << 10 add_subdirectory(eventgenerator) << 11 add_subdirectory(exoticphysics) << 12 add_subdirectory(field) << 13 add_subdirectory(g3tog4) << 14 add_subdirectory(geometry) << 15 add_subdirectory(hadronic) << 16 add_subdirectory(medical) << 17 add_subdirectory(optical) << 18 add_subdirectory(parallel) << 19 add_subdirectory(parameterisations) << 20 add_subdirectory(persistency) << 21 add_subdirectory(physicslists) << 22 add_subdirectory(polarisation) << 23 add_subdirectory(radioactivedecay) << 24 add_subdirectory(runAndEvent) << 25 add_subdirectory(visualization) <<