slaclab / Genesis-1.3-Version2

GNU General Public License v3.0
2 stars 3 forks source link

Refactor Build System to use Cmake #7

Closed hhslepicka closed 3 years ago

hhslepicka commented 3 years ago

The current Makefile build required manual steps to copy files (mpi.f.single, mpi.f.multi, mpif.h.single) depending on whether or not it was a MPI compatible build or not.

Also, the Makefile was not portable for Windows and doing so would require more effort for portability.

CMake offers the OS portability along with all the benefits for auto-detection of dependencies and compilers.

Instructions were updated to reflect the changes on the build system.