AddMPIFlags¶
Helpers for using MPI from DUNE targets.
- add_dune_mpi_flags¶
Link the given targets against
MPI::MPI_Cand add the compile definitions used by DUNE to disable the deprecated MPI C++ bindings.DUNE intentionally uses the C MPI interface for C++ targets to avoid ABI problems with vendor-specific MPI C++ bindings.
add_dune_mpi_flags([SOURCE_ONLY] [OBJECT] <target> [<target>...])
SOURCE_ONLYAccepted for compatibility and ignored.
OBJECTAccepted for compatibility and ignored.
targetsOne or more existing targets to configure.