MP-Gadget / bigfile

A reproducible massively parallel IO library for hierarchical data
BSD 2-Clause "Simplified" License
18 stars 5 forks source link

Added CMake copmilation script #10

Closed EiffL closed 7 years ago

EiffL commented 7 years ago

This pull request adds a cmake compilation framework for automatic compilation, linking and installation of the bigfile C library. The original makefile is not modified, this only adds an alternative compilation solution.

CMake makes it easy to automatically find the GSL and MPI dependencies without manually modifying the makefile. Plus, the C library can then easily be compiled and link by other cmake projects using the ExternalProject_Add command.

rainwoodman commented 7 years ago

Thanks.

rainwoodman commented 7 years ago

With this we can probably start looking into packaging it for various Linux distributions..