Don't install headers depending on GMX_INTERNAL_XDR
authorTeemu Murtola <teemu.murtola@gmail.com>
Tue, 26 Nov 2013 19:14:42 +0000 (21:14 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sun, 1 Dec 2013 23:54:08 +0000 (00:54 +0100)
commitc0eea94a33ce4a33ccdfec9ca97f9f4c08914776
tree940271055b780b282f12f3ab8f8a79896f8f5a84
parent76d67cbfd3745f7bf6af4524ee3623bedf4d25f5
Don't install headers depending on GMX_INTERNAL_XDR

There should be no need to install xdrf.h; if some user wants to use the
API, some higher-level API is probably better suitable.  With some
reorganization of the headers, all cases where the header was included
from some other installed header were actually unnecessary:
 - gmx_fio_getxdr() is now in xdrf.h (somewhat ugly, but so are the
   alternatives).
 - xdr_datatype is mainly used for edr reading (also for checkpoint
   precision), but put it into a separate header for now that can be
   installed.  It is actually completely independent of the other stuff
   in xdrf.h.

Change-Id: I74a66388a8c09cbf4eb9b7b44d7cd13be2776e9c
CMakeLists.txt
src/gromacs/fileio/CMakeLists.txt
src/gromacs/fileio/enxio.h
src/gromacs/fileio/gmxfio.h
src/gromacs/fileio/gmxfio_int.h
src/gromacs/fileio/libxdrf.c
src/gromacs/fileio/xdr_datatype.h [new file with mode: 0644]
src/gromacs/fileio/xdrf.h
src/gromacs/fileio/xtcio.h
src/gromacs/gmxlib/checkpoint.c
tests/CppCheck.cmake