Improve use of object libraries in libgromacs
authorMark Abraham <mark.j.abraham@gmail.com>
Wed, 31 Jul 2019 09:26:33 +0000 (11:26 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Thu, 1 Aug 2019 12:18:14 +0000 (14:18 +0200)
commita676045370c75d75d2a4c5f07a28a7ec25954c59
treec2404f4bb04ef98b2e8e96c0827b4175ec675f38
parentbc04e72be1d23c5f2e340662c4402d9d63d91a35
Improve use of object libraries in libgromacs

Code such as thread-MPI, linear algebra, the selection parser, and
vmddlopen is external to GROMACS and needs different handling for
things like suppressing compiler warnings.  In modern CMake, this is
best done with OBJECT libraries.

This changes prepares for modernizing how compiler flags are handled.

Removed some warning suppressions that were useful only for the
generated groups-scheme kernel files.

Change-Id: I364ad7b3be7f82ba0f583583e502c4d229a21e9a
cmake/gmxCFlags.cmake
src/gromacs/CMakeLists.txt
src/gromacs/fileio/CMakeLists.txt
src/gromacs/linearalgebra/CMakeLists.txt
src/gromacs/mdlib/tests/CMakeLists.txt
src/gromacs/selection/CMakeLists.txt