Feature/flattened headers
I completed the flattened-headers branch. In order to keep 1) the explicit include to nsxlib
in the unit tests, swig bindings and nsxqt
application (e.g. <nsxlib/Peak3D.h>
) 2) flattened include calls 3) use the pragma once
preprocessor. I decided to:
- include the whole nsxlib subdirectories for building nsxlib
- use a cmake
add_custom_command
command that copies the flattened headers to ${CMAKE_INSTALL_PREFIX}/include/nsxlib
By its very nature, this MR impacted the whole project. Sorry in advance for the conflict you may experience, especially in the batch refining branch we worked on last week.