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 cmake_minimum_required(VERSION 3.16...3.27)
0003 project(G4mpi)
0004
0005 # - Require both MPI and Geant4.
0006 # Only MPI component required is CXX (ability to use C++ with C API).
0007 find_package(MPI REQUIRED CXX)
0008 find_package(Geant4 REQUIRED ui_all vis_all)
0009
0010 # - The G4mpi library used by all the examples
0011 add_subdirectory(source)
0012
0013 # - The example applications themselves
0014 add_subdirectory(exMPI01)
0015 add_subdirectory(exMPI02)
0016 add_subdirectory(exMPI03)
0017 add_subdirectory(exMPI04)
0018
0019