Establish `api/` as the home for installed headers.
authorM. Eric Irrgang <mei2n@virginia.edu>
Wed, 4 Nov 2020 08:03:33 +0000 (08:03 +0000)
committerJoe Jordan <ejjordan12@gmail.com>
Wed, 4 Nov 2020 08:03:33 +0000 (08:03 +0000)
commit09dd1e79075321f629995192009f843d3c41cd44
tree8b24a3f24557241363edee568b44a4d60ba36ed6
parent33711580378dba0a1050f90b9563328dc4588982
Establish `api/` as the home for installed headers.

Prepare to remove `src/` from global build tree include path.
* Create `api/legacy` for the new `legacy_api` target.
* Move gmxapi and nblib public header dependencies to `api/legacy`.

This change is orthogonal to the clarification of the public API.
The purpose is to normalize the way we manage installed headers.
gmxapi and nblib already provide their public interfaces through files
and CMake targets in `api/`. For the remaining installed libgromacs
headers, the `legacy_api` target provides a transitional home as the
modules are individually updated in terms of CMake machinery and as the
legacy API functionality is reexamined.

Refs #3288
57 files changed:
admin/gitlab-ci/gromacs.gitlab-ci.yml
api/CMakeLists.txt
api/legacy/CMakeLists.txt [new file with mode: 0644]
api/legacy/include/gromacs/fileio/confio.h [moved from src/gromacs/fileio/confio.h with 100% similarity]
api/legacy/include/gromacs/fileio/filetypes.h [moved from src/gromacs/fileio/filetypes.h with 97% similarity]
api/legacy/include/gromacs/fileio/oenv.h [moved from src/gromacs/fileio/oenv.h with 100% similarity]
api/legacy/include/gromacs/fileio/pdbio.h [moved from src/gromacs/fileio/pdbio.h with 100% similarity]
api/legacy/include/gromacs/fileio/tpxio.h [moved from src/gromacs/fileio/tpxio.h with 100% similarity]
api/legacy/include/gromacs/math/do_fit.h [moved from src/gromacs/math/do_fit.h with 100% similarity]
api/legacy/include/gromacs/math/functions.h [moved from src/gromacs/math/functions.h with 99% similarity]
api/legacy/include/gromacs/math/units.h [moved from src/gromacs/math/units.h with 98% similarity]
api/legacy/include/gromacs/math/utilities.h [moved from src/gromacs/math/utilities.h with 100% similarity]
api/legacy/include/gromacs/math/vec.h [moved from src/gromacs/math/vec.h with 100% similarity]
api/legacy/include/gromacs/math/vectypes.h [moved from src/gromacs/math/vectypes.h with 100% similarity]
api/legacy/include/gromacs/restraint/restraintpotential.h [moved from src/gromacs/restraint/restraintpotential.h with 99% similarity]
api/legacy/include/gromacs/utility/arrayref.h [moved from src/gromacs/utility/arrayref.h with 100% similarity]
api/legacy/include/gromacs/utility/basedefinitions.h [moved from src/gromacs/utility/basedefinitions.h with 100% similarity]
api/legacy/include/gromacs/utility/current_function.h [moved from src/gromacs/utility/current_function.h with 97% similarity]
api/legacy/include/gromacs/utility/exceptions.h [moved from src/gromacs/utility/exceptions.h with 100% similarity]
api/legacy/include/gromacs/utility/gmxassert.h [moved from src/gromacs/utility/gmxassert.h with 98% similarity]
api/legacy/include/gromacs/utility/listoflists.h [moved from src/gromacs/utility/listoflists.h with 100% similarity]
api/legacy/include/gromacs/utility/real.h [moved from src/gromacs/utility/real.h with 100% similarity]
api/legacy/version.h.cmakein [new file with mode: 0644]
api/nblib/CMakeLists.txt
api/nblib/tests/CMakeLists.txt
docs/dev-manual/includestyle.rst
docs/doxygen/Doxyfile-common.cmakein
docs/doxygen/check-source.py
docs/doxygen/cycle-suppressions.txt
docs/doxygen/suppressions.txt
python_packaging/sample_restraint/src/cpp/CMakeLists.txt
python_packaging/sample_restraint/tests/CMakeLists.txt
src/gromacs/CMakeLists.txt
src/gromacs/analysisdata/tests/CMakeLists.txt
src/gromacs/fileio/CMakeLists.txt
src/gromacs/fileio/confio.cpp
src/gromacs/fileio/filetypes.cpp
src/gromacs/fileio/oenv.cpp
src/gromacs/fileio/pdbio.cpp
src/gromacs/fileio/tests/CMakeLists.txt
src/gromacs/fileio/tpxio.cpp
src/gromacs/linearalgebra/CMakeLists.txt
src/gromacs/math/CMakeLists.txt
src/gromacs/math/do_fit.cpp
src/gromacs/math/functions.cpp
src/gromacs/math/units.cpp
src/gromacs/math/utilities.cpp
src/gromacs/mdrunutility/tests/CMakeLists.txt
src/gromacs/modularsimulator/CMakeLists.txt
src/gromacs/restraint/CMakeLists.txt
src/gromacs/selection/CMakeLists.txt
src/gromacs/utility/CMakeLists.txt
src/gromacs/utility/exceptions.cpp
src/gromacs/utility/gmxassert.cpp
src/programs/CMakeLists.txt
src/programs/mdrun/tests/CMakeLists.txt
src/testutils/CMakeLists.txt