Allow more granularity for public interfaces in build tree.
commit39132a7e2347ba55d45d5f5db0f9d35bf535071e
authorM. Eric Irrgang <ericirrgang@gmail.com>
Mon, 17 Aug 2020 14:24:25 +0000 (17 17:24 +0300)
committerChristian Blau <cblau.mail@gmail.com>
Tue, 18 Aug 2020 08:13:47 +0000 (18 08:13 +0000)
treec72d6342b5882f1358c75a44280d6beb50808e26
parent396271214d8b021f0fc31bdcdbdb0073519c5481
Allow more granularity for public interfaces in build tree.

Move the gmxapi installed headers from api/include/gmxapi to
api/gmxapi/include/gmxapi, making room for api/nblib/include installed
headers or others. This allows CMake targets in the build tree to
restrict access to public headers as well as private headers such that
the `gmxapi` target allows `#include "gmxapi/someheader.h"` but does not
inadvertently allow `#include "nblib/anotherheader.h"` without an
explicit `target_link_libraries`.

Fix some disordered header inclusions.

Refs #3288
40 files changed:
api/CMakeLists.txt
api/gmxapi/CMakeLists.txt [moved from api/gmxapi.cmake with 99% similarity]
api/gmxapi/cpp/CMakeLists.txt [moved from api/cpp/gmxapi/CMakeLists.txt with 100% similarity]
api/gmxapi/cpp/cmake/gmxapi-config.cmake.in [moved from api/cpp/gmxapi/cmake/gmxapi-config.cmake.in with 100% similarity]
api/gmxapi/cpp/context.cpp [moved from api/cpp/gmxapi/context.cpp with 100% similarity]
api/gmxapi/cpp/context_impl.h [moved from api/cpp/gmxapi/context_impl.h with 100% similarity]
api/gmxapi/cpp/createsession.h [moved from api/cpp/gmxapi/createsession.h with 100% similarity]
api/gmxapi/cpp/exceptions.cpp [moved from api/cpp/gmxapi/exceptions.cpp with 100% similarity]
api/gmxapi/cpp/gmxapi.cpp [moved from api/cpp/gmxapi/gmxapi.cpp with 100% similarity]
api/gmxapi/cpp/md.cpp [moved from api/cpp/gmxapi/md.cpp with 100% similarity]
api/gmxapi/cpp/md_impl.h [moved from api/cpp/gmxapi/md_impl.h with 100% similarity]
api/gmxapi/cpp/mdmodule.cpp [moved from api/cpp/gmxapi/mdmodule.cpp with 100% similarity]
api/gmxapi/cpp/mdsignals.cpp [moved from api/cpp/gmxapi/mdsignals.cpp with 99% similarity]
api/gmxapi/cpp/mdsignals.h [moved from api/cpp/gmxapi/mdsignals.h with 100% similarity]
api/gmxapi/cpp/session.cpp [moved from api/cpp/gmxapi/session.cpp with 99% similarity]
api/gmxapi/cpp/session_impl.h [moved from api/cpp/gmxapi/session_impl.h with 100% similarity]
api/gmxapi/cpp/sessionresources.h [moved from api/cpp/gmxapi/sessionresources.h with 100% similarity]
api/gmxapi/cpp/status.cpp [moved from api/cpp/gmxapi/status.cpp with 100% similarity]
api/gmxapi/cpp/system.cpp [moved from api/cpp/gmxapi/system.cpp with 100% similarity]
api/gmxapi/cpp/system_impl.h [moved from api/cpp/gmxapi/system_impl.h with 100% similarity]
api/gmxapi/cpp/tpr.cpp [moved from api/cpp/gmxapi/tpr.cpp with 100% similarity]
api/gmxapi/cpp/version.cpp [moved from api/cpp/gmxapi/version.cpp with 100% similarity]
api/gmxapi/cpp/workflow.cpp [moved from api/cpp/gmxapi/workflow.cpp with 100% similarity]
api/gmxapi/cpp/workflow.h [moved from api/cpp/gmxapi/workflow.h with 100% similarity]
api/gmxapi/cpp/workflow_impl.h [moved from api/cpp/gmxapi/workflow_impl.h with 100% similarity]
api/gmxapi/include/gmxapi/compat/mdparams.h [moved from api/include/gmxapi/compat/mdparams.h with 100% similarity]
api/gmxapi/include/gmxapi/compat/tpr.h [moved from api/include/gmxapi/compat/tpr.h with 100% similarity]
api/gmxapi/include/gmxapi/context.h [moved from api/include/gmxapi/context.h with 100% similarity]
api/gmxapi/include/gmxapi/exceptions.h [moved from api/include/gmxapi/exceptions.h with 100% similarity]
api/gmxapi/include/gmxapi/gmxapi.h [moved from api/include/gmxapi/gmxapi.h with 100% similarity]
api/gmxapi/include/gmxapi/gmxapicompat.h [moved from api/include/gmxapi/gmxapicompat.h with 100% similarity]
api/gmxapi/include/gmxapi/gromacsfwd.h [moved from api/include/gmxapi/gromacsfwd.h with 100% similarity]
api/gmxapi/include/gmxapi/md.h [moved from api/include/gmxapi/md.h with 100% similarity]
api/gmxapi/include/gmxapi/md/mdmodule.h [moved from api/include/gmxapi/md/mdmodule.h with 100% similarity]
api/gmxapi/include/gmxapi/md/mdsignals.h [moved from api/include/gmxapi/md/mdsignals.h with 100% similarity]
api/gmxapi/include/gmxapi/session.h [moved from api/include/gmxapi/session.h with 100% similarity]
api/gmxapi/include/gmxapi/session/resources.h [moved from api/include/gmxapi/session/resources.h with 100% similarity]
api/gmxapi/include/gmxapi/status.h [moved from api/include/gmxapi/status.h with 100% similarity]
api/gmxapi/include/gmxapi/system.h [moved from api/include/gmxapi/system.h with 100% similarity]
api/gmxapi/include/gmxapiversion.h.in [moved from api/include/gmxapiversion.h.in with 100% similarity]