Skip to content

Split DP3 build into a main executable and a shared library

Split the build of DP3 into a main executable and a shared library.

This is needed when providing DP3 functionality as a library, and when the python bindings are used outside an embedded environment. Previously it was only possible to import the python bindings when running as part of the DP3 executable, because the bindings relied on the symbols exported by the DP3 executable. Now these symbols are available from the shared library.

A small test has been added to make sure the dp3 python module can indeed be imported outside the context of the DP3 executable.

The public headers are kept in the main source tree. At build time an include/dp3 directory is created in the build directory, which contains the public headers. This allows to keep header and implementation next to each other, and at the same time have the headers available at build time as if they are already installed.

Edited by Bas van der Tol

Merge request reports

Loading