Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/extended/parallel/MPI/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # - CmakeLists.txt for MPI examples
0002 # This file should be used when configuring Geant4 with GEANT4_BUILD_EXAMPLES=ON
0003 # Do not use in other cases
0004 # To compile G4mpi as a standalone package, first compile the source subdir
0005 # and then examples, see included README files
0006 project(G4mpi)
0007 
0008 cmake_minimum_required(VERSION 3.16...3.27)
0009 
0010 add_subdirectory(source)
0011 set(G4mpi_DIR "${PROJECT_BINARY_DIR}/source")
0012 add_subdirectory(examples)
0013 add_dependencies(exMPI01 G4mpi)
0014 if(TARGET exMPI02) #If ROOT not found, this does not exists
0015    add_dependencies(exMPI02 G4mpi)
0016 endif()
0017 add_dependencies(exMPI03 G4mpi)
0018 
0019 
0020 add_custom_target(MPI DEPENDS G4mpi exMPI01 exMPI02 exMPI03)
0021 
0022